Lines Matching refs:items
57 for _, components in subsys_conf.items():
58 for component, _ in components.items():
82 def handle_config_feature(items: dict, arr: list, line: str):
83 items[TYPE] = FEATRUE
84 items[SUBSYS] = arr[1]
85 items[COMPONENT] = arr[2].split("=")[0]
88 items[FEATRUES] = NONE_FEATURES
90 items[FEATRUES] = features.split(",")
93 def handle_config_component(items: dict, arr: list, line: str):
94 items[TYPE] = COMPONENT
95 items[SUBSYS] = arr[0].split("_", 1)[1]
96 items[COMPONENT] = arr[1].split("=")[0]
97 items[VALUE] = line.split("=", 1)[1]
100 def handle_config_property(items: dict, arr: list, line: str):
101 items[PROPERTY] = arr[1].split("=")[0]
102 items[TYPE] = PROPERTY
103 items[VALUE] = line.split("=", 1)[1].strip("\"")
108 items = {
118 handle_config_feature(items, arr, line)
120 handle_config_property(items, arr, line)
122 handle_config_component(items, arr, line)
123 return items
132 items = read_line_item(line)
133 subsys = items.get(SUBSYS)
134 component = items.get(COMPONENT)
135 conf_type = items.get(TYPE)
136 features = items.get(FEATRUES)
138 if len(items.get(VALUE)) > 0:
139 result[items.get(PROPERTY)] = items.get(VALUE)
156 for subsys, components in subsys_conf.items():
158 for component, features in components.items():