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

  /frameworks/compile/libbcc/include/bcinfo/
BitcodeWrapper.h 28 uint32_t Magic;
134 wrapper->Magic = 0x0B17C0DE;
  /external/llvm/include/llvm/Support/
GCOV.h 48 StringRef Magic = Buffer->getBuffer().slice(0, 12);
50 if (Magic == "oncg*404MVLL")
52 else if (Magic == "oncg*204MVLL")
54 else if (Magic == "adcg*404MVLL")
56 else if (Magic == "adcg*204MVLL")
COFF.h 428 uint16_t Magic;
452 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 303 StringRef Magic(InputBuffer->getBufferStart(), 4);
304 if (Magic == "\xFE\xED\xFA\xCE") return true;
305 if (Magic == "\xCE\xFA\xED\xFE") return true;
306 if (Magic == "\xFE\xED\xFA\xCF") return true;
307 if (Magic == "\xCF\xFA\xED\xFE") return true;
  /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 69 SwapValue(Header.Magic);
97 // First, check the magic value and initialize the basic object info.
99 StringRef Magic = Buffer->getBuffer().slice(0, 4);
100 if (Magic == "\xFE\xED\xFA\xCE") {
101 } else if (Magic == "\xCE\xFA\xED\xFE") {
103 } else if (Magic == "\xFE\xED\xFA\xCF") {
105 } else if (Magic == "\xCF\xFA\xED\xFE") {
109 if (ErrorStr) *ErrorStr = "not a Mach object file (invalid magic)";
Archive.cpp 22 static const char *Magic = "!<arch>\n";
106 // Check for sufficient magic.
109 || StringRef(source->getBufferStart(), 8) != Magic) {
172 const char *Loc = Data->getBufferStart() + strlen(Magic);
  /external/llvm/lib/Support/
Path.cpp 41 sys::IdentifyFileType(const char *magic, unsigned length) {
42 assert(magic && "Invalid magic number string");
43 assert(length >=4 && "Invalid magic number length");
44 switch ((unsigned char)magic[0]) {
46 if (magic[1] == (char)0xC0 && magic[2] == (char)0x17 &&
47 magic[3] == (char)0x0B)
51 if (magic[1] == 'C' && magic[2] == (char)0xC0 && magic[3] == (char)0xDE
    [all...]
PathV2.cpp 728 error_code has_magic(const Twine &path, const Twine &magic, bool &result) {
730 StringRef Magic = magic.toStringRef(MagicStorage);
733 if (error_code ec = get_magic(path, Magic.size(), Buffer)) {
735 // Magic.size() > file_size(Path).
742 result = Magic == Buffer;
746 /// @brief Identify the magic in magic.
747 file_magic identify_magic(StringRef magic) {
748 if (magic.size() < 4
    [all...]
  /external/llvm/include/llvm/Object/
MachOFormat.h 110 /// \brief Constants for header magic field.
119 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 301 TEST_F(FileSystemTest, Magic) {
306 } types [] = {{"magic.archive", "!<arch>\x0A", 8}};
308 // Create some files filled with magic.
317 StringRef magic(i->magic_str, i->magic_str_len);
318 file << magic; local
321 ASSERT_NO_ERROR(fs::has_magic(file_pathname.c_str(), magic, res));
  /external/llvm/lib/Transforms/Instrumentation/
AddressSanitizer.cpp     [all...]
  /external/valgrind/main/coregrind/m_debuginfo/
readpdb.c 171 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...]
  /external/bison/build-aux/
texinfo.tex     [all...]
  /ndk/sources/host-tools/sed-4.2.1/build-aux/
texinfo.tex     [all...]

Completed in 665 milliseconds