/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | data_split_person_test.py | 48 self.assertIsInstance(train_data[0], dict) 49 self.assertIsInstance(valid_data[0], dict) 50 self.assertIsInstance(test_data[0], dict)
|
D | data_prepare_test.py | 48 self.assertIsInstance(self.data[0], dict)
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/ |
D | leshan.py | 65 …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/ |
D | README.rst | 1 .. _nordic-log-stm-dict: 3 Nordic Dictionary-based STM logging snippet (nordic-log-stm-dict)
|
/Zephyr-latest/soc/nordic/nrf54h/bicr/ |
D | bicrgen.py | 145 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/ |
D | bug_bash.py | 69 tally = dict() 80 rev_tally = dict() 88 rev_tally = dict(
|
/Zephyr-latest/scripts/coccinelle/ |
D | find_functions.cocci | 7 // 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__.py | 22 def setup(app: Sphinx) -> dict[str, Any]:
|
/Zephyr-latest/scripts/ci/ |
D | upload_test_results_es.py | 84 …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/ |
D | test_nxp_s32dbg.py | 129 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)
|
D | test_stm32cubeprogrammer.py | 386 @patch.dict("runners.stm32cubeprogrammer.os.environ", ENVIRON) 422 @patch.dict("runners.stm32cubeprogrammer.os.environ", ENVIRON)
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 207 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/ |
D | factory.py | 24 _devices: dict[str, Type[DeviceAdapter]] = {}
|
/Zephyr-latest/scripts/ruff/ |
D | gen_lint_exclude.py | 33 rules: dict[str, set[RuffRule]] = {}
|
/Zephyr-latest/scripts/ |
D | set_assignees.py | 108 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():
|
D | zephyr_module.py | 233 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__.py | 69 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/ |
D | platform.py | 24 def __init__(self, data: dict[str, str]): 83 self.filter_data = dict()
|
/Zephyr-latest/scripts/coredump/gdbstubs/arch/ |
D | arm_cortex_m.py | 62 self.registers = dict() 137 thread_registers = dict()
|
/Zephyr-latest/scripts/build/ |
D | gen_image_info.py | 60 segments.insert(segment_idx, dict())
|
/Zephyr-latest/scripts/footprint/ |
D | size_report | 132 rom_syms = dict() 133 ram_syms = dict() 134 unassigned_syms = dict() 442 cu_list = dict() 455 offset_map = dict() 868 data = dict()
|
D | pack_as_twister.py | 127 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/ |
D | doxybridge.py | 154 def parse_compound(inDirName, baseName) -> dict: 218 def setup(app: Sphinx) -> dict[str, Any]:
|
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/ |
D | saleae_logic2.py | 74 options = dict(zip(options[::2], options[1::2]))
|
/Zephyr-latest/scripts/tests/twister/ |
D | test_scl.py | 72 with mock.patch.dict('sys.modules', modules_mock, clear=True), \ 112 with mock.patch.dict('sys.modules', modules_mock, clear=True), \
|