Lines Matching refs:nSuffix
118291 int nSuffix; /* Size of term suffix */
118301 zCsr += sqlite3Fts3GetVarint32(zCsr, &nSuffix);
118303 if( nPrefix<0 || nSuffix<0 || &zCsr[nSuffix]>zEnd ){
118307 if( nPrefix+nSuffix>nAlloc ){
118309 nAlloc = (nPrefix+nSuffix) * 2;
118318 memcpy(&zBuffer[nPrefix], zCsr, nSuffix);
118319 nBuffer = nPrefix + nSuffix;
118320 zCsr += nSuffix;
126304 int nSuffix; /* Number of bytes in term suffix */
126360 pNext += sqlite3Fts3GetVarint32(pNext, &nSuffix);
126361 if( nPrefix<0 || nSuffix<=0
126362 || &pNext[nSuffix]>&pReader->aNode[pReader->nNode]
126367 if( nPrefix+nSuffix>pReader->nTermAlloc ){
126368 int nNew = (nPrefix+nSuffix)*2;
126377 rc = fts3SegReaderRequire(pReader, pNext, nSuffix+FTS3_VARINT_MAX);
126380 memcpy(&pReader->zTerm[nPrefix], pNext, nSuffix);
126381 pReader->nTerm = nPrefix+nSuffix;
126382 pNext += nSuffix;
126962 int nSuffix; /* Suffix length */
126965 nSuffix = nTerm-nPrefix;
126967 nReq += sqlite3Fts3VarintLen(nPrefix)+sqlite3Fts3VarintLen(nSuffix)+nSuffix;
126990 nData += sqlite3Fts3PutVarint(&pTree->aData[nData], nSuffix);
126991 memcpy(&pTree->aData[nData], &zTerm[nPrefix], nSuffix);
126992 pTree->nData = nData + nSuffix;
127160 int nSuffix; /* Size of term suffix in bytes */
127193 nSuffix = nTerm-nPrefix;
127197 sqlite3Fts3VarintLen(nSuffix) + /* varint containing suffix size */
127198 nSuffix + /* Term suffix */
127229 nSuffix = nTerm;
127250 nData += sqlite3Fts3PutVarint(&pWriter->aData[nData], nSuffix);
127251 memcpy(&pWriter->aData[nData], &zTerm[nPrefix], nSuffix);
127252 nData += nSuffix;