Home
last modified time | relevance | path

Searched refs:zCmd (Results 1 – 22 of 22) sorted by relevance

/sqlite-3.40.0/src/
H A Dtest_bestindex.c177 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 Dtest_backup.c43 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 Dtest_mutex.c382 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 Dtest1.c916 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 Dshell.c.in1395 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 Dtest_expert.c166 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 Dmptest.c886 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 Dtest_rbu.c266 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 Dstartup.c479 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 Dsessionfuzz.c883 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 Dtest_recover.c227 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 Dfts3view.c822 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 Dfts5_config.c237 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 Dfts5_tcl.c185 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 Dfts5_main.c1519 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 Dlsmtest_tdb2.cc22 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 Dlsmtest_io.c124 char *zCmd, in doOneCmd() argument
128 char *z = zCmd; in doOneCmd()
168 testPrintError("unrecognized command: %s", zCmd); in doOneCmd()
H A Dlsmtest_tdb.c203 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 Dtest_rtreedoc.c99 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 Dspellfix.c2885 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 Damatch.c1425 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 Dtest_session.c1326 const char *zCmd; in TestSession_Init() member
1345 Tcl_CreateObjCommand(interp, p->zCmd, p->xProc, 0, 0); in TestSession_Init()