| /sqlite-3.40.0/src/ |
| H A D | test_bestindex.c | 177 char *zCmd = 0; in tclConnect() local 186 zCmd = sqlite3_malloc64(strlen(argv[3])+1); in tclConnect() 188 if( zCmd && pTab ){ in tclConnect() 189 memcpy(zCmd, argv[3], strlen(argv[3])+1); in tclConnect() 190 tclDequote(zCmd); in tclConnect() 193 pTab->pCmd = Tcl_NewStringObj(zCmd, -1); in tclConnect() 218 sqlite3_free(zCmd); in tclConnect() 349 if( sqlite3_stricmp("sql", zCmd)==0 ){ in tclFilter() 666 if( sqlite3_stricmp("use", zCmd)==0 in tclBestIndex() 667 || sqlite3_stricmp("omit", zCmd)==0 in tclBestIndex() [all …]
|
| H A D | test_backup.c | 43 const char *zCmd; in backupTestCmd() member 128 const char *zCmd; in backupTestInit() local 137 zCmd = Tcl_GetString(objv[1]); in backupTestInit() 149 Tcl_CreateObjCommand(interp, zCmd, backupTestCmd, pBackup, backupTestFinish); in backupTestInit()
|
| H A D | test_mutex.c | 382 char *zCmd = Tcl_GetString(pObj); in getDbPointer() local 383 if( Tcl_GetCommandInfo(pInterp, zCmd, &info) ){ in getDbPointer() 386 db = (sqlite3*)sqlite3TestTextToPtr(zCmd); in getDbPointer()
|
| H A D | test1.c | 916 const char *zCmd; in ptrChngFunction() local 919 if( zCmd==0 ) return; in ptrChngFunction() 920 if( strcmp(zCmd,"text")==0 ){ in ptrChngFunction() 923 }else if( strcmp(zCmd, "text16")==0 ){ in ptrChngFunction() 926 }else if( strcmp(zCmd, "blob")==0 ){ in ptrChngFunction() 932 if( zCmd==0 ) return; in ptrChngFunction() 933 if( strcmp(zCmd,"bytes")==0 ){ in ptrChngFunction() 939 }else if( strcmp(zCmd, "noop")==0 ){ in ptrChngFunction() 945 if( zCmd==0 ) return; in ptrChngFunction() 946 if( strcmp(zCmd,"text")==0 ){ in ptrChngFunction() [all …]
|
| H A D | shell.c.in | 1395 char *zCmd = 0; local 1453 if( zCmd==0 ){ 5875 char *zCmd; local 8204 if( zCmd[0]=='-' && zCmd[1] ){ 8205 zCmd++; 8206 if( zCmd[0]=='-' && zCmd[1] ) zCmd++; 10156 char *zCmd; local 10169 x = zCmd!=0 ? system(zCmd) : 1; 10411 if( zCmd[0]=='-' && zCmd[1] ){ 10412 zCmd++; [all …]
|
| /sqlite-3.40.0/ext/expert/ |
| H A D | test_expert.c | 166 char *zCmd = 0; in test_sqlite3_expert_new() local 179 zCmd = sqlite3_mprintf("sqlite3expert%d", ++iCmd); in test_sqlite3_expert_new() 180 if( zCmd==0 ){ in test_sqlite3_expert_new() 191 Tcl_CreateObjCommand(interp, zCmd, testExpertCmd, p, testExpertDel); in test_sqlite3_expert_new() 192 Tcl_SetObjResult(interp, Tcl_NewStringObj(zCmd, -1)); in test_sqlite3_expert_new() 195 sqlite3_free(zCmd); in test_sqlite3_expert_new() 205 const char *zCmd; in TestExpert_Init() member 214 Tcl_CreateObjCommand(interp, p->zCmd, p->xProc, 0, 0); in TestExpert_Init()
|
| /sqlite-3.40.0/mptest/ |
| H A D | mptest.c | 886 char zCmd[30]; in runScript() local 914 n = extractToken(zScript+ii+2, len-2, zCmd, sizeof(zCmd)); in runScript() 928 if( strcmp(zCmd, "sleep")==0 ){ in runScript() 938 if( strcmp(zCmd, "exit")==0 ){ in runScript() 971 if( strcmp(zCmd, "reset")==0 ){ in runScript() 980 if( strcmp(zCmd, "match")==0 ){ in runScript() 1000 if( strcmp(zCmd, "glob")==0 || strcmp(zCmd, "notglob")==0 ){ in runScript() 1004 int isGlob = (zCmd[0]=='g'); in runScript() 1055 if( strcmp(zCmd, "print")==0 ){ in runScript() 1066 if( strcmp(zCmd, "if")==0 ){ in runScript() [all …]
|
| /sqlite-3.40.0/ext/rbu/ |
| H A D | test_rbu.c | 266 const char *zCmd, in createRbuWrapper() argument 273 Tcl_CreateObjCommand(interp, zCmd, test_sqlite3rbu_cmd, (ClientData)pTest, 0); in createRbuWrapper() 286 const char *zCmd; in test_sqlite3rbu() local 295 zCmd = Tcl_GetString(objv[1]); in test_sqlite3rbu() 301 createRbuWrapper(interp, zCmd, pRbu); in test_sqlite3rbu() 316 const char *zCmd; in test_sqlite3rbu_vacuum() local 324 zCmd = Tcl_GetString(objv[1]); in test_sqlite3rbu_vacuum() 330 createRbuWrapper(interp, zCmd, pRbu); in test_sqlite3rbu_vacuum()
|
| /sqlite-3.40.0/test/ |
| H A D | startup.c | 479 const char *zCmd = 0; in main() local 490 if( zCmd ){ in main() 493 zCmd = z; in main() 524 if( zCmd==0 ){ in main() 528 if( strcmp(zCmd, "run")==0 ){ in main() 600 if( strcmp(zCmd, "init")==0 ){ in main()
|
| H A D | sessionfuzz.c | 883 const char *zCmd; in main() local 904 zCmd = argv[1]; in main() 905 if( strcmp(zCmd, "setup")==0 ){ in main() 932 if( strcmp(zCmd, "run")==0 ){ in main()
|
| /sqlite-3.40.0/ext/recover/ |
| H A D | test_recover.c | 227 char zCmd[128]; in test_sqlite3_recover_init() local 250 sprintf(zCmd, "sqlite_recover%d", iTestRecoverCmd++); in test_sqlite3_recover_init() 251 Tcl_CreateObjCommand(interp, zCmd, testRecoverCmd, (void*)pNew, 0); in test_sqlite3_recover_init() 253 Tcl_SetObjResult(interp, Tcl_NewStringObj(zCmd, -1)); in test_sqlite3_recover_init() 294 const char *zCmd; in TestRecover_Init() member 306 Tcl_CreateObjCommand(interp, p->zCmd, p->xProc, p->pArg, 0); in TestRecover_Init()
|
| /sqlite-3.40.0/ext/fts3/tool/ |
| H A D | fts3view.c | 822 const char *zCmd; in main() local 850 zCmd = argv[3]; in main() 853 if( strcmp(zCmd,"big-segments")==0 ){ in main() 855 }else if( strcmp(zCmd,"doclist")==0 ){ in main() 858 }else if( strcmp(zCmd,"schema")==0 ){ in main() 860 }else if( strcmp(zCmd,"segdir")==0 ){ in main() 862 }else if( strcmp(zCmd,"segment")==0 ){ in main() 865 }else if( strcmp(zCmd,"segment-stats")==0 ){ in main() 867 }else if( strcmp(zCmd,"stat")==0 ){ in main() 869 }else if( strcmp(zCmd,"vocabulary")==0 ){ in main()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_config.c | 237 const char *zCmd, /* Special command to parse */ in fts5ConfigParseSpecial() argument 242 int nCmd = (int)strlen(zCmd); in fts5ConfigParseSpecial() 243 if( sqlite3_strnicmp("prefix", zCmd, nCmd)==0 ){ in fts5ConfigParseSpecial() 296 if( sqlite3_strnicmp("tokenize", zCmd, nCmd)==0 ){ in fts5ConfigParseSpecial() 340 if( sqlite3_strnicmp("content", zCmd, nCmd)==0 ){ in fts5ConfigParseSpecial() 355 if( sqlite3_strnicmp("content_rowid", zCmd, nCmd)==0 ){ in fts5ConfigParseSpecial() 365 if( sqlite3_strnicmp("columnsize", zCmd, nCmd)==0 ){ in fts5ConfigParseSpecial() 375 if( sqlite3_strnicmp("detail", zCmd, nCmd)==0 ){ in fts5ConfigParseSpecial() 389 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd); in fts5ConfigParseSpecial()
|
| H A D | fts5_tcl.c | 185 char zCmd[64]; in xQueryPhraseCb() local 190 sprintf(zCmd, "f5t_2_%lld", iCmd++); in xQueryPhraseCb() 191 Tcl_CreateObjCommand(p->interp, zCmd, xF5tApi, &sApi, 0); in xQueryPhraseCb() 195 Tcl_ListObjAppendElement(p->interp, pEval, Tcl_NewStringObj(zCmd, -1)); in xQueryPhraseCb() 198 Tcl_DeleteCommand(p->interp, zCmd); in xQueryPhraseCb() 530 char zCmd[64]; in xF5tFunction() local 535 sprintf(zCmd, "f5t_%lld", iCmd++); in xF5tFunction() 536 Tcl_CreateObjCommand(p->interp, zCmd, xF5tApi, &sApi, 0); in xF5tFunction() 539 Tcl_ListObjAppendElement(p->interp, pEval, Tcl_NewStringObj(zCmd, -1)); in xF5tFunction() 567 Tcl_DeleteCommand(p->interp, zCmd); in xF5tFunction()
|
| H A D | fts5_main.c | 1519 const char *zCmd, /* Text inserted into table-name column */ in fts5SpecialInsert() argument 1526 if( 0==sqlite3_stricmp("delete-all", zCmd) ){ in fts5SpecialInsert() 1536 }else if( 0==sqlite3_stricmp("rebuild", zCmd) ){ in fts5SpecialInsert() 1545 }else if( 0==sqlite3_stricmp("optimize", zCmd) ){ in fts5SpecialInsert() 1547 }else if( 0==sqlite3_stricmp("merge", zCmd) ){ in fts5SpecialInsert() 1550 }else if( 0==sqlite3_stricmp("integrity-check", zCmd) ){ in fts5SpecialInsert() 1554 }else if( 0==sqlite3_stricmp("prefix-index", zCmd) ){ in fts5SpecialInsert() 1560 rc = sqlite3Fts5ConfigSetValue(pTab->p.pConfig, zCmd, pVal, &bError); in fts5SpecialInsert() 1566 rc = sqlite3Fts5StorageConfigValue(pTab->pStorage, zCmd, pVal, 0); in fts5SpecialInsert()
|
| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest_tdb2.cc | 22 char *zCmd = sqlite3_mprintf("rm -rf %s\n", zFilename); in test_kc_open() local 23 system(zCmd); in test_kc_open() 24 sqlite3_free(zCmd); in test_kc_open() 229 char *zCmd = sqlite3_mprintf("rm -rf %s\n", zFilename); in test_mdb_open() local 230 system(zCmd); in test_mdb_open() 231 sqlite3_free(zCmd); in test_mdb_open()
|
| H A D | lsmtest_io.c | 124 char *zCmd, in doOneCmd() argument 128 char *z = zCmd; in doOneCmd() 168 testPrintError("unrecognized command: %s", zCmd); in doOneCmd()
|
| H A D | lsmtest_tdb.c | 203 char *zCmd = sqlite3_mprintf("rm -rf %s\n", zFilename); in test_leveldb_open() local 204 system(zCmd); in test_leveldb_open() 205 sqlite3_free(zCmd); in test_leveldb_open()
|
| /sqlite-3.40.0/ext/rtree/ |
| H A D | test_rtreedoc.c | 99 const char *zCmd = Tcl_GetString(aObj[0]); in invokeTclGeomCb() local 100 if( 0==sqlite3_stricmp(zCmd, "zero") ){ in invokeTclGeomCb() 104 else if( 0==sqlite3_stricmp(zCmd, "user") ){ in invokeTclGeomCb() 121 else if( 0==sqlite3_stricmp(zCmd, "user_is_zero") ){ in invokeTclGeomCb()
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | spellfix.c | 2885 const char *zCmd = in spellfix1Update() local 2887 if( zCmd==0 ){ in spellfix1Update() 2892 if( strcmp(zCmd,"reset")==0 ){ in spellfix1Update() 2898 if( strncmp(zCmd,"edit_cost_table=",16)==0 ){ in spellfix1Update() 2902 p->zCostTable = spellfix1Dequote(zCmd+16); in spellfix1Update() 2911 p->zTableName, zCmd); in spellfix1Update()
|
| H A D | amatch.c | 1425 const unsigned char *zCmd; in amatchUpdate() local 1445 zCmd = sqlite3_value_text(argv[2+AMATCH_COL_COMMAND]); in amatchUpdate() 1446 if( zCmd==0 ) return SQLITE_OK; in amatchUpdate()
|
| /sqlite-3.40.0/ext/session/ |
| H A D | test_session.c | 1326 const char *zCmd; in TestSession_Init() member 1345 Tcl_CreateObjCommand(interp, p->zCmd, p->xProc, 0, 0); in TestSession_Init()
|