/external/llvm/lib/Linker/ |
LinkItems.cpp | 82 std::string Magic; 83 Pathname.getMagicNumber(Magic, 64); 84 switch (sys::IdentifyFileType(Magic.c_str(), 64)) { 180 std::string Magic; 181 if (!File.getMagicNumber(Magic, 64)) 184 switch (sys::IdentifyFileType(Magic.c_str(), 64)) {
|
/external/clang/test/SemaTemplate/ |
qualified-id.cpp | 27 template <class T> class Magic : public Impl {
|
/frameworks/compile/libbcc/include/bcinfo/ |
BitcodeWrapper.h | 26 uint32_t Magic;
|
/external/llvm/include/llvm/Support/ |
GCOV.h | 46 StringRef Magic = Buffer->getBuffer().slice(0, 12); 48 if (Magic == "oncg*404MVLL") 50 else if (Magic == "oncg*204MVLL") 52 else if (Magic == "adcg*404MVLL") 54 else if (Magic == "adcg*204MVLL")
|
PathV1.h | 327 /// the Path object and reads its magic number. If the magic number at the 328 /// start of the file matches \p magic, true is returned. In all other 330 /// @returns true if the magic number of the file matches \p magic. 331 /// @brief Determine if file has a specific magic number 332 LLVM_ATTRIBUTE_DEPRECATED(bool hasMagicNumber(StringRef magic) const, 336 /// with \p this. These bytes are returned as the "magic number" in the 337 /// \p Magic parameter. 338 /// @returns true if the Path is a file and the magic number is retrieved [all...] |
/external/clang/lib/Lex/ |
HeaderMap.cpp | 45 uint32_t Magic; // Magic word, also indicates byte order. 91 // Sniff it to see if it's a headermap by checking the magic number and 94 if (Header->Magic == HMAP_HeaderMagicNumber && 97 else if (Header->Magic == llvm::ByteSwap_32(HMAP_HeaderMagicNumber) &&
|
/external/llvm/lib/Object/ |
Archive.cpp | 22 const StringRef Magic = "!<arch>\n"; 138 // Check for sufficient magic. 141 || StringRef(source->getBufferStart(), 8) != Magic) { 160 const char *Loc = Data->getBufferStart() + Magic.size();
|
MachOObject.cpp | 67 SwapValue(Header.Magic); 95 // First, check the magic value and initialize the basic object info. 97 StringRef Magic = Buffer->getBuffer().slice(0, 4); 98 if (Magic == "\xFE\xED\xFA\xCE") { 99 } else if (Magic == "\xCE\xFA\xED\xFE") { 101 } else if (Magic == "\xFE\xED\xFA\xCF") { 103 } else if (Magic == "\xCF\xFA\xED\xFE") { 107 if (ErrorStr) *ErrorStr = "not a Mach object file (invalid magic)";
|
/external/llvm/lib/Support/ |
Path.cpp | 52 sys::IdentifyFileType(const char *magic, unsigned length) { 53 assert(magic && "Invalid magic number string"); 54 assert(length >=4 && "Invalid magic number length"); 55 switch ((unsigned char)magic[0]) { 57 if (magic[1] == (char)0xC0 && magic[2] == (char)0x17 && 58 magic[3] == (char)0x0B) 62 if (magic[1] == 'C' && magic[2] == (char)0xC0 && magic[3] == (char)0xDE [all...] |
PathV2.cpp | 723 error_code has_magic(const Twine &path, const Twine &magic, bool &result) { 725 StringRef Magic = magic.toStringRef(MagicStorage); 728 if (error_code ec = get_magic(path, Magic.size(), Buffer)) { 730 // Magic.size() > file_size(Path). 737 result = Magic == Buffer; 742 SmallString<32> Magic; 743 error_code ec = get_magic(path, Magic.capacity(), Magic); 747 result = IdentifyFileType(Magic.data(), Magic.size()) [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldMachO.cpp | 516 StringRef Magic = InputBuffer->getBuffer().slice(0, 4); 517 if (Magic == "\xFE\xED\xFA\xCE") return true; 518 if (Magic == "\xCE\xFA\xED\xFE") return true; 519 if (Magic == "\xFE\xED\xFA\xCF") return true; 520 if (Magic == "\xCF\xFA\xED\xFE") return true;
|
/external/llvm/include/llvm/Object/ |
MachOFormat.h | 103 /// \brief Constants for header magic field. 112 uint32_t Magic;
|
/external/llvm/unittests/Support/ |
Path.cpp | 228 TEST_F(FileSystemTest, Magic) { 233 } types [] = {{"magic.archive", "!<arch>\x0A", 8}}; 235 // Create some files filled with magic. 244 StringRef magic(i->magic_str, i->magic_str_len); 245 file << magic; local 248 ASSERT_NO_ERROR(fs::has_magic(file_pathname.c_str(), magic, res));
|
/frameworks/compile/slang/ |
slang_backend.cpp | 236 header.Magic = 0x0B17C0DE;
|
/external/chromium/base/win/ |
pe_image.cc | 515 if (nt_headers->OptionalHeader.Magic != IMAGE_NT_OPTIONAL_HDR_MAGIC)
|
/external/valgrind/main/coregrind/m_debuginfo/ |
readpdb.c | 194 unsigned short Magic; /* 0x10b or 0x107 */ /* 0x00 */ [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | [all...] |
/external/grub/docs/ |
texinfo.tex | [all...] |
/ndk/sources/host-tools/sed-4.2.1/build-aux/ |
texinfo.tex | [all...] |