/scripts/native_simulator/common/src/ |
A D | nsi_host_trampolines.c | 14 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 D | nct.c | 315 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 D | checkstack.pl | 133 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 D | nsi_host_trampolines.h | 25 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.py | 12 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 D | fpdiff.py | 59 if n.size != node.size: 60 diff = n.size - node.size 76 if not node.children and node.size != 0:
|
A D | size_report | 216 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 D | upload_data.py | 81 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 D | nsi_cmdline_common.c | 237 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 D | gen_cfb_font_header.py | 22 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 D | gen_symtab.py | 58 def __init__(self, addr, size, offset, name): argument 60 self.size = size 122 hex(entry.size), 140 if symtab_list[-1].size == 0:
|
A D | gen_kobject_list.py | 201 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 D | llext_prepare_exptab.py | 85 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 D | gen_kobject_placeholders.py | 47 size = one_sect['size'] 51 write_define(out_fp, prefix, 'SZ', size)
|
A D | elf_parser.py | 31 (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 D | gen_app_partitions.py | 403 size = symbol['st_value'] 405 partitions[partition_name] = {SZ: size} 411 partitions[partition_name][SZ] += size
|
/scripts/dts/python-devicetree/tests/ |
A D | test.dts | 53 #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 D | data_types.py | 137 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 D | size_calc.py | 234 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 D | log_parser.py | 122 size = eaddr - saddr 124 data = self.fd.read(size) 130 (saddr, eaddr, size))
|
A D | elf_parser.py | 109 size = section['sh_size'] 112 sec_end = sec_start + size - 1
|
/scripts/logging/dictionary/ |
A D | live_log_parser.py | 49 size = self.serial.in_waiting 50 return self.serial.read(size)
|
/scripts/west_commands/ |
A D | sign.py | 265 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 D | canopen_program.py | 282 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 D | noderef.cocci | 1 /// sizeof when applied to a pointer typed expression gives the size of
|