Searched refs:magic (Results 1 - 25 of 25) sorted by relevance

/PHP_5_3/
H A Dconfig.sub1280 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
H A Dltmain.sh89 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...]
/PHP_5_3/ext/ereg/regex/
H A Dregcomp.c171 g->magic = MAGIC2;
H A Dregex2.h110 int magic; member in struct:re_guts
H A Dregexec.c127 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2)
H A Dregfree.c23 if (g == NULL || g->magic != MAGIC2) /* oops again */
26 g->magic = 0; /* mark it invalid */
/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dmain.c421 db->magic = SQLITE_MAGIC_OPEN;
485 db->magic = SQLITE_MAGIC_BUSY;
519 db->magic = SQLITE_MAGIC_OPEN;
576 db->magic = SQLITE_MAGIC_CLOSED;
1087 ** opened and used. If zFilename is the magic name ":memory:" then
H A DsqliteInt.h364 int magic; /* Magic number for detect library misuse */ member in struct:sqlite
411 ** Possible values for the sqlite.magic field.
H A Dvdbe.c117 if( !p || p->magic!=VDBE_MAGIC_RUN ){
502 if( p->magic!=VDBE_MAGIC_RUN ) return SQLITE_MISUSE;
503 assert( db->magic==SQLITE_MAGIC_BUSY );
661 p->magic = VDBE_MAGIC_HALT;
4880 p->magic = VDBE_MAGIC_HALT;
4914 if( db->magic!=SQLITE_MAGIC_BUSY ){
H A DvdbeInt.h256 int magic; /* Magic number for sanity checking */ member in struct:Vdbe
284 ** The following are allowed values for Vdbe.magic
H A Dvdbeaux.c47 p->magic = VDBE_MAGIC_INIT;
80 assert( p->magic==VDBE_MAGIC_INIT );
152 assert( p->magic==VDBE_MAGIC_INIT );
178 assert( p->magic==VDBE_MAGIC_INIT );
193 assert( p->magic==VDBE_MAGIC_INIT );
203 assert( p->magic==VDBE_MAGIC_INIT );
246 assert( p->magic==VDBE_MAGIC_INIT );
258 assert( p->magic==VDBE_MAGIC_INIT );
283 assert( p->magic==VDBE_MAGIC_INIT );
317 assert( p->magic
[all...]
/PHP_5_3/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_3/ext/fileinfo/libmagic/
H A Dapprentice.c29 * apprentice - make one pass through /etc/magic, learning its secrets.
40 #include "magic.h"
90 struct magic *mp;
100 private int getvalue(struct magic_set *ms, struct magic *, const char **, int);
102 private const char *getstr(struct magic_set *, struct magic *, const char *,
108 private size_t apprentice_magic_strength(const struct magic *);
111 private int apprentice_load(struct magic_set *, struct magic **, uint32_t *,
113 private void byteswap(struct magic *, uint32_t);
114 private void bs1(struct magic *);
119 private int apprentice_map(struct magic_set *, struct magic **, uint32_
246 struct magic *magic = NULL; local
2431 byteswap(struct magic *magic, uint32_t nmagic) argument
[all...]
H A Dcompress.c42 #include "magic.h"
68 const char magic[8]; member in struct:__anon98
119 if (memcmp(buf, compr[i].magic, compr[i].maglen) == 0 &&
H A Dfile.h83 #define MAGIC "/etc/magic"
123 #define MAXMAGIS 8192 /* max entries in any one magic file
151 struct magic { struct
270 uint32_t offset; /* offset to magic number */
274 uint32_t lineno; /* line number in magic file */
331 /* list of magic entries */
333 struct magic *magic; /* array of magic entries */ member in struct:mlist
369 int flags; /* Control magic test
[all...]
H A Dis_tar.c46 #include "magic.h"
118 if (strcmp(header->header.magic, GNUTMAGIC) == 0)
120 if (strcmp(header->header.magic, TMAGIC) == 0)
H A Dmagic.c31 FILE_RCSID("@(#)$File: magic.c,v 1.74 2011/05/26 01:27:59 christos Exp $")
34 #include "magic.h"
99 static const char hmagic[] = "/.magic/magic.mgc";
113 if (asprintf(&hmagicpath, "%s/.magic", home) < 0)
160 /* First, try to get user-specific magic file */
174 /* Second, try to get a magic file from Common Files */
180 /* Third, try to get magic file relative to dll location */
188 "%s/../share/misc/magic.mgc", dllpath) >= 0)
192 "%s/share/misc/magic
[all...]
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 Dsoftmagic.c29 * softmagic - interpret variable magic from MAGIC
38 #include "magic.h"
50 private int match(struct magic_set *, struct magic *, uint32_t,
53 struct magic *, size_t, unsigned int, int);
54 private int magiccheck(struct magic_set *, struct magic *);
55 private int32_t mprint(struct magic_set *, struct magic *);
56 private int32_t moffset(struct magic_set *, struct magic *);
60 private int mconvert(struct magic_set *, struct magic *);
62 private int handle_annotation(struct magic_set *, struct magic *);
63 private void cvt_8(union VALUETYPE *, const struct magic *);
115 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, const unsigned char *s, size_t nbytes, int mode, int text) argument
[all...]
/PHP_5_3/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);
180 #define FINFO_SET_OPTION(magic, options) \
181 if (magic_setflags(magic, options) == -1) { \
183 options, magic_errno(magic), magic_error(magic)); \
195 magic_close(finfo->magic);
309 magic_close(finfo_obj->ptr->magic);
341 finfo->magic
426 struct magic_set *magic = NULL; local
[all...]
/PHP_5_3/ext/sysvshm/
H A Dphp_sysvshm.h48 char magic[8]; member in struct:__anon234
H A Dsysvshm.c188 if (strcmp((char*) &(chunk_ptr->magic), "PHP_SM") != 0) {
189 strcpy((char*) &(chunk_ptr->magic), "PHP_SM");
/PHP_5_3/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
H A Dtar.c223 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_5_3/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
561 (block)->magic = (val); \
565 if ((block)->magic != (val)) { \
1230 if (p->magic == MEM_BLOCK_VALID) {
1236 } else if (p->magic == MEM_BLOCK_CACHED) {
1239 } else if (p->magic != MEM_BLOCK_LEAK) {
1266 if (p->magic == MEM_BLOCK_VALID) {
1287 } else if (p->magic
[all...]

Completed in 151 milliseconds