Home
last modified time | relevance | path

Searched refs:zTerm (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
Dutf.c155 #define READ_UTF8(zIn, zTerm, c) \ argument
159 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
208 unsigned char *zTerm; /* End of input */ in sqlite3VdbeMemTranslate() local
239 zTerm = &zIn[pMem->n&~1]; in sqlite3VdbeMemTranslate()
240 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
275 zTerm = &zIn[pMem->n]; in sqlite3VdbeMemTranslate()
285 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
287 READ_UTF8(zIn, zTerm, c); in sqlite3VdbeMemTranslate()
293 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
295 READ_UTF8(zIn, zTerm, c); in sqlite3VdbeMemTranslate()
[all …]
/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3_write.c104 char *zTerm; /* Pointer to current term */ member
130 char *zTerm; /* Pointer to previous term buffer */ member
154 char *zTerm; /* Pointer to previous term buffer */ member
932 pReader->zTerm = (char *)fts3HashKey(pElem); in fts3SegReaderNext()
974 char *zNew = sqlite3_realloc(pReader->zTerm, nNew); in fts3SegReaderNext()
978 pReader->zTerm = zNew; in fts3SegReaderNext()
981 memcpy(&pReader->zTerm[nPrefix], pNext, nSuffix); in fts3SegReaderNext()
1153 sqlite3_free(pReader->zTerm); in sqlite3Fts3SegReaderFree()
1235 const char *zTerm, /* Term to search for */ in sqlite3Fts3SegReaderPending() argument
1252 if( nTerm==0 || (nKey>=nTerm && 0==memcmp(zKey, zTerm, nTerm)) ){ in sqlite3Fts3SegReaderPending()
[all …]
Dfts3_aux.c212 sqlite3_free((void *)pCsr->filter.zTerm); in fts3auxCloseMethod()
261 int mc = memcmp(pCsr->zStop, pCsr->csr.zTerm, n); in fts3auxNextMethod()
354 testcase(pCsr->filter.zTerm); in fts3auxFilterMethod()
356 sqlite3_free((void *)pCsr->filter.zTerm); in fts3auxFilterMethod()
366 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr); in fts3auxFilterMethod()
368 if( pCsr->filter.zTerm==0 ) return SQLITE_NOMEM; in fts3auxFilterMethod()
379 pCsr->filter.zTerm, pCsr->filter.nTerm, 0, isScan, &pCsr->csr in fts3auxFilterMethod()
409 sqlite3_result_text(pContext, p->csr.zTerm, p->csr.nTerm, SQLITE_TRANSIENT); in fts3auxColumnMethod()
Dfts3Int.h324 const char *zTerm; member
343 char *zTerm; /* Pointer to term buffer */ member
Dfts3.c1185 const char *zTerm, /* Term to select leaves for */ in fts3ScanInteriorNode() argument
1266 cmp = memcmp(zTerm, zBuffer, (nBuffer>nTerm ? nTerm : nBuffer)); in fts3ScanInteriorNode()
1312 const char *zTerm, /* Term to select leaves for */ in fts3SelectLeaf() argument
1325 rc = fts3ScanInteriorNode(zTerm, nTerm, zNode, nNode, piLeaf, piLeaf2); in fts3SelectLeaf()
1335 rc = fts3SelectLeaf(p, zTerm, nTerm, zBlob, nBlob, piLeaf, 0); in fts3SelectLeaf()
1346 rc = fts3SelectLeaf(p, zTerm, nTerm, zBlob, nBlob, piLeaf, piLeaf2); in fts3SelectLeaf()
2009 char *zTerm, in fts3TermSelectCb() argument
2017 UNUSED_PARAMETER(zTerm); in fts3TermSelectCb()
2107 const char *zTerm, /* Term to query for */ in sqlite3Fts3SegReaderCursor() argument
2125 assert( iLevel==FTS3_SEGCURSOR_ALL || (zTerm==0 && isPrefix==1) ); in sqlite3Fts3SegReaderCursor()
[all …]
/external/chromium_org/third_party/sqlite/src/test/
Dfts3_common.tcl48 foreach zTerm [array names A] {
49 foreach doclist $A($zTerm) {
76 set C($docid,$iCol,$iPos) $zTerm
234 set zTerm [string range $zPrev 0 [expr $nPrefix-1]]
235 append zTerm [gobble_string blob $nSuffix]
238 lappend terms $zTerm $doclist
239 set zPrev $zTerm
/external/chromium_org/third_party/sqlite/src/ext/fts1/
Dfulltext.c719 static int term_select(fulltext_vtab *v, const char *zTerm, int nTerm, in term_select() argument
727 rc = sqlite3_bind_text(s, 1, zTerm, nTerm, SQLITE_TRANSIENT); in term_select()
750 static int term_chunk_select(fulltext_vtab *v, const char *zTerm, int nTerm, in term_chunk_select() argument
756 rc = sqlite3_bind_text(s, 1, zTerm, nTerm, SQLITE_STATIC); in term_chunk_select()
783 static int term_insert(fulltext_vtab *v, const char *zTerm, int nTerm, in term_insert() argument
789 rc = sqlite3_bind_text(s, 1, zTerm, nTerm, SQLITE_STATIC); in term_insert()
1068 const char *zTerm, in query_merge() argument
1079 rc = term_select_doclist(v, zTerm, -1, pSelect); in query_merge()
1102 const char *zTerm; member
1120 static void query_add(Query *q, int is_phrase, const char *zTerm){ in query_add() argument
[all …]
/external/chromium_org/third_party/sqlite/
Dsqlite-3.7.6.3-fix-out-of-scope-memory-reference.patch22 - Fts3HashElem *pE = fts3HashFindElem(&p->pendingTerms, zTerm, nTerm);
23 + pE = fts3HashFindElem(&p->pendingTerms, zTerm, nTerm);
/external/sqlite/dist/orig/
Dsqlite3.c20638 #define READ_UTF8(zIn, zTerm, c) \ argument
20642 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
20691 unsigned char *zTerm; /* End of input */ in sqlite3VdbeMemTranslate() local
20722 zTerm = &zIn[pMem->n&~1]; in sqlite3VdbeMemTranslate()
20723 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
20758 zTerm = &zIn[pMem->n]; in sqlite3VdbeMemTranslate()
20768 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
20770 READ_UTF8(zIn, zTerm, c); in sqlite3VdbeMemTranslate()
20776 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
20778 READ_UTF8(zIn, zTerm, c); in sqlite3VdbeMemTranslate()
[all …]
/external/sqlite/dist/
Dsqlite3.c20638 #define READ_UTF8(zIn, zTerm, c) \ argument
20642 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
20691 unsigned char *zTerm; /* End of input */ in sqlite3VdbeMemTranslate() local
20722 zTerm = &zIn[pMem->n&~1]; in sqlite3VdbeMemTranslate()
20723 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
20758 zTerm = &zIn[pMem->n]; in sqlite3VdbeMemTranslate()
20768 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
20770 READ_UTF8(zIn, zTerm, c); in sqlite3VdbeMemTranslate()
20776 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
20778 READ_UTF8(zIn, zTerm, c); in sqlite3VdbeMemTranslate()
[all …]
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c19829 #define READ_UTF8(zIn, zTerm, c) \ argument
19833 while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \
19882 unsigned char *zTerm; /* End of input */ in sqlite3VdbeMemTranslate() local
19913 zTerm = &zIn[pMem->n&~1]; in sqlite3VdbeMemTranslate()
19914 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
19949 zTerm = &zIn[pMem->n]; in sqlite3VdbeMemTranslate()
19959 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
19961 READ_UTF8(zIn, zTerm, c); in sqlite3VdbeMemTranslate()
19967 while( zIn<zTerm ){ in sqlite3VdbeMemTranslate()
19969 READ_UTF8(zIn, zTerm, c); in sqlite3VdbeMemTranslate()
[all …]