Home | History | Annotate | Download | only in fts2

Lines Matching defs:iType

643   DocListType iType;
704 if( pReader->iType>=DL_POSITIONS ){
716 }else if( pReader->iType==DL_POSITIONS_OFFSETS ){
736 static int dlrInit(DLReader *pReader, DocListType iType,
740 pReader->iType = iType;
757 static void docListValidate(DocListType iType, const char *pData, int nData,
767 if( iType>DL_DOCIDS ){
774 }else if( iType>DL_POSITIONS ){
804 DocListType iType;
812 static void dlwInit(DLWriter *pWriter, DocListType iType, DataBuffer *b){
814 pWriter->iType = iType;
849 assert( nFirstOld<nData || (nFirstOld==nData && pWriter->iType==DL_DOCIDS) );
856 ASSERT_VALID_DOCLIST(pWriter->iType, pData, nData, &iLastDocidDelta);
881 assert( pWriter->iType==DL_DOCIDS );
908 DocListType iType;
969 if( pReader->iType==DL_POSITIONS_OFFSETS ){
993 pReader->iType = pDLReader->iType;
1005 ** convenience, if iType is DL_DOCIDS, PLWriter becomes a no-op.
1050 if( pWriter->dlw->iType==DL_DOCIDS ) return;
1062 if( pWriter->dlw->iType==DL_POSITIONS_OFFSETS ){
1103 if( pWriter->dlw->iType>DL_DOCIDS ){
1142 if( pCollector->dlw.iType>DL_DOCIDS ){
1160 static DLCollector *dlcNew(sqlite_int64 iDocid, DocListType iType){
1163 dlwInit(&pCollector->dlw, iType, &pCollector->b);
1176 /* Copy the doclist data of iType in pData/nData into *out, trimming
1186 static int docListTrim(DocListType iType, const char *pData, int nData,
1192 assert( iOutType<=iType );
1194 rc = dlrInit(&dlReader, iType, pData, nData);
1309 assert( pReaders[i].iType==pReaders[0].iType );
1324 dlwInit(&writer, pReaders[0].iType, out);
1375 assert( pLeft->iType==pRight->iType );
1376 if( pLeft->iType==DL_DOCIDS ) return 0;
1386 if( pLeft->iType==DL_POSITIONS ) return 0;
1408 assert( pLeft->iType==pRight->iType );
1409 assert( pLeft->iType==pOut->iType );
1534 assert( pOut->iType!=DL_POSITIONS_OFFSETS );
1586 ** iType controls the type of data written to pOut. If iType is
1592 DocListType iType,
1601 assert( iType!=DL_POSITIONS_OFFSETS );
1610 dlwInit(&writer, iType, pOut);
3615 DocListType iType, DataBuffer *out);
6081 DocListType iType, DataBuffer *out){
6121 iColumn, iType, out);