Home | History | Annotate | Download | only in sqlite

Lines Matching full:pwriter

213 -static void dlwAppend(DLWriter *pWriter,
216 +static int dlwAppend(DLWriter *pWriter,
229 assert( nFirstOld<nData || (nFirstOld==nData && pWriter->iType==DL_DOCIDS) );
230 nFirstNew = putVarint(c, iFirstDocid-pWriter->iPrevDocid);
233 dataBufferAppend(pWriter->b, c, nFirstNew);
235 pWriter->iPrevDocid = iLastDocid;
238 -static void dlwCopy(DLWriter *pWriter, DLReader *pReader){
239 - dlwAppend(pWriter, dlrDocData(pReader), dlrDocDataBytes(pReader),
241 +static int dlwCopy(DLWriter *pWriter, DLReader *pReader){
242 + return dlwAppend(pWriter, dlrDocData(pReader), dlrDocDataBytes(pReader),
245 static void dlwAdd(DLWriter *pWriter, sqlite_int64 iDocid){
1147 dataBufferAppend(&pWriter->data, c, n);
1149 - docListMerge(&pWriter->data, pReaders, nReaders);
1150 + rc = docListMerge(&pWriter->data, pReaders, nReaders);
1153 pWriter->data.pData+iDoclistData+n,
1154 pWriter->data.nData-iDoclistData-n, NULL);
1162 rc = leafWriterStepMerge(v, pWriter, pTerm, nTerm, &reader, 1);
1435 return leafWriterStepMerge(v, pWriter, pTerm, nTerm, dlReaders, nReaders);
1699 LeafWriter *pWriter){