Home
last modified time | relevance | path

Searched refs:zVal (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
Dtest_vfstrace.c125 char *zVal; in vfstrace_print_errcode() local
127 case SQLITE_OK: zVal = "SQLITE_OK"; break; in vfstrace_print_errcode()
128 case SQLITE_ERROR: zVal = "SQLITE_ERROR"; break; in vfstrace_print_errcode()
129 case SQLITE_PERM: zVal = "SQLITE_PERM"; break; in vfstrace_print_errcode()
130 case SQLITE_ABORT: zVal = "SQLITE_ABORT"; break; in vfstrace_print_errcode()
131 case SQLITE_BUSY: zVal = "SQLITE_BUSY"; break; in vfstrace_print_errcode()
132 case SQLITE_NOMEM: zVal = "SQLITE_NOMEM"; break; in vfstrace_print_errcode()
133 case SQLITE_READONLY: zVal = "SQLITE_READONLY"; break; in vfstrace_print_errcode()
134 case SQLITE_INTERRUPT: zVal = "SQLITE_INTERRUPT"; break; in vfstrace_print_errcode()
135 case SQLITE_IOERR: zVal = "SQLITE_IOERR"; break; in vfstrace_print_errcode()
[all …]
Dtest_func.c87 char *zVal = (char *)p; in destructor() local
88 assert(zVal); in destructor()
89 zVal--; in destructor()
90 sqlite3_free(zVal); in destructor()
98 char *zVal; in test_destructor() local
105 zVal = testContextMalloc(pCtx, len+3); in test_destructor()
106 if( !zVal ){ in test_destructor()
109 zVal[len+1] = 0; in test_destructor()
110 zVal[len+2] = 0; in test_destructor()
111 zVal++; in test_destructor()
[all …]
Dtest8.c1070 const char *zVal; in echoBegin() local
1087 zVal = Tcl_GetVar(interp, "echo_module_begin_fail", TCL_GLOBAL_ONLY); in echoBegin()
1088 if( zVal && 0==strcmp(zVal, pVtab->zTableName) ){ in echoBegin()
1101 const char *zVal; in echoSync() local
1118 zVal = Tcl_GetVar(interp, "echo_module_sync_fail", TCL_GLOBAL_ONLY); in echoSync()
1119 if( zVal && 0==strcmp(zVal, pVtab->zTableName) ){ in echoSync()
Dvdbemem.c1024 char *zVal = 0; in sqlite3ValueFromExpr() local
1062 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken); in sqlite3ValueFromExpr()
1063 if( zVal==0 ) goto no_mem; in sqlite3ValueFromExpr()
1064 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC); in sqlite3ValueFromExpr()
1101 zVal = &pExpr->u.zToken[2]; in sqlite3ValueFromExpr()
1102 nVal = sqlite3Strlen30(zVal)-1; in sqlite3ValueFromExpr()
1103 assert( zVal[nVal]=='\'' ); in sqlite3ValueFromExpr()
1104 sqlite3VdbeMemSetStr(pVal, sqlite3HexToBlob(db, zVal, nVal), nVal/2, in sqlite3ValueFromExpr()
1117 sqlite3DbFree(db, zVal); in sqlite3ValueFromExpr()
Dtest5.c67 const char *zVal; in test_value_overhead() local
85 zVal = (char*)sqlite3_value_text(&val); in test_value_overhead()
Dfunc.c1368 const char *zVal; in groupConcatStep() local
1391 zVal = (char*)sqlite3_value_text(argv[0]); in groupConcatStep()
1393 sqlite3StrAccumAppend(pAccum, zVal, nVal); in groupConcatStep()
Dtclsqlite.c505 char zVal[30]; in DbBusyHandler() local
507 sqlite3_snprintf(sizeof(zVal), zVal, "%d", nTries); in DbBusyHandler()
508 rc = Tcl_VarEval(pDb->interp, pDb->zBusy, " ", zVal, (char*)0); in DbBusyHandler()
Dtest1.c3054 const char *zVal; in test_bind_double() local
3087 zVal = Tcl_GetString(objv[3]); in test_bind_double()
3089 if( strcmp(aSpecialFp[i].zName, zVal)==0 ){ in test_bind_double()
/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3.c874 char *zVal; in fts3InitVtab() local
886 else if( isFts4 && fts3IsSpecialColumn(z, &nKey, &zVal) ){ in fts3InitVtab()
887 if( !zVal ){ in fts3InitVtab()
892 if( strlen(zVal)==4 && 0==sqlite3_strnicmp(zVal, "fts3", 4) ){ in fts3InitVtab()
895 *pzErr = sqlite3_mprintf("unrecognized matchinfo: %s", zVal); in fts3InitVtab()
899 zCompress = zVal; in fts3InitVtab()
900 zVal = 0; in fts3InitVtab()
902 zUncompress = zVal; in fts3InitVtab()
903 zVal = 0; in fts3InitVtab()
908 sqlite3_free(zVal); in fts3InitVtab()
Dfts3_write.c2448 const char *zVal = (const char *)sqlite3_value_text(pVal); in fts3SpecialInsert() local
2451 if( !zVal ){ in fts3SpecialInsert()
2453 }else if( nVal==8 && 0==sqlite3_strnicmp(zVal, "optimize", 8) ){ in fts3SpecialInsert()
2461 }else if( nVal>9 && 0==sqlite3_strnicmp(zVal, "nodesize=", 9) ){ in fts3SpecialInsert()
2462 p->nNodeSize = atoi(&zVal[9]); in fts3SpecialInsert()
2464 }else if( nVal>11 && 0==sqlite3_strnicmp(zVal, "maxpending=", 9) ){ in fts3SpecialInsert()
2465 p->nMaxPendingData = atoi(&zVal[11]); in fts3SpecialInsert()
/external/sqlite/dist/orig/
Dsqlite3.c59374 char *zVal = 0;
59412 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken);
59413 if( zVal==0 ) goto no_mem;
59414 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
59451 zVal = &pExpr->u.zToken[2];
59452 nVal = sqlite3Strlen30(zVal)-1;
59453 assert( zVal[nVal]=='\'' );
59454 sqlite3VdbeMemSetStr(pVal, sqlite3HexToBlob(db, zVal, nVal), nVal/2,
59467 sqlite3DbFree(db, zVal);
87515 const char *zVal;
[all …]
/external/sqlite/dist/
Dsqlite3.c59402 char *zVal = 0;
59440 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken);
59441 if( zVal==0 ) goto no_mem;
59442 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
59479 zVal = &pExpr->u.zToken[2];
59480 nVal = sqlite3Strlen30(zVal)-1;
59481 assert( zVal[nVal]=='\'' );
59482 sqlite3VdbeMemSetStr(pVal, sqlite3HexToBlob(db, zVal, nVal), nVal/2,
59495 sqlite3DbFree(db, zVal);
87551 const char *zVal;
[all …]
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c57168 char *zVal = 0;
57206 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken);
57207 if( zVal==0 ) goto no_mem;
57208 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
57245 zVal = &pExpr->u.zToken[2];
57246 nVal = sqlite3Strlen30(zVal)-1;
57247 assert( zVal[nVal]=='\'' );
57248 sqlite3VdbeMemSetStr(pVal, sqlite3HexToBlob(db, zVal, nVal), nVal/2,
57261 sqlite3DbFree(db, zVal);
83274 const char *zVal;
[all …]