/scripts/kconfig/ |
A D | kconfigfunctions.py | 179 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 D | menuconfig.py | 392 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 D | README.md | 1 # 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 D | bindesc.py | 202 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 D | zcmake.py | 91 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 D | llext_prepare_exptab.py | 97 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 D | llext_inject_slids.py | 114 for (index, symbol) in imports: 122 original_st_value = rd_st_val(index) 127 wr_st_val(index, slid)
|
A D | gen_isr_tables.py | 187 return offsets.index(irq)
|
/scripts/ci/stats/ |
A D | merged_prs.py | 33 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 D | nct.c | 130 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 D | trace_capture_usb.py | 90 for index in range(length): 91 file_desc.write(chr(buff[index]).encode('latin1'))
|
/scripts/ci/ |
A D | twister_report_analyzer.py | 214 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 D | upload_test_results_es.py | 235 "_index": args.index, 242 "_index": args.index, 285 es.indices.create(index=args.index, mappings=mappings, settings=settings)
|
A D | pylintrc | 136 invalid-sequence-index, 137 invalid-slice-index, 231 invalid-format-index,
|
/scripts/coredump/gdbstubs/ |
A D | gdbstub.py | 245 index = 0 249 index += 1 250 … thread_name_next_byte = self.get_memory(thread_ptr + t_name_offset + index, 1)
|
/scripts/logging/dictionary/ |
A D | log_parser.py | 68 idx = hexdata.index(LOG_HEX_SEP) + len(LOG_HEX_SEP)
|
/scripts/tests/twister/pytest_integration/ |
A D | test_harness_pytest.py | 97 assert command.index(pytest_args_from_yaml) < command.index(pytest_args_from_cmd[1])
|
/scripts/pylib/twister/twisterlib/ |
A D | size_calc.py | 223 index = words[0] 224 if not index[0].isdigit(): # Skip lines that do not start
|
A D | reports.py | 817 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 D | environment.py | 1008 double_dash = options.extra_test_args.index("--")
|
/scripts/coredump/gdbstubs/arch/ |
A D | arm_cortex_m.py | 118 reg = int(pkt_str[1:pkt_str.index('=')], 16)
|
/scripts/dts/ |
A D | gen_defines.py | 243 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 D | test_nrf.py | 388 tmpfile = nrfutil_args[nrfutil_args.index('--batch-path') + 1]
|
/scripts/dts/python-devicetree/tests/ |
A D | test.dts | 334 // 'pinctrl-<index>'
|
/scripts/dts/python-devicetree/src/devicetree/ |
A D | edtlib.py | 756 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
|