Lines Matching refs:reader
156052 NodeReader reader;
156053 for(rc = nodeReaderInit(&reader, aLeaf, nLeaf);
156054 rc==SQLITE_OK && reader.aNode;
156055 rc = nodeReaderNext(&reader)
156057 assert( reader.aNode );
156059 if( fts3TermCmp(zKey, nKey, reader.term.a, reader.term.n)<=0 ){
156062 nodeReaderRelease(&reader);
156093 NodeReader reader;
156096 rc = nodeReaderInit(&reader, pNode->block.a, pNode->block.n);
156097 while( reader.aNode && rc==SQLITE_OK ) rc = nodeReaderNext(&reader);
156098 blobGrowBuffer(&pNode->key, reader.term.n, &rc);
156100 memcpy(pNode->key.a, reader.term.a, reader.term.n);
156101 pNode->key.n = reader.term.n;
156106 pNode->iBlock = reader.iChild;
156107 rc = sqlite3Fts3ReadBlock(p, reader.iChild, &aBlock, &nBlock, 0);
156116 nodeReaderRelease(&reader);
156353 NodeReader reader; /* Reader object */
156364 for(rc = nodeReaderInit(&reader, aNode, nNode);
156365 rc==SQLITE_OK && reader.aNode;
156366 rc = nodeReaderNext(&reader)
156369 int res = fts3TermCmp(reader.term.a, reader.term.n, zTerm, nTerm);
156371 fts3StartNode(pNew, (int)aNode[0], reader.iChild);
156372 *piBlock = reader.iChild;
156375 pNew, &prev, reader.term.a, reader.term.n,
156376 reader.aDoclist, reader.nDoclist
156381 fts3StartNode(pNew, (int)aNode[0], reader.iChild);
156382 *piBlock = reader.iChild;
156386 nodeReaderRelease(&reader);
182302 Fts5LookaheadReader reader; /* Input iterator */
182358 fts5LookaheadReaderInit(pPoslist->p, pPoslist->n, &a[i].reader);
182370 iMax = a[0].reader.iPos;
182374 Fts5LookaheadReader *pPos = &a[i].reader;
182388 i64 iPos = a[i].reader.iPos;
182396 iMin = a[0].reader.iLookahead;
182398 if( a[i].reader.iLookahead < iMin ){
182399 iMin = a[i].reader.iLookahead;
182403 if( fts5LookaheadReaderNext(&a[iAdv].reader) ) goto ismatch_out;