/external/chromium_org/third_party/sqlite/src/src/ |
D | printf.c | 770 char *zOld = (p->zText==p->zBase ? 0 : p->zText); in sqlite3StrAccumAppend() 786 if( zOld==0 ) memcpy(zNew, p->zText, p->nChar); in sqlite3StrAccumAppend() 787 p->zText = zNew; in sqlite3StrAccumAppend() 795 memcpy(&p->zText[p->nChar], z, N); in sqlite3StrAccumAppend() 805 if( p->zText ){ in sqlite3StrAccumFinish() 806 p->zText[p->nChar] = 0; in sqlite3StrAccumFinish() 807 if( p->useMalloc && p->zText==p->zBase ){ in sqlite3StrAccumFinish() 809 p->zText = sqlite3DbMallocRaw(p->db, p->nChar+1 ); in sqlite3StrAccumFinish() 811 p->zText = sqlite3_malloc(p->nChar+1); in sqlite3StrAccumFinish() 813 if( p->zText ){ in sqlite3StrAccumFinish() [all …]
|
D | func.c | 851 char *zText = 0; in quoteFunc() local 855 zText = (char *)contextMalloc(context, (2*(i64)nBlob)+4); in quoteFunc() 856 if( zText ){ in quoteFunc() 859 zText[(i*2)+2] = hexdigits[(zBlob[i]>>4)&0x0F]; in quoteFunc() 860 zText[(i*2)+3] = hexdigits[(zBlob[i])&0x0F]; in quoteFunc() 862 zText[(nBlob*2)+2] = '\''; in quoteFunc() 863 zText[(nBlob*2)+3] = '\0'; in quoteFunc() 864 zText[0] = 'X'; in quoteFunc() 865 zText[1] = '\''; in quoteFunc() 866 sqlite3_result_text(context, zText, -1, SQLITE_TRANSIENT); in quoteFunc() [all …]
|
D | recover.c | 1890 static int findWord(const char *zText, in findWord() argument 1893 while( ascii_isspace(*zText) ){ in findWord() 1894 zText++; in findWord() 1896 *pzWordStart = zText; in findWord() 1897 while( ascii_isalnum(*zText) || *zText=='_' ){ in findWord() 1898 zText++; in findWord() 1900 r = zText>*pzWordStart; /* In case pzWordStart==pzWordEnd */ in findWord() 1901 *pzWordEnd = zText; in findWord() 1908 static int expectWord(const char *zText, const char *zWord, in expectWord() argument 1911 if( findWord(zText, &zWordStart, &zWordEnd) && in expectWord()
|
D | pragma.c | 32 static const char zText[] = "onoffalseyestruefull"; in getSafetyLevel() local 42 if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0 ){ in getSafetyLevel()
|
D | tclsqlite.c | 921 static Tcl_Obj *dbTextToObj(char const *zText){ in dbTextToObj() argument 926 Tcl_ExternalToUtfDString(NULL, zText, -1, &dCol); in dbTextToObj() 930 pVal = Tcl_NewStringObj(zText, -1); in dbTextToObj()
|
D | shell.c | 1252 const char *zText = (const char *)sqlite3_column_text(pTableInfo, 1); in dump_callback() local 1254 zSelect = appendText(zSelect, zText, '"'); in dump_callback()
|
D | sqliteInt.h | 2394 char *zText; /* The string collected so far */ member
|
D | sqlite.h.in | 1931 ** For example, assume the string variable zText contains text as follows: 1934 ** char *zText = "It's a happy day!"; 1940 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText); 1945 ** Because the %q format string is used, the '\'' character in zText 1968 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText); 1974 ** variable even if the zText variable is a NULL pointer.
|
/external/chromium_org/third_party/sqlite/src/tool/ |
D | mkkeywordhash.c | 348 char zText[2000]; in main() local 482 memcpy(&zText[k], p->zName, p->len); in main() 499 zText[nChar] = 0; in main() 504 if( zText[i]==0 ){ in main() 507 printf("'%c',", zText[i]); in main()
|
D | lemon.c | 3254 PRIVATE char *append_str(const char *zText, int n, int p1, int p2){ in append_str() argument 3261 if( zText==0 ){ in append_str() 3270 n = lemonStrlen(zText); in append_str() 3278 c = *(zText++); in append_str() 3279 if( c=='%' && n>0 && zText[0]=='d' ){ in append_str() 3284 zText++; in append_str()
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
D | fulltext.c | 1289 const char *zText, sqlite_int64 iDocid){ in build_terms() argument 1295 int rc = pTokenizer->pModule->xOpen(pTokenizer, zText, -1, &pCursor); in build_terms() 1375 sqlite3_value *pRequestRowid, const char *zText, in index_insert() argument 1380 int rc = content_insert(v, pRequestRowid, zText, -1); in index_insert() 1384 if( !zText ) return SQLITE_OK; /* nothing to index */ in index_insert() 1386 rc = build_terms(&terms, v->pTokenizer, zText, *piRowid); in index_insert() 1428 char *zText; in index_delete() local 1432 int rc = content_select(v, iRow, &zText); in index_delete() 1435 rc = build_terms(&terms, v->pTokenizer, zText, iRow); in index_delete() 1436 free(zText); in index_delete()
|
D | fts1.c | 2971 const char *zText, int iColumn){ in buildTerms() argument 2979 rc = pTokenizer->pModule->xOpen(pTokenizer, zText, -1, &pCursor); in buildTerms() 3087 char *zText = (char*)sqlite3_value_text(pValues[i]); in insertTerms() local 3088 int rc = buildTerms(v, terms, iRowid, zText, i); in insertTerms()
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
D | fts3_write.c | 524 const char *zText, /* Text of document to be inserted */ in fts3PendingTermsAdd() argument 545 rc = pModule->xOpen(pTokenizer, zText, -1, &pCsr); in fts3PendingTermsAdd() 634 const char *zText = (const char *)sqlite3_value_text(apVal[i]); in fts3InsertTerms() local 635 if( zText ){ in fts3InsertTerms() 636 int rc = fts3PendingTermsAdd(p, zText, i-2, &aSz[i-2]); in fts3InsertTerms() 756 const char *zText = (const char *)sqlite3_column_text(pSelect, i); in fts3DeleteTerms() local 757 rc = fts3PendingTermsAdd(p, zText, -1, &aSz[i-1]); in fts3DeleteTerms() 2563 const char *zText = (const char *)sqlite3_column_text(pCsr->pStmt, i+1); in sqlite3Fts3CacheDeferredDoclists() local 2566 rc = pModule->xOpen(pT, zText, -1, &pTC); in sqlite3Fts3CacheDeferredDoclists()
|
/external/chromium_org/third_party/sqlite/ |
D | recover.patch | 1916 +/* Find the next word in zText and place the endpoints in pzWord*. 1920 +static int findWord(const char *zText, 1923 + while( ascii_isspace(*zText) ){ 1924 + zText++; 1926 + *pzWordStart = zText; 1927 + while( ascii_isalnum(*zText) || *zText=='_' ){ 1928 + zText++; 1930 + r = zText>*pzWordStart; /* In case pzWordStart==pzWordEnd */ 1931 + *pzWordEnd = zText; 1935 +/* Return true if the next word in zText is zWord, also setting [all …]
|
/external/chromium_org/third_party/sqlite/src/ext/rtree/ |
D | rtree.c | 3088 char *zText = 0; in rtreenode() local 3114 if( zText ){ in rtreenode() 3115 char *zTextNew = sqlite3_mprintf("%s {%s}", zText, zCell); in rtreenode() 3116 sqlite3_free(zText); in rtreenode() 3117 zText = zTextNew; in rtreenode() 3119 zText = sqlite3_mprintf("{%s}", zCell); in rtreenode() 3123 sqlite3_result_text(ctx, zText, -1, sqlite3_free); in rtreenode()
|
/external/sqlite/dist/ |
D | shell.c | 1520 const char *zText = (const char *)sqlite3_column_text(pTableInfo, 1); in dump_callback() local 1522 zSelect = appendText(zSelect, zText, '"'); in dump_callback() 3842 static void printBold(const char *zText){ in printBold() argument 3849 printf("%s", zText); in printBold() 3853 static void printBold(const char *zText){ in printBold() argument 3854 printf("\033[1m%s\033[0m", zText); in printBold()
|
D | sqlite3.c | 12155 char *zText; /* The string collected so far */ member 21275 char *zOld = (p->zText==p->zBase ? 0 : p->zText); 21291 assert( p->zText!=0 || p->nChar==0 ); 21292 if( zOld==0 && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar); 21293 p->zText = zNew; 21311 while( (N--)>0 ) p->zText[p->nChar++] = ' '; 21325 memcpy(&p->zText[p->nChar], z, N); 21336 assert( p->zText!=0 || p->nChar==0 || p->accError ); 21343 assert( p->zText ); 21344 memcpy(&p->zText[p->nChar], z, N); [all …]
|
/external/sqlite/dist/orig/ |
D | shell.c | 1515 const char *zText = (const char *)sqlite3_column_text(pTableInfo, 1); in dump_callback() local 1517 zSelect = appendText(zSelect, zText, '"'); in dump_callback() 3822 static void printBold(const char *zText){ in printBold() argument 3829 printf("%s", zText); in printBold() 3833 static void printBold(const char *zText){ in printBold() argument 3834 printf("\033[1m%s\033[0m", zText); in printBold()
|
D | sqlite3.c | 12155 char *zText; /* The string collected so far */ member 21275 char *zOld = (p->zText==p->zBase ? 0 : p->zText); 21291 assert( p->zText!=0 || p->nChar==0 ); 21292 if( zOld==0 && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar); 21293 p->zText = zNew; 21311 while( (N--)>0 ) p->zText[p->nChar++] = ' '; 21325 memcpy(&p->zText[p->nChar], z, N); 21336 assert( p->zText!=0 || p->nChar==0 || p->accError ); 21343 assert( p->zText ); 21344 memcpy(&p->zText[p->nChar], z, N); [all …]
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2.c | 4111 const char *zText, int iColumn){ in buildTerms() argument 4119 rc = pTokenizer->pModule->xOpen(pTokenizer, zText, -1, &pCursor); in buildTerms() 4172 char *zText = (char*)sqlite3_value_text(pValues[i]); in insertTerms() local 4173 int rc = buildTerms(v, iRowid, zText, i); in insertTerms()
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 10739 char *zText; /* The string collected so far */ member 19253 char *zOld = (p->zText==p->zBase ? 0 : p->zText); in sqlite3StrAccumAppend() 19269 if( zOld==0 ) memcpy(zNew, p->zText, p->nChar); in sqlite3StrAccumAppend() 19270 p->zText = zNew; in sqlite3StrAccumAppend() 19278 memcpy(&p->zText[p->nChar], z, N); in sqlite3StrAccumAppend() 19288 if( p->zText ){ in sqlite3StrAccumFinish() 19289 p->zText[p->nChar] = 0; in sqlite3StrAccumFinish() 19290 if( p->useMalloc && p->zText==p->zBase ){ in sqlite3StrAccumFinish() 19292 p->zText = sqlite3DbMallocRaw(p->db, p->nChar+1 ); in sqlite3StrAccumFinish() 19294 p->zText = sqlite3_malloc(p->nChar+1); in sqlite3StrAccumFinish() [all …]
|