/external/swiftshader/third_party/LLVM/lib/Archive/ |
D | ArchiveReader.cpp | 271 ArchiveMember* mbr = parseMemberHeader(At, End, error); in loadArchive() local 272 if (!mbr) in loadArchive() 276 if (mbr->isSVR4SymbolTable() || mbr->isBSD4SymbolTable()) { in loadArchive() 284 foreignST = mbr; in loadArchive() 285 At += mbr->getSize(); in loadArchive() 288 } else if (mbr->isStringTable()) { in loadArchive() 293 strtab.assign(At, mbr->getSize()); in loadArchive() 294 At += mbr->getSize(); in loadArchive() 297 delete mbr; in loadArchive() 298 } else if (mbr->isLLVMSymbolTable()) { in loadArchive() [all …]
|
D | ArchiveWriter.cpp | 81 Archive::fillHeader(const ArchiveMember &mbr, ArchiveMemberHeader& hdr, in fillHeader() argument 87 sprintf(buffer, "%-8o", mbr.getMode()); in fillHeader() 89 sprintf(buffer, "%-6u", mbr.getUser()); in fillHeader() 91 sprintf(buffer, "%-6u", mbr.getGroup()); in fillHeader() 95 uint64_t secondsSinceEpoch = mbr.getModTime().toEpochTime(); in fillHeader() 100 std::string mbrPath = mbr.getPath().str(); in fillHeader() 109 if (mbr.isStringTable()) { in fillHeader() 111 } else if (mbr.isSVR4SymbolTable()) { in fillHeader() 113 } else if (mbr.isBSD4SymbolTable()) { in fillHeader() 115 } else if (mbr.isLLVMSymbolTable()) { in fillHeader() [all …]
|
/external/syslinux/utils/ |
D | isohybrid.c | 586 read_mbr_template(char *path, uint8_t *mbr) in read_mbr_template() argument 595 ret = fread(mbr, 1, MBRSIZE, fp); in read_mbr_template() 603 initialise_mbr(uint8_t *mbr) in initialise_mbr() argument 607 uint8_t ptype = 0, *rbm = mbr; in initialise_mbr() 616 read_mbr_template(mbr_template_path, mbr); in initialise_mbr() 625 memcpy(mbr, &isohdpfx[hd0 + 3 * partok], MBRSIZE); in initialise_mbr() 632 memcpy(mbr, afp_header, sizeof(afp_header)); in initialise_mbr() 641 mbr += MBRSIZE; /* offset 432 */ in initialise_mbr() 644 memcpy(mbr, &tmp, sizeof(tmp)); in initialise_mbr() 645 mbr += sizeof(tmp); /* offset 436 */ in initialise_mbr() [all …]
|
D | isohybrid.in | 96 my $mbr = ''; 102 $mbr .= chr(hex($byte)); 105 return $mbr; 210 $mbr = get_hex_data(); 212 if ( length($mbr) > 432 ) { 216 $mbr .= "\0" x (432 - length($mbr)); 218 $mbr .= pack("VV", $de_lba*4, 0); # Offset 432: LBA of isolinux.bin 219 $mbr .= $id; # Offset 440: MBR ID 220 $mbr .= "\0\0"; # Offset 446: actual partition table 238 $mbr .= pack("CCCCCCCCVV", 0x80, $bhead, $bsect, $bcyl, $fstype, [all …]
|
D | Makefile | 31 ISOHDPFX = $(addprefix $(OBJ)/,../mbr/isohdpfx.bin ../mbr/isohdpfx_f.bin \ 32 ../mbr/isohdpfx_c.bin \ 33 ../mbr/isohdppx.bin ../mbr/isohdppx_f.bin ../mbr/isohdppx_c.bin) 40 mkdiskimage: mkdiskimage.in ../mbr/mbr.bin bin2hex.pl 41 $(PERL) $(SRC)/bin2hex.pl < $(OBJ)/../mbr/mbr.bin | cat $(SRC)/mkdiskimage.in - > $@
|
D | mkdiskimage.in | 60 my $mbr = ''; 66 $mbr .= chr(hex($byte)); 69 return $mbr; 175 $mbr = get_hex_data(); 176 if ( length($mbr) > 440 ) { 180 $mbr .= "\0" x (440 - length($mbr)); 186 $mbr .= pack("V", $id); # Offset 440: MBR ID 187 $mbr .= "\0\0"; # Offset 446: actual partition table 189 print OUTPUT $mbr;
|
/external/libvpx/libvpx/vp8/common/ |
D | postproc.c | 69 int mbr, mbc; in vp8_deblock() local 79 for (mbr = 0; mbr < cm->mb_rows; ++mbr) { in vp8_deblock() 101 source->y_buffer + 16 * mbr * source->y_stride, in vp8_deblock() 102 post->y_buffer + 16 * mbr * post->y_stride, source->y_stride, in vp8_deblock() 106 source->u_buffer + 8 * mbr * source->uv_stride, in vp8_deblock() 107 post->u_buffer + 8 * mbr * post->uv_stride, source->uv_stride, in vp8_deblock() 110 source->v_buffer + 8 * mbr * source->uv_stride, in vp8_deblock() 111 post->v_buffer + 8 * mbr * post->uv_stride, source->uv_stride, in vp8_deblock() 122 int mbr; in vp8_de_noise() local 135 for (mbr = 0; mbr < mb_rows; ++mbr) { in vp8_de_noise() [all …]
|
/external/syslinux/com32/gpllib/disk/ |
D | mbrs.c | 132 char mbr[SECTOR * sizeof(char)]; in get_mbr_id() local 134 if (read_mbr(d->disk, &mbr) == -1) in get_mbr_id() 139 mbr_id = (*(uint8_t *) (mbr + 3)); in get_mbr_id() 140 mbr_id += (*(uint8_t *) (mbr + 2) << 8); in get_mbr_id() 141 mbr_id += (*(uint8_t *) (mbr + 1) << 16); in get_mbr_id() 142 mbr_id += (*(uint8_t *) mbr) << 24; in get_mbr_id()
|
D | msdos.c | 149 char *mbr = malloc(SECTOR * sizeof(char)); in parse_partition_table() local 151 if (read_mbr(d->disk, mbr) == -1) in parse_partition_table() 155 if (!msdos_magic_present(mbr)) in parse_partition_table() 159 (struct part_entry *)(mbr + PARTITION_TABLES_OFFSET); in parse_partition_table()
|
/external/syslinux/bios/utils/ |
D | mkdiskimage | 60 my $mbr = ''; 66 $mbr .= chr(hex($byte)); 69 return $mbr; 175 $mbr = get_hex_data(); 176 if ( length($mbr) > 440 ) { 180 $mbr .= "\0" x (440 - length($mbr)); 186 $mbr .= pack("V", $id); # Offset 440: MBR ID 187 $mbr .= "\0\0"; # Offset 446: actual partition table 189 print OUTPUT $mbr;
|
D | isohybrid.pl | 96 my $mbr = ''; 102 $mbr .= chr(hex($byte)); 105 return $mbr; 210 $mbr = get_hex_data(); 212 if ( length($mbr) > 432 ) { 216 $mbr .= "\0" x (432 - length($mbr)); 218 $mbr .= pack("VV", $de_lba*4, 0); # Offset 432: LBA of isolinux.bin 219 $mbr .= $id; # Offset 440: MBR ID 220 $mbr .= "\0\0"; # Offset 446: actual partition table 238 $mbr .= pack("CCCCCCCCVV", 0x80, $bhead, $bsect, $bcyl, $fstype, [all …]
|
/external/syslinux/diag/mbr/ |
D | Makefile | 18 mbrdir = $(topdir)/mbr 28 %.elf: %.o $(mbrdir)/mbr.ld 29 $(LD) $(LDFLAGS) -T $(mbrdir)/$(ARCH)/mbr.ld -e _start -o $@ $< 41 mbr_bin.c: mbr.bin
|
D | README | 8 NOTE: in the examples, mbr.bin, /dev/hda and /dev/hda1 are used as generic representations. 12 dd conv=notrunc bs=440 count=1 if=mbr.bin of=/dev/hda 17 dd conv=notrunc bs=2 count=210 seek=45 if=mbr.bin of=/dev/hda1
|
/external/syslinux/dos/ |
D | syslinux.c | 298 static struct rwblock mbr = { variable 315 mbr.bufferoffset = (uintptr_t) buf; in write_mbr() 316 mbr.bufferseg = ds(); in write_mbr() 320 :"c"(0x0841), "d"(&mbr), "b"(drive), "m"(mbr)); in write_mbr() 330 :"c"(0x4841), "d"(&mbr), "b"(drive), "m"(mbr)); in write_mbr() 344 mbr.bufferoffset = (uintptr_t) buf; in read_mbr() 345 mbr.bufferseg = ds(); in read_mbr() 349 :"c"(0x0861), "d"(&mbr), "b"(drive), "m"(mbr)); in read_mbr() 359 :"c"(0x4861), "d"(&mbr), "b"(drive), "m"(mbr)); in read_mbr()
|
/external/syslinux/mbr/ |
D | Makefile | 22 all: mbr.bin altmbr.bin gptmbr.bin isohdpfx.bin isohdppx.bin \ 37 %.elf: %.o $(SRC)/$(ARCH)/mbr.ld 38 $(LD) $(LDFLAGS) -T $(SRC)/$(ARCH)/mbr.ld -e _start -o $@ $< 45 mbr_bin.c: mbr.bin
|
/external/syslinux/libinstaller/ |
D | Makefile | 17 mbr_bin.c: $(OBJ)/../mbr/mbr.bin bin2c.pl 20 gptmbr_bin.c: $(OBJ)/../mbr/gptmbr.bin bin2c.pl
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_postproc.c | 254 int mbr; in vp9_deblock() local 260 for (mbr = 0; mbr < mb_rows; mbr++) { in vp9_deblock() 262 src->y_buffer + 16 * mbr * src->y_stride, in vp9_deblock() 263 dst->y_buffer + 16 * mbr * dst->y_stride, src->y_stride, in vp9_deblock() 266 src->u_buffer + 8 * mbr * src->uv_stride, in vp9_deblock() 267 dst->u_buffer + 8 * mbr * dst->uv_stride, src->uv_stride, in vp9_deblock() 270 src->v_buffer + 8 * mbr * src->uv_stride, in vp9_deblock() 271 dst->v_buffer + 8 * mbr * dst->uv_stride, src->uv_stride, in vp9_deblock()
|
/external/syslinux/com32/chain/ |
D | partiter.c | 99 const struct disk_dos_mbr *mbr in pi_dos_ctor() argument 105 if (!(iter->data = malloc(sizeof *mbr))) { in pi_dos_ctor() 110 memcpy(iter->data, mbr, sizeof *mbr); in pi_dos_ctor() 113 iter->dos.disk_sig = mbr->disk_sig; in pi_dos_ctor() 638 struct disk_dos_mbr *mbr = NULL; in pi_begin() local 647 if (!(mbr = disk_read_sectors(di, 0, 1))) { in pi_begin() 653 if (mbr->sig != disk_mbr_sig_magic) { in pi_begin() 662 isgpt |= (mbr->table[i].ostype == 0xEE); in pi_begin() 700 ret = pi_dos_ctor(iter, di, flags, mbr); in pi_begin() 707 free(mbr); in pi_begin()
|
/external/gptfdisk/ |
D | basicmbr.cc | 210 state = mbr; in ReadMBRData() 416 int BasicMBRData::WriteMBRData(struct TempMBR & mbr, DiskIO *theDisk, uint64_t sector) { in WriteMBRData() argument 421 ReverseBytes(&mbr.diskSignature, 4); in WriteMBRData() 422 ReverseBytes(&mbr.nulls, 2); in WriteMBRData() 423 ReverseBytes(&mbr.MBRSignature, 2); in WriteMBRData() 425 ReverseBytes(&mbr.partitions[i].firstLBA, 4); in WriteMBRData() 426 ReverseBytes(&mbr.partitions[i].lengthLBA, 4); in WriteMBRData() 433 if (theDisk->Write(&mbr, 512) != 512) { in WriteMBRData() 445 ReverseBytes(&mbr.diskSignature, 4); in WriteMBRData() 446 ReverseBytes(&mbr.nulls, 2); in WriteMBRData() [all …]
|
D | basicmbr.h | 39 enum MBRValidity {invalid, gpt, hybrid, mbr}; enumerator 75 int WriteMBRData(struct TempMBR & mbr, DiskIO *theDisk, uint64_t sector);
|
/external/syslinux/ |
D | Makefile | 162 mbr/*.bin \ 179 BSUBDIRS = codepage com32 lzo core mbr sample efi txt 188 BSUBDIRS = codepage com32 lzo core memdisk mbr gpxe sample \ 205 mbr/*.bin $(INSTALLABLE_MODULES) 207 INSTALL_DIAG = diag/mbr/handoff.bin \ 303 utils: mbr
|
/external/syslinux/gpxe/src/arch/i386/ |
D | Makefile.pcbios | 52 $(BIN)/mbr.bin : $(BIN)/mbr.o
|
/external/syslinux/gpxe/src/arch/i386/prefix/ |
D | mbr.S | 7 mbr: label
|
/external/syslinux/diag/ |
D | Makefile | 1 SUBDIRS = mbr geodsp
|
D | README | 4 mbr/ Diagnostic MBRs
|