Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 26) sorted by relevance

12

/scripts/kconfig/
A Dkconfigfunctions.py179 def _node_reg_addr(node, index, unit): argument
186 if int(index) >= len(node.regs):
189 if node.regs[int(index)].addr is None:
195 def _node_reg_size(node, index, unit): argument
202 if int(index) >= len(node.regs):
205 if node.regs[int(index)].size is None:
260 if int(index) >= len(node.props[prop].val):
313 return _node_reg_addr(node, index, unit)
337 return _node_reg_size(node, index, unit)
420 return _node_reg_addr(node, index, unit)
[all …]
A Dmenuconfig.py392 index = int(round((luma - 8)/10))
395 return max(0, min(index, 23))
398 def _gray_to_rgb(index): argument
401 return 3*(10*index + 8,) # Returns a 3-tuple
1136 _sel_node_i = _shown.index(node)
1173 _sel_node_i = _shown.index(node)
1205 _sel_node_i = _shown.index(_cur_menu)
1301 _sel_node_i = new_shown.index(node)
1308 _sel_node_i = new_shown.index(node)
1611 val_index = sc.assignable.index(sc.tri_value)
[all …]
/scripts/ci/es_upload/
A DREADME.md1 # ElasticSearch index map examples
8 An index map file allows to create destination index files on ElasticSearch server
37 --index YOUR_INDEX_NAME \
50 at Elasticsearch index.
72 Create the index:
75 --index zephyr-test-example \
82 --index zephyr-test-example \
93 Create the index:
96 --index zephyr-test-recording-example-1 \
117 Create the index:
[all …]
/scripts/west_commands/
A Dbindesc.py202 index = image.find(magic)
203 if index == -1:
247 index = image.find(magic)
248 if index == -1:
254 current_tag = self.bytes_to_short(image[index:index+2])
257 length = self.bytes_to_short(image[index:index+2])
258 index += 2 # index points to data
259 data = image[index:index+length]
273 index += length
274 index = self.align(index, 4)
[all …]
A Dzcmake.py91 index = extra_args.index('--') + 1
95 build_opts, native_args = build_opt_parser.parse_known_args(extra_args[index:])
96 extra_args = extra_args[:index] + native_args
/scripts/build/
A Dllext_prepare_exptab.py97 def _seek_to_sym(self, index): argument
98 self.fd.seek(self.base_offset + index * self.lcs_struct.size)
100 def __getitem__(self, index): argument
101 if not isinstance(index, int):
104 if index >= self.exports_count:
107 self._seek_to_sym(index)
110 def __setitem__(self, index, item): argument
111 if not isinstance(index, int):
114 if index >= self.exports_count:
119 self._seek_to_sym(index)
A Dllext_inject_slids.py114 for (index, symbol) in imports:
122 original_st_value = rd_st_val(index)
127 wr_st_val(index, slid)
A Dgen_isr_tables.py187 return offsets.index(irq)
/scripts/ci/stats/
A Dmerged_prs.py33 def gendata(data, index): argument
36 "_index": index,
166 index = args.es_index
168 index = os.environ['PR_STAT_ES_INDEX']
169 bulk(es, gendata(json_list, index))
/scripts/native_simulator/common/src/
A Dnct.c130 static struct threads_table_el *ttable_get_element(struct nct_status_t *this, int index);
328 static struct threads_table_el *ttable_get_element(struct nct_status_t *this, int index) in ttable_get_element() argument
332 if (index >= this->threads_table_size) { /* LCOV_EXCL_BR_LINE */ in ttable_get_element()
335 index, this->threads_table_size); /* LCOV_EXCL_LINE */ in ttable_get_element()
337 while (index >= NCT_ALLOC_CHUNK_SIZE) { in ttable_get_element()
338 index -= NCT_ALLOC_CHUNK_SIZE; in ttable_get_element()
341 return &threads_table[index]; in ttable_get_element()
/scripts/tracing/
A Dtrace_capture_usb.py90 for index in range(length):
91 file_desc.write(chr(buff[index]).encode('latin1'))
/scripts/ci/
A Dtwister_report_analyzer.py214 return line[line.index('fatal error: ') :].strip()
217 return last_warning[last_warning.index('undefined symbol') :].strip()
231 return line[line.index('undefined reference') :].strip()
241 return line[line.index('error: ') :].strip()
243 last_warning = line[line.index('in function') :].strip()
A Dupload_test_results_es.py235 "_index": args.index,
242 "_index": args.index,
285 es.indices.create(index=args.index, mappings=mappings, settings=settings)
A Dpylintrc136 invalid-sequence-index,
137 invalid-slice-index,
231 invalid-format-index,
/scripts/coredump/gdbstubs/
A Dgdbstub.py245 index = 0
249 index += 1
250 … thread_name_next_byte = self.get_memory(thread_ptr + t_name_offset + index, 1)
/scripts/logging/dictionary/
A Dlog_parser.py68 idx = hexdata.index(LOG_HEX_SEP) + len(LOG_HEX_SEP)
/scripts/tests/twister/pytest_integration/
A Dtest_harness_pytest.py97 assert command.index(pytest_args_from_yaml) < command.index(pytest_args_from_cmd[1])
/scripts/pylib/twister/twisterlib/
A Dsize_calc.py223 index = words[0]
224 if not index[0].isdigit(): # Skip lines that do not start
A Dreports.py817 return line[line.index('fatal error: ') :].strip()
820 return last_warning[last_warning.index('undefined symbol') :].strip()
835 return line[line.index('undefined reference') :].strip()
845 return line[line.index('error: ') :].strip()
847 last_warning = line[line.index('in function') :].strip()
A Denvironment.py1008 double_dash = options.extra_test_args.index("--")
/scripts/coredump/gdbstubs/arch/
A Darm_cortex_m.py118 reg = int(pkt_str[1:pkt_str.index('=')], 16)
/scripts/dts/
A Dgen_defines.py243 instance_no = node.edt.compat2nodes[compat].index(node)
678 ret = {f"{macro}_IDX_{i}_ENUM_IDX": index for i, index in enumerate(prop.enum_indices)}
/scripts/west_commands/tests/
A Dtest_nrf.py388 tmpfile = nrfutil_args[nrfutil_args.index('--batch-path') + 1]
/scripts/dts/python-devicetree/tests/
A Dtest.dts334 // 'pinctrl-<index>'
/scripts/dts/python-devicetree/src/devicetree/
A Dedtlib.py756 return [enum.index(subval) for subval in val] if enum else None
1176 for index, child_path in enumerate(child.path for child in
1178 self._child2index[child_path] = index

Completed in 33 milliseconds

12