Home
last modified time | relevance | path

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

12345678910>>...24

/Zephyr-latest/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-latest/scripts/pylib/twister/twisterlib/
Dplatform.py31 self.exec = data.get("exec")
103 self.sysbuild = variant_data.get("sysbuild", data.get("sysbuild", self.sysbuild))
104 self.twister = variant_data.get("twister", data.get("twister", self.twister))
107 self.ram = variant_data.get("ram", data.get("ram", self.ram))
109 self.flash = variant_data.get("flash", data.get("flash", self.flash))
111 testing = data.get("testing", {})
112 self.ignore_tags = testing.get("ignore_tags", [])
113 self.only_tags = testing.get("only_tags", [])
114 self.default = testing.get("default", self.default)
115 self.binaries = testing.get("binaries", [])
[all …]
Dconfig_parser.py212 extracted_common.get("CONF_FILE", []) + \
213 self.common.get("extra_conf_files", []) + \
214 extracted_testsuite.get("CONF_FILE", []) + \
215 self.scenarios[name].get("extra_conf_files", [])
219 extracted_common.get("OVERLAY_CONFIG", []) + \
220 self.common.get("extra_overlay_confs", []) + \
221 extracted_testsuite.get("OVERLAY_CONFIG", []) + \
222 self.scenarios[name].get("extra_overlay_confs", [])
225 extracted_common.get("DTC_OVERLAY_FILE", []) + \
226 self.common.get("extra_dtc_overlay_files", []) + \
[all …]
Dreports.py148 env = json_data.get('environment', {})
149 version = env.get('zephyr_version', None)
152 all_suites = json_data.get("testsuites", [])
158 filter(lambda d: TwisterStatus(d.get('status')) != TwisterStatus.FILTER, all_suites)
164 name=suite.get("name"), time="0",
173 ET.SubElement(eleTSPropetries, 'property', name="platform", value=suite.get("platform"))
174 ET.SubElement(eleTSPropetries, 'property', name="architecture", value=suite.get("arch"))
178 handler_time = suite.get('execution_time', 0)
179 runnable = suite.get('runnable', 0)
181 ts_status = TwisterStatus(suite.get('status'))
[all …]
Dhardwaremap.py268 pre_script = dut.get('pre_script')
269 script_param = dut.get('script_param')
270 post_script = dut.get('post_script')
271 post_flash_script = dut.get('post_flash_script')
272 flash_timeout = dut.get('flash_timeout') or self.options.device_flash_timeout
273 flash_with_test = dut.get('flash_with_test')
276 serial_pty = dut.get('serial_pty')
277 flash_before = dut.get('flash_before')
280 platform = dut.get('platform')
287 id = dut.get('id')
[all …]
/Zephyr-latest/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-latest/doc/_scripts/
Dgen_boards_catalog.py135 board_info = build_info.get('cmake', {}).get('board', {})
136 board_name = board_info.get('name')
137 qualifier = board_info.get('qualifiers', '')
138 revision = board_info.get('revision', '')
174 'PATH': os.environ.get('PATH', ''),
176 'HOME': os.environ.get('HOME', ''),
177 'PYTHONPATH': os.environ.get('PYTHONPATH', '')
204 root = module.meta.get("build", {}).get("settings", {}).get(key)
238 elif vnd_lookup.vnd2vendor.get(folder.name):
283 existing_feature = features.get(binding_type, {}).get(
[all …]
/Zephyr-latest/scripts/
Dlist_hardware.py50 for f in data.get('family', []):
52 for s in f.get('series', []):
55 [c['name'] for c in soc.get('cpuclusters', [])],
57 for soc in s.get('socs', [])]
64 [c['name'] for c in soc.get('cpuclusters', [])],
66 for soc in f.get('socs', [])]
70 for s in data.get('series', []):
73 [c['name'] for c in soc.get('cpuclusters', [])],
75 for soc in s.get('socs', [])]
80 for soc in data.get('socs', []):
[all …]
Dzephyr_module.py228 meta['name'] = meta.get('name', module_path.name)
242 section = meta.get('build', dict())
246 cmake_extern = section.get('cmake-ext', False)
253 cmake_setting = section.get('cmake', None)
273 section = meta.get('build', dict())
277 cmake_extern = section.get('sysbuild-cmake-ext', False)
284 cmake_setting = section.get('sysbuild-cmake', None)
307 section = meta.get('build', dict())
308 build_settings = section.get('settings', None)
313 setting = build_settings.get(root+'_root', None)
[all …]
Dlist_boards.py47 for r in revision.get('revisions', []):
60 for v in variant.get('variants', []):
243 board_array = b.get('boards', [b.get('board', None)])
262 board_revision = board.get('revision')
263 if board_revision is not None and board_revision.get('format') != 'custom':
264 if board_revision.get('default') is None:
267 if board_revision.get('revisions') is None:
275 socs = [Soc.from_soc(systems.get_soc(s['name']), s.get('variants', []))
276 for s in board.get('socs', {})]
281 vendor=board.get('vendor'),
[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-latest/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-latest/include/zephyr/sys/
Dring_buffer.h53 struct ring_buf_index get; member
73 buf->get.head = buf->get.tail = buf->get.base = value; in ring_buf_internal_reset()
214 return buf->get.head == buf->put.tail; in ring_buf_is_empty()
236 ring_buf_idx_t allocated = buf->put.head - buf->get.tail; in ring_buf_space_get()
274 ring_buf_idx_t available = buf->put.tail - buf->get.head; in ring_buf_size_get()
388 return ring_buf_area_claim(buf, &buf->get, data, in ring_buf_get_claim()
416 return ring_buf_area_finish(buf, &buf->get, size); in ring_buf_get_finish()
/Zephyr-latest/doc/_extensions/zephyr/
Dapplication.py60 tool = self.options.get('tool', 'west').lower()
61 app = self.options.get('app', None)
62 zephyr_app = self.options.get('zephyr-app', None)
64 generator = self.options.get('generator', 'ninja').lower()
65 host_os = self.options.get('host-os', 'all').lower()
66 board = self.options.get('board', None)
67 shield = self.options.get('shield', None)
68 conf = self.options.get('conf', None)
69 gen_args = self.options.get('gen-args', None)
70 build_args = self.options.get('build-args', None)
[all …]
Ddoxybridge.py55 project=self.options.get("project")
72 if node.get("refdomain") != "c":
75 reftype = node.get("reftype")
84 entry = self.app.env.doxybridge_cache[name].get(reftype)
88 reftarget = node.get("reftarget").replace(".", "::").rstrip("()")
89 id = entry.get(reftarget)
93 id = self.app.env.doxybridge_cache[name].get("macro").get(reftarget)
116 doc_dir = os.path.dirname(self.document.get("source"))
129 title = self.app.env.doxybridge_group_titles[found_name].get(reftarget, "group")
139 kind = KIND_D2S.get(memberdef.get_kind())
/Zephyr-latest/scripts/ci/
Dtwister_report_analyzer.py82 self.counters[key] = self.counters.get(key, TestCollection())
148 for ts in json_data.get('testsuites', []):
151 for ts in json_data.get('testsuites', []):
155 ts_status = testsuite.get('status', 'no status in testsuite')
158 for tc in testsuite.get('testcases', []):
159 tc_status = tc.get('status')
163 ts_status = testsuite.get('status') or 'no status in testsuite'
167 ts_platform = testsuite.get('platform') or 'Unknown platform'
169 ts_reason = testsuite.get('reason') or 'Unknown reason'
170 ts_log = testsuite.get('log')
[all …]
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-latest/arch/xtensa/core/
Dgen_zsr.py43 def get(s): function
53 regs = [ f"MISC{n}" for n in range(0, int(get("XCHAL_NUM_MISC_REGS"))) ]
59 have_threadptr = int(get("XCHAL_HAVE_THREADPTR"))
65 for il in range(1, 1 + int(get("XCHAL_NUM_INTLEVELS"))):
67 if il != int(get("XCHAL_DEBUGLEVEL")):
/Zephyr-latest/samples/sensor/sensor_shell/
DREADME.rst9 This is a simple shell module to get data from sensors presented in the system.
38 get :Get sensor data. Channel names are optional. All channels are read when
44 **get**: prints all the sensor channels data for a given sensor device name.
52 uart:~$ sensor get mma8652fc@1d
58 uart:~$ sensor get mma8652fc@1d accel_z
61 uart:~$ sensor get mma8652fc@1d 2
65 A valid sensor device name should be passed otherwise you will get an
/Zephyr-latest/scripts/west_commands/
Dpackages.py120 module_names = [m.meta.get("name") for m in self.zephyr_modules]
139 module_name = module.meta.get("name")
146 pip = module.meta.get("package-managers", {}).get("pip")
153 requirements += [Path(module.project) / r for r in pip.get("requirement-files", [])]
Dshields.py76 board_root = module.meta.get('build', {}).get('settings', {}).get('board_root')
Dbuild.py59 return config.get('build', option, fallback=fallback)
284 board, origin = (self.cmake_cache.get('CACHED_BOARD'),
330 common = y.get('common')
331 tests = y.get('tests')
336 item = tests.get(test_item)
346 sysbuild = section.get('sysbuild', sysbuild)
355 extra = section.get(data)
476 source_dir = self.cmake_cache.get('APP_DIR')
479 source_dir = self.cmake_cache.get('APPLICATION_SOURCE_DIR')
482 source_dir = self.cmake_cache.get('CMAKE_HOME_DIRECTORY')
[all …]
/Zephyr-latest/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-latest/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-latest/cmake/sca/polyspace/
Dpolyspace-print-console.py35 if onefind and (not ignore_metrics or onefind.get('Family', '') != 'Code Metric'):
75 family = Counter([f.get('Family', 'Defect') for f in findings])
78 files = Counter([os.path.basename(f.get('File', 'Unknown')) for f in findings])

12345678910>>...24