/external/chromium_org/third_party/sqlite/src/src/ |
H A D | func.c | 851 char *zText = 0; local 855 zText = (char *)contextMalloc(context, (2*(i64)nBlob)+4); 856 if( zText ){ 859 zText[(i*2)+2] = hexdigits[(zBlob[i]>>4)&0x0F]; 860 zText[(i*2)+3] = hexdigits[(zBlob[i])&0x0F]; 862 zText[(nBlob*2)+2] = '\''; 863 zText[(nBlob*2)+3] = '\0'; 864 zText[0] = 'X'; 865 zText[1] = '\''; 866 sqlite3_result_text(context, zText, [all...] |
H A D | recover.c | 1886 /* Find the next word in zText and place the endpoints in pzWord*. 1890 static int findWord(const char *zText, argument 1893 while( ascii_isspace(*zText) ){ 1894 zText++; 1896 *pzWordStart = zText; 1897 while( ascii_isalnum(*zText) || *zText=='_' ){ 1898 zText++; 1900 r = zText>*pzWordStart; /* In case pzWordStart==pzWordEnd */ 1901 *pzWordEnd = zText; 1908 expectWord(const char *zText, const char *zWord, const char **pzContinue) argument [all...] |
H A D | pragma.c | 32 static const char zText[] = "onoffalseyestruefull"; local 42 if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0 ){
|
H A D | tclsqlite.c | 916 ** zText is a pointer to text obtained via an sqlite3_result_text() 921 static Tcl_Obj *dbTextToObj(char const *zText){ argument 926 Tcl_ExternalToUtfDString(NULL, zText, -1, &dCol); 930 pVal = Tcl_NewStringObj(zText, -1);
|
H A D | sqliteInt.h | 2394 char *zText; /* The string collected so far */ member in struct:StrAccum 2396 int nAlloc; /* Amount of space allocated in zText */
|
/external/chromium_org/third_party/sqlite/src/tool/ |
H A D | mkkeywordhash.c | 348 char zText[2000]; local 477 printf(" /* zText[] encodes %d bytes of keywords in %d bytes */\n", 482 memcpy(&zText[k], p->zName, p->len); 498 printf(" static const char zText[%d] = {\n", nChar); 499 zText[nChar] = 0; 504 if( zText[i]==0 ){ 507 printf("'%c',", zText[i]); 586 " sqlite3StrNICmp(&zText[aOffset[i]],z,n)==0 ){\n");
|
H A D | lemon.c | 3243 ** Append text to a dynamically allocated string. If zText is 0 then 3247 ** n bytes of zText are stored. If n==0 then all of zText up to the first 3248 ** \000 terminator is stored. zText can contain up to two instances of 3254 PRIVATE char *append_str(const char *zText, int n, int p1, int p2){ argument 3261 if( zText==0 ){ 3270 n = lemonStrlen(zText); 3278 c = *(zText++); 3279 if( c=='%' && n>0 && zText[0]=='d' ){ 3284 zText [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
H A D | fulltext.c | 1287 /* Build a hash table containing all terms in zText. */ 1289 const char *zText, sqlite_int64 iDocid){ 1295 int rc = pTokenizer->pModule->xOpen(pTokenizer, zText, -1, &pCursor); 1375 sqlite3_value *pRequestRowid, const char *zText, 1380 int rc = content_insert(v, pRequestRowid, zText, -1); 1384 if( !zText ) return SQLITE_OK; /* nothing to index */ 1386 rc = build_terms(&terms, v->pTokenizer, zText, *piRowid); 1428 char *zText; local 1432 int rc = content_select(v, iRow, &zText); 1435 rc = build_terms(&terms, v->pTokenizer, zText, iRo 1288 build_terms(Hash *terms, sqlite3_tokenizer *pTokenizer, const char *zText, sqlite_int64 iDocid) argument 1374 index_insert(fulltext_vtab *v, sqlite3_value *pRequestRowid, const char *zText, sqlite_int64 *piRowid) argument [all...] |
H A D | fts1.c | 2967 /* Add all terms in [zText] to the given hash table. If [iColumn] > 0, 2971 const char *zText, int iColumn){ 2979 rc = pTokenizer->pModule->xOpen(pTokenizer, zText, -1, &pCursor); 3087 char *zText = (char*)sqlite3_value_text(pValues[i]); local 3088 int rc = buildTerms(v, terms, iRowid, zText, i); 2970 buildTerms(fulltext_vtab *v, fts1Hash *terms, sqlite_int64 iDocid, const char *zText, int iColumn) argument
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
H A D | fts3_write.c | 516 ** Tokenize the nul-terminated string zText and add all tokens to the 524 const char *zText, /* Text of document to be inserted */ 545 rc = pModule->xOpen(pTokenizer, zText, -1, &pCsr); 634 const char *zText = (const char *)sqlite3_value_text(apVal[i]); local 635 if( zText ){ 636 int rc = fts3PendingTermsAdd(p, zText, i-2, &aSz[i-2]); 756 const char *zText = (const char *)sqlite3_column_text(pSelect, i); local 757 rc = fts3PendingTermsAdd(p, zText, -1, &aSz[i-1]); 2563 const char *zText = (const char *)sqlite3_column_text(pCsr->pStmt, i+1); local 2566 rc = pModule->xOpen(pT, zText, 522 fts3PendingTermsAdd( Fts3Table *p, const char *zText, int iCol, u32 *pnWord ) argument [all...] |
/external/chromium_org/third_party/sqlite/src/ext/rtree/ |
H A D | rtree.c | 3088 char *zText = 0; local 3114 if( zText ){ 3115 char *zTextNew = sqlite3_mprintf("%s {%s}", zText, zCell); 3116 sqlite3_free(zText); 3117 zText = zTextNew; 3119 zText = sqlite3_mprintf("{%s}", zCell); 3123 sqlite3_result_text(ctx, zText, -1, sqlite3_free);
|
/external/sqlite/dist/orig/ |
H A D | shell.c | 1515 const char *zText = (const char *)sqlite3_column_text(pTableInfo, 1); local 1517 zSelect = appendText(zSelect, zText, '"'); 3822 static void printBold(const char *zText){ argument 3829 printf("%s", zText); 3833 static void printBold(const char *zText){ argument 3834 printf("\033[1m%s\033[0m", zText);
|
H A D | sqlite3.c | 2352 ** For example, assume the string variable zText contains text as follows: 2355 ** char *zText = "It's a happy day!"; 2361 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText); 2366 ** Because the %q format string is used, the '\'' character in zText 2389 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText); 2395 ** variable even if the zText variable is a NULL pointer. 12154 char *zText; /* The string collected so far */ member in struct:StrAccum 12156 int nAlloc; /* Amount of space allocated in zText */ 21272 char *zOld = (p->zText==p->zBase ? 0 : p->zText); 92610 char *zText = 0; local 98686 static const char zText[] = "onoffalseyestruefull"; local 121081 static const char zText[553] = { local 137482 fts3PendingTermsAdd( Fts3Table *p, int iLangid, const char *zText, int iCol, u32 *pnWord ) argument 137620 const char *zText = (const char *)sqlite3_value_text(apVal[i]); local 137775 const char *zText = (const char *)sqlite3_column_text(pSelect, i); local 139717 const unsigned char *zText = sqlite3_column_text(pStmt, iCol); local 141877 const char *zText = (const char *)sqlite3_column_text(pStmt, iCol+1); local 142052 const char *zText = (const char *)sqlite3_column_text(pCsr->pStmt, i+1); local 147905 char *zText = 0; local [all...] |
/external/sqlite/dist/ |
H A D | shell.c | 1520 const char *zText = (const char *)sqlite3_column_text(pTableInfo, 1); local 1522 zSelect = appendText(zSelect, zText, '"'); 3842 static void printBold(const char *zText){ argument 3849 printf("%s", zText); 3853 static void printBold(const char *zText){ argument 3854 printf("\033[1m%s\033[0m", zText);
|
H A D | sqlite3.c | 2352 ** For example, assume the string variable zText contains text as follows: 2355 ** char *zText = "It's a happy day!"; 2361 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText); 2366 ** Because the %q format string is used, the '\'' character in zText 2389 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText); 2395 ** variable even if the zText variable is a NULL pointer. 12154 char *zText; /* The string collected so far */ member in struct:StrAccum 12156 int nAlloc; /* Amount of space allocated in zText */ 21272 char *zOld = (p->zText==p->zBase ? 0 : p->zText); 92630 char *zText = 0; local 98706 static const char zText[] = "onoffalseyestruefull"; local 121101 static const char zText[553] = { local 137514 fts3PendingTermsAdd( Fts3Table *p, int iLangid, const char *zText, int iCol, u32 *pnWord ) argument 137652 const char *zText = (const char *)sqlite3_value_text(apVal[i]); local 137807 const char *zText = (const char *)sqlite3_column_text(pSelect, i); local 139749 const unsigned char *zText = sqlite3_column_text(pStmt, iCol); local 141909 const char *zText = (const char *)sqlite3_column_text(pStmt, iCol+1); local 142084 const char *zText = (const char *)sqlite3_column_text(pCsr->pStmt, i+1); local 147937 char *zText = 0; local [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
H A D | fts2.c | 4106 /* Add all terms in [zText] to pendingTerms table. If [iColumn] > 0, 4111 const char *zText, int iColumn){ 4119 rc = pTokenizer->pModule->xOpen(pTokenizer, zText, -1, &pCursor); 4172 char *zText = (char*)sqlite3_value_text(pValues[i]); local 4173 int rc = buildTerms(v, iRowid, zText, i); 4110 buildTerms(fulltext_vtab *v, sqlite_int64 iDocid, const char *zText, int iColumn) argument
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.c | 2479 ** For example, assume the string variable zText contains text as follows: 2482 ** char *zText = "It's a happy day!"; 2488 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText); 2493 ** Because the %q format string is used, the '\'' character in zText 2516 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText); 2522 ** variable even if the zText variable is a NULL pointer. 10739 char *zText; /* The string collected so far */ member in struct:StrAccum 10741 int nAlloc; /* Amount of space allocated in zText */ 19253 char *zOld = (p->zText==p->zBase ? 0 : p->zText); 82550 char *zText = 0; local 87568 static const char zText[] = "onoffalseyestruefull"; local 106162 static const char zText[540] = { local 112130 findWord(const char *zText, const char **pzWordStart, const char **pzWordEnd) argument 112148 expectWord(const char *zText, const char *zWord, const char **pzContinue) argument 120439 fts3PendingTermsAdd( Fts3Table *p, const char *zText, int iCol, u32 *pnWord ) argument 120551 const char *zText = (const char *)sqlite3_value_text(apVal[i]); local 120673 const char *zText = (const char *)sqlite3_column_text(pSelect, i); local 122480 const char *zText = (const char *)sqlite3_column_text(pCsr->pStmt, i+1); local 127356 char *zText = 0; local [all...] |