| /sqlite-3.40.0/src/ |
| H A D | test_vfstrace.c | 219 char *zVal; in vfstrace_print_errcode() local 221 case SQLITE_OK: zVal = "SQLITE_OK"; break; in vfstrace_print_errcode() 222 case SQLITE_ERROR: zVal = "SQLITE_ERROR"; break; in vfstrace_print_errcode() 223 case SQLITE_PERM: zVal = "SQLITE_PERM"; break; in vfstrace_print_errcode() 224 case SQLITE_ABORT: zVal = "SQLITE_ABORT"; break; in vfstrace_print_errcode() 225 case SQLITE_BUSY: zVal = "SQLITE_BUSY"; break; in vfstrace_print_errcode() 226 case SQLITE_NOMEM: zVal = "SQLITE_NOMEM"; break; in vfstrace_print_errcode() 227 case SQLITE_READONLY: zVal = "SQLITE_READONLY"; break; in vfstrace_print_errcode() 228 case SQLITE_INTERRUPT: zVal = "SQLITE_INTERRUPT"; break; in vfstrace_print_errcode() 271 zVal = zBuf; in vfstrace_print_errcode() [all …]
|
| H A D | test_func.c | 94 assert(zVal); in destructor() 95 zVal--; in destructor() 104 char *zVal; in test_destructor() local 112 if( !zVal ){ in test_destructor() 115 zVal[len+1] = 0; in test_destructor() 116 zVal[len+2] = 0; in test_destructor() 117 zVal++; in test_destructor() 127 char *zVal; in test_destructor16() local 135 if( !zVal ){ in test_destructor16() 138 zVal[len+1] = 0; in test_destructor16() [all …]
|
| H A D | test_bestindex.c | 299 const char *zVal = (const char*)sqlite3_value_text(argv[ii]); in tclFilter() local 301 if( zVal==0 ){ in tclFilter() 309 zVal = (const char*)sqlite3_value_text(pMem); in tclFilter() 310 if( zVal ){ in tclFilter() 311 pVal2 = Tcl_NewStringObj(zVal, -1); in tclFilter() 318 pVal = Tcl_NewStringObj(zVal, -1); in tclFilter() 574 const char *zVal = ""; in testBestIndexObj() local 584 zVal = (const char*)sqlite3_value_text(pVal); in testBestIndexObj() 586 zVal = Tcl_GetString(objv[3]); in testBestIndexObj() 588 Tcl_SetObjResult(interp, Tcl_NewStringObj(zVal, -1)); in testBestIndexObj()
|
| H A D | test8.c | 1116 const char *zVal; in echoBegin() local 1133 zVal = Tcl_GetVar(interp, "echo_module_begin_fail", TCL_GLOBAL_ONLY); in echoBegin() 1134 if( zVal && 0==strcmp(zVal, pVtab->zTableName) ){ in echoBegin() 1147 const char *zVal; in echoSync() local 1164 zVal = Tcl_GetVar(interp, "echo_module_sync_fail", TCL_GLOBAL_ONLY); in echoSync() 1165 if( zVal && 0==strcmp(zVal, pVtab->zTableName) ){ in echoSync()
|
| H A D | vdbemem.c | 1563 char *zVal = 0; in valueFromExpr() local 1609 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken); in valueFromExpr() 1610 if( zVal==0 ) goto no_mem; in valueFromExpr() 1611 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC); in valueFromExpr() 1660 zVal = &pExpr->u.zToken[2]; in valueFromExpr() 1661 nVal = sqlite3Strlen30(zVal)-1; in valueFromExpr() 1662 assert( zVal[nVal]=='\'' ); in valueFromExpr() 1663 sqlite3VdbeMemSetStr(pVal, sqlite3HexToBlob(db, zVal, nVal), nVal/2, in valueFromExpr() 1689 sqlite3DbFree(db, zVal); in valueFromExpr()
|
| H A D | func.c | 1066 const char *zVal; in sqlite3QuoteValue() local 1069 zVal = sqlite3_str_value(pStr); in sqlite3QuoteValue() 1070 if( zVal ){ in sqlite3QuoteValue() 1071 sqlite3AtoF(zVal, &r2, pStr->nChar, SQLITE_UTF8); in sqlite3QuoteValue() 1777 const char *zVal; in groupConcatStep() local 1836 zVal = (char*)sqlite3_value_text(argv[0]); in groupConcatStep() 1838 if( zVal ) sqlite3_str_append(&pGCC->str, zVal, nVal); in groupConcatStep()
|
| H A D | test_hexio.c | 421 char *zVal = Tcl_GetStringFromObj(aArg[i], &nVal); in make_fts3record() local 432 memcpy(&aOut[nOut], zVal, nVal); in make_fts3record()
|
| H A D | main.c | 3043 char *zVal = &zOpt[nOpt+1]; in sqlite3ParseUri() local 3044 int nVal = sqlite3Strlen30(zVal); in sqlite3ParseUri() 3047 zVfs = zVal; in sqlite3ParseUri() 3090 if( nVal==sqlite3Strlen30(z) && 0==memcmp(zVal, z, nVal) ){ in sqlite3ParseUri() 3096 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal); in sqlite3ParseUri() 3102 zModeType, zVal); in sqlite3ParseUri() 3110 zOpt = &zVal[nVal+1]; in sqlite3ParseUri()
|
| H A D | tclsqlite.c | 608 char zVal[30]; in DbBusyHandler() local 610 sqlite3_snprintf(sizeof(zVal), zVal, "%d", nTries); in DbBusyHandler() 611 rc = Tcl_VarEval(pDb->interp, pDb->zBusy, " ", zVal, (char*)0); in DbBusyHandler()
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | unionvtab.c | 800 zVal = zOpt; in unionConfigureVtab() 801 if( *zVal==':' ) zVal++; in unionConfigureVtab() 802 while( union_isidchar(*zVal) ) zVal++; in unionConfigureVtab() 805 while( union_isspace(*zVal) ) zVal++; in unionConfigureVtab() 806 if( *zVal=='=' ){ in unionConfigureVtab() 808 zVal++; in unionConfigureVtab() 809 while( union_isspace(*zVal) ) zVal++; in unionConfigureVtab() 810 zVal = unionStrdup(&rc, zVal); in unionConfigureVtab() 811 if( zVal ){ in unionConfigureVtab() 812 unionDequote(zVal); in unionConfigureVtab() [all …]
|
| H A D | vtablog.c | 305 char zVal[50]; in vtablogColumn() local 308 sqlite3_snprintf(sizeof(zVal),zVal,"%c%d", in vtablogColumn() 311 sqlite3_snprintf(sizeof(zVal),zVal,"{%d}%d", i, pCur->iRowid); in vtablogColumn() 314 pTab->iInst, pCur->iCursor, i, zVal); in vtablogColumn() 315 sqlite3_result_text(ctx, zVal, -1, SQLITE_TRANSIENT); in vtablogColumn()
|
| H A D | closure.c | 514 const char *zVal; in closureConnect() local 529 zVal = closureValueOfKey("tablename", argv[i]); in closureConnect() 530 if( zVal ){ in closureConnect() 532 pNew->zTableName = closureDequote(zVal); in closureConnect() 536 zVal = closureValueOfKey("idcolumn", argv[i]); in closureConnect() 537 if( zVal ){ in closureConnect() 539 pNew->zIdColumn = closureDequote(zVal); in closureConnect() 543 zVal = closureValueOfKey("parentcolumn", argv[i]); in closureConnect() 544 if( zVal ){ in closureConnect() 546 pNew->zParentColumn = closureDequote(zVal); in closureConnect()
|
| H A D | amatch.c | 845 const char *zVal; in amatchConnect() local 863 if( zVal ){ in amatchConnect() 865 pNew->zVocabTab = amatchDequote(zVal); in amatchConnect() 869 zVal = amatchValueOfKey("vocabulary_word", argv[i]); in amatchConnect() 870 if( zVal ){ in amatchConnect() 872 pNew->zVocabWord = amatchDequote(zVal); in amatchConnect() 877 if( zVal ){ in amatchConnect() 879 pNew->zVocabLang = amatchDequote(zVal); in amatchConnect() 883 zVal = amatchValueOfKey("edit_distances", argv[i]); in amatchConnect() 884 if( zVal ){ in amatchConnect() [all …]
|
| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest6.c | 145 const char *zVal, in testOomFetchStr() argument 149 int nVal = strlen(zVal); in testOomFetchStr() 150 testOomFetch(pOom, pDb, (void *)zKey, nKey, (void *)zVal, nVal, pRc); in testOomFetchStr() 170 const char *zVal, in testOomWriteStr() argument 174 int nVal = strlen(zVal); in testOomWriteStr() 175 testOomWrite(pOom, pDb, (void *)zKey, nKey, (void *)zVal, nVal, pRc); in testOomWriteStr() 350 static int lsmWriteStr(lsm_db *pDb, const char *zKey, const char *zVal){ in lsmWriteStr() argument 352 int nVal = strlen(zVal); in lsmWriteStr() 353 return lsm_insert(pDb, (void *)zKey, nKey, (void *)zVal, nVal); in lsmWriteStr()
|
| H A D | lsmtest_main.c | 116 const char *zVal, /* Value to write */ in testWriteStr() argument 119 int nVal = (zVal ? strlen(zVal) : 0); in testWriteStr() 120 testWrite(pDb, (void *)zKey, strlen(zKey), (void *)zVal, nVal, pRc); in testWriteStr() 131 const char *zVal, /* Value to write */ in testFetchStr() argument 134 int nVal = (zVal ? strlen(zVal) : 0); in testFetchStr() 135 testFetch(pDb, (void *)zKey, strlen(zKey), (void *)zVal, nVal, pRc); in testFetchStr()
|
| H A D | lsmtest.h | 167 void testWriteStr(TestDb *, const char *, const char *zVal, int *pRc);
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3.c | 1246 char *zVal; in fts3InitVtab() local 1274 if( !zVal ){ in fts3InitVtab() 1285 if( strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "fts3", 4) ){ in fts3InitVtab() 1295 zVal = 0; in fts3InitVtab() 1301 zVal = 0; in fts3InitVtab() 1307 zVal = 0; in fts3InitVtab() 1311 if( (strlen(zVal)!=3 || sqlite3_strnicmp(zVal, "asc", 3)) in fts3InitVtab() 1312 && (strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "desc", 4)) in fts3InitVtab() 1317 bDescIdx = (zVal[0]=='d' || zVal[0]=='D'); in fts3InitVtab() 1323 zVal = 0; in fts3InitVtab() [all …]
|
| H A D | fts3_write.c | 5418 const char *zVal = (const char *)sqlite3_value_text(pVal); in fts3SpecialInsert() local 5421 if( !zVal ){ in fts3SpecialInsert() 5425 }else if( nVal==7 && 0==sqlite3_strnicmp(zVal, "rebuild", 7) ){ in fts3SpecialInsert() 5429 }else if( nVal>6 && 0==sqlite3_strnicmp(zVal, "merge=", 6) ){ in fts3SpecialInsert() 5430 rc = fts3DoIncrmerge(p, &zVal[6]); in fts3SpecialInsert() 5432 rc = fts3DoAutoincrmerge(p, &zVal[10]); in fts3SpecialInsert() 5436 if( nVal>9 && 0==sqlite3_strnicmp(zVal, "nodesize=", 9) ){ in fts3SpecialInsert() 5437 v = atoi(&zVal[9]); in fts3SpecialInsert() 5441 v = atoi(&zVal[11]); in fts3SpecialInsert() 5445 p->bNoIncrDoclist = atoi(&zVal[21]); in fts3SpecialInsert() [all …]
|
| /sqlite-3.40.0/test/ |
| H A D | wordcount.c | 188 const unsigned char *zVal; in checksumStep() local 196 zVal = (const unsigned char*)sqlite3_value_text(argv[i]); in checksumStep() 197 if( zVal ) for(j=0; j<nVal; j++) addCharToHash(a, zVal[j]); in checksumStep()
|
| H A D | speedtest1.c | 691 const char *zVal; in groupStep() local 711 zVal = (char*)sqlite3_value_text(argv[0]); in groupStep() 713 if( zVal ) groupAppend(p, zVal, nVal); in groupStep()
|
| /sqlite-3.40.0/ext/expert/ |
| H A D | sqlite3expert.c | 141 char *zVal; /* nul-terminated value string */ member 234 const char *zVal in idxHashAdd() argument 238 int nVal = (zVal ? STRLEN(zVal) : 0); in idxHashAdd() 250 if( zVal ){ in idxHashAdd() 251 pEntry->zVal = &pEntry->zKey[nKey+1]; in idxHashAdd() 252 memcpy(pEntry->zVal, zVal, nVal); in idxHashAdd() 289 if( pEntry ) return pEntry->zVal; in idxHashSearch() 1978 "%s;%s%s\n", pEntry->zVal, in sqlite3_expert_analyze()
|
| H A D | expert.c | 27 static int option_integer_arg(const char *zVal){ in option_integer_arg() argument 28 return atoi(zVal); in option_integer_arg()
|
| /sqlite-3.40.0/ext/repair/ |
| H A D | checkindex.c | 841 const char *zVal = 0; in cidxColumn() local 844 zVal = "row data mismatch"; in cidxColumn() 847 zVal = "row missing"; in cidxColumn() 849 sqlite3_result_text(ctx, zVal, -1, SQLITE_STATIC); in cidxColumn()
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_log.c | 795 char *zVal = 0; in lsmInfoLogStructure() local 810 zVal = lsmMallocPrintf(pDb->pEnv, in lsmInfoLogStructure() 816 if( !zVal ) rc = LSM_NOMEM_BKPT; in lsmInfoLogStructure() 819 *pzVal = zVal; in lsmInfoLogStructure()
|
| /sqlite-3.40.0/ext/rbu/ |
| H A D | sqlite3rbu.c | 1533 const char *zVal = (const char*)sqlite3_column_text(pMax, 0); in rbuVacuumTableStart() local 1534 zRet = rbuMPrintf(p, " WHERE (%s) > (%s) ", zList, zVal); in rbuVacuumTableStart()
|