Home
last modified time | relevance | path

Searched refs:aMagic (Results 1 – 2 of 2) sorted by relevance

/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dpager.c638 unsigned char aMagic[sizeof(aJournalMagic1)]; in pager_playback() local
657 if( szJ < sizeof(aMagic)+sizeof(Pgno) ){ in pager_playback()
664 rc = sqliteOsRead(&pPager->jfd, aMagic, sizeof(aMagic)); in pager_playback()
669 if( memcmp(aMagic, aJournalMagic3, sizeof(aMagic))==0 ){ in pager_playback()
671 }else if( memcmp(aMagic, aJournalMagic2, sizeof(aMagic))==0 ){ in pager_playback()
673 }else if( memcmp(aMagic, aJournalMagic1, sizeof(aMagic))==0 ){ in pager_playback()
680 if( szJ < sizeof(aMagic) + 3*sizeof(u32) ){ in pager_playback()
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3.c38004 unsigned char aMagic[8]; /* A buffer to hold the magic header */
38012 || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, aMagic, 8, szJ-8))
38013 || memcmp(aMagic, aJournalMagic, 8)
38259 unsigned char aMagic[8]; /* A buffer to hold the magic header */
38280 rc = sqlite3OsRead(pPager->jfd, aMagic, sizeof(aMagic), iHdrOff);
38284 if( memcmp(aMagic, aJournalMagic, sizeof(aMagic))!=0 ){
40678 u8 aMagic[8];
40685 rc = sqlite3OsRead(pPager->jfd, aMagic, 8, iNextHdrOffset);
40686 if( rc==SQLITE_OK && 0==memcmp(aMagic, aJournalMagic, 8) ){

Completed in 583 milliseconds