magic             369 Zend/zend_alloc.c 	unsigned int magic;
magic             382 Zend/zend_alloc.c 	unsigned int magic;
magic             394 Zend/zend_alloc.c 	unsigned int magic;
magic             566 Zend/zend_alloc.c 		(block)->magic = (val); \
magic             570 Zend/zend_alloc.c 		if ((block)->magic != (val)) { \
magic            1257 Zend/zend_alloc.c 			if (p->magic == MEM_BLOCK_VALID) {
magic            1263 Zend/zend_alloc.c 			} else if (p->magic == MEM_BLOCK_CACHED) {
magic            1266 Zend/zend_alloc.c 			} else if (p->magic != MEM_BLOCK_LEAK) {
magic            1293 Zend/zend_alloc.c 			if (p->magic == MEM_BLOCK_VALID) {
magic            1314 Zend/zend_alloc.c 			} else if (p->magic == MEM_BLOCK_CACHED) {
magic            1317 Zend/zend_alloc.c 			} else if (p->magic != MEM_BLOCK_LEAK) {
magic            1413 Zend/zend_alloc.c 			if (p->magic != MEM_BLOCK_FREED) {
magic            1414 Zend/zend_alloc.c 				zend_debug_alloc_output("Freed (magic=0x%0.8X, expected=0x%0.8X)\n", p->magic, MEM_BLOCK_FREED);
magic            1424 Zend/zend_alloc.c 			if (p->magic != MEM_BLOCK_FREED) {
magic            1425 Zend/zend_alloc.c 				zend_debug_alloc_output("Guard (magic=0x%0.8X, expected=0x%0.8X)\n", p->magic, MEM_BLOCK_FREED);
magic            1434 Zend/zend_alloc.c 		switch (p->magic) {
magic            1468 Zend/zend_alloc.c 					zend_debug_alloc_output("Unknown (magic=0x%0.8X, expected=0x%0.8X)\n", p->magic, MEM_BLOCK_VALID);
magic            1577 Zend/zend_alloc.c 			if (p->magic == MEM_BLOCK_VALID || p->magic == MEM_BLOCK_LEAK) {
magic            1582 Zend/zend_alloc.c 			} else if (p->magic == MEM_BLOCK_CACHED) {
magic            1585 Zend/zend_alloc.c 			} else if (p->magic != MEM_BLOCK_LEAK) {
magic             179 ext/ereg/regex/regcomp.c 	g->magic = MAGIC2;
magic             110 ext/ereg/regex/regex2.h 	int magic;
magic             127 ext/ereg/regex/regexec.c 	if (preg->re_magic != MAGIC1 || g->magic != MAGIC2)
magic              23 ext/ereg/regex/regfree.c 	if (g == NULL || g->magic != MAGIC2)	/* oops again */
magic              26 ext/ereg/regex/regfree.c 	g->magic = 0;			/* mark it invalid */
magic              48 ext/fileinfo/fileinfo.c 	struct magic_set *magic;
magic              86 ext/fileinfo/fileinfo.c 		magic_close(intern->ptr->magic);
magic             180 ext/fileinfo/fileinfo.c 	if (magic_setflags(magic, options) == -1) { \
magic             182 ext/fileinfo/fileinfo.c 				options, magic_errno(magic), magic_error(magic)); \
magic             194 ext/fileinfo/fileinfo.c 		magic_close(finfo->magic);
magic             308 ext/fileinfo/fileinfo.c 			magic_close(finfo_obj->ptr->magic);
magic             336 ext/fileinfo/fileinfo.c 	finfo->magic = magic_open(options);
magic             338 ext/fileinfo/fileinfo.c 	if (finfo->magic == NULL) {
magic             345 ext/fileinfo/fileinfo.c 	if (magic_load(finfo->magic, file) == -1) {
magic             347 ext/fileinfo/fileinfo.c 		magic_close(finfo->magic);
magic             400 ext/fileinfo/fileinfo.c 	FINFO_SET_OPTION(finfo->magic, options)
magic             421 ext/fileinfo/fileinfo.c 	struct magic_set *magic = NULL;
magic             447 ext/fileinfo/fileinfo.c 		magic = magic_open(MAGIC_MIME_TYPE);
magic             448 ext/fileinfo/fileinfo.c 		if (magic_load(magic, NULL) == -1) {
magic             457 ext/fileinfo/fileinfo.c 		magic = finfo->magic;
magic             463 ext/fileinfo/fileinfo.c 		magic = finfo->magic;
magic             468 ext/fileinfo/fileinfo.c 		FINFO_SET_OPTION(magic, options)
magic             474 ext/fileinfo/fileinfo.c 			ret_val = (char *) magic_buffer(magic, buffer, buffer_len);
magic             491 ext/fileinfo/fileinfo.c 				ret_val = (char *) magic_stream(magic, stream);
magic             545 ext/fileinfo/fileinfo.c 						ret_val = (char *)magic_stream(magic, stream);
magic             562 ext/fileinfo/fileinfo.c 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed identify data %d:%s", magic_errno(magic), magic_error(magic));
magic             568 ext/fileinfo/fileinfo.c 		magic_close(magic);
magic             573 ext/fileinfo/fileinfo.c 		FINFO_SET_OPTION(magic, finfo->options)
magic              92 ext/fileinfo/libmagic/apprentice.c 	struct magic *mp;	
magic             100 ext/fileinfo/libmagic/apprentice.c 	struct magic *magic[MAGIC_SETS];
magic             143 ext/fileinfo/libmagic/apprentice.c private size_t magicsize = sizeof(struct magic);
magic             372 ext/fileinfo/libmagic/apprentice.c 	ml->magic = map->magic[idx];
magic             394 ext/fileinfo/libmagic/apprentice.c 		    (unsigned long)sizeof(*map->magic[0]),
magic             499 ext/fileinfo/libmagic/apprentice.c 				if (map->magic[j]) {
magic             500 ext/fileinfo/libmagic/apprentice.c 					efree(map->magic[j]);
magic             803 ext/fileinfo/libmagic/apprentice.c 			struct magic *m = &ml->magic[magindex];
magic             807 ext/fileinfo/libmagic/apprentice.c 				       ml->magic[magindex + 1].cont_level != 0)
magic             817 ext/fileinfo/libmagic/apprentice.c 			       ml->magic[magindex + 1].cont_level != 0 &&
magic             818 ext/fileinfo/libmagic/apprentice.c 			       *ml->magic[magindex].desc == '\0' &&
magic             819 ext/fileinfo/libmagic/apprentice.c 			       *ml->magic[magindex].mimetype == '\0')
magic             824 ext/fileinfo/libmagic/apprentice.c 			    ml->magic[magindex].desc,
magic             825 ext/fileinfo/libmagic/apprentice.c 			    ml->magic[magindex].mimetype);
magic            1104 ext/fileinfo/libmagic/apprentice.c 	if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) {
magic            1237 ext/fileinfo/libmagic/apprentice.c 		    &map->magic[j], &map->nmagic[j]) == -1) {
magic            1249 ext/fileinfo/libmagic/apprentice.c 			if (map->magic[j])
magic            1250 ext/fileinfo/libmagic/apprentice.c 				efree(map->magic[j]);
magic            1499 ext/fileinfo/libmagic/apprentice.c 	struct magic *m;
magic            1537 ext/fileinfo/libmagic/apprentice.c 			struct magic *nm;
magic            1539 ext/fileinfo/libmagic/apprentice.c 			if ((nm = CAST(struct magic *, erealloc(me->mp,
magic            1554 ext/fileinfo/libmagic/apprentice.c 		if ((m = CAST(struct magic *, emalloc(len))) == NULL) {
magic            1966 ext/fileinfo/libmagic/apprentice.c 	struct magic *m = &me->mp[0];
magic            2019 ext/fileinfo/libmagic/apprentice.c 	struct magic *m = &me->mp[me->cont_count == 0 ? 0 : me->cont_count - 1];
magic            2054 ext/fileinfo/libmagic/apprentice.c 	struct magic *m = &me->mp[me->cont_count == 0 ? 0 : me->cont_count - 1];
magic            2693 ext/fileinfo/libmagic/apprentice.c 		nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic));
magic            2694 ext/fileinfo/libmagic/apprentice.c 		entries = (uint32_t)(st.sb.st_size / sizeof(struct magic));
magic            2695 ext/fileinfo/libmagic/apprentice.c 		if ((off_t)(entries * sizeof(struct magic)) != st.sb.st_size) {
magic            2698 ext/fileinfo/libmagic/apprentice.c 				sizeof(struct magic));
magic            2702 ext/fileinfo/libmagic/apprentice.c 	map->magic[0] = CAST(struct magic *, map->p) + 1;
magic            2710 ext/fileinfo/libmagic/apprentice.c 			map->magic[i + 1] = map->magic[i] + map->nmagic[i];
magic            2721 ext/fileinfo/libmagic/apprentice.c 			byteswap(map->magic[i], map->nmagic[i]);
magic            2750 ext/fileinfo/libmagic/apprentice.c 	static const size_t m = sizeof(**map->magic);
magic            2789 ext/fileinfo/libmagic/apprentice.c 	if (php_stream_seek(stream,(off_t)sizeof(struct magic), SEEK_SET) != sizeof(struct magic)) {
magic            2796 ext/fileinfo/libmagic/apprentice.c 		if (php_stream_write(stream, (const char *)map->magic[i], len) != (ssize_t)len) {
magic            2870 ext/fileinfo/libmagic/apprentice.c 		bs1(&magic[i]);
magic            3011 ext/fileinfo/libmagic/apprentice.c 		struct magic *ma = ml->magic;
magic            3017 ext/fileinfo/libmagic/apprentice.c 				v->magic = &ma[i];
magic              68 ext/fileinfo/libmagic/compress.c 	const char magic[8];
magic             119 ext/fileinfo/libmagic/compress.c 		if (memcmp(buf, compr[i].magic, compr[i].maglen) == 0 &&
magic             351 ext/fileinfo/libmagic/file.h 	struct magic *magic;		/* array of magic entries */
magic             118 ext/fileinfo/libmagic/is_tar.c 	if (strcmp(header->header.magic, GNUTMAGIC) == 0)
magic             120 ext/fileinfo/libmagic/is_tar.c 	if (strcmp(header->header.magic, TMAGIC) == 0)
magic              84 ext/fileinfo/libmagic/softmagic.c 		if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode,
magic             139 ext/fileinfo/libmagic/softmagic.c 		struct magic *m = &magic[magindex];
magic             149 ext/fileinfo/libmagic/softmagic.c                                magic[magindex + 1].cont_level != 0 &&
magic             189 ext/fileinfo/libmagic/softmagic.c 			    magic[magindex + 1].cont_level != 0)
magic             219 ext/fileinfo/libmagic/softmagic.c 		while (magindex + 1 < nmagic && magic[magindex+1].cont_level != 0 &&
magic             221 ext/fileinfo/libmagic/softmagic.c 			m = &magic[magindex];
magic            1757 ext/fileinfo/libmagic/softmagic.c 		rv = match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o,
magic              63 ext/fileinfo/libmagic/tar.h 		char	magic[8];
magic             226 ext/phar/tar.c 	old = (memcmp(hdr->magic, "ustar", sizeof("ustar")-1) != 0);
magic             759 ext/phar/tar.c 	strncpy(header.magic, "ustar", sizeof("ustar")-1);
magic              83 ext/phar/tar.h 	char magic[6];      /* USTAR indicator */
magic            11041 ext/sqlite3/libsqlite/sqlite3.c   u32 magic;                    /* Magic number for detect library misuse */
magic            14829 ext/sqlite3/libsqlite/sqlite3.c   u32 magic;              /* Magic number for sanity checking */
magic            24587 ext/sqlite3/libsqlite/sqlite3.c   u32 magic;
magic            24592 ext/sqlite3/libsqlite/sqlite3.c   magic = db->magic;
magic            24593 ext/sqlite3/libsqlite/sqlite3.c   if( magic!=SQLITE_MAGIC_OPEN ){
magic            24604 ext/sqlite3/libsqlite/sqlite3.c   u32 magic;
magic            24605 ext/sqlite3/libsqlite/sqlite3.c   magic = db->magic;
magic            24606 ext/sqlite3/libsqlite/sqlite3.c   if( magic!=SQLITE_MAGIC_SICK &&
magic            24607 ext/sqlite3/libsqlite/sqlite3.c       magic!=SQLITE_MAGIC_OPEN &&
magic            24608 ext/sqlite3/libsqlite/sqlite3.c       magic!=SQLITE_MAGIC_BUSY ){
magic            50003 ext/sqlite3/libsqlite/sqlite3.c     u32 magic;                    /* Magic value read from WAL header */
magic            50018 ext/sqlite3/libsqlite/sqlite3.c     magic = sqlite3Get4byte(&aBuf[0]);
magic            50020 ext/sqlite3/libsqlite/sqlite3.c     if( (magic&0xFFFFFFFE)!=WAL_MAGIC 
magic            50027 ext/sqlite3/libsqlite/sqlite3.c     pWal->hdr.bigEndCksum = (u8)(magic&0x00000001);
magic            64815 ext/sqlite3/libsqlite/sqlite3.c   p->magic = VDBE_MAGIC_INIT;
magic            64936 ext/sqlite3/libsqlite/sqlite3.c   assert( p->magic==VDBE_MAGIC_INIT );
magic            65055 ext/sqlite3/libsqlite/sqlite3.c   assert( v->magic==VDBE_MAGIC_INIT );
magic            65074 ext/sqlite3/libsqlite/sqlite3.c   assert( v->magic==VDBE_MAGIC_INIT );
magic            65309 ext/sqlite3/libsqlite/sqlite3.c   assert( p->magic==VDBE_MAGIC_INIT );
magic            65343 ext/sqlite3/libsqlite/sqlite3.c   assert( p->magic==VDBE_MAGIC_INIT );
magic            65602 ext/sqlite3/libsqlite/sqlite3.c   assert( p->magic==VDBE_MAGIC_INIT );
magic            65719 ext/sqlite3/libsqlite/sqlite3.c   assert( p->magic==VDBE_MAGIC_INIT );
magic            66127 ext/sqlite3/libsqlite/sqlite3.c   assert( p->magic==VDBE_MAGIC_RUN );
magic            66387 ext/sqlite3/libsqlite/sqlite3.c   assert( p->magic==VDBE_MAGIC_INIT );
magic            66394 ext/sqlite3/libsqlite/sqlite3.c   p->magic = VDBE_MAGIC_RUN;
magic            66404 ext/sqlite3/libsqlite/sqlite3.c   p->magic = VDBE_MAGIC_RUN;
magic            66454 ext/sqlite3/libsqlite/sqlite3.c   assert( p->magic==VDBE_MAGIC_INIT );
magic            67127 ext/sqlite3/libsqlite/sqlite3.c   if( p->magic!=VDBE_MAGIC_RUN ){
magic            67281 ext/sqlite3/libsqlite/sqlite3.c   p->magic = VDBE_MAGIC_HALT;
magic            67437 ext/sqlite3/libsqlite/sqlite3.c   p->magic = VDBE_MAGIC_INIT;
magic            67447 ext/sqlite3/libsqlite/sqlite3.c   if( p->magic==VDBE_MAGIC_RUN || p->magic==VDBE_MAGIC_HALT ){
magic            67541 ext/sqlite3/libsqlite/sqlite3.c   p->magic = VDBE_MAGIC_DEAD;
magic            69412 ext/sqlite3/libsqlite/sqlite3.c   if( p->magic!=VDBE_MAGIC_RUN ){
magic            70121 ext/sqlite3/libsqlite/sqlite3.c   if( p->magic!=VDBE_MAGIC_RUN || p->pc>=0 ){
magic            70442 ext/sqlite3/libsqlite/sqlite3.c   return v!=0 && v->pc>=0 && v->magic==VDBE_MAGIC_RUN;
magic            71399 ext/sqlite3/libsqlite/sqlite3.c   assert( p->magic==VDBE_MAGIC_RUN );  /* sqlite3_step() verifies this */
magic            114690 ext/sqlite3/libsqlite/sqlite3.c   assert( db->magic==SQLITE_MAGIC_OPEN || db->magic==SQLITE_MAGIC_ZOMBIE );
magic            129002 ext/sqlite3/libsqlite/sqlite3.c   db->magic = SQLITE_MAGIC_ZOMBIE;
magic            129036 ext/sqlite3/libsqlite/sqlite3.c   if( db->magic!=SQLITE_MAGIC_ZOMBIE || connectionIsBusy(db) ){
magic            129125 ext/sqlite3/libsqlite/sqlite3.c   db->magic = SQLITE_MAGIC_ERROR;
magic            129135 ext/sqlite3/libsqlite/sqlite3.c   db->magic = SQLITE_MAGIC_CLOSED;
magic            130720 ext/sqlite3/libsqlite/sqlite3.c   db->magic = SQLITE_MAGIC_BUSY;
magic            130814 ext/sqlite3/libsqlite/sqlite3.c   db->magic = SQLITE_MAGIC_OPEN;
magic            130908 ext/sqlite3/libsqlite/sqlite3.c     db->magic = SQLITE_MAGIC_SICK;
magic            151321 ext/sqlite3/libsqlite/sqlite3.c   u32 magic;                  /* Always RTREE_GEOMETRY_MAGIC */
magic            152469 ext/sqlite3/libsqlite/sqlite3.c   if( pBlob->magic!=RTREE_GEOMETRY_MAGIC || nBlob!=nExpected ){
magic            154370 ext/sqlite3/libsqlite/sqlite3.c     pBlob->magic = RTREE_GEOMETRY_MAGIC;
magic              48 ext/sysvshm/php_sysvshm.h 	char magic[8];
magic             188 ext/sysvshm/sysvshm.c 	if (strcmp((char*) &(chunk_ptr->magic), "PHP_SM") != 0) {
magic             189 ext/sysvshm/sysvshm.c 		strcpy((char*) &(chunk_ptr->magic), "PHP_SM");