Searched defs:magic (Results 1 - 11 of 11) sorted by relevance

/PHP_5_4/ext/ereg/regex/
H A Dregex2.h110 int magic; member in struct:re_guts
/PHP_5_4/ext/fileinfo/libmagic/
H A Dtar.h63 char magic[8]; member in struct:record::header
71 /* The magic field is filled with this if uname and gname are valid. */
H A Dcompress.c42 #include "magic.h"
68 const char magic[8]; member in struct:__anon17
119 if (memcmp(buf, compr[i].magic, compr[i].maglen) == 0 &&
H A Dfile.h83 #define MAGIC "/etc/magic"
131 #define MAXMAGIS 8192 /* max entries in any one magic file
160 struct magic { struct
286 uint32_t offset; /* offset to magic number */
290 uint32_t lineno; /* line number in magic file */
349 /* list of magic entries */
351 struct magic *magic; /* array of magic entries */ member in struct:mlist
388 int flags; /* Control magic test
[all...]
H A Dapprentice.c29 * apprentice - make one pass through /etc/magic, learning its secrets.
40 #include "magic.h"
92 struct magic *mp;
100 struct magic *magic[MAGIC_SETS]; member in struct:magic_map
109 private int getvalue(struct magic_set *ms, struct magic *, const char **, int);
111 private const char *getstr(struct magic_set *, struct magic *, const char *,
117 private size_t apprentice_magic_strength(const struct magic *);
124 private void byteswap(struct magic *, uint32_t);
125 private void bs1(struct magic *);
2867 byteswap(struct magic *magic, uint32_t nmagic) argument
[all...]
H A Dsoftmagic.c29 * softmagic - interpret variable magic from MAGIC
38 #include "magic.h"
50 private int match(struct magic_set *, struct magic *, uint32_t,
54 struct magic *, size_t, size_t, unsigned int, int, int, int, int, int *,
56 private int magiccheck(struct magic_set *, struct magic *);
57 private int32_t mprint(struct magic_set *, struct magic *);
58 private int32_t moffset(struct magic_set *, struct magic *);
62 private int mconvert(struct magic_set *, struct magic *, int);
64 private int handle_annotation(struct magic_set *, struct magic *);
65 private void cvt_8(union VALUETYPE *, const struct magic *);
120 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, const unsigned char *s, size_t nbytes, size_t offset, int mode, int text, int flip, int recursion_level, int *printed_something, int *need_separator, int *returnval) argument
[all...]
/PHP_5_4/ext/sqlite3/libsqlite/
H A Dsqlite3.c611 ** These macros used to resolve to various kinds of compiler magic that
613 ** compiler magic ended up generating such a flurry of bug reports
9428 u32 magic; /* Magic number for detect library misuse */ member in struct:sqlite3
9570 ** Possible values for the sqlite.magic field.
12771 u32 magic; /* Magic number for sanity checking */ member in struct:Vdbe
12815 ** The following are allowed values for Vdbe.magic
17783 ** processing, the "interlocked" magic is probably not
21577 u32 magic; local
21582 magic = db->magic;
21594 u32 magic; local
44721 u32 magic; /* Magic value read from WAL header */ local
124672 u32 magic; /* Always RTREE_GEOMETRY_MAGIC */ member in struct:RtreeMatchArg
[all...]
/PHP_5_4/ext/phar/
H A Dtar.h63 * presence of the null-terminated string "ustar" in the magic field.
83 char magic[6]; /* USTAR indicator */ member in struct:_tar_header
/PHP_5_4/ext/sysvshm/
H A Dphp_sysvshm.h48 char magic[8]; member in struct:__anon277
/PHP_5_4/Zend/
H A Dzend_alloc.c369 unsigned int magic; member in struct:_zend_mm_block
382 unsigned int magic; member in struct:_zend_mm_small_free_block
394 unsigned int magic; member in struct:_zend_mm_free_block
566 (block)->magic = (val); \
570 if ((block)->magic != (val)) { \
1253 if (p->magic == MEM_BLOCK_VALID) {
1259 } else if (p->magic == MEM_BLOCK_CACHED) {
1262 } else if (p->magic != MEM_BLOCK_LEAK) {
1289 if (p->magic == MEM_BLOCK_VALID) {
1310 } else if (p->magic
[all...]
/PHP_5_4/ext/fileinfo/
H A Dfileinfo.c26 #include <magic.h>
48 struct magic_set *magic; member in struct:php_fileinfo
86 magic_close(intern->ptr->magic);
179 #define FINFO_SET_OPTION(magic, options) \
180 if (magic_setflags(magic, options) == -1) { \
182 options, magic_errno(magic), magic_error(magic)); \
194 magic_close(finfo->magic);
308 magic_close(finfo_obj->ptr->magic);
336 finfo->magic
421 struct magic_set *magic = NULL; local
[all...]

Completed in 141 milliseconds