Lines Matching refs:endpoint
74 FilePoint endpoint; /* Pointer to the end of the file */ member
98 if( (iAmt+iOfst)>p->endpoint.iOffset ){ in memjrnlRead()
157 if( iOff + nChunk > copy.endpoint.iOffset ){ in memjrnlCreateFile()
158 nChunk = copy.endpoint.iOffset - iOff; in memjrnlCreateFile()
214 assert( iOfst<=p->endpoint.iOffset ); in memjrnlWrite()
215 if( iOfst>0 && iOfst!=p->endpoint.iOffset ){ in memjrnlWrite()
223 FileChunk *pChunk = p->endpoint.pChunk; in memjrnlWrite()
224 int iChunkOffset = (int)(p->endpoint.iOffset%p->nChunkSize); in memjrnlWrite()
242 pChunk = p->endpoint.pChunk = pNew; in memjrnlWrite()
249 p->endpoint.iOffset += iSpace; in memjrnlWrite()
262 assert( p->endpoint.pChunk==0 || p->endpoint.pChunk->pNext==0 ); in memjrnlTruncate()
263 if( size<p->endpoint.iOffset ){ in memjrnlTruncate()
279 p->endpoint.pChunk = pIter; in memjrnlTruncate()
280 p->endpoint.iOffset = size; in memjrnlTruncate()
312 *pSize = (sqlite_int64) p->endpoint.iOffset; in memjrnlFileSize()