Searched refs:magic (Results 101 - 125 of 271) sorted by relevance

1234567891011

/external/qemu/distrib/sdl-1.2.12/src/audio/
H A DSDL_wave.c405 /* WAV magic header */
421 /* Check the magic header */
451 } while ( (chunk.magic == FACT) || (chunk.magic == LIST) );
455 if ( chunk.magic != FMT ) {
533 if(chunk.magic != DATA) headerDiff += lenread + 2 * sizeof(Uint32);
534 } while ( chunk.magic != DATA );
584 chunk->magic = SDL_ReadLE32(src);
/external/valgrind/main/coregrind/
H A Dm_oset.c44 // "magic" value which provides some checking that the user has not
68 // arithmetic to switch between the node and the element. The node magic is
94 // The padding ensures that magic is right at the end of the node,
102 Short magic; member in struct:_OSetNode
130 // structure. If the node has a bad magic number, it will die with an
136 vg_assert2(n->magic == OSET_MAGIC,
137 "bad magic on node %p = %x (expected %x)\n"
141 n, n->magic, OSET_MAGIC);
149 vg_assert2(n->magic == OSET_MAGIC,
150 "bad magic o
[all...]
/external/chromium/chrome/browser/safe_browsing/
H A Dprefix_set.cc26 uint32 magic; member in struct:__anon1516::__anon1517
174 if (header.magic != kMagic || header.version != kVersion)
227 header.magic = kMagic;
H A Dsafe_browsing_store_file.cc20 int32 magic, version; member in struct:__anon1527::FileHeader
182 // magic number is correct and santiy check passes.
189 if (header->magic != kFileMagic || header->version != kFileVersion)
417 if (header.magic != kFileMagic || header.version != kFileVersion) {
418 if (!strcmp(reinterpret_cast<char*>(&header.magic), "SQLite format 3")) {
620 header.magic = kFileMagic;
/external/blktrace/
H A Dblktrace_api.h96 __u32 magic; /* MAGIC << 8 | version */ member in struct:blk_io_trace
H A Dblkiomon.c114 fprintf(debug.fp, "magic %16d\n", bit->magic);
138 fprintf(debug.fp, "magic %16d %16d\n", bit1->magic, bit2->magic);
475 if (data_is_native == -1 && check_data_endianness(bit->magic)) {
/external/chromium/chrome/browser/extensions/
H A Dsandboxed_extension_unpacker.h64 // The size of the magic character sequence at the beginning of each crx
72 char magic[kExtensionHeaderMagicSize]; member in struct:SandboxedExtensionUnpacker::ExtensionHeader
86 // The magic character sequence at the beginning of each crx file.
/external/e2fsprogs/lib/ext2fs/
H A Dalloc_stats.c98 if (!fs || fs->magic != EXT2_ET_MAGIC_EXT2FS_FILSYS)
H A Direl.h27 __u32 magic; member in struct:ext2_inode_relocation_table
H A Dundo_io.c52 * For checking structure magic numbers...
56 if ((struct)->magic != (code)) return (code)
59 int magic; member in struct:undo_private_data
354 io->magic = EXT2_ET_MAGIC_IO_CHANNEL;
372 data->magic = EXT2_ET_MAGIC_UNIX_IO_CHANNEL;
H A Ddblist.c68 (fs->dblist->magic == EXT2_ET_MAGIC_DBLIST))
76 dblist->magic = EXT2_ET_MAGIC_DBLIST;
H A Dtdb.c137 #define TDB_DEAD(r) ((r)->magic == TDB_DEAD_MAGIC)
138 #define TDB_BAD_MAGIC(r) ((r)->magic != TDB_MAGIC && !TDB_DEAD(r))
176 u32 magic; /* try to catch errors */ member in struct:list_struct
192 char magic_food[32]; /* for /etc/magic */
1200 TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_rec_read bad magic 0x%x at offset=%d\n", rec->magic, offset));
1276 marking the transaction recovery area with a magic value to
1857 as the magic ptr in the recovery record has not been set */
1882 u32 magic, tailer; local
1901 rec->magic
[all...]
H A Dicount.c50 errcode_t magic; member in struct:ext2_icount
77 icount->magic = 0;
118 icount->magic = EXT2_ET_MAGIC_ICOUNT;
652 if (!icount || icount->magic != EXT2_ET_MAGIC_ICOUNT)
H A Dtest_io.c38 * For checking structure magic numbers...
42 if ((struct)->magic != (code)) return (code)
45 int magic; member in struct:test_private_data
192 io->magic = EXT2_ET_MAGIC_IO_CHANNEL;
211 data->magic = EXT2_ET_MAGIC_TEST_IO_CHANNEL;
H A Dunix_io.c58 * For checking structure magic numbers...
62 if ((struct)->magic != (code)) return (code)
77 int magic; member in struct:unix_private_data
429 io->magic = EXT2_ET_MAGIC_IO_CHANNEL;
447 data->magic = EXT2_ET_MAGIC_UNIX_IO_CHANNEL;
/external/kernel-headers/original/linux/
H A Domap_csmi.h39 uint32_t magic; // 0-3 0x494d5347 member in struct:__anon5877
/external/llvm/lib/Support/
H A Dregex2.h127 int magic; member in struct:re_guts
/external/qemu/block/
H A Dqcow2.c49 uint32_t magic; member in struct:__anon8055
60 be32_to_cpu(cow_header->magic) == QCOW_MAGIC &&
71 * finish reading upon magic of value 0 or when end_offset reached
72 * unknown magic is skipped (future extension this version knows nothing about)
101 be32_to_cpus(&ext.magic);
105 printf("ext.magic = 0x%x\n", ext.magic);
107 switch (ext.magic) {
129 /* unknown magic -- just skip it */
148 be32_to_cpus(&header.magic);
[all...]
/external/grub/stage2/
H A Dxfs.h85 xfs_uint32_t sb_magicnum; /* magic number == XFS_SB_MAGIC */
146 xfs_uint32_t bb_magic; /* magic number for block type */
158 xfs_uint32_t bb_magic; /* magic number for block type */
272 #define XFS_DIR2_LEAF1_MAGIC 0xd2f1 /* magic number: v2 dirlf single blks */
273 #define XFS_DIR2_LEAFN_MAGIC 0xd2ff /* magic number: v2 dirlf multi blks */
278 xfs_uint16_t magic; /* validity check on block */ member in struct:xfs_da_blkinfo
335 xfs_uint32_t magic; /* XFS_DIR2_DATA_MAGIC */ member in struct:xfs_dir2_data_hdr
487 xfs_uint16_t di_magic; /* inode magic # = XFS_DINODE_MAGIC */
/external/llvm/include/llvm/Support/
H A DPathV1.h327 /// the Path object and reads its magic number. If the magic number at the
328 /// start of the file matches \p magic, true is returned. In all other
330 /// @returns true if the magic number of the file matches \p magic.
331 /// @brief Determine if file has a specific magic number
332 LLVM_ATTRIBUTE_DEPRECATED(bool hasMagicNumber(StringRef magic) const,
336 /// with \p this. These bytes are returned as the "magic number" in the
338 /// @returns true if the Path is a file and the magic number is retrieved,
340 /// @brief Get the file's magic numbe
[all...]
/external/oprofile/libpp/
H A Dop_header.cpp154 if (memcmp(header.magic, OPD_MAGIC, sizeof(header.magic))) {
156 "bad magic number: " +
/external/qemu/
H A Da.out.h26 short f_magic; /* magic number */
54 /* This is Lynx's all-platform magic number for executables. */
73 unsigned short magic; /* type of file */ member in struct:__anon7841
353 unsigned short f_magic; /* magic number */
371 unsigned short magic; /* type of file */ member in struct:__anon7855
H A Dloader.c215 uint32_t magic; local
227 magic = N_MAGIC(e);
228 switch (magic) {
/external/svox/pico/lib/
H A Dpicoctrl.c499 picoos_uint32 magic; /* magic number used to validate handles */ member in struct:picoctrl_engine
511 (eng)->magic = ((picoos_uint32) (eng)) ^ MAGIC_MASK
514 ((eng)->magic == (((picoos_uint32) (eng)) ^ MAGIC_MASK))
590 this->magic = 0;
676 (*this)->magic ^= 0xFFFEFDFC;
/external/icu4c/common/
H A Dtriedict.cpp359 uint32_t magic; // Magic number (including version) member in struct:CompactTrieHeader
414 if (fData->magic != COMPACT_TRIE_MAGIC_1) {
425 if (fData->magic != COMPACT_TRIE_MAGIC_1) {
1176 header->magic = COMPACT_TRIE_MAGIC_1;
1314 if (ds->readUInt32(header->magic) != COMPACT_TRIE_MAGIC_1
1396 uint32_t magic = ds->readUInt32(header->magic); local
1397 ds->writeUInt32(&outputHeader->magic, magic);

Completed in 420 milliseconds

1234567891011