| /sqlite-3.40.0/tool/ |
| H A D | loadfts.c | 176 char *zOpt = argv[i]; in main() local 178 if( strcmp(zOpt, "-fts")==0 ){ in main() 182 else if( strcmp(zOpt, "-trans")==0 ){ in main() 185 else if( strcmp(zOpt, "-idx")==0 ){ in main() 189 else if( strcmp(zOpt, "-dir")==0 ){ in main() 192 else if( strcmp(zOpt, "-special")==0 ){ in main()
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | unionvtab.c | 794 char *zOpt; /* Pointer to option name */ in unionConfigureVtab() local 798 zOpt = zArg; in unionConfigureVtab() 799 while( union_isspace(*zOpt) ) zOpt++; in unionConfigureVtab() 800 zVal = zOpt; in unionConfigureVtab() 803 nOpt = (int)(zVal-zOpt); in unionConfigureVtab() 807 zOpt[nOpt] = '\0'; in unionConfigureVtab() 813 if( zOpt[0]==':' ){ in unionConfigureVtab() 815 int iParam = sqlite3_bind_parameter_index(pStmt, zOpt); in unionConfigureVtab() 818 "swarmvtab: no such SQL parameter: %s", zOpt in unionConfigureVtab() 824 }else if( nOpt==7 && 0==sqlite3_strnicmp(zOpt, "maxopen", 7) ){ in unionConfigureVtab() [all …]
|
| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest_bt.c | 24 char *zOpt; in do_bt() local 34 zOpt = azArg[1]; in do_bt() 36 rc = testArgSelect(aOpt, "option", zOpt, &iOpt); in do_bt() 39 testPrintFUsage("FILENAME %s %s", zOpt, aOpt[iOpt].bPgno ? "PGNO" : ""); in do_bt()
|
| H A D | lsmtest_main.c | 598 const char *zOpt; in do_speed_test2() member 636 if( aOpt[i].zOpt ) aParam[aOpt[i].eVal] = aOpt[i].iDefault; in do_speed_test2() 651 testPrintError("option %s requires an argument\n", aOpt[iSel].zOpt); in do_speed_test2() 669 if( aOpt[i].zOpt ){ in do_speed_test2() 671 printf(" %s=%d", &aOpt[i].zOpt[1], aParam[aOpt[i].eVal]); in do_speed_test2() 673 printf(" %s=\"%s\"", &aOpt[i].zOpt[1], zSystem); in do_speed_test2() 809 const char *zOpt; in do_speed_tests() member 833 testPrintError("option %s requires an argument\n", aOpt[iSel].zOpt); in do_speed_tests()
|
| H A D | lsmtest_tdb4.c | 651 const char *zOpt; in testBtConfigure() local 655 while( rc==SQLITE4_OK && 0==testParseOption(&z, &zOpt, &zArg, aSpace) ){ in testBtConfigure() 658 rc = testArgSelect(aParam, "param", zOpt, &i); in testBtConfigure()
|
| /sqlite-3.40.0/src/ |
| H A D | test6.c | 755 char *zOpt = Tcl_GetStringFromObj(objv[i], &nOpt); in processDevSymArgs() local 757 if( (nOpt>11 || nOpt<2 || strncmp("-sectorsize", zOpt, nOpt)) in processDevSymArgs() 758 && (nOpt>16 || nOpt<2 || strncmp("-characteristics", zOpt, nOpt)) in processDevSymArgs() 761 "Bad option: \"", zOpt, in processDevSymArgs() 767 Tcl_AppendResult(interp, "Option requires an argument: \"", zOpt, "\"",0); in processDevSymArgs() 771 if( zOpt[1]=='s' ){ in processDevSymArgs()
|
| H A D | tclsqlite.c | 2405 const char *zOpt = Tcl_GetString(objv[2]); in DbObjCmd() local 2408 if( zOpt[0]=='-' ) zOpt++; in DbObjCmd() 2410 if( strcmp(aDbConfig[ii].zName, zOpt)==0 ) break; in DbObjCmd() 2413 Tcl_AppendResult(interp, "unknown config option: \"", zOpt, in DbObjCmd() 2792 const char *zOpt; in DbObjCmd() local 2793 while( objc>3 && (zOpt = Tcl_GetString(objv[2]))!=0 && zOpt[0]=='-' ){ in DbObjCmd() 2794 if( strcmp(zOpt, "-withoutnulls")==0 ){ in DbObjCmd() 2798 Tcl_AppendResult(interp, "unknown option: \"", zOpt, "\"", (void*)0); in DbObjCmd()
|
| H A D | main.c | 2928 char *zOpt; in sqlite3ParseUri() local 3040 zOpt = &zFile[sqlite3Strlen30(zFile)+1]; in sqlite3ParseUri() 3041 while( zOpt[0] ){ in sqlite3ParseUri() 3042 int nOpt = sqlite3Strlen30(zOpt); in sqlite3ParseUri() 3043 char *zVal = &zOpt[nOpt+1]; in sqlite3ParseUri() 3046 if( nOpt==3 && memcmp("vfs", zOpt, 3)==0 ){ in sqlite3ParseUri() 3057 if( nOpt==5 && memcmp("cache", zOpt, 5)==0 ){ in sqlite3ParseUri() 3069 if( nOpt==4 && memcmp("mode", zOpt, 4)==0 ){ in sqlite3ParseUri() 3110 zOpt = &zVal[nVal+1]; in sqlite3ParseUri()
|
| H A D | pragma.c | 2207 const char *zOpt; in sqlite3Pragma() local 2209 while( (zOpt = sqlite3_compileoption_get(i++))!=0 ){ in sqlite3Pragma() 2210 sqlite3VdbeLoadString(v, 1, zOpt); in sqlite3Pragma()
|
| H A D | test1.c | 7647 const char *zOpt; in optimization_control() local 7678 zOpt = Tcl_GetString(objv[2]); in optimization_control() 7680 if( strstr(zOpt, aOpt[i].zOptName)!=0 ){ in optimization_control()
|
| H A D | shell.c.in | 6129 static int optionMatch(const char *zStr, const char *zOpt){ argument 6133 return cli_strcmp(zStr, zOpt)==0; 10675 char *zOpt; local 10682 zOpt = azArg[1]; 10683 if( zOpt[0]=='-' && zOpt[1]=='-' && zOpt[2]!=0 ) zOpt++; 10684 lenOpt = (int)strlen(zOpt); 10685 if( lenOpt>=3 && cli_strncmp(zOpt, "-allexcept",lenOpt)==0 ){
|
| /sqlite-3.40.0/ext/session/ |
| H A D | session_speed_test.c | 73 char *zOpt = sqlite3_mprintf("%s %s", aOpt[i].zText, in unknown_option_error() local 78 fprintf(stderr, " % -30s%s\n", zOpt, aOpt[i].zHelp); in unknown_option_error() 79 sqlite3_free(zOpt); in unknown_option_error()
|
| H A D | test_session.c | 1033 char *zOpt = Tcl_GetString(objv[1]); in test_sqlite3session_foreach() local 1034 int nOpt = strlen(zOpt); in test_sqlite3session_foreach() 1035 if( zOpt[0]!='-' ) break; in test_sqlite3session_foreach() 1036 if( nOpt<=7 && 0==sqlite3_strnicmp(zOpt, "-invert", nOpt) ){ in test_sqlite3session_foreach() 1039 if( nOpt<=5 && 0==sqlite3_strnicmp(zOpt, "-next", nOpt) ){ in test_sqlite3session_foreach()
|
| /sqlite-3.40.0/ext/expert/ |
| H A D | expert.c | 22 static void option_requires_argument(const char *zOpt){ in option_requires_argument() argument 23 fprintf(stderr, "Option requires an argument: %s\n", zOpt); in option_requires_argument()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_tcl.c | 706 char *zOpt = Tcl_GetString(objv[1]); in f5tTokenize() local 707 if( strcmp("-subst", zOpt) ){ in f5tTokenize() 708 Tcl_AppendResult(interp, "unrecognized option: ", zOpt, 0); in f5tTokenize()
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3.c | 1260 const char *zOpt; in fts3InitVtab() member 1279 if( nKey==pOp->nOpt && !sqlite3_strnicmp(z, pOp->zOpt, pOp->nOpt) ){ in fts3InitVtab()
|