/external/igt-gpu-tools/tests/ |
D | core_auth.c | 70 unsigned long magic, iocs; in check_auth() local 75 if (drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs) != 0) in check_auth() 90 drm_magic_t magic, *magics = NULL; in test_many_magics() local 131 igt_assert(drmGetMagic(slave, &magic) == 0); in test_many_magics() 132 igt_assert(magic > 0); in test_many_magics() 134 magics[i] = magic; in test_many_magics() 163 drm_magic_t magic, old_magic; in test_basic_auth() local 172 igt_assert(drmGetMagic(slave, &magic) == 0); in test_basic_auth() 173 igt_assert(magic > 0); in test_basic_auth() 176 old_magic = magic; in test_basic_auth() [all …]
|
/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/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/ |
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/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/mesa3d/src/freedreno/common/ |
D | freedreno_dev_info.c | 54 info->a6xx.magic.RB_UNKNOWN_8E04_blit = 0x00100000; in freedreno_dev_info_init() 55 info->a6xx.magic.PC_UNKNOWN_9805 = 0; in freedreno_dev_info_init() 56 info->a6xx.magic.SP_UNKNOWN_A0F8 = 0; in freedreno_dev_info_init() 63 info->a6xx.magic.RB_UNKNOWN_8E04_blit = 0x01000000; in freedreno_dev_info_init() 64 info->a6xx.magic.PC_UNKNOWN_9805 = 1; in freedreno_dev_info_init() 65 info->a6xx.magic.SP_UNKNOWN_A0F8 = 1; in freedreno_dev_info_init() 71 info->a6xx.magic.RB_UNKNOWN_8E04_blit = 0x00100000; in freedreno_dev_info_init() 72 info->a6xx.magic.PC_UNKNOWN_9805 = 1; in freedreno_dev_info_init() 73 info->a6xx.magic.SP_UNKNOWN_A0F8 = 1; in freedreno_dev_info_init() 79 info->a6xx.magic.RB_UNKNOWN_8E04_blit = 0x04100000; in freedreno_dev_info_init() [all …]
|
/external/mesa3d/src/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 …]
|
/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/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 | 30 magic = 'Py_' 33 magic = magic + c.upper() 34 else: magic = magic + '_' 35 print('#ifndef', magic, file=f) 36 print('#define', magic, file=f) 46 print('#endif /*', '!'+magic, '*/', file=f)
|
/external/libdrm/ |
D | xf86drmSL.c | 58 unsigned long magic; /* SL_ENTRY_MAGIC */ member 66 unsigned long magic; /* SL_LIST_MAGIC */ member 82 entry->magic = SL_ENTRY_MAGIC; in SLCreateEntry() 108 list->magic = SL_LIST_MAGIC; in drmSLCreate() 124 if (list->magic != SL_LIST_MAGIC) return -1; /* Bad magic */ in drmSLDestroy() 127 if (entry->magic != SL_ENTRY_MAGIC) return -1; /* Bad magic */ in drmSLDestroy() 129 entry->magic = SL_FREED_MAGIC; in drmSLDestroy() 133 list->magic = SL_FREED_MAGIC; in drmSLDestroy() 144 if (list->magic != SL_LIST_MAGIC) return NULL; in SLLocate() 163 if (list->magic != SL_LIST_MAGIC) return -1; /* Bad magic */ in drmSLInsert() [all …]
|
/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/angle/src/common/fuchsia_egl/ |
D | fuchsia_egl.c | 17 uint32_t magic; member 31 egl_window->magic = FUCHSIA_EGL_WINDOW_MAGIC; in fuchsia_egl_window_create() 40 ZX_ASSERT(egl_window->magic == FUCHSIA_EGL_WINDOW_MAGIC); in fuchsia_egl_window_destroy() 46 egl_window->magic = -1U; in fuchsia_egl_window_destroy() 52 ZX_ASSERT(egl_window->magic == FUCHSIA_EGL_WINDOW_MAGIC); in fuchsia_egl_window_resize() 61 ZX_ASSERT(egl_window->magic == FUCHSIA_EGL_WINDOW_MAGIC); in fuchsia_egl_window_get_width() 67 ZX_ASSERT(egl_window->magic == FUCHSIA_EGL_WINDOW_MAGIC); in fuchsia_egl_window_get_height() 73 ZX_ASSERT(egl_window->magic == FUCHSIA_EGL_WINDOW_MAGIC); in fuchsia_egl_window_release_image_pipe()
|
/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/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/linux-kselftest/tools/testing/selftests/arm64/signal/testcases/ |
D | testcases.c | 5 struct _aarch64_ctx *get_header(struct _aarch64_ctx *head, uint32_t magic, in get_header() argument 15 head->magic != magic && head->magic) { in get_header() 19 if (head->magic == magic) { in get_header() 37 if (!term || term->magic || term->size) { in validate_extra_context() 71 switch (head->magic) { in validate_reserved() 124 head->magic); in validate_reserved()
|
/external/dokka/core/testdata/format/website/ |
D | overloadGroup.md | 2 title: magic - test 6 <div class='api-docs-breadcrumbs'><a href="test/index">test</a> / <a href="test/magic">magic</a></d… 8 # magic chapter 12 …>fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="paramet… 25 …>fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="paramet…
|