| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_str.c | 90 const char *zFormat, in lsmStringVAppendf() argument 107 nWrite = vsnprintf(pStr->z + pStr->n, nAvail, zFormat, ap1); in lsmStringVAppendf() 112 nWrite = vsnprintf(pStr->z + pStr->n, nWrite+1, zFormat, ap2); in lsmStringVAppendf() 119 void lsmStringAppendf(LsmString *pStr, const char *zFormat, ...){ in lsmStringAppendf() argument 121 va_start(ap, zFormat); in lsmStringAppendf() 122 va_start(ap2, zFormat); in lsmStringAppendf() 123 lsmStringVAppendf(pStr, zFormat, ap, ap2); in lsmStringAppendf() 137 char *lsmMallocPrintf(lsm_env *pEnv, const char *zFormat, ...){ in lsmMallocPrintf() argument 141 va_start(ap, zFormat); in lsmMallocPrintf() 142 va_start(ap2, zFormat); in lsmMallocPrintf() [all …]
|
| H A D | lsm_main.c | 856 void lsmLogMessage(lsm_db *pDb, int rc, const char *zFormat, ...){ in lsmLogMessage() argument 861 va_start(ap, zFormat); in lsmLogMessage() 862 va_start(ap2, zFormat); in lsmLogMessage() 863 lsmStringVAppendf(&s, zFormat, ap, ap2); in lsmLogMessage()
|
| /sqlite-3.40.0/src/ |
| H A D | printf.c | 1233 va_start(ap, zFormat); in sqlite3MPrintf() 1234 z = sqlite3VMPrintf(db, zFormat, ap); in sqlite3MPrintf() 1249 if( zFormat==0 ){ in sqlite3_vmprintf() 1273 va_start(ap, zFormat); in sqlite3_mprintf() 1274 z = sqlite3_vmprintf(zFormat, ap); in sqlite3_mprintf() 1296 if( zBuf==0 || zFormat==0 ) { in sqlite3_vsnprintf() 1310 va_start(ap,zFormat); in sqlite3_snprintf() 1346 va_start(ap, zFormat); in sqlite3_log() 1363 va_start(ap,zFormat); in sqlite3DebugPrintf() 1386 va_start(ap,zFormat); in sqlite3_str_appendf() [all …]
|
| H A D | date.c | 110 static int getDigits(const char *zDate, const char *zFormat, ...){ in getDigits() argument 117 va_start(ap, zFormat); in getDigits() 119 char N = zFormat[0] - '0'; in getDigits() 120 char min = zFormat[1] - '0'; in getDigits() 124 assert( zFormat[2]>='a' && zFormat[2]<='f' ); in getDigits() 125 max = aMx[zFormat[2] - 'a']; in getDigits() 126 nextC = zFormat[3]; in getDigits() 141 zFormat += 4; in getDigits() 1306 char *zFormat = (char *)sqlite3_user_data(context); in currentTimeFunc() local 1327 strftime(zBuf, 20, zFormat, &sNow); in currentTimeFunc()
|
| H A D | util.c | 162 void sqlite3ErrorWithMsg(sqlite3 *db, int err_code, const char *zFormat, ...){ in sqlite3ErrorWithMsg() argument 166 if( zFormat==0 ){ in sqlite3ErrorWithMsg() 171 va_start(ap, zFormat); in sqlite3ErrorWithMsg() 172 z = sqlite3VMPrintf(db, zFormat, ap); in sqlite3ErrorWithMsg() 188 void sqlite3ErrorMsg(Parse *pParse, const char *zFormat, ...){ in sqlite3ErrorMsg() argument 195 va_start(ap, zFormat); in sqlite3ErrorMsg() 196 zMsg = sqlite3VMPrintf(db, zFormat, ap); in sqlite3ErrorMsg()
|
| H A D | test_vfstrace.c | 197 const char *zFormat, in vfstrace_printf() argument 202 va_start(ap, zFormat); in vfstrace_printf() 203 zMsg = sqlite3_vmprintf(zFormat, ap); in vfstrace_printf() 215 const char *zFormat, in vfstrace_print_errcode() argument 275 vfstrace_printf(pInfo, zFormat, zVal); in vfstrace_print_errcode()
|
| /sqlite-3.40.0/test/ |
| H A D | threadtest4.c | 89 static void worker_trace(WorkerInfo *p, const char *zFormat, ...){ in worker_trace() argument 93 va_start(ap, zFormat); in worker_trace() 94 zMsg = sqlite3_vmprintf(zFormat, ap); in worker_trace() 110 va_start(ap, zFormat); in prep_sql() 111 zSql = sqlite3_vmprintf(zFormat, ap); in prep_sql() 127 static void run_sql(WorkerInfo *p, const char *zFormat, ...){ in run_sql() argument 134 va_start(ap, zFormat); in run_sql() 135 zSql = sqlite3_vmprintf(zFormat, ap); in run_sql() 272 static void worker_error(WorkerInfo *p, const char *zFormat, ...){ in worker_error() argument 276 va_start(ap, zFormat); in worker_error() [all …]
|
| H A D | threadtest1.c | 44 extern char *sqlite3_mprintf(const char *zFormat, ...); 45 extern char *sqlite3_vmprintf(const char *zFormat, va_list); 102 char **db_query(sqlite *db, const char *zFile, const char *zFormat, ...){ in db_query() argument 108 va_start(ap, zFormat); in db_query() 109 zSql = sqlite3_vmprintf(zFormat, ap); in db_query() 137 void db_execute(sqlite *db, const char *zFile, const char *zFormat, ...){ in db_execute() argument 142 va_start(ap, zFormat); in db_execute() 143 zSql = sqlite3_vmprintf(zFormat, ap); in db_execute()
|
| H A D | threadtest5.c | 67 const char *zFormat, in exec() argument 73 va_start(ap, zFormat); in exec() 74 zSql = sqlite3_vmprintf(zFormat, ap); in exec() 95 const char *zFormat, in prepare() argument 102 va_start(ap, zFormat); in prepare() 103 zSql = sqlite3_vmprintf(zFormat, ap); in prepare()
|
| H A D | optfuzz.c | 37 static sqlite3_stmt *prepare_sql(sqlite3 *db, const char *zFormat, ...){ in prepare_sql() argument 43 va_start(ap, zFormat); in prepare_sql() 44 zSql = sqlite3_vmprintf(zFormat, ap); in prepare_sql() 59 static void run_sql(sqlite3 *db, const char *zFormat, ...){ in run_sql() argument 65 va_start(ap, zFormat); in run_sql() 66 zSql = sqlite3_vmprintf(zFormat, ap); in run_sql()
|
| H A D | vt02.c | 259 static void vt02ErrMsg(sqlite3_vtab *pVtab, const char *zFormat, ...){ in vt02ErrMsg() argument 262 va_start(ap, zFormat); in vt02ErrMsg() 263 pVtab->zErrMsg = sqlite3_vmprintf(zFormat, ap); in vt02ErrMsg() 483 const char *zFormat, /* Format string for SQL, or NULL */ in sqlite3RunSql() argument 489 va_start(ap, zFormat); in sqlite3RunSql() 490 if( zFormat==0 ){ in sqlite3RunSql() 493 zSql = sqlite3_vmprintf(zFormat, ap); in sqlite3RunSql()
|
| H A D | speedtest1.c | 484 void speedtest1_exec(const char *zFormat, ...){ in speedtest1_exec() argument 487 va_start(ap, zFormat); in speedtest1_exec() 488 zSql = sqlite3_vmprintf(zFormat, ap); in speedtest1_exec() 510 char *speedtest1_once(const char *zFormat, ...){ in speedtest1_once() argument 515 va_start(ap, zFormat); in speedtest1_once() 516 zSql = sqlite3_vmprintf(zFormat, ap); in speedtest1_once() 542 void speedtest1_prepare(const char *zFormat, ...){ in speedtest1_prepare() argument 545 va_start(ap, zFormat); in speedtest1_prepare() 546 zSql = sqlite3_vmprintf(zFormat, ap); in speedtest1_prepare()
|
| /sqlite-3.40.0/tool/ |
| H A D | dbhash.c | 225 static void cmdlineError(const char *zFormat, ...){ in cmdlineError() argument 228 va_start(ap, zFormat); in cmdlineError() 229 vfprintf(stderr, zFormat, ap); in cmdlineError() 239 static void runtimeError(const char *zFormat, ...){ in runtimeError() argument 242 va_start(ap, zFormat); in runtimeError() 243 vfprintf(stderr, zFormat, ap); in runtimeError() 258 zSql = sqlite3_vmprintf(zFormat, ap); in db_vprepare() 271 va_start(ap, zFormat); in db_prepare() 272 pStmt = db_vprepare(zFormat, ap); in db_prepare() 288 va_start(ap, zFormat); in hash_one_query() [all …]
|
| H A D | offsets.c | 39 static void ofstError(GState *p, const char *zFormat, ...){ in ofstError() argument 42 va_start(ap, zFormat); in ofstError() 43 p->zErr = sqlite3_vmprintf(zFormat, ap); in ofstError() 50 static void ofstTrace(GState *p, const char *zFormat, ...){ in ofstTrace() argument 53 va_start(ap, zFormat); in ofstTrace() 54 vprintf(zFormat, ap); in ofstTrace()
|
| H A D | sqldiff.c | 71 static void cmdlineError(const char *zFormat, ...){ in cmdlineError() argument 74 va_start(ap, zFormat); in cmdlineError() 75 vfprintf(stderr, zFormat, ap); in cmdlineError() 85 static void runtimeError(const char *zFormat, ...){ in runtimeError() argument 88 va_start(ap, zFormat); in runtimeError() 89 vfprintf(stderr, zFormat, ap); in runtimeError() 106 static void strPrintf(Str *p, const char *zFormat, ...){ in strPrintf() argument 111 va_start(ap, zFormat); in strPrintf() 165 zSql = sqlite3_vmprintf(zFormat, ap); in db_vprepare() 178 va_start(ap, zFormat); in db_prepare() [all …]
|
| H A D | fuzzershell.c | 133 static void abendError(const char *zFormat, ...){ in abendError() argument 140 va_start(ap, zFormat); in abendError() 141 vfprintf(stderr, zFormat, ap); in abendError() 150 static void fatalError(const char *zFormat, ...){ in fatalError() argument 157 va_start(ap, zFormat); in fatalError() 158 vfprintf(stderr, zFormat, ap); in fatalError() 167 static void sqlexec(sqlite3 *db, const char *zFormat, ...){ in sqlexec() argument 172 va_start(ap, zFormat); in sqlexec() 173 zSql = sqlite3_vmprintf(zFormat, ap); in sqlexec()
|
| /sqlite-3.40.0/mptest/ |
| H A D | mptest.c | 219 va_start(ap, zFormat); in errorMessage() 220 zMsg = sqlite3_vmprintf(zFormat, ap); in errorMessage() 245 va_start(ap, zFormat); in fatalError() 246 zMsg = sqlite3_vmprintf(zFormat, ap); in fatalError() 280 va_start(ap, zFormat); in logMessage() 281 zMsg = sqlite3_vmprintf(zFormat, ap); in logMessage() 362 va_start(ap, zFormat); in prepareSql() 363 zSql = sqlite3_vmprintf(zFormat, ap); in prepareSql() 381 va_start(ap, zFormat); in runSql() 398 va_start(ap, zFormat); in trySql() [all …]
|
| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest_util.c | 135 void testPrintError(const char *zFormat, ...){ in testPrintError() argument 137 va_start(ap, zFormat); in testPrintError() 138 vfprintf(stderr, zFormat, ap); in testPrintError() 142 void testPrintFUsage(const char *zFormat, ...){ in testPrintFUsage() argument 144 va_start(ap, zFormat); in testPrintFUsage() 146 vfprintf(stderr, zFormat, ap); in testPrintFUsage()
|
| H A D | lsmtest.h | 145 void testPrintError(const char *zFormat, ...); 147 void testPrintFUsage(const char *zFormat, ...); 175 char *testMallocPrintf(const char *zFormat, ...); 176 char *testMallocVPrintf(const char *zFormat, va_list ap);
|
| H A D | lsmtest_main.c | 353 char *testMallocVPrintf(const char *zFormat, va_list ap){ in testMallocVPrintf() argument 359 nByte = vsnprintf(0, 0, zFormat, copy); in testMallocVPrintf() 364 vsnprintf(zRet, nByte+1, zFormat, ap); in testMallocVPrintf() 368 char *testMallocPrintf(const char *zFormat, ...){ in testMallocPrintf() argument 372 va_start(ap, zFormat); in testMallocPrintf() 373 zRet = testMallocVPrintf(zFormat, ap); in testMallocPrintf()
|
| /sqlite-3.40.0/ext/fts3/tool/ |
| H A D | fts3view.c | 57 static sqlite3_stmt *prepare(sqlite3 *db, const char *zFormat, ...){ in prepare() argument 63 va_start(ap, zFormat); in prepare() 64 zSql = sqlite3_vmprintf(zFormat, ap); in prepare() 78 static int runSql(sqlite3 *db, const char *zFormat, ...){ in runSql() argument 83 va_start(ap, zFormat); in runSql() 84 zSql = sqlite3_vmprintf(zFormat, ap); in runSql()
|
| /sqlite-3.40.0/ext/userauth/ |
| H A D | userauth.c | 36 const char *zFormat, in sqlite3UserAuthPrepare() argument 45 va_start(ap, zFormat); in sqlite3UserAuthPrepare() 46 zSql = sqlite3_vmprintf(zFormat, ap); in sqlite3UserAuthPrepare()
|
| /sqlite-3.40.0/ext/fts1/ |
| H A D | fulltext.c | 478 static char *string_format(const char *zFormat, const char *zName){ in string_format() argument 486 for(p = zFormat ; *p ; ++p){ in string_format() 492 for(p = zFormat; *p; ++p){ in string_format() 505 static int sql_exec(sqlite3 *db, const char *zName, const char *zFormat){ in sql_exec() argument 506 char *zCommand = string_format(zFormat, zName); in sql_exec() 513 const char *zFormat){ in sql_prepare() argument 514 char *zCommand = string_format(zFormat, zName); in sql_prepare()
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | dbdump.c | 282 static void output_formatted(DState *p, const char *zFormat, ...){ in output_formatted() argument 285 va_start(ap, zFormat); in output_formatted() 286 z = sqlite3_vmprintf(zFormat, ap); in output_formatted()
|
| H A D | scrub.c | 82 static void scrubBackupErr(ScrubState *p, const char *zFormat, ...){ in scrubBackupErr() argument 85 va_start(ap, zFormat); in scrubBackupErr() 86 p->zErr = sqlite3_vmprintf(zFormat, ap); in scrubBackupErr()
|