Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMagic.cpp29 static bool startswith(StringRef Magic, const char (&S)[N]) { in startswith() argument
30 return Magic.startswith(StringRef(S, N - 1)); in startswith()
34 file_magic llvm::identify_magic(StringRef Magic) { in identify_magic() argument
35 if (Magic.size() < 4) in identify_magic()
37 switch ((unsigned char)Magic[0]) { in identify_magic()
40 if (startswith(Magic, "\0\0\xFF\xFF")) { in identify_magic()
43 if (Magic.size() < MinSize) in identify_magic()
46 const char *Start = Magic.data() + offsetof(COFF::BigObjHeader, UUID); in identify_magic()
54 if (Magic.size() >= sizeof(COFF::WinResMagic) && in identify_magic()
55 memcmp(Magic.data(), COFF::WinResMagic, sizeof(COFF::WinResMagic)) == 0) in identify_magic()
[all …]
DCMakeLists.txt4 Magic.cpp
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachO.cpp41 uint32_t Magic; in jitLink_MachO() local
42 memcpy(&Magic, Data.data(), sizeof(uint32_t)); in jitLink_MachO()
44 dbgs() << "jitLink_MachO: magic = " << format("0x%08" PRIx32, Magic) in jitLink_MachO()
49 if (Magic == MachO::MH_MAGIC || Magic == MachO::MH_CIGAM) { in jitLink_MachO()
53 } else if (Magic == MachO::MH_MAGIC_64 || Magic == MachO::MH_CIGAM_64) { in jitLink_MachO()
57 if (Magic == MachO::MH_CIGAM_64) in jitLink_MachO()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp984 static bool startswith(StringRef Magic, const char (&S)[N]) { in startswith() argument
985 return Magic.startswith(StringRef(S, N - 1)); in startswith()
989 file_magic identify_magic(StringRef Magic) { in identify_magic() argument
990 if (Magic.size() < 4) in identify_magic()
992 switch ((unsigned char)Magic[0]) { in identify_magic()
995 if (startswith(Magic, "\0\0\xFF\xFF")) { in identify_magic()
997 if (Magic.size() < MinSize) in identify_magic()
1000 const char *Start = Magic.data() + offsetof(COFF::BigObjHeader, UUID); in identify_magic()
1008 if (startswith(Magic, "\0\0\0\0\x20\0\0\0\xFF")) in identify_magic()
1011 if (Magic[1] == 0) in identify_magic()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DHeader.cpp25 OS << " Magic = " << HEX32(H.Magic) << "\n"; in operator <<()
42 if (Magic != GSYM_MAGIC) in checkForError()
44 "invalid GSYM magic 0x%8.8x", Magic); in checkForError()
71 H.Magic = Data.getU32(&Offset); in decode()
89 O.writeU32(Magic); in encode()
102 return LHS.Magic == RHS.Magic && LHS.Version == RHS.Version && in operator ==()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ToolDrivers/llvm-lib/
DLibDriver.cpp194 file_magic Magic = identify_magic(MB.getBuffer()); in appendFile() local
196 if (Magic != file_magic::coff_object && Magic != file_magic::bitcode && in appendFile()
197 Magic != file_magic::archive && Magic != file_magic::windows_resource) { in appendFile()
207 if (Magic == file_magic::archive) { in appendFile()
236 if (Magic == file_magic::coff_object || Magic == file_magic::bitcode) { in appendFile()
237 COFF::MachineTypes FileMachine = (Magic == file_magic::coff_object) in appendFile()
/third_party/libinput/quirks/
D50-system-apple.quirks40 # The External Apple "Magic" trackpads, both the 1st and 2nd generations, have
43 [Apple Magic Trackpad v1 (2010, clickpad)]
54 [Apple Magic Trackpad v2 (2015)]
63 [Apple Magic Trackpad v2 (new vendor ID)]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/
DRemarkFormat.h22 constexpr StringLiteral Magic("REMARKS");
31 Expected<Format> magicToFormat(StringRef Magic);
/third_party/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc322 inline static uintptr_t Magic(uintptr_t magic, AllocList::Header *ptr) { in Magic() function
360 Magic(kMagicUnallocated, &freelist.header); in Arena()
397 region->header.magic == Magic(kMagicUnallocated, &region->header), in DeleteArena()
458 next->header.magic == Magic(kMagicUnallocated, &next->header), in Next()
494 ABSL_RAW_CHECK(f->header.magic == Magic(kMagicAllocated, &f->header), in AddToFreelist()
502 f->header.magic = Magic(kMagicUnallocated, &f->header); in AddToFreelist()
578 s->header.magic = Magic(kMagicAllocated, &s->header); in DoAllocWithArena()
590 n->header.magic = Magic(kMagicAllocated, &n->header); in DoAllocWithArena()
595 s->header.magic = Magic(kMagicAllocated, &s->header); in DoAllocWithArena()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc322 inline static uintptr_t Magic(uintptr_t magic, AllocList::Header *ptr) { in Magic() function
360 Magic(kMagicUnallocated, &freelist.header); in Arena()
397 region->header.magic == Magic(kMagicUnallocated, &region->header), in DeleteArena()
458 next->header.magic == Magic(kMagicUnallocated, &next->header), in Next()
494 ABSL_RAW_CHECK(f->header.magic == Magic(kMagicAllocated, &f->header), in AddToFreelist()
502 f->header.magic = Magic(kMagicUnallocated, &f->header); in AddToFreelist()
578 s->header.magic = Magic(kMagicAllocated, &s->header); in DoAllocWithArena()
590 n->header.magic = Magic(kMagicAllocated, &n->header); in DoAllocWithArena()
595 s->header.magic = Magic(kMagicAllocated, &s->header); in DoAllocWithArena()
/third_party/curl/tests/data/
Dtest131618 Magic: sure you can FTP me
26 Magic: sure you can FTP me
29 Magic: sure you can FTP me
Dtest9114 WWW-Authenticate: Magic-Negotiate
49 WWW-Authenticate: Magic-Negotiate
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProfReader.cpp674 std::error_code SampleProfileReaderRawBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic() argument
675 if (Magic == SPMagic()) in verifySPMagic()
680 std::error_code SampleProfileReaderExtBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic() argument
681 if (Magic == SPMagic(SPF_Ext_Binary)) in verifySPMagic()
687 SampleProfileReaderCompactBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic() argument
688 if (Magic == SPMagic(SPF_Compact_Binary)) in verifySPMagic()
815 auto Magic = readNumber<uint64_t>(); in readMagicIdent() local
816 if (std::error_code EC = Magic.getError()) in readMagicIdent()
818 else if (std::error_code EC = verifySPMagic(*Magic)) in readMagicIdent()
951 uint64_t Magic = decodeULEB128(Data); in hasFormat() local
[all …]
DInstrProfReader.cpp298 uint64_t Magic = in hasFormat() local
300 return RawInstrProf::getMagic<IntPtrT>() == Magic || in hasFormat()
301 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()
312 ShouldSwapBytes = Header->Magic != RawInstrProf::getMagic<IntPtrT>(); in readHeader()
333 uint64_t Magic = *reinterpret_cast<const uint64_t *>(CurrentPos); in readNextHeader() local
334 if (Magic != swap(RawInstrProf::getMagic<IntPtrT>())) in readNextHeader()
741 uint64_t Magic = in hasFormat() local
744 return Magic == IndexedInstrProf::Magic; in hasFormat()
814 uint64_t Magic = endian::byte_swap<uint64_t, little>(Header->Magic); in readHeader() local
815 if (Magic != IndexedInstrProf::Magic) in readHeader()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOUniversal.cpp113 : Binary(Binary::ID_MachOUniversalBinary, Source), Magic(0), in MachOUniversalBinary()
126 Magic = H.magic; in MachOUniversalBinary()
133 if (Magic == MachO::FAT_MAGIC) in MachOUniversalBinary()
135 else if (Magic == MachO::FAT_MAGIC_64) in MachOUniversalBinary()
143 Twine(Magic == MachO::FAT_MAGIC ? "" : "_64") + in MachOUniversalBinary()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMSFCommon.cpp21 if (std::memcmp(SB.MagicBytes, Magic, sizeof(Magic)) != 0) in validateSuperBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/MSF/
DMSFCommon.h23 static const char Magic[] = {'M', 'i', 'c', 'r', 'o', 's', 'o', 'f', variable
32 char MagicBytes[sizeof(Magic)];
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTF.h76 uint16_t Magic; ///< Magic value member
204 uint16_t Magic; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCodeViewYAMLTypeHashing.cpp54 cantFail(Reader.readInteger(DHS.Magic)); in fromDebugH()
74 cantFail(Writer.writeInteger(DebugH.Magic)); in toDebugH()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DSampleProfReader.h541 virtual std::error_code verifySPMagic(uint64_t Magic) = 0;
546 virtual std::error_code verifySPMagic(uint64_t Magic) override;
591 virtual std::error_code verifySPMagic(uint64_t Magic) override = 0;
612 virtual std::error_code verifySPMagic(uint64_t Magic) override;
654 virtual std::error_code verifySPMagic(uint64_t Magic) override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DXCOFFObjectFile.h23 support::ubig16_t Magic; member
37 support::ubig16_t Magic; member
99 support::big32_t Magic; // Zero indicates name in string table.
147 support::big32_t Magic; // Zero indicates name in string table.
DMachOUniversal.h31 uint32_t Magic; variable
154 uint32_t getMagic() const { return Magic; } in getMagic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTarWriter.cpp45 char Magic[6]; member
58 memcpy(Hdr.Magic, "ustar", 5); // Ustar magic in makeUstarHeader()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DCodeViewYAMLTypeHashing.h43 uint32_t Magic; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
DHeader.h49 uint32_t Magic; member

123456