Home
last modified time | relevance | path

Searched refs:dict (Results 1 – 25 of 76) sorted by relevance

1234

/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Ddata_split_person_test.py48 self.assertIsInstance(train_data[0], dict)
49 self.assertIsInstance(valid_data[0], dict)
50 self.assertIsInstance(test_data[0], dict)
Ddata_prepare_test.py48 self.assertIsInstance(self.data[0], dict)
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dleshan.py65 …def put_raw(self, path: str, data: str | dict | None = None, headers: dict | None = None, params:
70 def put(self, path: str, data: str | dict, uri_options: str = ''): argument
72 if isinstance(data, dict):
76 def post(self, path: str, data: str | dict | None = None):
78 if isinstance(data, dict):
111 def write_attributes(self, endpoint: str, path: str, attributes: dict): argument
126 def update_obj_instance(self, endpoint: str, path: str, resources: dict): argument
131 def replace_obj_instance(self, endpoint: str, path: str, resources: dict): argument
136 def create_obj_instance(self, endpoint: str, path: str, resources: dict): argument
174 def _define_obj_inst(cls, path: str, resources: dict): argument
[all …]
/Zephyr-latest/snippets/nordic-log-stm-dict/
DREADME.rst1 .. _nordic-log-stm-dict:
3 Nordic Dictionary-based STM logging snippet (nordic-log-stm-dict)
/Zephyr-latest/soc/nordic/nrf54h/bicr/
Dbicrgen.py145 def from_json(cls: "PowerConfig", data: dict) -> "PowerConfig": argument
178 def to_json(self, buf: dict): argument
219 def from_json(cls: "IoPortPowerConfig", data: dict) -> "IoPortPowerConfig": argument
240 def to_json(self, buf: dict): argument
267 def from_json(cls: "IoPortImpedanceConfig", data: dict) -> "IoPortImpedanceConfig": argument
281 def to_json(self, buf: dict): argument
335 def from_json(cls: "LFXOConfig", data: dict) -> "LFXOConfig": argument
364 def to_json(self, buf: dict): argument
407 def from_json(cls: "LFRCCalibrationConfig", data: dict) -> "LFRCCalibrationConfig": argument
438 def to_json(self, buf: dict): argument
[all …]
/Zephyr-latest/scripts/release/
Dbug_bash.py69 tally = dict()
80 rev_tally = dict()
88 rev_tally = dict(
/Zephyr-latest/scripts/coccinelle/
Dfind_functions.cocci7 // Generate a q&d python database (a dict actually) of all the
11 // of the void* parameter in the first dict, and the actual number of
32 // Insert a function into right dict depending on parameters
/Zephyr-latest/doc/_extensions/zephyr/doxytooltip/
D__init__.py22 def setup(app: Sphinx) -> dict[str, Any]:
/Zephyr-latest/scripts/ci/
Dupload_test_results_es.py84 …if isinstance(val, dict) and names_dict and parent_name and isinstance(names_dict, dict) and paren…
93 elif isinstance(value, dict) and len(value):
202 if args.flatten and args.flatten in t and isinstance(t[args.flatten], dict):
230 if isinstance(flat_item, dict):
/Zephyr-latest/scripts/west_commands/tests/
Dtest_nxp_s32dbg.py129 if isinstance(args, dict):
188 @patch.dict(os.environ, TEST_S32DS_RUNTIME_ENV, clear=True)
222 @patch.dict(os.environ, TEST_S32DS_RUNTIME_ENV, clear=True)
Dtest_stm32cubeprogrammer.py386 @patch.dict("runners.stm32cubeprogrammer.os.environ", ENVIRON)
422 @patch.dict("runners.stm32cubeprogrammer.os.environ", ENVIRON)
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py207 self.raw: dict = self._merge_includes(raw, self.path)
213 if not isinstance(raw["child-binding"], dict):
272 def _merge_includes(self, raw: dict, binding_path: Optional[str]) -> dict: argument
302 elif isinstance(elem, dict):
339 def _load_raw(self, fname: str) -> dict:
352 if not isinstance(contents, dict):
819 data: dict
1855 return dict(zip(cell_names, data_list))
2086 vendor_prefixes=dict(self._vendor_prefixes),
2228 raw: Optional[dict], argument
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dfactory.py24 _devices: dict[str, Type[DeviceAdapter]] = {}
/Zephyr-latest/scripts/ruff/
Dgen_lint_exclude.py33 rules: dict[str, set[RuffRule]] = {}
/Zephyr-latest/scripts/
Dset_assignees.py108 area_counter = dict(sorted(area_counter.items(), key=lambda item: item[1], reverse=True))
117 collab = list(dict.fromkeys(collab))
120 … _all_maintainers = dict(sorted(found_maintainers.items(), key=lambda item: item[1], reverse=True))
260 for areas, maintainers in dict(label_to_maintainer).items():
Dzephyr_module.py233 section = meta.get('build', dict())
264 section = meta.get('build', dict())
298 section = meta.get('build', dict())
378 section = meta.get('build', dict())
402 section = meta.get('build', dict())
/Zephyr-latest/doc/_extensions/zephyr/kconfig/
D__init__.py69 def kconfig_load(app: Sphinx) -> tuple[kconfiglib.Kconfig, dict[str, str]]:
145 module_paths = dict()
233 initial_data: dict[str, Any] = {"options": set()}
238 def merge_domaindata(self, docnames: list[str], otherdata: dict) -> None: argument
443 context: dict, argument
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dplatform.py24 def __init__(self, data: dict[str, str]):
83 self.filter_data = dict()
/Zephyr-latest/scripts/coredump/gdbstubs/arch/
Darm_cortex_m.py62 self.registers = dict()
137 thread_registers = dict()
/Zephyr-latest/scripts/build/
Dgen_image_info.py60 segments.insert(segment_idx, dict())
/Zephyr-latest/scripts/footprint/
Dsize_report132 rom_syms = dict()
133 ram_syms = dict()
134 unassigned_syms = dict()
442 cu_list = dict()
455 offset_map = dict()
868 data = dict()
Dpack_as_twister.py127 def read_plan(fname: str) -> list[dict]:
131 plan_vals = [ dict(zip(PLAN_HEADERS, row)) for row in plan_rows ]
/Zephyr-latest/doc/_extensions/zephyr/
Ddoxybridge.py154 def parse_compound(inDirName, baseName) -> dict:
218 def setup(app: Sphinx) -> dict[str, Any]:
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dsaleae_logic2.py74 options = dict(zip(options[::2], options[1::2]))
/Zephyr-latest/scripts/tests/twister/
Dtest_scl.py72 with mock.patch.dict('sys.modules', modules_mock, clear=True), \
112 with mock.patch.dict('sys.modules', modules_mock, clear=True), \

1234