| /PHP_TRUNK/ext/ereg/regex/ |
| H A D | regcomp.c | 171 g->magic = MAGIC2;
|
| H A D | regex2.h | 110 int magic; member in struct:re_guts
|
| H A D | regexec.c | 127 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2)
|
| H A D | regfree.c | 23 if (g == NULL || g->magic != MAGIC2) /* oops again */ 26 g->magic = 0; /* mark it invalid */
|
| /PHP_TRUNK/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 611 ** 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_TRUNK/ |
| H A D | ltmain.sh | 89 magic="%%%MAGIC variable%%%" 3734 $echo "*** with $libname but no candidates were found. (...for file magic test)" 3737 $echo "*** using a file magic. Last file checked: $potlib" 4465 # This is the magic to use -rpath. 5353 if test \"\$libtool_install_magic\" = \"$magic\"; then 5358 if test \"\$libtool_execute_magic\" != \"$magic\"; then 5470 if test \"\$libtool_execute_magic\" != \"$magic\"; then 5952 libtool_install_magic="$magic" 6474 libtool_execute_magic="$magic" 6538 libtool_install_magic="$magic" [all...] |
| H A D | config.sub | 1401 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
|
| /PHP_TRUNK/ext/fileinfo/libmagic/ |
| H A D | is_tar.c | 46 #include "magic.h" 118 if (strcmp(header->header.magic, GNUTMAGIC) == 0) 120 if (strcmp(header->header.magic, TMAGIC) == 0)
|
| H A D | tar.h | 63 char magic[8]; member in struct:record::header 71 /* The magic field is filled with this if uname and gname are valid. */
|
| H A D | compress.c | 42 #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 D | file.h | 83 #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 D | apprentice.c | 29 * 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 *); 2865 byteswap(struct magic *magic, uint32_t nmagic) argument [all...] |
| H A D | softmagic.c | 29 * 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 *); 118 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_TRUNK/ext/fileinfo/ |
| H A D | fileinfo.c | 26 #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...] |
| /PHP_TRUNK/ext/sysvshm/ |
| H A D | php_sysvshm.h | 48 char magic[8]; member in struct:__anon261
|
| H A D | sysvshm.c | 188 if (strcmp((char*) &(chunk_ptr->magic), "PHP_SM") != 0) { 189 strcpy((char*) &(chunk_ptr->magic), "PHP_SM");
|
| /PHP_TRUNK/ext/phar/ |
| H A D | tar.h | 63 * presence of the null-terminated string "ustar" in the magic field. 83 char magic[6]; /* USTAR indicator */ member in struct:_tar_header
|
| H A D | tar.c | 223 old = (memcmp(hdr->magic, "ustar", sizeof("ustar")-1) != 0); 493 spprintf(error, 4096, "phar error: tar-based phar \"%s\" has invalid metadata in magic file \"%s\"", fname, entry.filename); 749 strncpy(header.magic, "ustar", sizeof("ustar")-1); 855 spprintf(error, 0, "phar tar error: unable to write metadata to magic metadata file \"%s\"", entry->filename); 912 spprintf(error, 0, "phar tar error: unable to add magic metadata file to manifest for file \"%s\"", entry->filename); 1138 spprintf(error, 0, "phar tar error: unable to add magic metadata file to manifest for phar archive \"%s\"", phar->fname);
|
| /PHP_TRUNK/Zend/ |
| H A D | zend_alloc.c | 369 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)) { \ 1257 if (p->magic == MEM_BLOCK_VALID) { 1263 } else if (p->magic == MEM_BLOCK_CACHED) { 1266 } else if (p->magic != MEM_BLOCK_LEAK) { 1293 if (p->magic == MEM_BLOCK_VALID) { 1314 } else if (p->magic [all...] |