Lines Matching refs:pChunk
57498 struct RowSetChunk *pChunk; /* List of all chunk allocations */ member
57523 p->pChunk = 0;
57543 struct RowSetChunk *pChunk, *pNextChunk; local
57544 for(pChunk=p->pChunk; pChunk; pChunk = pNextChunk){
57545 pNextChunk = pChunk->pNextChunk;
57546 sqlite3DbFree(p->db, pChunk);
57548 p->pChunk = 0;
57584 pNew->pNextChunk = p->pChunk;
57585 p->pChunk = pNew;
107388 FileChunk *pChunk; /* Specific chunk into which cursor points */
107423 FileChunk *pChunk;
107428 assert( p->readpoint.iOffset==0 || p->readpoint.pChunk!=0 );
107431 for(pChunk=p->pFirst;
107432 ALWAYS(pChunk) && (iOff+p->nChunkSize)<=iOfst;
107433 pChunk=pChunk->pNext
107438 pChunk = p->readpoint.pChunk;
107439 assert( pChunk!=0 );
107446 memcpy(zOut, (u8*)pChunk->zChunk + iChunkOffset, nCopy);
107450 } while( nRead>=0 && (pChunk=pChunk->pNext)!=0 && nRead>0 );
107451 p->readpoint.iOffset = pChunk ? iOfst+iAmt : 0;
107452 p->readpoint.pChunk = pChunk;
107550 FileChunk *pChunk = p->endpoint.pChunk;
107554 assert( pChunk!=0 || iChunkOffset==0 );
107562 if( pChunk ){
107564 pChunk->pNext = pNew;
107569 pChunk = p->endpoint.pChunk = pNew;
107572 assert( pChunk!=0 );
107573 memcpy((u8*)pChunk->zChunk + iChunkOffset, zWrite, iSpace);
107589 assert( p->endpoint.pChunk==0 || p->endpoint.pChunk->pNext==0 );
107606 p->endpoint.pChunk = pIter;
107608 p->readpoint.pChunk = 0;
247685 const u8 *pChunk, int nChunk
247690 fts5BufferSafeAppendBlob((Fts5Buffer*)pContext, pChunk, nChunk);
247723 const u8 *pChunk, int nChunk
247732 i += fts5GetVarint32(&pChunk[i], iVal);
247746 const u8 *pChunk, int nChunk
247759 fts5FastGetVarint32(pChunk, i, iCol);
247769 while( i<nChunk && pChunk[i]!=0x01 ){
247770 while( pChunk[i] & 0x80 ) i++;
247774 fts5BufferSafeAppendBlob(pCtx->pBuf, &pChunk[iStart], i-iStart);
247783 fts5FastGetVarint32(pChunk, i, iCol);
247786 fts5BufferSafeAppendBlob(pCtx->pBuf, &pChunk[iStart], i-iStart);
247803 u8 *pChunk = &pSeg->pLeaf->p[pSeg->iLeafOffset];
247816 xChunk(p, pCtx, pChunk, nChunk);
247828 pChunk = &pData->p[4];
248965 const u8 *pChunk, int nChunk
248968 fts5WriteAppendPoslistData(p, pWriter, pChunk, nChunk);