Home
last modified time | relevance | path

Searched refs:zMsg (Results 1 – 25 of 42) sorted by relevance

12

/sqlite-3.40.0/mptest/
H A Dmptest.c99 while( zMsg && zMsg[0] ){ in printWithPrefix()
101 for(i=0; zMsg[i] && zMsg[i]!='\n' && zMsg[i]!='\r'; i++){} in printWithPrefix()
103 zMsg += i; in printWithPrefix()
104 while( zMsg[0]=='\n' || zMsg[0]=='\r' ) zMsg++; in printWithPrefix()
217 char *zMsg; in errorMessage() local
231 sqlite3_free(zMsg); in errorMessage()
243 char *zMsg; in fatalError() local
259 sqlite3_free(zMsg); in fatalError()
278 char *zMsg; in logMessage() local
288 sqlite3_free(zMsg); in logMessage()
[all …]
/sqlite-3.40.0/src/
H A Dtest_loadext.c63 char *zMsg = sqlite3_mprintf("unknown status property: %s", zName); in statusFunc() local
64 sqlite3_result_error(context, zMsg, -1); in statusFunc()
65 sqlite3_free(zMsg); in statusFunc()
79 char *zMsg = sqlite3_mprintf("sqlite3_status(%d,...) returns %d", op, rc); in statusFunc() local
80 sqlite3_result_error(context, zMsg, -1); in statusFunc()
81 sqlite3_free(zMsg); in statusFunc()
H A Dtest_thread.c96 char *zMsg; in postToParent() local
99 zMsg = Tcl_GetStringFromObj(pScript, &nMsg); in postToParent()
104 memcpy(pEvent->zScript, zMsg, nMsg+1); in postToParent()
234 char *zMsg; in sqlthread_parent() local
246 zMsg = Tcl_GetStringFromObj(objv[2], &nMsg); in sqlthread_parent()
251 memcpy(pEvent->zScript, zMsg, nMsg+1); in sqlthread_parent()
H A Dtest_osinst.c758 int sqlite3_vfslog_annotate(const char *zVfs, const char *zMsg){ in sqlite3_vfslog_annotate() argument
765 vfslog_string(pVfs, zMsg); in sqlite3_vfslog_annotate()
1142 char *zMsg; in test_vfslog() local
1148 zMsg = Tcl_GetString(objv[3]); in test_vfslog()
1149 rc = sqlite3_vfslog_annotate(zVfs, zMsg); in test_vfslog()
H A Dtest_vfstrace.c201 char *zMsg; in vfstrace_printf() local
203 zMsg = sqlite3_vmprintf(zFormat, ap); in vfstrace_printf()
205 pInfo->xOut(zMsg, pInfo->pOutArg); in vfstrace_printf()
206 sqlite3_free(zMsg); in vfstrace_printf()
H A Djson.c1298 char *zMsg; in jsonLookup() local
1312 zMsg = jsonPathSyntaxError(zErr); in jsonLookup()
1313 if( zMsg ){ in jsonLookup()
1314 sqlite3_result_error(pCtx, zMsg, -1); in jsonLookup()
1315 sqlite3_free(zMsg); in jsonLookup()
1331 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments", in jsonWrongNumArgs() local
1333 sqlite3_result_error(pCtx, zMsg, -1); in jsonWrongNumArgs()
1334 sqlite3_free(zMsg); in jsonWrongNumArgs()
H A Dutil.c189 char *zMsg; in sqlite3ErrorMsg() local
196 zMsg = sqlite3VMPrintf(db, zFormat, ap); in sqlite3ErrorMsg()
200 sqlite3DbFree(db, zMsg); in sqlite3ErrorMsg()
208 pParse->zErrMsg = zMsg; in sqlite3ErrorMsg()
/sqlite-3.40.0/test/
H A Dthreadtest4.c53 char *zMsg; /* Message returned by this thread */ member
91 char *zMsg; in worker_trace() local
94 zMsg = sqlite3_vmprintf(zFormat, ap); in worker_trace()
95 check_oom(zMsg); in worker_trace()
97 fprintf(stderr, "TRACE(%02d): %s\n", p->tid, zMsg); in worker_trace()
98 sqlite3_free(zMsg); in worker_trace()
275 sqlite3_free(p->zMsg); in worker_error()
277 p->zMsg = sqlite3_vmprintf(zFormat, ap); in worker_error()
471 if( aInfo[i].zMsg ){ in main()
472 printf(": %s\n", aInfo[i].zMsg); in main()
H A Dwordcount.c120 static void fatal_error(const char *zMsg, ...){ in fatal_error() argument
122 va_start(ap, zMsg); in fatal_error()
123 vfprintf(stderr, zMsg, ap); in fatal_error()
H A Dthreadtest1.c173 void db_check(const char *zFile, const char *zMsg, char **az, ...){ in db_check() argument
181 zFile, zMsg, i+1, az[i]); in db_check()
H A Dfuzzcheck.c1798 char *zMsg = 0; /* Add this message */ in main() local
1901 zMsg = argv[++i]; in main()
2004 if( zMsg ){ in main()
2080 if( zMsg ){ in main()
2083 "DELETE FROM readme; INSERT INTO readme(msg) VALUES(%Q)", zMsg); in main()
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest5.c270 char *zMsg; member
315 testFree(p->aThread[i].zMsg); in testThreadShutdown()
405 testFree(pThreadSet->aThread[iThread].zMsg); in testThreadSetResult()
407 pThreadSet->aThread[iThread].zMsg = 0; in testThreadSetResult()
410 pThreadSet->aThread[iThread].zMsg = testMallocVPrintf(zFmt, ap); in testThreadSetResult()
423 if( pzRes ) *pzRes = pThreadSet->aThread[iThread].zMsg; in testThreadGetResult()
615 const char *zMsg = 0; in do_test_mt1() local
616 *pRc = testThreadGetResult(pSet, iThread, &zMsg); in do_test_mt1()
617 printf(" Info: thread %d (%d): %s\n", iThread, *pRc, zMsg); in do_test_mt1()
/sqlite-3.40.0/tool/
H A Doffsets.c252 char zMsg[200]; in ofstWalkLeafPage() local
260 sqlite3_snprintf(sizeof(zMsg), zMsg, in ofstWalkLeafPage()
262 printf("%s\n", zMsg); in ofstWalkLeafPage()
274 sqlite3_snprintf(sizeof(zMsg), zMsg, in ofstWalkLeafPage()
277 printf("%s\n", zMsg); in ofstWalkLeafPage()
H A Dshowdb.c256 const char *zMsg /* Message to append */ in print_decode_line() argument
273 printf("%s %s\n", zBuf, zMsg); in print_decode_line()
782 char *zMsg; in page_usage_msg() local
785 zMsg = sqlite3_vmprintf(zFormat, ap); in page_usage_msg()
789 pgno, g.mxPage, zMsg); in page_usage_msg()
790 sqlite3_free(zMsg); in page_usage_msg()
796 printf("ERROR: current: %s\n", zMsg); in page_usage_msg()
799 zPageUse[pgno] = zMsg; in page_usage_msg()
H A Dfuzzershell.c183 static void shellLog(void *pNotUsed, int iErrCode, const char *zMsg){ in shellLog() argument
184 printf("LOG: (%d) %s\n", iErrCode, zMsg); in shellLog()
187 static void shellLogNoop(void *pNotUsed, int iErrCode, const char *zMsg){ in shellLogNoop() argument
220 static void traceCallback(void *NotUsed, const char *zMsg){ in traceCallback() argument
221 printf("TRACE: %s\n", zMsg); in traceCallback()
224 static void traceNoop(void *NotUsed, const char *zMsg){ in traceNoop() argument
H A Dshowjournal.c50 const char *zMsg /* Message to append */ in print_decode_line() argument
67 printf("%s %s\n", zBuf, zMsg); in print_decode_line()
H A Dshowshm.c61 const char *zMsg /* Message to append */ in print_decode_line() argument
98 printf("%s %s\n", zBuf, zMsg); in print_decode_line()
H A Dshowwal.c179 const char *zMsg /* Message to append */ in print_decode_line() argument
200 printf("%s %s\n", zBuf, zMsg); in print_decode_line()
/sqlite-3.40.0/ext/misc/
H A Dsha1.c292 char *zMsg = sqlite3_mprintf("error SQL statement [%s]: %s", in sha1QueryFunc() local
295 sqlite3_result_error(context, zMsg, -1); in sha1QueryFunc()
296 sqlite3_free(zMsg); in sha1QueryFunc()
300 char *zMsg = sqlite3_mprintf("non-query: [%s]", sqlite3_sql(pStmt)); in sha1QueryFunc() local
302 sqlite3_result_error(context, zMsg, -1); in sha1QueryFunc()
303 sqlite3_free(zMsg); in sha1QueryFunc()
H A Dshathree.c612 char *zMsg = sqlite3_mprintf("error SQL statement [%s]: %s", in sha3QueryFunc() local
615 sqlite3_result_error(context, zMsg, -1); in sha3QueryFunc()
616 sqlite3_free(zMsg); in sha3QueryFunc()
620 char *zMsg = sqlite3_mprintf("non-query: [%s]", sqlite3_sql(pStmt)); in sha3QueryFunc() local
622 sqlite3_result_error(context, zMsg, -1); in sha3QueryFunc()
623 sqlite3_free(zMsg); in sha3QueryFunc()
H A Dfileio.c197 char *zMsg = 0; in ctxErrorMsg() local
200 zMsg = sqlite3_vmprintf(zFmt, ap); in ctxErrorMsg()
201 sqlite3_result_error(ctx, zMsg, -1); in ctxErrorMsg()
202 sqlite3_free(zMsg); in ctxErrorMsg()
/sqlite-3.40.0/ext/session/
H A Dtest_session.c236 const char *zMsg; in test_session_cmd() member
265 Tcl_WrongNumArgs(interp, 2, objv, aSub[iSub].zMsg); in test_session_cmd()
805 const char *zMsg; in testSqlite3changesetApply() local
807 zMsg = "?-nosavepoint? ?-inverse? " in testSqlite3changesetApply()
810 zMsg = "DB CHANGESET CONFLICT-SCRIPT ?FILTER-SCRIPT?"; in testSqlite3changesetApply()
812 Tcl_WrongNumArgs(interp, 1, objv, zMsg); in testSqlite3changesetApply()
1180 const char *zMsg; in test_rebaser_cmd() member
1202 Tcl_WrongNumArgs(interp, 2, objv, aSub[iSub].zMsg); in test_rebaser_cmd()
/sqlite-3.40.0/ext/expert/
H A Dtest_expert.c65 const char *zMsg; in testExpertCmd() member
87 Tcl_WrongNumArgs(interp, 2, objv, aSub[iSub].zMsg); in testExpertCmd()
/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-wasm.c313 int sqlite3_wasm_db_error(sqlite3*db, int err_code, const char *zMsg){ in sqlite3_wasm_db_error() argument
314 if( 0!=zMsg ){ in sqlite3_wasm_db_error()
315 const int nMsg = sqlite3Strlen30(zMsg); in sqlite3_wasm_db_error()
316 sqlite3ErrorWithMsg(db, err_code, "%.*s", nMsg, zMsg); in sqlite3_wasm_db_error()
/sqlite-3.40.0/ext/recover/
H A Dtest_recover.c87 const char *zMsg; in testRecoverCmd() member
110 Tcl_WrongNumArgs(interp, 2, objv, aSub[iSub].zMsg); in testRecoverCmd()

12