Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 488) sorted by relevance

12345678910>>...20

/Zephyr-Core-3.6.0/scripts/west_commands/zspdx/
Dcmakefileapijson.py21 reply_dict = js.get("reply", {})
26 cm_dict = reply_dict.get("codemodel-v2", {})
31 jsonFile = cm_dict.get("jsonFile", "")
55 kind = js.get("kind", "")
59 version = js.get("version", {})
60 versionMajor = version.get("major", -1)
69 paths_dict = js.get("paths", {})
70 cm.paths_source = paths_dict.get("source", "")
71 cm.paths_build = paths_dict.get("build", "")
74 configs_arr = js.get("configurations", [])
[all …]
/Zephyr-Core-3.6.0/scripts/pylib/twister/twisterlib/
Dplatform.py55 self.twister = data.get("twister", True)
57 self.ram = data.get("ram", 128)
58 testing = data.get("testing", {})
59 self.timeout_multiplier = testing.get("timeout_multiplier", 1.0)
60 self.ignore_tags = testing.get("ignore_tags", [])
61 self.only_tags = testing.get("only_tags", [])
62 self.default = testing.get("default", False)
63 self.binaries = testing.get("binaries", [])
65 self.flash = data.get("flash", 512)
67 for supp_feature in data.get("supported", []):
[all …]
Dreports.py95 env = json_data.get('environment', {})
96 version = env.get('zephyr_version', None)
99 all_suites = json_data.get("testsuites", [])
104 suites_to_report = list(filter(lambda d: d.get('status') != "filtered", all_suites))
109 name=suite.get("name"), time="0",
118 ET.SubElement(eleTSPropetries, 'property', name="platform", value=suite.get("platform"))
119 ET.SubElement(eleTSPropetries, 'property', name="architecture", value=suite.get("arch"))
123 handler_time = suite.get('execution_time', 0)
124 runnable = suite.get('runnable', 0)
126 ts_status = suite.get('status')
[all …]
Dconfig_parser.py215 extracted_common.get("CONF_FILE", []) + \
216 self.common.get("extra_conf_files", []) + \
217 extracted_testsuite.get("CONF_FILE", []) + \
218 self.scenarios[name].get("extra_conf_files", [])
222 extracted_common.get("OVERLAY_CONFIG", []) + \
223 self.common.get("extra_overlay_confs", []) + \
224 extracted_testsuite.get("OVERLAY_CONFIG", []) + \
225 self.scenarios[name].get("extra_overlay_confs", [])
228 extracted_common.get("DTC_OVERLAY_FILE", []) + \
229 self.common.get("extra_dtc_overlay_files", []) + \
[all …]
Dhardwaremap.py225 pre_script = dut.get('pre_script')
226 post_script = dut.get('post_script')
227 post_flash_script = dut.get('post_flash_script')
228 flash_timeout = dut.get('flash_timeout') or self.options.device_flash_timeout
229 flash_with_test = dut.get('flash_with_test')
232 platform = dut.get('platform')
233 id = dut.get('id')
234 runner = dut.get('runner')
235 runner_params = dut.get('runner_params')
236 serial_pty = dut.get('serial_pty')
[all …]
Dtestplan.py134 levels = self.test_config.get('levels', [])
139 for s in level.get('adds', []):
146 tl.levels = level.get('inherits', [])
151 inherit = level.get('inherits', [])
314 self.modules = [module.meta.get('name') for module in modules_meta]
406 platform_config = self.test_config.get('platforms', {})
419 if not platform_config.get('override_default_platforms', False):
423 if platform.name in platform_config.get('default_platforms', []):
535 for ts in jtp.get("testsuites", []):
543 if ts.get("run_id"):
[all …]
Dharness.py79 self.type = config.get('type', None)
80 self.regex = config.get('regex', [])
81 self.repeat = config.get('repeat', 1)
82 self.ordered = config.get('ordered', True)
83 self.record = config.get('record', {})
85 self.record_pattern = re.compile(self.record.get("regex", ""))
134 self.path = config.get('robot_test_path', None)
317 pytest_root = config.get('pytest_root', ['pytest']) if config else ['pytest']
318 pytest_args_yaml = config.get('pytest_args', []) if config else []
319 pytest_dut_scope = config.get('pytest_dut_scope', None) if config else None
[all …]
/Zephyr-Core-3.6.0/scripts/tracing/
Dparse_ctf.py52 if t.get('name', None) == name and t.get('in', 0 ) != 0 and not t.get('out', None):
82 cpu = event.payload_field.get("cpu", None)
83 thread_id = event.payload_field.get("thread_id", None)
84 thread_name = event.payload_field.get("name", None)
111 tin = th.get('in', None)
112 tout = th.get('out', None)
/Zephyr-Core-3.6.0/tests/kernel/timer/timer_behavior/pytest/
Dsaleae_logic2.py76 device_id = options.get('device-id')
77 address = str(options.get('address'))
78 port = int(options.get('port'))
79 channel = int(options.get('channel'))
80 sample_rate = int(options.get('sample-rate'))
81 threshold_volts = float(options.get('threshold-volts'))
/Zephyr-Core-3.6.0/scripts/
Dzephyr_module.py192 meta['name'] = meta.get('name', module_path.name)
206 section = meta.get('build', dict())
210 cmake_extern = section.get('cmake-ext', False)
217 cmake_setting = section.get('cmake', None)
237 section = meta.get('build', dict())
241 cmake_extern = section.get('sysbuild-cmake-ext', False)
248 cmake_setting = section.get('sysbuild-cmake', None)
271 section = meta.get('build', dict())
272 build_settings = section.get('settings', None)
277 setting = build_settings.get(root+'_root', None)
[all …]
Dget_maintainer.py189 area.status = area_dict.get("status")
190 area.maintainers = area_dict.get("maintainers", [])
191 area.collaborators = area_dict.get("collaborators", [])
192 area.inform = area_dict.get("inform", [])
193 area.labels = area_dict.get("labels", [])
194 area.tests = area_dict.get("tests", [])
195 area.tags = area_dict.get("tags", [])
196 area.description = area_dict.get("description")
201 _get_match_fn(area_dict.get("files"),
202 area_dict.get("files-regex"))
[all …]
/Zephyr-Core-3.6.0/doc/_extensions/zephyr/
Dapplication.py139 tool = self.options.get('tool', 'west').lower()
140 app = self.options.get('app', None)
141 zephyr_app = self.options.get('zephyr-app', None)
143 generator = self.options.get('generator', 'ninja').lower()
144 host_os = self.options.get('host-os', 'all').lower()
145 board = self.options.get('board', None)
146 shield = self.options.get('shield', None)
147 conf = self.options.get('conf', None)
148 gen_args = self.options.get('gen-args', None)
149 build_args = self.options.get('build-args', None)
[all …]
/Zephyr-Core-3.6.0/samples/sensor/sensor_shell/
DREADME.rst8 This is a simple shell module to get data from sensors presented in the system.
28 get :Get sensor data. Channel names are optional. All channels are read when
34 **get**: prints all the sensor channels data for a given sensor device name.
42 uart:~$ sensor get mma8652fc@1d
48 uart:~$ sensor get mma8652fc@1d accel_z
51 uart:~$ sensor get mma8652fc@1d 2
55 A valid sensor device name should be passed otherwise you will get an
/Zephyr-Core-3.6.0/scripts/ci/
Dversion_mgr.py70 is_weekly = item_compat.get('weekly', False)
78 if item_compat.get('date'):
93 ver = item_compat.get("version")
94 date = item_compat.get("date", False)
95 is_weekly = item_compat.get('weekly')
121 item.get('version') == version) or item == version, data))
/Zephyr-Core-3.6.0/arch/xtensa/core/
Dgen_zsr.py41 def get(s): function
51 regs = [ f"MISC{n}" for n in range(0, int(get("XCHAL_NUM_MISC_REGS"))) ]
55 for il in range(1, 1 + int(get("XCHAL_NUM_INTLEVELS"))):
57 if il != int(get("XCHAL_DEBUGLEVEL")):
/Zephyr-Core-3.6.0/scripts/footprint/
Dcompare_footprint46 cwd=os.environ.get('ZEPHYR_BASE'), shell=True)
54 log_lev = os.environ.get('LOG_LEVEL', None)
87 cwd=os.environ.get('ZEPHYR_BASE'), shell=True)
92 def sanity_results_filename(commit=None, cwd=os.environ.get('ZEPHYR_BASE')):
103 def git_checkout(commit, cwd=os.environ.get('ZEPHYR_BASE')):
119 def run_sanity_footprint(commit=None, cwd=os.environ.get('ZEPHYR_BASE'),
143 cmd = "git clone --no-hardlinks %s" % os.environ.get('ZEPHYR_BASE')
145 os.path.basename(os.environ.get('ZEPHYR_BASE')))
177 cwd=os.environ.get('ZEPHYR_BASE'), shell=True)
/Zephyr-Core-3.6.0/scripts/west_commands/
Dboards.py78 board_root = module.meta.get('build', {}).get('settings', {}).get('board_root')
Dbuild.py55 return config.get('build', option, fallback=fallback)
238 board, origin = (self.cmake_cache.get('CACHED_BOARD'),
284 common = y.get('common')
285 tests = y.get('tests')
288 item = tests.get(test_item)
300 sysbuild = section.get('sysbuild', sysbuild)
309 extra = section.get(data)
418 source_dir = self.cmake_cache.get('CMAKE_HOME_DIRECTORY')
465 cached_proj = self.cmake_cache.get('APPLICATION_SOURCE_DIR')
466 cached_app = self.cmake_cache.get('APP_DIR')
[all …]
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/mesh/
Dheartbeat.h130 void bt_mesh_hb_pub_get(struct bt_mesh_hb_pub *get);
136 void bt_mesh_hb_sub_get(struct bt_mesh_hb_sub *get);
/Zephyr-Core-3.6.0/scripts/west_commands/runners/
Dnrfjprog.py56 if op.get('core') else []
79 if _op.get('qspi_erase_mode'):
82 if _op.get('verify'):
/Zephyr-Core-3.6.0/tests/net/lib/lwm2m/interop/pytest/
Dtest_nosec.py34 assert leshan.get(f'/clients/{endpoint_nosec}')
41 status = leshan.get(f'/clients/{endpoint_nosec}')
/Zephyr-Core-3.6.0/samples/tfm_integration/tfm_psa_test/
DREADME.rst71 [Check 1] Call get API for UID 6 which is not set
74 [Check 4] Call get API for UID 6 which is removed
78 [Check 7] Call get API for different UID 5
83 [Check 1] Call get API for UID 6 which is not set
86 [Check 4] Call get API for UID 6 which is removed
90 [Check 7] Call get API for different UID 5
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Dptp_clock.h27 int (*get)(const struct device *dev, struct net_ptp_time *tm); member
65 return api->get(dev, tm); in z_impl_ptp_clock_get()
/Zephyr-Core-3.6.0/tests/benchmarks/latency_measure/
DREADME.rst50 …fifo.get.immediate.kernel - Get data from FIFO (no ctx switch) : …
52 …fifo.get.free.immediate.kernel - Free when getting data from FIFO (no ctx switch) : …
53 …fifo.get.blocking.k_to_k - Get data from FIFO (w/ ctx switch) : …
55 …fifo.get.free.blocking.k_to_k - Free when getting data from FIFO (w/ ctx siwtch) : …
58 …lifo.get.immediate.kernel - Get data from LIFO (no ctx switch) : …
60 …lifo.get.free.immediate.kernel - Free when getting data from LIFO (no ctx switch) : …
61 …lifo.get.blocking.k_to_k - Get data from LIFO (w/ ctx switch) : …
63 …lifo.get.free.blocking.k_to_k - Free when getting data from LIFO (w/ ctx switch) : …
119 …fifo.get.immediate.kernel - Get data from FIFO (no ctx switch) : …
121 …fifo.get.free.immediate.kernel - Free when getting data from FIFO (no ctx switch) : …
[all …]
/Zephyr-Core-3.6.0/scripts/utils/
Dtwister_to_list.py36 val = conf.get(field)
60 common = conf.get("common")

12345678910>>...20