Home
last modified time | relevance | path

Searched refs:file_magic (Results 1 – 25 of 70) sorted by relevance

123

/external/llvm/lib/Object/
DSymbolicFile.cpp30 MemoryBufferRef Object, sys::fs::file_magic Type, LLVMContext *Context) { in createSymbolicFile()
32 if (Type == sys::fs::file_magic::unknown) in createSymbolicFile()
36 case sys::fs::file_magic::bitcode: in createSymbolicFile()
40 case sys::fs::file_magic::unknown: in createSymbolicFile()
41 case sys::fs::file_magic::archive: in createSymbolicFile()
42 case sys::fs::file_magic::macho_universal_binary: in createSymbolicFile()
43 case sys::fs::file_magic::windows_resource: in createSymbolicFile()
45 case sys::fs::file_magic::elf: in createSymbolicFile()
46 case sys::fs::file_magic::elf_executable: in createSymbolicFile()
47 case sys::fs::file_magic::elf_shared_object: in createSymbolicFile()
[all …]
DBinary.cpp41 sys::fs::file_magic Type = sys::fs::identify_magic(Buffer.getBuffer()); in createBinary()
44 case sys::fs::file_magic::archive: in createBinary()
46 case sys::fs::file_magic::elf: in createBinary()
47 case sys::fs::file_magic::elf_relocatable: in createBinary()
48 case sys::fs::file_magic::elf_executable: in createBinary()
49 case sys::fs::file_magic::elf_shared_object: in createBinary()
50 case sys::fs::file_magic::elf_core: in createBinary()
51 case sys::fs::file_magic::macho_object: in createBinary()
52 case sys::fs::file_magic::macho_executable: in createBinary()
53 case sys::fs::file_magic::macho_fixed_virtual_memory_shared_lib: in createBinary()
[all …]
DObjectFile.cpp73 ObjectFile::createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type) { in createObjectFile()
75 if (Type == sys::fs::file_magic::unknown) in createObjectFile()
79 case sys::fs::file_magic::unknown: in createObjectFile()
80 case sys::fs::file_magic::bitcode: in createObjectFile()
81 case sys::fs::file_magic::archive: in createObjectFile()
82 case sys::fs::file_magic::macho_universal_binary: in createObjectFile()
83 case sys::fs::file_magic::windows_resource: in createObjectFile()
85 case sys::fs::file_magic::elf: in createObjectFile()
86 case sys::fs::file_magic::elf_relocatable: in createObjectFile()
87 case sys::fs::file_magic::elf_executable: in createObjectFile()
[all …]
DModuleSummaryIndexObjectFile.cpp52 sys::fs::file_magic Type = sys::fs::identify_magic(Object.getBuffer()); in findBitcodeInMemBuffer()
54 case sys::fs::file_magic::bitcode: in findBitcodeInMemBuffer()
56 case sys::fs::file_magic::elf_relocatable: in findBitcodeInMemBuffer()
57 case sys::fs::file_magic::macho_object: in findBitcodeInMemBuffer()
58 case sys::fs::file_magic::coff_object: { in findBitcodeInMemBuffer()
DIRObjectFile.cpp292 sys::fs::file_magic Type = sys::fs::identify_magic(Object.getBuffer()); in findBitcodeInMemBuffer()
294 case sys::fs::file_magic::bitcode: in findBitcodeInMemBuffer()
296 case sys::fs::file_magic::elf_relocatable: in findBitcodeInMemBuffer()
297 case sys::fs::file_magic::macho_object: in findBitcodeInMemBuffer()
298 case sys::fs::file_magic::coff_object: { in findBitcodeInMemBuffer()
DArchiveWriter.cpp252 MemberBuffer, sys::fs::file_magic::unknown, &Context); in writeSymbolTable()
/external/llvm/lib/Support/
DPath.cpp982 file_magic identify_magic(StringRef Magic) { in identify_magic()
984 return file_magic::unknown; in identify_magic()
992 return file_magic::coff_import_library; in identify_magic()
997 return file_magic::coff_import_library; in identify_magic()
1001 return file_magic::coff_import_library; in identify_magic()
1002 return file_magic::coff_object; in identify_magic()
1008 return file_magic::windows_resource; in identify_magic()
1011 return file_magic::coff_object; in identify_magic()
1017 return file_magic::bitcode; in identify_magic()
1021 return file_magic::bitcode; in identify_magic()
[all …]
/external/llvm/include/llvm/Object/
DSymbolicFile.h158 createSymbolicFile(MemoryBufferRef Object, sys::fs::file_magic Type,
163 return createSymbolicFile(Object, sys::fs::file_magic::unknown, nullptr); in createSymbolicFile()
DObjectFile.h285 createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type);
288 return createObjectFile(Object, sys::fs::file_magic::unknown); in createObjectFile()
/external/llvm/include/llvm/Support/
DFileSystem.h239 struct file_magic { struct
271 file_magic() : V(unknown) {} in file_magic() function
272 file_magic(Impl V) : V(V) {} in file_magic() argument
649 file_magic identify_magic(StringRef magic);
657 std::error_code identify_magic(const Twine &path, file_magic &result);
/external/llvm/unittests/Support/
DPath.cpp773 fs::file_magic magic; in TEST_F()
776 { #magic, magic, sizeof(magic), fs::file_magic::magic } in TEST_F()
780 { "coff_bigobj", coff_bigobj, sizeof(coff_bigobj), fs::file_magic::coff_object }, in TEST_F()
/external/swiftshader/third_party/LLVM/autoconf/m4/
Dlibtool.m4193 file_magic*)
2065 "file_magic "*)
2066 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2262 # 'file_magic [[regex]]' -- check by looking for files in library path
2277 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
2284 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2291 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2305 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
2323 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
2327 …[lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-…
[all …]
/external/libcap-ng/libcap-ng-0.7/m4/
Dlibtool.m4233 file_magic*)
2956 "file_magic "*)
2957 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3183 # 'file_magic [[regex]]' -- check by looking for files in library path
3198 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3205 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3215 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3219 …lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|…
3226 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3240 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/libmicrohttpd/m4/
Dlibtool.m4233 file_magic*)
2967 "file_magic "*)
2968 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3194 # 'file_magic [[regex]]' -- check by looking for files in library path
3209 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3216 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3226 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3230 …lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|…
3237 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3251 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/libexif/auto-m4/
Dlibtool.m4231 file_magic*)
2911 "file_magic "*)
2912 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3138 # 'file_magic [[regex]]' -- check by looking for files in library path
3153 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3160 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3170 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3174 …lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|…
3181 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3195 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/libnfnetlink/m4/
Dlibtool.m4233 file_magic*)
2953 "file_magic "*)
2954 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3180 # 'file_magic [[regex]]' -- check by looking for files in library path
3195 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3202 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3212 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3216 …lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|…
3223 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3237 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/libedit/m4/
Dlibtool.m4233 file_magic*)
2952 "file_magic "*)
2953 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3179 # 'file_magic [[regex]]' -- check by looking for files in library path
3194 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3201 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3211 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3215 …lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|…
3222 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3236 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/libnetfilter_conntrack/m4/
Dlibtool.m4233 file_magic*)
2967 "file_magic "*)
2968 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3194 # 'file_magic [[regex]]' -- check by looking for files in library path
3209 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3216 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3226 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3230 …lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|…
3237 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3251 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/m4/
Dlibtool.m4233 file_magic*)
2964 "file_magic "*)
2965 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3191 # 'file_magic [[regex]]' -- check by looking for files in library path
3206 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3213 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3223 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3227 …lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|…
3234 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3248 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/google-breakpad/m4/
Dlibtool.m4238 file_magic*)
2763 "file_magic "*)
2764 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2984 # 'file_magic [[regex]]' -- check by looking for files in library path
2999 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3006 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3015 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3018 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3025 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3039 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/libmtp/m4/
Dlibtool.m4238 file_magic*)
2754 "file_magic "*)
2755 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2975 # 'file_magic [[regex]]' -- check by looking for files in library path
2990 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
2997 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3006 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3009 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3016 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3030 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/google-tv-pairing-protocol/cpp/m4/
Dlibtool.m4238 file_magic*)
2763 "file_magic "*)
2764 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2984 # 'file_magic [[regex]]' -- check by looking for files in library path
2999 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3006 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3015 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3018 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3025 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3039 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/libusb-compat/m4/
Dlibtool.m4238 file_magic*)
2764 "file_magic "*)
2765 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2985 # 'file_magic [[regex]]' -- check by looking for files in library path
3000 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3007 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3016 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3019 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3026 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3040 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/pcre/dist2/m4/
Dlibtool.m4243 file_magic*)
3177 "file_magic "*)
3178 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3441 # 'file_magic [[regex]]' -- check by looking for files in library path
3456 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3463 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3472 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3476 …lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|…
3483 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3497 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]
/external/ImageMagick/m4/
Dlibtool.m4243 file_magic*)
3180 "file_magic "*)
3181 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3444 # 'file_magic [[regex]]' -- check by looking for files in library path
3459 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3466 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3475 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3479 …lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|…
3486 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3500 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
[all …]

123