Home
last modified time | relevance | path

Searched refs:int (Results 1 – 25 of 145) sorted by relevance

123456

/scripts/dts/python-devicetree/tests/test-bindings-init/
A Dsimple.yaml8 type: int
10 type: int
12 type: int
17 type: int
19 type: int
21 type: int
26 type: int
28 type: int
30 type: int
A Dbase.yaml37 type: int
47 type: int
50 type: int
53 type: int
62 type: int
72 type: int
75 type: int
78 type: int
87 type: int
97 type: int
[all …]
/scripts/dts/python-devicetree/tests/test-bindings-include/
A Dsimple.yaml8 type: int
10 type: int
12 type: int
17 type: int
19 type: int
21 type: int
26 type: int
28 type: int
30 type: int
A Dinclude.yaml7 type: int
9 type: int
11 type: int
15 type: int
17 type: int
22 type: int
24 type: int
/scripts/build/
A Dllext_slidlib.py29 def generate_slid(symbol_name: str, slid_size: int) -> int: argument
42 return int.from_bytes(hash[0:slid_size], byteorder='big', signed=False)
45 def format_slid(slid: int, slid_size: int) -> str: argument
A Dgen_cfb_font_header.py37 for octet in range(0, int(width / 8)):
50 for octet in range(0, int(height / 8)):
67 args.output.write("0x{:02x},".format(int(value, 2)))
93 width = 8 * int((fw_max + 7) / 8)
97 height = 8 * int((fh_max + args.y_offset + 7) / 8)
228 "-s", "--size", type=int, default=10, metavar="POINTS",
239 "-x", "--width", required=True, type=int,
242 "-y", "--height", required=True, type=int,
248 "--first", type=int, default=PRINTABLE_MIN, metavar="CHARCODE",
251 "--last", type=int, default=PRINTABLE_MAX, metavar="CHARCODE",
[all …]
/scripts/tests/twister_blackbox/
A Dtest_runner.py225 assert int(built_search.group('only_built')) == \
301 assert int(select_search.group('test_scenarios')) == \
317 assert int(pass_search.group('test_instances')) == \
331 assert int(case_search.group('platform_count')) == \
345 assert int(built_search.group('only_built')) == \
410 assert int(pass_search.group('test_instances')) == \
418 assert int(built_search.group('only_built')) == \
498 assert int(iteration_number) == int(iterations) + 1
531 if elapsed_time < int(interval):
659 assert int(pass_search.group('test_instances')) == \
[all …]
A Dtest_platform.py253 assert int(pass_search.group('passed_configurations')) == \
255 assert int(pass_search.group('test_instances')) == \
261 assert int(built_search.group('executed_on_platform')) == \
263 assert int(built_search.group('only_built')) == \
327 assert int(select_search.group('test_scenarios')) == \
329 assert int(select_search.group('test_instances')) == \
335 assert int(select_search.group('skipped_at_runtime')) == \
343 assert int(pass_search.group('built_configurations')) == \
357 assert int(case_search.group('executed_test_cases')) == \
359 assert int(case_search.group('platform_count')) == \
[all …]
/scripts/coccinelle/
A Dirq_lock.cocci1 /// Use unsigned int as the return value for irq_lock()
19 unsigned int i = irq_lock();
24 + unsigned int
36 unsigned int i;
41 + unsigned int
/scripts/utils/
A Dntc_thermistor_table.py45 r25: float, beta: float, interval: int, temp_init: int, temp_final: int argument
75 type=int,
82 type=int,
89 type=int,
/scripts/kconfig/
A Dkconfigfunctions.py186 if int(index) >= len(node.regs):
189 if node.regs[int(index)].addr is None:
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):
286 if int(index) >= len(node.props[prop].val):
986 return string[int(start):int(stop)]
988 return string[int(start):]
1045 return str(int(functools.reduce(max, intarray)))
1047 return hex(int(functools.reduce(max, intarray)))
[all …]
/scripts/schemas/twister/
A Dhwmap-schema.yaml42 type: int
59 type: int
72 type: int
75 type: int
78 type: int
/scripts/west_commands/runners/
A Dstlink_gdbserver.py36 installations: list[tuple[int, Path]] = []
42 major, minor, revis = int(m[1]), int(m[2]), int(m[3])
105 parser.add_argument("--apid", type=int, default=0, help="Target DAP ID")
108 type=int,
123 ap_id: int | None,
125 gdb_port: int, argument
A Dnxp_s32dbg.py27 server_port: int = 45000
28 speed: int = 16000
29 remote_timeout: int = 30
31 reset_delay: int = 0
104 type=int,
108 type=int,
112 type=int,
181 value: int = int(input(prompt))
205 def script_globals(self) -> dict[str, str | int | None]:
/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
A Dmcumgr.py24 image: int
25 slot: int
58 def image_upload(self, image: Path | str, slot: int | None = None, timeout: int = 30): argument
80 image=int(m.group(1)),
81 slot=int(m.group(2))
124 def create_for_ble(cls, hci_index: int, peer_name: str) -> MCUmgr: argument
/scripts/pylib/twister/twisterlib/
A Dsize_calc.py157 def get_available_ram(self) -> int:
164 def get_available_rom(self) -> int:
234 size = int(words[2], 16)
238 load_addr = int(words[4], 16)
239 virt_addr = int(words[3], 16)
295 def _find_offset_of_last_pattern_occurrence(self, file_content: list[str]) -> int:
411 numeric_value = int(data_parts[0])
462 self.used_ram = int(data_from_file[ROW_RAM_IDX][COLUMN_USED_SIZE_IDX])
463 self.used_rom = int(data_from_file[ROW_ROM_IDX][COLUMN_USED_SIZE_IDX])
464 self.available_ram = int(data_from_file[ROW_RAM_IDX][COLUMN_AVAILABLE_SIZE_IDX])
[all …]
/scripts/dts/python-devicetree/tests/test-bindings/
A Ddefaults.yaml10 int:
11 type: int
36 type: int
A Dgrandchild-1.yaml6 type: int
10 type: int
A Ddeprecated.yaml9 type: int
14 type: int
A Dchild-binding.yaml11 type: int
20 type: int
A Dchild-binding-with-compat.yaml12 type: int
19 type: int
/scripts/pylib/power-twister-harness/abstract/
A DPowerMonitor.py22 def measure(self, duration: int): argument
31 def get_data(self, duration: int) -> list[float]: argument
/scripts/tracing/
A Dtrace_capture_usb.py31 vendor_id = int(args.vendor_id)
33 vendor_id = int(args.vendor_id, 16)
36 product_id = int(args.product_id)
38 product_id = int(args.product_id, 16)
/scripts/pylib/twister/
A Dexpr_parser.py52 t.value = str(int(t.value, 16))
57 t.value = str(int(t.value))
197 return int(v, 16)
199 return int(v, 10)
214 return ast_sym_int(ast[1], env) > int(ast[2])
216 return ast_sym_int(ast[1], env) < int(ast[2])
218 return ast_sym_int(ast[1], env) >= int(ast[2])
220 return ast_sym_int(ast[1], env) <= int(ast[2])
/scripts/coredump/gdbstubs/
A Dgdbstub.py160 s_addr = int(b'0x' + str_addr, 16)
161 length = int(b'0x' + str_length, 16)
192 curr_thread_ptr = int.from_bytes(curr_thread_ptr_bytes, "little")
201 thread_ptr = int.from_bytes(thread_ptr_bytes, "little")
214 thread_ptr = int.from_bytes(thread_ptr_bytes, "little")
238 thread_id = int(thread_index_str, 16)
255 thread_state = int.from_bytes(thread_state_byte, "little")
261 thread_user_options = int.from_bytes(thread_user_options_byte, "little")
267 thread_prio = int.from_bytes(thread_prio_byte, "little")
304 self.selected_thread = int(thread_index_str, 16) - 1

Completed in 39 milliseconds

123456