/tools/ |
A D | atmelimage.c | 57 size_t pos; in atmel_find_pmecc_parameter_in_token() local 62 for (pos = 0; pos < ARRAY_SIZE(configs); pos++) { in atmel_find_pmecc_parameter_in_token() 118 size_t pos; in atmel_verify_header() local 122 for (pos = 0; pos < ARRAY_SIZE(nand_pmecc_header); pos++) in atmel_verify_header() 132 for (pos = 0; pos < 7; pos++) { in atmel_verify_header() 188 size_t pos; in atmel_print_header() local 191 for (pos = 0; pos < ARRAY_SIZE(nand_pmecc_header); pos++) in atmel_print_header() 198 pos += 5; in atmel_print_header() 201 pos = 5; in atmel_print_header() 244 size_t pos; in atmel_vrec_header() local [all …]
|
A D | relocate-rela.c | 467 uint64_t pos = rela_start + sizeof(Elf64_Rela) * i; in rela_elf64() local 470 if (fseek(f, pos, SEEK_SET) < 0) { in rela_elf64() 473 argv[0], argv[1], pos, strerror(errno)); in rela_elf64() 479 argv[0], argv[1], pos); in rela_elf64() 495 argv[0], argv[1], pos); in rela_elf64() 581 uint32_t pos = rela_start + sizeof(Elf32_Rela) * i; in rela_elf32() local 584 debug("\nPosition:\t%d/0x%x\n", i, pos); in rela_elf32() 586 if (fseek(f, pos, SEEK_SET) < 0) { in rela_elf32() 589 argv[0], argv[1], pos, strerror(errno)); in rela_elf32() 595 argv[0], argv[1], pos); in rela_elf32() [all …]
|
A D | sunxi-spl-image-builder.c | 119 off_t pos = ftell(dst); in write_page() local 173 fseek(dst, pos + offs, SEEK_SET); in write_page() 221 fseek(dst, pos + data_offs, SEEK_SET); in write_page() 223 fseek(dst, pos + ecc_offs - 4, SEEK_SET); in write_page() 228 fseek(dst, pos + info->page_size, SEEK_SET); in write_page() 233 fseek(dst, pos + info->page_size + info->oob_size, SEEK_SET); in write_page()
|
A D | kwboot.c | 477 static int pos; in __progress() local 479 if (pos % width == 0) in __progress() 485 pos = (pos + 1) % width; in __progress() 488 while (pos && pos++ < width) in __progress() 492 pos = 0; in __progress() 1012 int rc, err, i, pos; in kwboot_debugmsg() local 1047 for (pos = 0; pos < sizeof(kwboot_msg_debug); pos++) in kwboot_debugmsg() 1048 if (buf[off] == kwboot_msg_debug[(pos + off) % sizeof(kwboot_msg_debug)]) in kwboot_debugmsg() 1052 if (buf[i] != kwboot_msg_debug[(pos + i) % sizeof(kwboot_msg_debug)]) in kwboot_debugmsg()
|
A D | proftool.c | 1812 int pos; in output_tree() local 1835 pos = base; in output_tree() 1836 if (pos) in output_tree() 1837 str[pos++] = ';'; in output_tree() 1842 needed = pos + len + 1; in output_tree() 1852 memset(str + pos, 0, abuf_size(str_buf) - pos); in output_tree() 1854 strcpy(str + pos, child->func->name); in output_tree() 1855 if (output_tree(fout, out_format, child, str_buf, pos + len)) in output_tree()
|
A D | mxsimage.c | 2025 off_t pos; in sb_verify_image_end() local 2036 pos = ftell(fp); in sb_verify_image_end() 2037 if (pos != filesz) { in sb_verify_image_end()
|
/tools/binman/etype/ |
A D | fmap.py | 66 pos = 0 68 pos = entry.image_pos 73 fmap_util.FmapArea(pos, entry.size or 0, name, flags)) 77 pos = entry.image_pos 78 areas.append(fmap_util.FmapArea(pos or 0, entry.size or 0,
|
A D | intel_descriptor.py | 22 pos = frba + region_num * 4 23 val = struct.unpack('<L', data[pos:pos + 4])[0]
|
A D | image_header.py | 36 pos = size + offset - (1 << 32) 38 pos = offset 39 return pos
|
/tools/binman/ |
A D | image.py | 124 pos = image_header.LocateHeaderOffset(data) 125 if pos is None: 127 pos = fdtmap.LocateFdtmap(data) 128 if pos is None: 133 data[pos + fdtmap.FDTMAP_HDR_LEN:pos + 256]) 135 fdtmap_data = data[pos:pos + dtb_size + fdtmap.FDTMAP_HDR_LEN]
|
A D | cbfs_util.py | 615 pos = fd.tell() 620 cbf.calced_cbfs_offset = pos + data_offset 702 pos = (size + rel_offset) & 0xffffffff 703 fd.seek(pos) 708 fd.seek(pos) 735 pos = fd.tell() 814 pos = fd.tell() 848 pos = fd.tell() 879 pos = data.find(b'\0') 880 if pos == -1: [all …]
|
A D | cbfs_util_test.py | 261 pos = fd.tell() 268 newdata = data[:pos] 351 pos = fd.tell() 354 newdata = data[:pos + 4] 357 fd.seek(pos) 372 pos = fd.tell() 379 fd.seek(pos) 413 pos = fd.tell() 419 newdata = data[:pos] + struct.pack('>I', 0x123) + data[pos + 4:] 438 pos = fd.tell() [all …]
|
A D | fip_util.py | 294 pos = HEADER_LEN 296 fields = list(struct.unpack(ENTRY_FORMAT, data[pos:pos + ENTRY_SIZE])) 302 pos += ENTRY_SIZE
|
A D | README.rst | 470 declares a ulong value which will be assigned to the image-pos of any U-Boot 478 Thus u_boot_offset will be set to the image-pos of U-Boot in memory, assuming 486 As well as image-pos, it is possible to read the size of an entry and its 495 80108000. If U-Boot's image-pos is 0x8000 then binman will write an image-pos 506 property can be set to that offset (e.g. 0), so that the unadjusted image-pos 523 causes binman to make sure that the 'offset', 'image-pos' and 'size' properties 699 image-pos: 1388 Name Image-pos Size Entry-type Offset Uncomp-size 1407 Name Image-pos Size Entry-type Offset Uncomp-size 1416 Name Image-pos Size Entry-type Offset Uncomp-size [all …]
|
A D | binman.rst | 470 declares a ulong value which will be assigned to the image-pos of any U-Boot 478 Thus u_boot_offset will be set to the image-pos of U-Boot in memory, assuming 486 As well as image-pos, it is possible to read the size of an entry and its 495 80108000. If U-Boot's image-pos is 0x8000 then binman will write an image-pos 506 property can be set to that offset (e.g. 0), so that the unadjusted image-pos 523 causes binman to make sure that the 'offset', 'image-pos' and 'size' properties 699 image-pos: 1388 Name Image-pos Size Entry-type Offset Uncomp-size 1407 Name Image-pos Size Entry-type Offset Uncomp-size 1416 Name Image-pos Size Entry-type Offset Uncomp-size [all …]
|
A D | ftest.py | 973 pos = entry.size 978 self.assertEqual(pos, entry.offset) 981 self.assertEqual(U_BOOT_DATA, data[pos:pos + entry.size]) 982 pos += entry.size 987 self.assertEqual(pos, entry.offset) 991 data[pos:pos + entry.size]) 992 pos += entry.size 1001 data[pos:pos + entry.size]) 1002 pos += entry.size 1011 data[pos:pos + entry.size]) [all …]
|
A D | entries.rst | 750 image-pos = <0x00000000>; 754 image-pos = <0x00000000>; 759 image-pos = <0x00000004>;
|
/tools/binman/test/ |
A D | u_boot_binman_syms_size.c | 13 binman_sym_declare(char, u_boot_spl, pos);
|
A D | 079_uses_pos.dts | 7 pos = <10>;
|
/tools/u_boot_pylib/ |
A D | terminal.py | 116 pos = 0 124 before = text[pos:m.start()] 133 pos = m.start() + len(m.group()) 136 after = text[pos:]
|
A D | tools.py | 186 def align(pos, align): argument 189 pos = (pos + mask) & ~mask 190 return pos
|
/tools/buildman/ |
A D | toolchain.py | 82 pos = basename.rfind('-') 83 self.cross = basename[:pos + 1] if pos != -1 else '' 86 pos = self.cross.find('-') 90 self.arch = self.cross[:pos] if pos != -1 else 'sandbox'
|
/tools/dtoc/ |
A D | dtb_platdata.py | 558 pos = 0 560 phandle_cell = prop.value[pos] 564 pos += 1 + args 613 pos = 0 615 phandle_cell = prop.value[pos] 621 str(fdt_util.fdt32_to_cpu(prop.value[pos + 1 + i]))) 622 pos += 1 + args
|
/tools/patman/ |
A D | func_test.py | 364 pos = orig_text.index( 366 text = orig_text[:pos] 376 pos = lines.index('-- ') 384 self.assertEqual('base-commit: 1a44532', lines[pos + 3]) 385 self.assertEqual('branch: mybranch', lines[pos + 4])
|