Home
last modified time | relevance | path

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

/sqlite-3.40.0/ext/misc/
H A Dcompletion.c62 char *zPrefix; /* The prefix for the word we want to complete */ member
164 sqlite3_free(pCur->zPrefix); pCur->zPrefix = 0; pCur->nPrefix = 0; in completionCursorReset()
288 && sqlite3_strnicmp(pCur->zPrefix, pCur->zCurrentRow, pCur->nPrefix)==0 in completionNext()
313 sqlite3_result_text(ctx, pCur->zPrefix, -1, SQLITE_TRANSIENT); in completionColumn()
366 pCur->zPrefix = sqlite3_mprintf("%s", sqlite3_value_text(argv[iArg])); in completionFilter()
367 if( pCur->zPrefix==0 ) return SQLITE_NOMEM; in completionFilter()
378 if( pCur->zLine!=0 && pCur->zPrefix==0 ){ in completionFilter()
385 pCur->zPrefix = sqlite3_mprintf("%.*s", pCur->nPrefix, pCur->zLine + i); in completionFilter()
386 if( pCur->zPrefix==0 ) return SQLITE_NOMEM; in completionFilter()
H A Dnextchar.c67 const unsigned char *zPrefix; /* Prefix to scan */ member
170 sqlite3_bind_text(p->pStmt, 1, (char*)p->zPrefix, p->nPrefix, in findNextChars()
218 c.zPrefix = sqlite3_value_text(argv[0]); in nextCharFunc()
220 if( zTable==0 || zField==0 || c.zPrefix==0 ) return; in nextCharFunc()
H A Dfuzzer.c665 const char *zPrefix,
671 zPrefix,
680 zPrefix,
/sqlite-3.40.0/src/
H A Dtest_sqllog.c128 char zPrefix[SQLLOG_NAMESZ]; /* Prefix for all created files */ member
211 zRet = sqlite3_mprintf("%s_%s.db", sqllogglobal.zPrefix, zBuf); in sqllogFindFile()
316 zInit = sqlite3_mprintf("%s_%02d.db", sqllogglobal.zPrefix, iDb); in sqllogCopydb()
374 if( sqllogglobal.zPrefix[0]==0 ){ in sqllogOpenlog()
377 if( zVar==0 || strlen(zVar)+10>=(sizeof(sqllogglobal.zPrefix)) ) return; in sqllogOpenlog()
378 sqlite3_snprintf(sizeof(sqllogglobal.zPrefix), sqllogglobal.zPrefix, in sqllogOpenlog()
381 "%s.idx", sqllogglobal.zPrefix); in sqllogOpenlog()
390 zLog = sqlite3_mprintf("%s_%05d.sql", sqllogglobal.zPrefix, p->iLog); in sqllogOpenlog()
H A Dtest_fs.c487 char *zPrefix; in fstreeFilter() local
500 zPrefix = sqlite3_mprintf("%s", zDrive); in fstreeFilter()
501 nPrefix = sqlite3Strlen30(zPrefix); in fstreeFilter()
505 zPrefix = ""; in fstreeFilter()
531 if( sqlite3_strnicmp(zQuery, zPrefix, nPrefix)==0 ){ in fstreeFilter()
544 sqlite3_bind_text(pCsr->pStmt, 3, zPrefix, nPrefix, SQLITE_TRANSIENT); in fstreeFilter()
547 sqlite3_free(zPrefix); in fstreeFilter()
H A Dshell.c.in1107 char zPrefix[100]; /* Graph prefix */ member
2062 i64 n = strlen(p->sGraph.zPrefix);
2067 utf8_printf(p->out, "%s%s%s\n", p->sGraph.zPrefix,
2069 if( n<(i64)sizeof(p->sGraph.zPrefix)-7 ){
2070 memcpy(&p->sGraph.zPrefix[n], pNext ? "| " : " ", 4);
2072 p->sGraph.zPrefix[n] = 0;
2094 p->sGraph.zPrefix[0] = 0;
10999 char zPrefix[100]; local
11016 sqlite3_snprintf(sizeof(zPrefix), zPrefix,
11019 sqlite3_snprintf(sizeof(zPrefix), zPrefix, "%s:", zErrorType);
[all …]
/sqlite-3.40.0/mptest/
H A Dmptest.c218 char zPrefix[30]; in errorMessage() local
222 sqlite3_snprintf(sizeof(zPrefix), zPrefix, "%s:ERROR: ", g.zName); in errorMessage()
224 printWithPrefix(g.pLog, zPrefix, zMsg); in errorMessage()
228 printWithPrefix(g.pErrLog, zPrefix, zMsg); in errorMessage()
244 char zPrefix[30]; in fatalError() local
248 sqlite3_snprintf(sizeof(zPrefix), zPrefix, "%s:FATAL: ", g.zName); in fatalError()
250 printWithPrefix(g.pLog, zPrefix, zMsg); in fatalError()
255 printWithPrefix(g.pErrLog, zPrefix, zMsg); in fatalError()
279 char zPrefix[30]; in logMessage() local
283 sqlite3_snprintf(sizeof(zPrefix), zPrefix, "%s: ", g.zName); in logMessage()
[all …]
/sqlite-3.40.0/test/
H A Datrc.c85 char zPrefix[2]; in rename_all_tables() local
87 zPrefix[0] = (cnt%26) + 'a'; in rename_all_tables()
88 zPrefix[1] = 0; in rename_all_tables()
96 rename_all_columns_of_table(db, zTab, zPrefix, pConvert, pUndo); in rename_all_tables()
H A Dspeedtest1.c581 unsigned char zPrefix[2]; in speedtest1_run() local
582 zPrefix[0] = '\n'; in speedtest1_run()
583 zPrefix[1] = "-IFTBN"[eType]; in speedtest1_run()
585 HashUpdate(zPrefix, 2); in speedtest1_run()
587 HashUpdate(zPrefix+1, 1); in speedtest1_run()
H A Dfts3rnd.test145 proc simple_phrase {zPrefix} {
148 set reg [string map {* {[^ ]*}} $zPrefix]
/sqlite-3.40.0/ext/rtree/
H A Drtree.c1543 static void traceQueue(RtreeCursor *pCur, const char *zPrefix){
1545 printf("=== %9s ", zPrefix);
3511 const char *zPrefix, in rtreeSqlInit() argument
3544 zDb, zPrefix); in rtreeSqlInit()
3550 zDb, zPrefix); in rtreeSqlInit()
3553 zDb, zPrefix); in rtreeSqlInit()
3556 zDb, zPrefix, pRtree->iNodeSize); in rtreeSqlInit()
3589 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix); in rtreeSqlInit()
3600 zDb, zPrefix); in rtreeSqlInit()
3607 sqlite3_str_appendf(p, "UPDATE \"%w\".\"%w_rowid\"SET ", zDb, zPrefix); in rtreeSqlInit()
/sqlite-3.40.0/ext/fts3/
H A Dfts3.c1202 char *zPrefix = 0; /* Prefix parameter value (or NULL) */ in fts3InitVtab() local
1293 sqlite3_free(zPrefix); in fts3InitVtab()
1294 zPrefix = zVal; in fts3InitVtab()
1402 rc = fts3PrefixParameter(zPrefix, &nIndex, &aIndex); in fts3InitVtab()
1404 assert( zPrefix ); in fts3InitVtab()
1405 sqlite3Fts3ErrMsg(pzErr, "error parsing prefix parameter: %s", zPrefix); in fts3InitVtab()
1530 sqlite3_free(zPrefix); in fts3InitVtab()
/sqlite-3.40.0/ext/rbu/
H A Dsqlite3rbu.c2635 const char *zPrefix = ""; in rbuGetUpdateStmt() local
2637 if( pIter->eType!=RBU_PK_VTAB ) zPrefix = "rbu_imp_"; in rbuGetUpdateStmt()
2639 zPrefix, pIter->zTbl, zSet, zWhere in rbuGetUpdateStmt()