Home
last modified time | relevance | path

Searched refs:Magic (Results 1 – 25 of 76) sorted by relevance

1234

/external/llvm/lib/Support/
DPath.cpp900 file_magic identify_magic(StringRef Magic) { in identify_magic() argument
901 if (Magic.size() < 4) in identify_magic()
903 switch ((unsigned char)Magic[0]) { in identify_magic()
906 if (Magic[1] == (char)0x00 && Magic[2] == (char)0xff && in identify_magic()
907 Magic[3] == (char)0xff) { in identify_magic()
909 if (Magic.size() < MinSize) in identify_magic()
913 Magic.data() + offsetof(COFF::BigObjHeader, Version)); in identify_magic()
917 const char *Start = Magic.data() + offsetof(COFF::BigObjHeader, UUID); in identify_magic()
924 if (Magic.size() >= sizeof(Expected) && in identify_magic()
925 memcmp(Magic.data(), Expected, sizeof(Expected)) == 0) in identify_magic()
[all …]
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp178 uint64_t Magic = in hasFormat() local
180 return getRawMagic<IntPtrT>() == Magic || in hasFormat()
181 sys::getSwappedBytes(getRawMagic<IntPtrT>()) == Magic; in hasFormat()
192 ShouldSwapBytes = Header->Magic != getRawMagic<IntPtrT>(); in readHeader()
214 uint64_t Magic = *reinterpret_cast<const uint64_t *>(CurrentPos); in readNextHeader() local
215 if (Magic != swap(getRawMagic<IntPtrT>())) in readNextHeader()
310 uint64_t Magic = in hasFormat() local
312 return Magic == IndexedInstrProf::Magic; in hasFormat()
325 uint64_t Magic = endian::readNext<uint64_t, little, unaligned>(Cur); in readHeader() local
326 if (Magic != IndexedInstrProf::Magic) in readHeader()
DSampleProfReader.cpp333 auto Magic = readNumber<uint64_t>(); in readHeader() local
334 if (std::error_code EC = Magic.getError()) in readHeader()
336 else if (*Magic != SPMagic()) in readHeader()
352 uint64_t Magic = decodeULEB128(Data); in hasFormat() local
353 return Magic == SPMagic(); in hasFormat()
DInstrProfIndexed.h49 const uint64_t Magic = 0x8169666f72706cff; // "\xfflprofi\x81" variable
DInstrProfWriter.cpp120 LE.write<uint64_t>(IndexedInstrProf::Magic); in writeImpl()
/external/tcpdump/tests/
DQinQpacketv.out6 Magic Cookie 0x63825363
19 Magic Cookie 0x63825363
33 Magic Cookie 0x63825363
46 Magic Cookie 0x63825363
59 Magic Cookie 0x63825363
72 Magic Cookie 0x63825363
85 Magic Cookie 0x63825363
98 Magic Cookie 0x63825363
116 Magic Cookie 0x63825363
129 Magic Cookie 0x63825363
[all …]
Ddcb_qcn.out5 Magic Cookie 0x63825363
17 Magic Cookie 0x63825363
91 Magic Cookie 0x63825363
183 Magic Cookie 0x63825363
196 Magic Cookie 0x63825363
275 Magic Cookie 0x63825363
Ddcb_ets.out6 Magic Cookie 0x63825363
73 Magic Cookie 0x63825363
85 Magic Cookie 0x63825363
98 Magic Cookie 0x63825363
174 Magic Cookie 0x63825363
187 Magic Cookie 0x63825363
254 Magic Cookie 0x63825363
267 Magic Cookie 0x63825363
284 Magic Cookie 0x63825363
407 Magic Cookie 0x63825363
[all …]
/external/llvm/test/tools/llvm-readobj/
Dfile-headers.test80 ELF32-NEXT: Magic: (7F 45 4C 46)
111 ELF64-NEXT: Magic: (7F 45 4C 46)
140 MACHO32-NEXT: Magic: Magic (0xFEEDFACE)
156 MACHO64-NEXT: Magic: Magic64 (0xFEEDFACF)
173 MACHO-PPC-NEXT: Magic: Magic (0xFEEDFACE)
189 MACHO-PPC64-NEXT: Magic: Magic64 (0xFEEDFACF)
206 MACHO-ARM-NEXT: Magic: Magic (0xFEEDFACE)
300 PE32-NEXT: Magic: MZ
Dmacho-universal-x86_64.i386.test17 MULTIHEADER: Magic: Magic64 (0xFEEDFACF)
36 MULTIHEADER: Magic: Magic (0xFEEDFACE)
154 MULTIHEADER-ARCHIVE: Magic: Magic64 (0xFEEDFACF)
170 MULTIHEADER-ARCHIVE: Magic: Magic (0xFEEDFACE)
Dcodeview-linetables.test31 MFUN32-NEXT: Magic: 0x4
140 MFUN64-NEXT: Magic: 0x4
261 MFILE32-NEXT: Magic: 0x4
321 MFILE64-NEXT: Magic: 0x4
/external/clang/lib/Lex/
DHeaderMap.cpp45 uint32_t Magic; // Magic word, also indicates byte order. member
94 if (Header->Magic == HMAP_HeaderMagicNumber && in Create()
97 else if (Header->Magic == llvm::ByteSwap_32(HMAP_HeaderMagicNumber) && in Create()
/external/llvm/test/DebugInfo/
Ddwarfdump-accel.test21 CHECK: Magic = 0x48415348
55 CHECK-NOT: Magic
/external/llvm/lib/DebugInfo/DWARF/
DDWARFAcceleratorTable.cpp24 Hdr.Magic = AccelSection.getU32(&Offset); in extract()
51 OS << "Magic = " << format("0x%08x", Hdr.Magic) << '\n' in dump()
/external/google-breakpad/src/common/mac/
Dmacho_reader.h62 typedef uint32_t Magic; typedef
148 Magic magic_;
/external/clang/test/SemaTemplate/
Dqualified-id.cpp27 template <class T> class Magic : public Impl { class
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h23 uint32_t Magic; member
/external/llvm/tools/yaml2obj/
Dyaml2coff.cpp288 static uint32_t initializeOptionalHeader(COFFParser &CP, uint16_t Magic, T Header) { in initializeOptionalHeader() argument
290 Header->Magic = Magic; in initializeOptionalHeader()
352 DH.Magic[0] = 'M'; in writeCOFF()
353 DH.Magic[1] = 'Z'; in writeCOFF()
/external/llvm/lib/Object/
DArchive.cpp25 static const char *const Magic = "!<arch>\n"; variable
215 } else if (Buffer.startswith(Magic)) { in Archive()
345 const char *Loc = Data.getBufferStart() + strlen(Magic); in child_begin()
/external/e2fsprogs/tests/f_dup4/
Dscript6 echo "/ Murphy Magic. The SeCrEt of the UnIvErSe is 43, NOT 42" > $TEST_DATA
/external/llvm/include/llvm/Support/
DCOFF.h468 uint16_t Magic; member
495 uint16_t Magic; member
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp399 W.printString("Magic", StringRef(DH->Magic, sizeof(DH->Magic))); in printDOSHeader()
485 Magic = DE.getU32(&Offset); in printCodeViewDebugInfo() local
486 W.printHex("Magic", Magic); in printCodeViewDebugInfo()
487 if (Magic != COFF::DEBUG_SECTION_MAGIC) { in printCodeViewDebugInfo()
/external/llvm/lib/MC/
DELFObjectWriter.cpp1170 const StringRef Magic = "ZLIB"; in prependCompressionHeader() local
1171 if (Size <= Magic.size() + sizeof(Size) + CompressedContents.size()) in prependCompressionHeader()
1176 Magic.size() + sizeof(Size), 0); in prependCompressionHeader()
1177 std::copy(Magic.begin(), Magic.end(), CompressedContents.begin()); in prependCompressionHeader()
1180 CompressedContents.begin() + Magic.size()); in prependCompressionHeader()
/external/llvm/include/llvm/Object/
DCOFF.h41 char Magic[2]; member
92 support::ulittle16_t Magic; member
128 support::ulittle16_t Magic; member
/external/clang/include/clang/Basic/
DSanitizers.def110 // Magic group, containing all sanitizers. For example, "-fno-sanitize=all"

1234