magic 348 Zend/zend_alloc.c unsigned int magic; magic 361 Zend/zend_alloc.c unsigned int magic; magic 373 Zend/zend_alloc.c unsigned int magic; magic 550 Zend/zend_alloc.c (block)->magic = (val); \ magic 554 Zend/zend_alloc.c if ((block)->magic != (val)) { \ magic 1161 Zend/zend_alloc.c if (p->magic == MEM_BLOCK_VALID) { magic 1167 Zend/zend_alloc.c } else if (p->magic == MEM_BLOCK_CACHED) { magic 1170 Zend/zend_alloc.c } else if (p->magic != MEM_BLOCK_LEAK) { magic 1197 Zend/zend_alloc.c if (p->magic == MEM_BLOCK_VALID) { magic 1218 Zend/zend_alloc.c } else if (p->magic == MEM_BLOCK_CACHED) { magic 1221 Zend/zend_alloc.c } else if (p->magic != MEM_BLOCK_LEAK) { magic 1315 Zend/zend_alloc.c if (p->magic != MEM_BLOCK_FREED) { magic 1316 Zend/zend_alloc.c zend_debug_alloc_output("Freed (magic=0x%0.8X, expected=0x%0.8X)\n", p->magic, MEM_BLOCK_FREED); magic 1326 Zend/zend_alloc.c if (p->magic != MEM_BLOCK_FREED) { magic 1327 Zend/zend_alloc.c zend_debug_alloc_output("Guard (magic=0x%0.8X, expected=0x%0.8X)\n", p->magic, MEM_BLOCK_FREED); magic 1336 Zend/zend_alloc.c switch (p->magic) { magic 1370 Zend/zend_alloc.c zend_debug_alloc_output("Unknown (magic=0x%0.8X, expected=0x%0.8X)\n", p->magic, MEM_BLOCK_VALID); magic 1479 Zend/zend_alloc.c if (p->magic == MEM_BLOCK_VALID || p->magic == MEM_BLOCK_LEAK) { magic 1484 Zend/zend_alloc.c } else if (p->magic == MEM_BLOCK_CACHED) { magic 1487 Zend/zend_alloc.c } else if (p->magic != MEM_BLOCK_LEAK) { magic 272 ext/mime_magic/mime_magic.c mime_global.magic = NULL; magic 302 ext/mime_magic/mime_magic.c if (mime_global.magic != NULL && mime_global.magic != (struct magic *) -1) { magic 303 ext/mime_magic/mime_magic.c struct magic *iter = mime_global.magic; magic 305 ext/mime_magic/mime_magic.c struct magic *iter_next = iter->next; magic 358 ext/mime_magic/mime_magic.c if (conf->magic == (struct magic *)-1) { magic 364 ext/mime_magic/mime_magic.c if(!conf->magic) { magic 410 ext/mime_magic/mime_magic.c conf->magic = (struct magic *)-1; magic 415 ext/mime_magic/mime_magic.c conf->magic = conf->last = NULL; magic 517 ext/mime_magic/mime_magic.c struct magic *m; magic 523 ext/mime_magic/mime_magic.c m = (struct magic *) calloc(1, sizeof(struct magic)); magic 527 ext/mime_magic/mime_magic.c if (!conf->magic || !conf->last) { magic 528 ext/mime_magic/mime_magic.c conf->magic = conf->last = m; magic 1296 ext/mime_magic/mime_magic.c struct magic *m; magic 1298 ext/mime_magic/mime_magic.c for (m = conf->magic; m; m = m->next) { magic 1302 ext/mime_magic/mime_magic.c struct magic *m_cont; magic 1515 ext/mime_magic/mime_magic.c if (0 == strcmp(header->header.magic, TMAGIC)) magic 46 ext/mime_magic/phpmimemagic.h struct magic *next; /* link to next entry */ magic 107 ext/mime_magic/phpmimemagic.h char magic[8]; magic 346 ext/mime_magic/phpmimemagic.h struct magic *magic; /* head of magic config list */ magic 347 ext/mime_magic/phpmimemagic.h struct magic *last; magic 157 ext/pdo_sqlite/sqlite/src/main.c if( db->magic!=SQLITE_MAGIC_CLOSED && sqlite3SafetyOn(db) ){ magic 203 ext/pdo_sqlite/sqlite/src/main.c db->magic = SQLITE_MAGIC_ERROR; magic 408 ext/pdo_sqlite/sqlite/src/main.c if( db && (db->magic==SQLITE_MAGIC_OPEN || db->magic==SQLITE_MAGIC_BUSY) ){ magic 896 ext/pdo_sqlite/sqlite/src/main.c db->magic = SQLITE_MAGIC_BUSY; magic 924 ext/pdo_sqlite/sqlite/src/main.c db->magic = SQLITE_MAGIC_CLOSED; magic 942 ext/pdo_sqlite/sqlite/src/main.c db->magic = SQLITE_MAGIC_CLOSED; magic 967 ext/pdo_sqlite/sqlite/src/main.c db->magic = SQLITE_MAGIC_OPEN; magic 471 ext/pdo_sqlite/sqlite/src/sqliteInt.h int magic; /* Magic number for detect library misuse */ magic 3491 ext/pdo_sqlite/sqlite/src/test1.c db->magic = SQLITE_MAGIC_OPEN; magic 3493 ext/pdo_sqlite/sqlite/src/test1.c db->magic = SQLITE_MAGIC_CLOSED; magic 3495 ext/pdo_sqlite/sqlite/src/test1.c db->magic = SQLITE_MAGIC_BUSY; magic 3497 ext/pdo_sqlite/sqlite/src/test1.c db->magic = SQLITE_MAGIC_ERROR; magic 3498 ext/pdo_sqlite/sqlite/src/test1.c }else if( Tcl_GetInt(interp, argv[2], &db->magic) ){ magic 1157 ext/pdo_sqlite/sqlite/src/util.c if( db->magic==SQLITE_MAGIC_OPEN ){ magic 1158 ext/pdo_sqlite/sqlite/src/util.c db->magic = SQLITE_MAGIC_BUSY; magic 1160 ext/pdo_sqlite/sqlite/src/util.c }else if( db->magic==SQLITE_MAGIC_BUSY ){ magic 1161 ext/pdo_sqlite/sqlite/src/util.c db->magic = SQLITE_MAGIC_ERROR; magic 1173 ext/pdo_sqlite/sqlite/src/util.c if( db->magic==SQLITE_MAGIC_BUSY ){ magic 1174 ext/pdo_sqlite/sqlite/src/util.c db->magic = SQLITE_MAGIC_OPEN; magic 1177 ext/pdo_sqlite/sqlite/src/util.c db->magic = SQLITE_MAGIC_ERROR; magic 1193 ext/pdo_sqlite/sqlite/src/util.c int magic; magic 1195 ext/pdo_sqlite/sqlite/src/util.c magic = db->magic; magic 1196 ext/pdo_sqlite/sqlite/src/util.c if( magic!=SQLITE_MAGIC_CLOSED && magic 1197 ext/pdo_sqlite/sqlite/src/util.c magic!=SQLITE_MAGIC_OPEN && magic 1198 ext/pdo_sqlite/sqlite/src/util.c magic!=SQLITE_MAGIC_BUSY ) return 1; magic 439 ext/pdo_sqlite/sqlite/src/vdbe.c if( p->magic!=VDBE_MAGIC_RUN ) return SQLITE_MISUSE; magic 440 ext/pdo_sqlite/sqlite/src/vdbe.c assert( db->magic==SQLITE_MAGIC_BUSY ); magic 3935 ext/pdo_sqlite/sqlite/src/vdbe.c if( pVdbe->magic==VDBE_MAGIC_RUN && pVdbe->inVtabMethod<2 && pVdbe->pc>=0 ){ magic 5031 ext/pdo_sqlite/sqlite/src/vdbe.c if( db->magic!=SQLITE_MAGIC_BUSY ){ magic 307 ext/pdo_sqlite/sqlite/src/vdbeInt.h int magic; /* Magic number for sanity checking */ magic 169 ext/pdo_sqlite/sqlite/src/vdbeapi.c if( p==0 || p->magic!=VDBE_MAGIC_RUN ){ magic 679 ext/pdo_sqlite/sqlite/src/vdbeapi.c if( p==0 || p->magic!=VDBE_MAGIC_RUN || p->pc>=0 ){ magic 866 ext/pdo_sqlite/sqlite/src/vdbeapi.c if( (pFrom->magic!=VDBE_MAGIC_RUN && pFrom->magic!=VDBE_MAGIC_HALT) magic 867 ext/pdo_sqlite/sqlite/src/vdbeapi.c || (pTo->magic!=VDBE_MAGIC_RUN && pTo->magic!=VDBE_MAGIC_HALT) ){ magic 47 ext/pdo_sqlite/sqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_INIT; magic 111 ext/pdo_sqlite/sqlite/src/vdbeaux.c int runMode = p->magic==VDBE_MAGIC_RUN; magic 148 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 195 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 214 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 345 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 355 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 390 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p==0 || p->magic==VDBE_MAGIC_INIT ); magic 402 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p==0 || p->magic==VDBE_MAGIC_INIT ); magic 503 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p==0 || p->magic==VDBE_MAGIC_INIT ); magic 572 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 693 ext/pdo_sqlite/sqlite/src/vdbeaux.c if( p->magic!=VDBE_MAGIC_RUN ) return SQLITE_MISUSE; magic 694 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( db->magic==SQLITE_MAGIC_BUSY ); magic 826 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 837 ext/pdo_sqlite/sqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_RUN; magic 893 ext/pdo_sqlite/sqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_RUN; magic 1262 ext/pdo_sqlite/sqlite/src/vdbeaux.c if( p->magic==VDBE_MAGIC_RUN && p->pc>=0 ){ magic 1284 ext/pdo_sqlite/sqlite/src/vdbeaux.c if( pOther->magic!=VDBE_MAGIC_RUN || pOther->pc<0 ) continue; magic 1341 ext/pdo_sqlite/sqlite/src/vdbeaux.c if( p->magic!=VDBE_MAGIC_RUN ){ magic 1343 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_HALT ); magic 1483 ext/pdo_sqlite/sqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_HALT; magic 1572 ext/pdo_sqlite/sqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_INIT; magic 1586 ext/pdo_sqlite/sqlite/src/vdbeaux.c if( p->magic==VDBE_MAGIC_RUN || p->magic==VDBE_MAGIC_HALT ){ magic 1589 ext/pdo_sqlite/sqlite/src/vdbeaux.c }else if( p->magic!=VDBE_MAGIC_INIT ){ magic 1644 ext/pdo_sqlite/sqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_DEAD; magic 64 ext/pdo_sqlite/sqlite/src/vtab.c if( db->magic==SQLITE_MAGIC_BUSY ){ magic 421 ext/sqlite/libsqlite/src/main.c db->magic = SQLITE_MAGIC_OPEN; magic 485 ext/sqlite/libsqlite/src/main.c db->magic = SQLITE_MAGIC_BUSY; magic 519 ext/sqlite/libsqlite/src/main.c db->magic = SQLITE_MAGIC_OPEN; magic 576 ext/sqlite/libsqlite/src/main.c db->magic = SQLITE_MAGIC_CLOSED; magic 364 ext/sqlite/libsqlite/src/sqliteInt.h int magic; /* Magic number for detect library misuse */ magic 1091 ext/sqlite/libsqlite/src/util.c if( db->magic==SQLITE_MAGIC_OPEN ){ magic 1092 ext/sqlite/libsqlite/src/util.c db->magic = SQLITE_MAGIC_BUSY; magic 1094 ext/sqlite/libsqlite/src/util.c }else if( db->magic==SQLITE_MAGIC_BUSY || db->magic==SQLITE_MAGIC_ERROR magic 1096 ext/sqlite/libsqlite/src/util.c db->magic = SQLITE_MAGIC_ERROR; magic 1108 ext/sqlite/libsqlite/src/util.c if( db->magic==SQLITE_MAGIC_BUSY ){ magic 1109 ext/sqlite/libsqlite/src/util.c db->magic = SQLITE_MAGIC_OPEN; magic 1111 ext/sqlite/libsqlite/src/util.c }else if( db->magic==SQLITE_MAGIC_OPEN || db->magic==SQLITE_MAGIC_ERROR magic 1113 ext/sqlite/libsqlite/src/util.c db->magic = SQLITE_MAGIC_ERROR; magic 1130 ext/sqlite/libsqlite/src/util.c db->magic = SQLITE_MAGIC_ERROR; magic 117 ext/sqlite/libsqlite/src/vdbe.c if( !p || p->magic!=VDBE_MAGIC_RUN ){ magic 502 ext/sqlite/libsqlite/src/vdbe.c if( p->magic!=VDBE_MAGIC_RUN ) return SQLITE_MISUSE; magic 503 ext/sqlite/libsqlite/src/vdbe.c assert( db->magic==SQLITE_MAGIC_BUSY ); magic 661 ext/sqlite/libsqlite/src/vdbe.c p->magic = VDBE_MAGIC_HALT; magic 4880 ext/sqlite/libsqlite/src/vdbe.c p->magic = VDBE_MAGIC_HALT; magic 4914 ext/sqlite/libsqlite/src/vdbe.c if( db->magic!=SQLITE_MAGIC_BUSY ){ magic 256 ext/sqlite/libsqlite/src/vdbeInt.h int magic; /* Magic number for sanity checking */ magic 47 ext/sqlite/libsqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_INIT; magic 80 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 152 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 178 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 193 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 203 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 246 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 258 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 283 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 317 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 342 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 374 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 385 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 556 ext/sqlite/libsqlite/src/vdbeaux.c if( db->magic!=SQLITE_MAGIC_BUSY ){ magic 597 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); magic 643 ext/sqlite/libsqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_RUN; magic 838 ext/sqlite/libsqlite/src/vdbeaux.c if( p->magic!=VDBE_MAGIC_RUN && p->magic!=VDBE_MAGIC_HALT ){ magic 912 ext/sqlite/libsqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_INIT; magic 924 ext/sqlite/libsqlite/src/vdbeaux.c if( p->magic!=VDBE_MAGIC_RUN && p->magic!=VDBE_MAGIC_HALT ){ magic 950 ext/sqlite/libsqlite/src/vdbeaux.c if( p->magic!=VDBE_MAGIC_RUN || p->pc!=0 ){ magic 1011 ext/sqlite/libsqlite/src/vdbeaux.c p->magic = VDBE_MAGIC_DEAD; magic 46 ext/sysvshm/php_sysvshm.h char magic[8]; magic 167 ext/sysvshm/sysvshm.c if (strcmp((char*) &(chunk_ptr->magic), "PHP_SM") != 0) { magic 168 ext/sysvshm/sysvshm.c strcpy((char*) &(chunk_ptr->magic), "PHP_SM"); magic 171 regex/regcomp.c g->magic = MAGIC2; magic 110 regex/regex2.h int magic; magic 127 regex/regexec.c if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) magic 23 regex/regfree.c if (g == NULL || g->magic != MAGIC2) /* oops again */ magic 26 regex/regfree.c g->magic = 0; /* mark it invalid */