Searched refs:nPrefix (Results 1 – 4 of 4) sorted by relevance
/external/sqlite/dist/orig/ |
D | shell.c | 2932 int nPrefix, nLine; /* Number of bytes in zPrefix and zLine */ member 3033 sqlite3_free(pCur->zPrefix); pCur->zPrefix = 0; pCur->nPrefix = 0; in completionCursorReset() 3181 if( pCur->nPrefix==0 ) break; in completionNext() 3182 if( sqlite3_strnicmp(pCur->zPrefix, pCur->zCurrentRow, pCur->nPrefix)==0 ){ in completionNext() 3257 pCur->nPrefix = sqlite3_value_bytes(argv[iArg]); in completionFilter() 3258 if( pCur->nPrefix>0 ){ in completionFilter() 3277 pCur->nPrefix = pCur->nLine - i; in completionFilter() 3278 if( pCur->nPrefix>0 ){ in completionFilter() 3279 pCur->zPrefix = sqlite3_mprintf("%.*s", pCur->nPrefix, pCur->zLine + i); in completionFilter()
|
D | sqlite3.c | 148733 int nPrefix; /* Prefix length (0 for main terms index) */ 149794 int nPrefix = 0; 149795 if( fts3GobbleInt(&p, &nPrefix) ) return SQLITE_ERROR; 149796 assert( nPrefix>=0 ); 149797 if( nPrefix==0 ){ 149801 aIndex[i].nPrefix = nPrefix; 150648 int nPrefix = 0; /* Size of term prefix */ 150654 zCsr += fts3GetVarint32(zCsr, &nPrefix); 150659 assert( nPrefix>=0 && nSuffix>=0 ); 150660 if( nPrefix>zCsr-zNode || nSuffix>zEnd-zCsr ){ [all …]
|
/external/sqlite/dist/ |
D | shell.c | 2938 int nPrefix, nLine; /* Number of bytes in zPrefix and zLine */ member 3039 sqlite3_free(pCur->zPrefix); pCur->zPrefix = 0; pCur->nPrefix = 0; in completionCursorReset() 3187 if( pCur->nPrefix==0 ) break; in completionNext() 3188 if( sqlite3_strnicmp(pCur->zPrefix, pCur->zCurrentRow, pCur->nPrefix)==0 ){ in completionNext() 3263 pCur->nPrefix = sqlite3_value_bytes(argv[iArg]); in completionFilter() 3264 if( pCur->nPrefix>0 ){ in completionFilter() 3283 pCur->nPrefix = pCur->nLine - i; in completionFilter() 3284 if( pCur->nPrefix>0 ){ in completionFilter() 3285 pCur->zPrefix = sqlite3_mprintf("%.*s", pCur->nPrefix, pCur->zLine + i); in completionFilter()
|
D | sqlite3.c | 148749 int nPrefix; /* Prefix length (0 for main terms index) */ 149810 int nPrefix = 0; 149811 if( fts3GobbleInt(&p, &nPrefix) ) return SQLITE_ERROR; 149812 assert( nPrefix>=0 ); 149813 if( nPrefix==0 ){ 149817 aIndex[i].nPrefix = nPrefix; 150664 int nPrefix = 0; /* Size of term prefix */ 150670 zCsr += fts3GetVarint32(zCsr, &nPrefix); 150675 assert( nPrefix>=0 && nSuffix>=0 ); 150676 if( nPrefix>zCsr-zNode || nSuffix>zEnd-zCsr ){ [all …]
|