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

/PHP_TRUNK/
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...]
H A Dconfig.sub1401 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
/PHP_TRUNK/ext/fileinfo/libmagic/
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 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:__anon64
120 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 Dsoftmagic.c29 * softmagic - interpret variable magic from MAGIC
38 #include "magic.h"
59 private int match(struct magic_set *, struct magic *, uint32_t,
63 struct magic *, size_t, size_t, unsigned int, int, int, int, int, int *,
65 private int magiccheck(struct magic_set *, struct magic *);
66 private int32_t mprint(struct magic_set *, struct magic *);
67 private int32_t moffset(struct magic_set *, struct magic *);
70 const unsigned char *, uint32_t, size_t, struct magic *);
71 private int mconvert(struct magic_set *, struct magic *, int);
73 private int handle_annotation(struct magic_set *, struct magic *);
129 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...]
H A Dapprentice.c29 * apprentice - make one pass through /etc/magic, learning its secrets.
40 #include "magic.h"
92 struct magic *mp;
106 struct magic *magic[MAGIC_SETS]; member in struct:magic_map
115 private int getvalue(struct magic_set *ms, struct magic *, const char **, int);
117 private const char *getstr(struct magic_set *, struct magic *, const char *,
123 private size_t apprentice_magic_strength(const struct magic *);
130 private void byteswap(struct magic *, uint32_t);
131 private void bs1(struct magic *);
2868 byteswap(struct magic *magic, uint32_t nmagic) argument
[all...]
/PHP_TRUNK/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);
748 strncpy(header.magic, "ustar", sizeof("ustar")-1);
859 spprintf(error, 0, "phar tar error: unable to write metadata to magic metadata file \"%s\"", entry->filename);
916 spprintf(error, 0, "phar tar error: unable to add magic metadata file to manifest for file \"%s\"", entry->filename);
1156 spprintf(error, 0, "phar tar error: unable to add magic metadata file to manifest for phar archive \"%s\"", phar->fname);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c179 ** These macros used to resolve to various kinds of compiler magic that
181 ** compiler magic ended up generating such a flurry of bug reports
8601 ** this magic value that the code knows to handle differently. Any
10337 u32 magic; /* Magic number for detect library misuse */ member in struct:sqlite3
10502 ** Possible values for the sqlite.magic field.
13993 u32 magic; /* Magic number for sanity checking */ member in struct:Vdbe
14046 ** The following are allowed values for Vdbe.magic
19004 ** processing, the "interlocked" magic is probably not
22809 u32 magic; local
22814 magic
22826 u32 magic; local
47862 u32 magic; /* Magic value read from WAL header */ local
142509 u32 magic; /* Always RTREE_GEOMETRY_MAGIC */ member in struct:RtreeMatchArg
[all...]
/PHP_TRUNK/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_TRUNK/ext/sysvshm/
H A Dphp_sysvshm.h48 char magic[8]; member in struct:__anon273
H A Dsysvshm.c188 if (strcmp((char*) &(chunk_ptr->magic), "PHP_SM") != 0) {
189 strcpy((char*) &(chunk_ptr->magic), "PHP_SM");
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c26 #include <magic.h>
48 struct magic_set *magic; member in struct:_php_fileinfo
92 magic_close(intern->ptr->magic);
177 #define FINFO_SET_OPTION(magic, options) \
178 if (magic_setflags(magic, options) == -1) { \
180 options, magic_errno(magic), magic_error(magic)); \
192 magic_close(finfo->magic);
314 magic_close(finfo_obj->ptr->magic);
338 finfo->magic
423 struct magic_set *magic = NULL; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dzend_mm_structs.h29 unsigned int magic; member in struct:_zend_mm_small_free_block
41 unsigned int magic; member in struct:_zend_mm_free_block

Completed in 163 milliseconds