/external/e2fsprogs/lib/ext2fs/ |
D | freefs.c | 24 if (!fs || (fs->magic != EXT2_ET_MAGIC_EXT2FS_FILSYS)) in ext2fs_free() 56 fs->magic = 0; in ext2fs_free() 63 if (!bitmap || (bitmap->magic != EXT2_ET_MAGIC_GENERIC_BITMAP)) in ext2fs_free_generic_bitmap() 66 bitmap->magic = 0; in ext2fs_free_generic_bitmap() 80 if (!bitmap || (bitmap->magic != EXT2_ET_MAGIC_INODE_BITMAP)) in ext2fs_free_inode_bitmap() 83 bitmap->magic = EXT2_ET_MAGIC_GENERIC_BITMAP; in ext2fs_free_inode_bitmap() 89 if (!bitmap || (bitmap->magic != EXT2_ET_MAGIC_BLOCK_BITMAP)) in ext2fs_free_block_bitmap() 92 bitmap->magic = EXT2_ET_MAGIC_GENERIC_BITMAP; in ext2fs_free_block_bitmap() 116 if (bb->magic != EXT2_ET_MAGIC_BADBLOCKS_LIST) in ext2fs_u32_list_free() 136 if (!dblist || (dblist->magic != EXT2_ET_MAGIC_DBLIST)) in ext2fs_free_dblist() [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 …]
|
D | bitmaps.c | 43 bitmap->magic = EXT2_ET_MAGIC_GENERIC_BITMAP; in make_bitmap() 94 new_map->magic = src->magic; in ext2fs_copy_bitmap() 135 bitmap->magic = EXT2_ET_MAGIC_INODE_BITMAP; in ext2fs_allocate_inode_bitmap() 165 bitmap->magic = EXT2_ET_MAGIC_BLOCK_BITMAP; in ext2fs_allocate_block_bitmap() 201 if (!bitmap || (bitmap->magic != EXT2_ET_MAGIC_INODE_BITMAP)) in ext2fs_clear_inode_bitmap() 210 if (!bitmap || (bitmap->magic != EXT2_ET_MAGIC_BLOCK_BITMAP)) in ext2fs_clear_block_bitmap()
|
D | rs_bitmap.c | 83 bmap->magic = EXT2_ET_MAGIC_GENERIC_BITMAP; in ext2fs_resize_inode_bitmap() 86 bmap->magic = EXT2_ET_MAGIC_INODE_BITMAP; in ext2fs_resize_inode_bitmap() 100 bmap->magic = EXT2_ET_MAGIC_GENERIC_BITMAP; in ext2fs_resize_block_bitmap() 103 bmap->magic = EXT2_ET_MAGIC_BLOCK_BITMAP; in ext2fs_resize_block_bitmap()
|
D | ext2fsP.h | 18 int magic; member 26 int magic; member 36 int magic; member
|
D | badblocks.c | 42 bb->magic = EXT2_ET_MAGIC_BADBLOCKS_LIST; in make_u32_list() 166 if (bb->magic != EXT2_ET_MAGIC_BADBLOCKS_LIST) in ext2fs_u32_list_find() 248 iter->magic = EXT2_ET_MAGIC_BADBLOCKS_ITERATE; in ext2fs_u32_list_iterate_begin() 267 if (iter->magic != EXT2_ET_MAGIC_BADBLOCKS_ITERATE) in ext2fs_u32_list_iterate() 272 if (bb->magic != EXT2_ET_MAGIC_BADBLOCKS_LIST) in ext2fs_u32_list_iterate() 292 if (!iter || (iter->magic != EXT2_ET_MAGIC_BADBLOCKS_ITERATE)) in ext2fs_u32_list_iterate_end()
|
/external/blktrace/ |
D | blktrace.h | 64 #define CHECK_MAGIC(t) (((t)->magic & 0xffffff00) == BLK_IO_TRACE_MAGIC) 92 fprintf(stderr, "bad trace magic %x\n", t->magic); in verify_trace() 95 if ((t->magic & 0xff) != SUPPORTED_VERSION) { in verify_trace() 97 t->magic & 0xff); in verify_trace() 109 t->magic = be32_to_cpu(t->magic); in trace_to_cpu() 125 static inline int check_data_endianness(u32 magic) in check_data_endianness() argument 127 if ((magic & 0xffffff00) == BLK_IO_TRACE_MAGIC) { in check_data_endianness() 132 magic = __bswap_32(magic); in check_data_endianness() 133 if ((magic & 0xffffff00) == BLK_IO_TRACE_MAGIC) { in check_data_endianness()
|
/external/tremor/Tremor/ |
D | misc.h | 53 union magic { union 63 union magic { union 73 union magic magic; in MULT32() local 74 magic.whole = (ogg_int64_t)x * y; in MULT32() 75 return magic.halves.hi; in MULT32() 83 union magic magic; in MULT31_SHIFT15() local 84 magic.whole = (ogg_int64_t)x * y; in MULT31_SHIFT15() 85 return ((ogg_uint32_t)(magic.halves.lo)>>15) | ((magic.halves.hi)<<17); in MULT31_SHIFT15()
|
/external/e2fsprogs/e2fsck/ |
D | prof_err.et | 8 error_code PROF_MAGIC_NODE, "Bad magic value in profile_node" 19 error_code PROF_MAGIC_ITERATOR, "Bad magic value in profile iterator" 37 error_code PROF_MAGIC_PROFILE, "Bad magic value in profile_t" 38 error_code PROF_MAGIC_SECTION, "Bad magic value in profile_section_t" 49 error_code PROF_MAGIC_FILE, "Bad magic value in profile_file_t" 63 error_code PROF_MAGIC_FILE_DATA, "Bad magic value in profile_file_data_t"
|
D | profile.c | 89 prf_magic_t magic; member 116 prf_magic_t magic; member 136 errcode_t magic; member 148 if ((node)->magic != PROF_MAGIC_NODE) \ 311 profile->magic = PROF_MAGIC_PROFILE; in profile_init() 367 if (!profile || profile->magic != PROF_MAGIC_PROFILE) in profile_release() 374 profile->magic = 0; in profile_release() 393 if (!def_string || !profile || profile->magic != PROF_MAGIC_PROFILE) in profile_set_default() 468 prf->magic = PROF_MAGIC_FILE; in profile_open_file() 1049 if (node->magic != PROF_MAGIC_NODE) in profile_free_node() [all …]
|
/external/icu4c/samples/ucnv/ |
D | flagcb.c | 145 if(q->magic != 0xC0FFEE) { in debugCB_print_log() 147 q,q->serial, q->magic); in debugCB_print_log() 150 q, q->serial, name, q->magic); in debugCB_print_log() 160 newCtx->magic = 0xC0FFEE; in debugCB_clone() 187 if(ctx->magic != 0xC0FFEE) { in debugCB_fromU() 188 …, "debugCB_fromU: Context %p:%d magic is 0x%x should be 0xC0FFEE.\n", ctx,ctx->serial, ctx->magic); in debugCB_fromU() 275 ctx->magic = 0xC0FFEE; in debugCB_openContext()
|
/external/qemu/ |
D | block-vmdk.c | 99 uint32_t magic; in vmdk_probe() local 103 magic = be32_to_cpu(*(uint32_t *)buf); in vmdk_probe() 104 if (magic == VMDK3_MAGIC || in vmdk_probe() 105 magic == VMDK4_MAGIC) in vmdk_probe() 374 uint32_t magic; in vmdk_open() local 384 if (bdrv_pread(s->hd, 0, &magic, sizeof(magic)) != sizeof(magic)) in vmdk_open() 387 magic = be32_to_cpu(magic); in vmdk_open() 388 if (magic == VMDK3_MAGIC) { in vmdk_open() 391 if (bdrv_pread(s->hd, sizeof(magic), &header, sizeof(header)) != sizeof(header)) in vmdk_open() 400 } else if (magic == VMDK4_MAGIC) { in vmdk_open() [all …]
|
D | block-bochs.c | 42 char magic[32]; // "Bochs Virtual HD Image" member 62 char magic[32]; // "Bochs Virtual HD Image" member 101 if (!strcmp(bochs->magic, HEADER_MAGIC) && in bochs_probe() 133 if (strcmp(bochs.magic, HEADER_MAGIC) || in bochs_open()
|
D | block-parallels.c | 37 char magic[16]; // "WithoutFreeSpace" member 63 if (!memcmp(ph->magic, HEADER_MAGIC, 16) && in parallels_probe() 90 if (memcmp(ph.magic, HEADER_MAGIC, 16) || in parallels_open()
|
D | block-cow.c | 37 uint32_t magic; member 58 be32_to_cpu(cow_header->magic) == COW_MAGIC && in cow_probe() 84 if (be32_to_cpu(cow_header.magic) != COW_MAGIC || in cow_open() 219 cow_header.magic = cpu_to_be32(COW_MAGIC); in cow_create()
|
/external/e2fsprogs/lib/blkid/ |
D | dev.c | 106 int magic; member 119 iter->magic = DEV_ITERATE_MAGIC; in blkid_dev_iterate_begin() 133 if (!iter || iter->magic != DEV_ITERATE_MAGIC || !search_type || in blkid_dev_set_search() 165 if (!iter || iter->magic != DEV_ITERATE_MAGIC) in blkid_dev_next() 182 if (!iter || iter->magic != DEV_ITERATE_MAGIC) in blkid_dev_iterate_end() 184 iter->magic = 0; in blkid_dev_iterate_end()
|
/external/libpcap/ |
D | savefile.c | 858 hdr.magic = TCPDUMP_MAGIC; in sf_write_header() 984 bpf_u_int32 magic; in pcap_fopen_offline() local 1009 magic = hdr.magic; in pcap_fopen_offline() 1010 if (magic != TCPDUMP_MAGIC && magic != KUZNETZOV_TCPDUMP_MAGIC) { in pcap_fopen_offline() 1011 magic = SWAPLONG(magic); in pcap_fopen_offline() 1012 if (magic != TCPDUMP_MAGIC && magic != KUZNETZOV_TCPDUMP_MAGIC) { in pcap_fopen_offline() 1020 if (magic == KUZNETZOV_TCPDUMP_MAGIC) { in pcap_fopen_offline() 1048 if (magic == KUZNETZOV_TCPDUMP_MAGIC && p->linktype == DLT_EN10MB) { in pcap_fopen_offline()
|
/external/grub/docs/ |
D | kernel.c | 44 void cmain (unsigned long magic, unsigned long addr); 53 cmain (unsigned long magic, unsigned long addr) in cmain() argument 61 if (magic != MULTIBOOT_BOOTLOADER_MAGIC) in cmain() 63 printf ("Invalid magic number: 0x%x\n", (unsigned) magic); in cmain()
|
/external/emma/core/java12/com/vladium/jcd/parser/ |
D | ClassDefParser.java | 104 magic (); in class_table() 135 void magic () throws IOException in magic() method in ClassDefParser.classParser 137 final long magic = m_bytes.readU4 (); in magic() local 138 if (DEBUG) System.out.println ("magic: [" + Long.toHexString (magic) + ']'); in magic() 140 m_table.setMagic (magic); in magic()
|
/external/grub/util/ |
D | mbchk.c | 70 unsigned long magic = *((unsigned long *) (buf + i)); in check_multiboot() local 72 if (magic == MULTIBOOT_HEADER_MAGIC) in check_multiboot() 90 if (mbh->magic + mbh->flags + mbh->checksum != 0) in check_multiboot()
|
/external/blktrace/btt/ |
D | mmap.c | 54 check_data_endianness(t->magic); in convert_to_cpu() 59 tp->magic = be32_to_cpu(t->magic); in convert_to_cpu()
|
/external/openssl/apps/ |
D | passwd.c | 310 static char *md5crypt(const char *passwd, const char *magic, const char *salt) in md5crypt() argument 323 assert(strlen(magic) <= 4); /* "1" or "apr1" */ in md5crypt() 324 strncat(out_buf, magic, 4); in md5crypt() 328 salt_out = out_buf + 2 + strlen(magic); in md5crypt() 336 EVP_DigestUpdate(&md, magic, strlen(magic)); in md5crypt()
|
D | enc.c | 106 static const char magic[]="Salted__"; in MAIN() local 107 char mbuf[sizeof magic-1]; in MAIN() 491 && (BIO_write(wbio,magic, in MAIN() 492 sizeof magic-1) != sizeof magic-1 in MAIN() 505 } else if(memcmp(mbuf,magic,sizeof magic-1)) { in MAIN()
|
/external/webkit/WebKit/mac/Plugins/ |
D | WebBasePluginPackage.mm | 421 uint32_t magic = *reinterpret_cast<uint32_t*>(bytes.data()); 423 if (magic == MH_MAGIC || magic == MH_CIGAM) { 428 if (magic == MH_CIGAM) 436 } else if (magic == MH_MAGIC_64 || magic == MH_CIGAM_64) { 441 if (magic == MH_CIGAM_64) 449 } else if (magic == FAT_MAGIC || magic == FAT_CIGAM) { 453 if (magic == FAT_CIGAM)
|
/external/grub/stage2/ |
D | fsys_fat.c | 70 __u32 magic, first_fat; in fat_mount() local 173 magic = 0x0fffff00; in fat_mount() 178 magic = 0xff00; in fat_mount() 183 magic = 0x0f00; in fat_mount() 190 if ((first_fat | 0x8) != (magic | bpb.media | 0x8)) in fat_mount()
|