Lines Matching full:list
13 def extract_fields_from_arg_list(target_fields: set, arg_list: str | list): argument
15 Given a list of "FIELD=VALUE" args, extract values of args with a
18 extracted_fields = {f : list() for f in target_fields}
48 "extra_args": {"type": "list"},
49 "extra_configs": {"type": "list"},
50 "extra_conf_files": {"type": "list", "default": []},
51 "extra_overlay_confs" : {"type": "list", "default": []},
52 "extra_dtc_overlay_files": {"type": "list", "default": []},
53 "required_snippets": {"type": "list"},
60 "modules": {"type": "list", "default": []},
67 "extra_sections": {"type": "list", "default": []},
68 "integration_platforms": {"type": "list", "default": []},
71 "testcases": {"type": "list", "default": []},
72 "platform_type": {"type": "list", "default": []},
75 "platform_key": {"type": "list", "default": []},
76 "simulation_exclude": {"type": "list", "default": []},
80 "levels": {"type": "list", "default": []},
121 elif typestr.startswith("list"):
122 if isinstance(value, list):
126 return [value] if value else list()
131 if isinstance(value, list):
179 if isinstance(d[k], str) and isinstance(v, list):
181 elif isinstance(d[k], list) and isinstance(v, str):
183 elif isinstance(d[k], list) and isinstance(v, list):
186 # overwrite if type is string, otherwise merge into a list
190 elif type in ("list", "set"):
195 # replace value if not str/list (e.g. integer)
200 # Compile conf files in to a single list. The order to apply them is: