Lines Matching refs:APND_MARK_SIZE
65 #define APND_MARK_SIZE (APND_MARK_PREFIX_SZ+APND_MARK_FOS_SZ) macro
257 unsigned char a[APND_MARK_SIZE]; in apndWriteMark()
268 (pFile, a, APND_MARK_SIZE, iWriteEnd)) ){ in apndWriteMark()
304 return pFile->pMethods->xTruncate(pFile, paf->iMark+APND_MARK_SIZE); in apndTruncate()
445 unsigned char a[APND_MARK_SIZE]; in apndReadMark()
447 if( APND_MARK_SIZE!=(sz & 0x1ff) ) return -1; in apndReadMark()
448 rc = pFile->pMethods->xRead(pFile, a, APND_MARK_SIZE, sz-APND_MARK_SIZE); in apndReadMark()
456 if( iMark > (sz - APND_MARK_SIZE - 512) ) return -1; in apndReadMark()
478 && (sz & 0x1ff) == APND_MARK_SIZE in apndIsAppendvfsDatabase()
479 && sz>=512+APND_MARK_SIZE in apndIsAppendvfsDatabase()
550 pApndFile->iMark = sz - APND_MARK_SIZE; /* Append mark found */ in apndOpen()