Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 38) sorted by relevance

12

/scripts/native_simulator/common/src/
A Dnsi_host_trampolines.c14 void *nsi_host_calloc(unsigned long nmemb, unsigned long size) in nsi_host_calloc() argument
16 return calloc(nmemb, size); in nsi_host_calloc()
29 char *nsi_host_getcwd(char *buf, unsigned long size) in nsi_host_getcwd() argument
31 return getcwd(buf, size); in nsi_host_getcwd()
39 void *nsi_host_malloc(unsigned long size) in nsi_host_malloc() argument
41 return malloc(size); in nsi_host_malloc()
54 long nsi_host_read(int fd, void *buffer, unsigned long size) in nsi_host_read() argument
56 return read(fd, buffer, size); in nsi_host_read()
59 void *nsi_host_realloc(void *ptr, unsigned long size) in nsi_host_realloc() argument
61 return realloc(ptr, size); in nsi_host_realloc()
[all …]
A Dnct.c315 static void ttable_init_elements(struct threads_table_el *chunk, int size) in ttable_init_elements() argument
317 for (int i = 0; i < size - 1; i++) { in ttable_init_elements()
321 chunk[size - 1].next = NULL; in ttable_init_elements()
322 NSI_SAFE_CALL(sem_init(&chunk[size - 1].sema, 0, 0)); in ttable_init_elements()
/scripts/
A Dcheckstack.pl133 my $size = $1;
134 $size = hex($size) if ($size =~ /^0x/);
136 if ($size > 0xf0000000) {
137 $size = - $size;
138 $size += 0x80000000;
139 $size += 0x80000000;
141 next if ($size > 0x10000000);
154 next if ($size < 100);
155 push @stack, "$intro$size\n";
158 my $size = "Dynamic ($1)";
[all …]
/scripts/native_simulator/common/src/include/
A Dnsi_host_trampolines.h25 void *nsi_host_calloc(unsigned long nmemb, unsigned long size);
29 char *nsi_host_getcwd(char *buf, unsigned long size);
31 void *nsi_host_malloc(unsigned long size);
35 long nsi_host_read(int fd, void *buffer, unsigned long size);
36 void *nsi_host_realloc(void *ptr, unsigned long size);
39 long nsi_host_write(int fd, const void *buffer, unsigned long size);
/scripts/dts/python-devicetree/src/devicetree/
A D_private.py12 prop_name: str, size: int, size_hint: str,
23 if len(raw) % size:
30 return [raw[i:i + size] for i in range(0, len(raw), size)]
/scripts/footprint/
A Dfpdiff.py59 if n.size != node.size:
60 diff = n.size - node.size
76 if not node.children and node.size != 0:
A Dsize_report216 size = section['sh_size']
218 sec_end = sec_start + (size - 1 if size else 0)
225 ram_size += size
235 rom_size += size
247 ram_size += size
254 rom_size += size
586 self._size = size
604 size = 0
607 size += child._size
609 return size
[all …]
A Dupload_data.py81 data['all'] = node.size
83 data[node.name] = node.size
92 data['all'] = node.size
94 data[comp] = node.size
/scripts/native_simulator/native/src/
A Dnsi_cmdline_common.c237 static void nsi_cmd_gen_switch_syntax(char *buf, int size, in nsi_cmd_gen_switch_syntax() argument
242 if (size <= 0) { in nsi_cmd_gen_switch_syntax()
248 size--; in nsi_cmd_gen_switch_syntax()
252 ret = snprintf(buf, size, "-%s", args_s_el->option); in nsi_cmd_gen_switch_syntax()
255 ret = snprintf(buf, size, "-%s=<%s>", in nsi_cmd_gen_switch_syntax()
258 ret = snprintf(buf, size, "-%s <%s>...", in nsi_cmd_gen_switch_syntax()
267 if (size - ret < 0) { in nsi_cmd_gen_switch_syntax()
275 size -= ret; in nsi_cmd_gen_switch_syntax()
278 snprintf(buf, size, "] "); in nsi_cmd_gen_switch_syntax()
280 snprintf(buf, size, " "); in nsi_cmd_gen_switch_syntax()
/scripts/build/
A Dgen_cfb_font_header.py22 width, height = image.size
73 font = ImageFont.truetype(args.input, args.size)
80 size = font.getbbox(chr(i))
83 fw = size[2] - size[0] # right - left
84 fh = size[3] - size[1] # bottom - top
110 size = draw.textbbox((0, 0), chr(i), font=font)
113 fw = size[2] - size[0] # right - left
114 fh = size[3] - size[1] # bottom - top
A Dgen_symtab.py58 def __init__(self, addr, size, offset, name): argument
60 self.size = size
122 hex(entry.size),
140 if symtab_list[-1].size == 0:
A Dgen_kobject_list.py201 def __init__(self, offset, name, size, api=False): argument
203 self.size = size
320 def __init__(self, offset, name, size): argument
322 self.size = size
398 size = die_get_byte_size(die)
401 if not size:
411 at = AggregateType(offset, name, size)
490 size = 4
493 size = 8
820 size = ko.data
[all …]
A Dllext_prepare_exptab.py85 self.size = self.section['sh_size']
98 self.fd.seek(self.base_offset + index * self.lcs_struct.size)
108 return self.lcs_struct.unpack(self.fd.read(self.lcs_struct.size))
284 if (self.exptab_section.size % self.lcs_struct.size) != 0:
290 num_exports = self.exptab_section.size // self.lcs_struct.size
A Dgen_kobject_placeholders.py47 size = one_sect['size']
51 write_define(out_fp, prefix, 'SZ', size)
A Delf_parser.py31 (format, size) = self.elf.native_struct_format
32 return struct.unpack(format, self.data[offset:offset + size])[0]
147 size = 4
150 size = 8
151 return (format, size)
A Dgen_app_partitions.py403 size = symbol['st_value']
405 partitions[partition_name] = {SZ: size}
411 partitions[partition_name][SZ] += size
/scripts/dts/python-devicetree/tests/
A Dtest.dts53 #size-cells = <0>;
138 #size-cells = <0>;
175 #size-cells = <0>;
186 #size-cells = <0>;
213 #size-cells = <2>;
238 #size-cells = <2>;
261 #size-cells = <2>;
276 #size-cells = <1>;
283 reg-zero-size-cells {
285 #size-cells = <0>;
[all …]
/scripts/logging/dictionary/dictionary_parser/
A Ddata_types.py137 size = struct.calcsize(formatter)
142 size = 16
144 self.data_types[data_type]['sizeof'] = size
155 align = max(align, size)
/scripts/pylib/twister/twisterlib/
A Dsize_calc.py234 size = int(words[2], 16)
235 if size == 0:
255 self.used_ram += size
258 self.used_ram += size
259 self.used_rom += size
262 self.used_rom += size
264 self.used_ram += size
270 "size": size, "virt_addr": virt_addr,
/scripts/coredump/coredump_parser/
A Dlog_parser.py122 size = eaddr - saddr
124 data = self.fd.read(size)
130 (saddr, eaddr, size))
A Delf_parser.py109 size = section['sh_size']
112 sec_end = sec_start + size - 1
/scripts/logging/dictionary/
A Dlive_log_parser.py49 size = self.serial.in_waiting
50 return self.serial.read(size)
/scripts/west_commands/
A Dsign.py265 align, addr, size = self.edt_flash_params(command, flash)
291 command.inf('partition size: {0} (0x{0:x})'.format(size))
299 '--slot-size', str(size)]
426 size = slots[slot_key].regs[0].size
427 if size == 0:
430 return (align, addr, size)
/scripts/west_commands/runners/
A Dcanopen_program.py282 size = os.path.getsize(bin_file)
285 size=size, block_transfer=self.block_transfer)
287 progress = tqdm(total=size, unit='B', unit_scale=True)
/scripts/coccinelle/
A Dnoderef.cocci1 /// sizeof when applied to a pointer typed expression gives the size of

Completed in 38 milliseconds

12