HomeSort by relevance Sort by last modified time
    Searched refs:Magic (Results 1 - 23 of 23) sorted by null

  /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)) {
  /frameworks/compile/libbcc/include/bcinfo/
BitcodeWrapper.h 28 uint32_t Magic;
135 wrapper->Magic = 0x0B17C0DE;
  /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")
COFF.h 420 uint16_t Magic;
444 uint16_t Magic;
PathV1.h 313 /// the Path object and reads its magic number. If the magic number at the
314 /// start of the file matches \p magic, true is returned. In all other
316 /// @returns true if the magic number of the file matches \p magic.
317 /// @brief Determine if file has a specific magic number
318 LLVM_ATTRIBUTE_DEPRECATED(bool hasMagicNumber(StringRef magic) const,
322 /// with \p this. These bytes are returned as the "magic number" in the
323 /// \p Magic parameter.
324 /// @returns true if the Path is a file and the magic number is retrieved
    [all...]
  /external/clang/test/SemaTemplate/
qualified-id.cpp 27 template <class T> class Magic : public Impl {
  /external/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldMachO.cpp 285 StringRef Magic = InputBuffer->getBuffer().slice(0, 4);
286 if (Magic == "\xFE\xED\xFA\xCE") return true;
287 if (Magic == "\xCE\xFA\xED\xFE") return true;
288 if (Magic == "\xFE\xED\xFA\xCF") return true;
289 if (Magic == "\xCF\xFA\xED\xFE") return true;
RuntimeDyldELF.cpp 424 StringRef Magic = InputBuffer->getBuffer().slice(0, ELF::EI_NIDENT);
425 return (memcmp(Magic.data(), ELF::ElfMagic, strlen(ELF::ElfMagic))) == 0;
  /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/
MachOObject.cpp 68 SwapValue(Header.Magic);
96 // First, check the magic value and initialize the basic object info.
98 StringRef Magic = Buffer->getBuffer().slice(0, 4);
99 if (Magic == "\xFE\xED\xFA\xCE") {
100 } else if (Magic == "\xCE\xFA\xED\xFE") {
102 } else if (Magic == "\xFE\xED\xFA\xCF") {
104 } else if (Magic == "\xCF\xFA\xED\xFE") {
108 if (ErrorStr) *ErrorStr = "not a Mach object file (invalid magic)";
Archive.cpp 22 static const char *Magic = "!<arch>\n";
178 // Check for sufficient magic.
181 || StringRef(source->getBufferStart(), 8) != Magic) {
203 const char *Loc = Data->getBufferStart() + strlen(Magic);
  /external/llvm/lib/Support/
Path.cpp 42 sys::IdentifyFileType(const char *magic, unsigned length) {
43 assert(magic && "Invalid magic number string");
44 assert(length >=4 && "Invalid magic number length");
45 switch ((unsigned char)magic[0]) {
47 if (magic[1] == (char)0xC0 && magic[2] == (char)0x17 &&
48 magic[3] == (char)0x0B)
52 if (magic[1] == 'C' && magic[2] == (char)0xC0 && magic[3] == (char)0xDE
    [all...]
PathV2.cpp 727 error_code has_magic(const Twine &path, const Twine &magic, bool &result) {
729 StringRef Magic = magic.toStringRef(MagicStorage);
732 if (error_code ec = get_magic(path, Magic.size(), Buffer)) {
734 // Magic.size() > file_size(Path).
741 result = Magic == Buffer;
745 /// @brief Identify the magic in magic.
746 file_magic identify_magic(StringRef magic) {
747 switch ((unsigned char)magic[0])
    [all...]
  /external/llvm/include/llvm/Object/
MachOFormat.h 103 /// \brief Constants for header magic field.
112 uint32_t Magic;
  /external/chromium/base/win/
pe_image.cc 515 if (nt_headers->OptionalHeader.Magic != IMAGE_NT_OPTIONAL_HDR_MAGIC)
  /external/llvm/unittests/Support/
Path.cpp 290 TEST_F(FileSystemTest, Magic) {
295 } types [] = {{"magic.archive", "!<arch>\x0A", 8}};
297 // Create some files filled with magic.
306 StringRef magic(i->magic_str, i->magic_str_len);
307 file << magic; local
310 ASSERT_NO_ERROR(fs::has_magic(file_pathname.c_str(), magic, res));
  /external/llvm/lib/Transforms/Instrumentation/
AddressSanitizer.cpp 722 uint8_t Magic) {
728 *Shadow = Magic; // unaddressable
    [all...]
  /external/valgrind/main/coregrind/m_debuginfo/
readpdb.c 194 unsigned short Magic; /* 0x10b or 0x107 */ /* 0x00 */
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.publisher_1.1.2.v20100824-2220.jar 
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/
pdebuild.jar 
  /external/grub/docs/
texinfo.tex     [all...]
  /ndk/sources/host-tools/sed-4.2.1/build-aux/
texinfo.tex     [all...]

Completed in 1375 milliseconds