/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Path.cpp | 52 sys::IdentifyFileType(const char *magic, unsigned length) { in IdentifyFileType() argument 53 assert(magic && "Invalid magic number string"); in IdentifyFileType() 55 switch ((unsigned char)magic[0]) { in IdentifyFileType() 57 if (magic[1] == (char)0xC0 && magic[2] == (char)0x17 && in IdentifyFileType() 58 magic[3] == (char)0x0B) in IdentifyFileType() 62 if (magic[1] == 'C' && magic[2] == (char)0xC0 && magic[3] == (char)0xDE) in IdentifyFileType() 67 if (memcmp(magic,"!<arch>\n",8) == 0) in IdentifyFileType() 72 if (magic[1] == 'E' && magic[2] == 'L' && magic[3] == 'F') { in IdentifyFileType() 73 if (length >= 18 && magic[17] == 0) in IdentifyFileType() 74 switch (magic[16]) { in IdentifyFileType() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | gen_bitmap.c | 32 errcode_t magic; member 45 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || \ 46 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP) || \ 47 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP)) 50 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP64) || \ 51 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP64) || \ 52 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP64)) 74 if (!bitmap || !((bitmap->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || in check_magic() 75 (bitmap->magic == EXT2_ET_MAGIC_INODE_BITMAP) || in check_magic() 76 (bitmap->magic == EXT2_ET_MAGIC_BLOCK_BITMAP))) in check_magic() [all …]
|
D | ext2_err.et.in | 15 "Wrong magic number for ext2_filsys structure" 18 "Wrong magic number for badblocks_list structure" 21 "Wrong magic number for badblocks_iterate structure" 24 "Wrong magic number for inode_scan structure" 27 "Wrong magic number for io_channel structure" 30 "Wrong magic number for unix io_channel structure" 33 "Wrong magic number for io_manager structure" 36 "Wrong magic number for block_bitmap structure" 39 "Wrong magic number for inode_bitmap structure" 42 "Wrong magic number for generic_bitmap structure" [all …]
|
/external/strace/tests/ |
D | ioctl_perf.c | 67 static const kernel_ulong_t magic = in main() local 93 sys_ioctl(-1, unknown_perf_cmd, magic); in main() 100 (unsigned long) magic); in main() 102 sys_ioctl(-1, PERF_EVENT_IOC_MODIFY_ATTRIBUTES + 1, magic); in main() 107 (unsigned long) magic); in main() 123 sys_ioctl(-1, flag_iocs[i].cmd, magic); in main() 126 flag_iocs[i].str, (unsigned int) magic & ~1U); in main() 130 sys_ioctl(-1, PERF_EVENT_IOC_REFRESH, magic); in main() 132 (int) magic); in main() 148 sys_ioctl(-1, PERF_EVENT_IOC_SET_OUTPUT, magic); in main() [all …]
|
D | ioctl_loop.c | 180 static const kernel_ulong_t magic = in main() local 189 sys_ioctl(-1, unknown_loop_cmd, magic); in main() 196 (unsigned long) magic); in main() 198 sys_ioctl(-1, LOOP_SET_BLOCK_SIZE + 1, magic); in main() 204 (unsigned long) magic); in main() 206 sys_ioctl(-1, LOOP_CTL_GET_FREE + 1, magic); in main() 212 (unsigned long) magic); in main() 215 sys_ioctl(-1, LOOP_SET_FD, magic); in main() 217 (unsigned int) magic); in main() 302 sys_ioctl(-1, LOOP_CHANGE_FD, magic); in main() [all …]
|
D | ioctl_inotify.c | 54 static const kernel_ulong_t magic = in main() local 58 sys_ioctl(-1, unknown_inotify_cmd, magic); in main() 65 (unsigned long) magic); in main() 67 sys_ioctl(-1, INOTIFY_IOC_SETNEXTWD + 1, magic); in main() 72 (unsigned long) magic); in main() 75 sys_ioctl(-1, INOTIFY_IOC_SETNEXTWD, magic); in main() 77 (int) magic); in main()
|
/external/strace/tests-m32/ |
D | ioctl_perf.c | 67 static const kernel_ulong_t magic = in main() local 93 sys_ioctl(-1, unknown_perf_cmd, magic); in main() 100 (unsigned long) magic); in main() 102 sys_ioctl(-1, PERF_EVENT_IOC_MODIFY_ATTRIBUTES + 1, magic); in main() 107 (unsigned long) magic); in main() 123 sys_ioctl(-1, flag_iocs[i].cmd, magic); in main() 126 flag_iocs[i].str, (unsigned int) magic & ~1U); in main() 130 sys_ioctl(-1, PERF_EVENT_IOC_REFRESH, magic); in main() 132 (int) magic); in main() 148 sys_ioctl(-1, PERF_EVENT_IOC_SET_OUTPUT, magic); in main() [all …]
|
D | ioctl_loop.c | 180 static const kernel_ulong_t magic = in main() local 189 sys_ioctl(-1, unknown_loop_cmd, magic); in main() 196 (unsigned long) magic); in main() 198 sys_ioctl(-1, LOOP_SET_BLOCK_SIZE + 1, magic); in main() 204 (unsigned long) magic); in main() 206 sys_ioctl(-1, LOOP_CTL_GET_FREE + 1, magic); in main() 212 (unsigned long) magic); in main() 215 sys_ioctl(-1, LOOP_SET_FD, magic); in main() 217 (unsigned int) magic); in main() 302 sys_ioctl(-1, LOOP_CHANGE_FD, magic); in main() [all …]
|
D | ioctl_inotify.c | 54 static const kernel_ulong_t magic = in main() local 58 sys_ioctl(-1, unknown_inotify_cmd, magic); in main() 65 (unsigned long) magic); in main() 67 sys_ioctl(-1, INOTIFY_IOC_SETNEXTWD + 1, magic); in main() 72 (unsigned long) magic); in main() 75 sys_ioctl(-1, INOTIFY_IOC_SETNEXTWD, magic); in main() 77 (int) magic); in main()
|
/external/strace/tests-mx32/ |
D | ioctl_perf.c | 67 static const kernel_ulong_t magic = in main() local 93 sys_ioctl(-1, unknown_perf_cmd, magic); in main() 100 (unsigned long) magic); in main() 102 sys_ioctl(-1, PERF_EVENT_IOC_MODIFY_ATTRIBUTES + 1, magic); in main() 107 (unsigned long) magic); in main() 123 sys_ioctl(-1, flag_iocs[i].cmd, magic); in main() 126 flag_iocs[i].str, (unsigned int) magic & ~1U); in main() 130 sys_ioctl(-1, PERF_EVENT_IOC_REFRESH, magic); in main() 132 (int) magic); in main() 148 sys_ioctl(-1, PERF_EVENT_IOC_SET_OUTPUT, magic); in main() [all …]
|
D | ioctl_loop.c | 180 static const kernel_ulong_t magic = in main() local 189 sys_ioctl(-1, unknown_loop_cmd, magic); in main() 196 (unsigned long) magic); in main() 198 sys_ioctl(-1, LOOP_SET_BLOCK_SIZE + 1, magic); in main() 204 (unsigned long) magic); in main() 206 sys_ioctl(-1, LOOP_CTL_GET_FREE + 1, magic); in main() 212 (unsigned long) magic); in main() 215 sys_ioctl(-1, LOOP_SET_FD, magic); in main() 217 (unsigned int) magic); in main() 302 sys_ioctl(-1, LOOP_CHANGE_FD, magic); in main() [all …]
|
D | ioctl_inotify.c | 54 static const kernel_ulong_t magic = in main() local 58 sys_ioctl(-1, unknown_inotify_cmd, magic); in main() 65 (unsigned long) magic); in main() 67 sys_ioctl(-1, INOTIFY_IOC_SETNEXTWD + 1, magic); in main() 72 (unsigned long) magic); in main() 75 sys_ioctl(-1, INOTIFY_IOC_SETNEXTWD, magic); in main() 77 (int) magic); in main()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug_memory.c | 78 unsigned magic; member 84 unsigned magic; member 143 hdr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc() 154 ftr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc() 174 if(hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_free() 183 if(ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_free() 204 hdr->magic = 0; in debug_free() 205 ftr->magic = 0; in debug_free() 238 if(old_hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_realloc() 247 if(old_ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_realloc() [all …]
|
D | u_half.h | 54 union fi magic; in util_float_to_half() local 58 magic.ui = 0xf << 23; in util_float_to_half() 75 f32.f *= magic.f; in util_float_to_half() 107 union fi magic; in util_half_to_float() local 112 magic.ui = 0xef << 23; in util_half_to_float() 118 f32.f *= magic.f; in util_half_to_float()
|
/external/libdrm/ |
D | xf86drmSL.c | 57 unsigned long magic; /* SL_ENTRY_MAGIC */ member 65 unsigned long magic; /* SL_LIST_MAGIC */ member 81 entry->magic = SL_ENTRY_MAGIC; in SLCreateEntry() 107 list->magic = SL_LIST_MAGIC; in drmSLCreate() 123 if (list->magic != SL_LIST_MAGIC) return -1; /* Bad magic */ in drmSLDestroy() 126 if (entry->magic != SL_ENTRY_MAGIC) return -1; /* Bad magic */ in drmSLDestroy() 128 entry->magic = SL_FREED_MAGIC; in drmSLDestroy() 132 list->magic = SL_FREED_MAGIC; in drmSLDestroy() 143 if (list->magic != SL_LIST_MAGIC) return NULL; in SLLocate() 162 if (list->magic != SL_LIST_MAGIC) return -1; /* Bad magic */ in drmSLInsert() [all …]
|
/external/google-breakpad/src/common/mac/ |
D | macho_walker.cc | 135 uint32_t magic; in FindHeader() local 136 if (!ReadBytes(&magic, sizeof(magic), 0)) in FindHeader() 139 offset = sizeof(magic); in FindHeader() 143 if (magic == FAT_MAGIC || magic == FAT_CIGAM) { in FindHeader() 146 else if (magic != MH_MAGIC && magic != MH_CIGAM && magic != MH_MAGIC_64 && in FindHeader() 147 magic != MH_CIGAM_64) { in FindHeader() 158 if (magic == MH_CIGAM || magic == MH_CIGAM_64) in FindHeader() 209 bool swap = (header.magic == MH_CIGAM); in WalkHeaderAtOffset() 235 bool swap = (header.magic == MH_CIGAM_64); in WalkHeader64AtOffset()
|
/external/python/cpython3/Tools/scripts/ |
D | fixheader.py | 29 magic = 'Py_' 32 magic = magic + c.upper() 33 else: magic = magic + '_' 35 print('#ifndef', magic) 36 print('#define', magic) 46 print('#endif /*', '!'+magic, '*/')
|
/external/python/cpython2/Tools/scripts/ |
D | fixheader.py | 29 magic = 'Py_' 32 magic = magic + c.upper() 33 else: magic = magic + '_' 35 print '#ifndef', magic 36 print '#define', magic 46 print '#endif /*', '!'+magic, '*/'
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/ |
D | TestFileMagic.cpp | 92 file_magic magic; in TEST_F() member 94 #define DEFINE(magic) {#magic, magic, sizeof(magic), file_magic::magic} in TEST_F() argument 129 StringRef magic(i->magic_str, i->magic_str_len); in TEST_F() local 130 file << magic; in TEST_F() 132 EXPECT_EQ(i->magic, identify_magic(magic)); in TEST_F()
|
/external/boringssl/src/crypto/fipsmodule/aes/asm/ |
D | vpaes-x86.pl | 69 my ($round, $base, $magic, $key, $const, $inp, $out)= 196 &mov ($magic,16); 223 &movdqa ("xmm1",&QWP(-0x40,$base,$magic));# .Lk_mc_forward[] 226 &movdqa ("xmm4",&QWP(0,$base,$magic)); # .Lk_mc_backward[] 234 &add ($magic,16); # next mc 237 &and ($magic,0x30); # ... mod 4 271 &movdqa ("xmm1",&QWP(0x40,$base,$magic));# .Lk_sr[] 288 &mov ($magic,$round); 291 &shl ($magic,4); 295 &xor ($magic,0x30); [all …]
|
/external/blktrace/ |
D | blktrace.h | 70 #define CHECK_MAGIC(t) (((t)->magic & 0xffffff00) == BLK_IO_TRACE_MAGIC) 98 fprintf(stderr, "bad trace magic %x\n", t->magic); in verify_trace() 101 if ((t->magic & 0xff) != SUPPORTED_VERSION) { in verify_trace() 103 t->magic & 0xff); in verify_trace() 115 t->magic = be32_to_cpu(t->magic); in trace_to_cpu() 131 static inline int check_data_endianness(u32 magic) in check_data_endianness() argument 133 if ((magic & 0xffffff00) == BLK_IO_TRACE_MAGIC) { in check_data_endianness() 138 magic = __bswap_32(magic); in check_data_endianness() 139 if ((magic & 0xffffff00) == BLK_IO_TRACE_MAGIC) { in check_data_endianness()
|
/external/tremolo/Tremolo/ |
D | misc.h | 73 union magic { union 83 union magic { union 93 union magic magic; in MULT32() local 94 magic.whole = (ogg_int64_t)x * y; in MULT32() 95 return magic.halves.hi; in MULT32() 103 union magic magic; in MULT31_SHIFT15() local 104 magic.whole = (ogg_int64_t)x * y; in MULT31_SHIFT15() 105 return ((ogg_uint32_t)(magic.halves.lo)>>15) | ((magic.halves.hi)<<17); in MULT31_SHIFT15()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_msg.c | 83 port_num, magic, \ argument 93 "a"(magic), \ 128 port_num, magic, bp, \ argument 141 "a"(magic), \ 152 port_num, magic, bp, \ argument 165 "a"(magic), \ 183 port_num, magic, bp, \ argument 196 "a"(magic), \ 208 port_num, magic, bp, \ argument 221 "a"(magic), \ [all …]
|
/external/openssh/ |
D | md5crypt.c | 24 static char *magic = "$1$"; variable 47 return (strncmp(salt, magic, strlen(magic)) == 0); in is_md5_salt() 64 if(strncmp(sp, magic, strlen(magic)) == 0) in md5_crypt() 65 sp += strlen(magic); in md5_crypt() 86 MD5_Update(&ctx, magic, strlen(magic)); in md5_crypt() 112 snprintf(passwd, sizeof(passwd), "%s%s$", magic, salt_copy); in md5_crypt()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_half.h | 54 union fi magic; in util_float_to_half() local 58 magic.ui = 0xf << 23; in util_float_to_half() 75 f32.f *= magic.f; in util_float_to_half() 103 union fi magic; in util_half_to_float() local 108 magic.ui = 0xef << 23; in util_half_to_float() 114 f32.f *= magic.f; in util_half_to_float()
|