Lines Matching refs:interp
48 Tcl_Interp *interp, in testAsyncInit() argument
57 Tcl_WrongNumArgs(interp, 1, objv, "PARENT-VFS ISDEFAULT"); in testAsyncInit()
64 if( Tcl_GetBooleanFromObj(interp, objv[2], &isDefault) ){ in testAsyncInit()
70 Tcl_SetObjResult(interp, Tcl_NewStringObj(sqlite3ErrName(rc), -1)); in testAsyncInit()
81 Tcl_Interp *interp, in testAsyncShutdown() argument
105 Tcl_Interp *interp, in testAsyncStart() argument
119 Tcl_AppendResult(interp, "Tcl_CreateThread() failed", 0); in testAsyncStart()
137 Tcl_Interp *interp, in testAsyncWait() argument
143 Tcl_WrongNumArgs(interp, 1, objv, ""); in testAsyncWait()
149 Tcl_AppendResult(interp, "would block forever", (char*)0); in testAsyncWait()
163 Tcl_Interp *interp, in testAsyncControl() argument
175 Tcl_WrongNumArgs(interp, 1, objv, "OPTION ?VALUE?"); in testAsyncControl()
178 if( Tcl_GetIndexFromObj(interp, objv[1], azOpt, "option", 0, &eOpt) ){ in testAsyncControl()
189 if( Tcl_GetIndexFromObj(interp, objv[2], az, "value", 0, &iVal) ){ in testAsyncControl()
195 if( Tcl_GetIntFromObj(interp, objv[2], &iVal) ){ in testAsyncControl()
201 if( Tcl_GetBooleanFromObj(interp, objv[2], &iVal) ){ in testAsyncControl()
218 Tcl_SetObjResult(interp, Tcl_NewStringObj(sqlite3ErrName(rc), -1)); in testAsyncControl()
223 Tcl_SetObjResult(interp, Tcl_NewStringObj(az[iVal], -1)); in testAsyncControl()
225 Tcl_SetObjResult(interp, Tcl_NewIntObj(iVal)); in testAsyncControl()
238 int Sqlitetestasync_Init(Tcl_Interp *interp){ in Sqlitetestasync_Init() argument
240 Tcl_CreateObjCommand(interp,"sqlite3async_start",testAsyncStart,0,0); in Sqlitetestasync_Init()
241 Tcl_CreateObjCommand(interp,"sqlite3async_wait",testAsyncWait,0,0); in Sqlitetestasync_Init()
243 Tcl_CreateObjCommand(interp,"sqlite3async_control",testAsyncControl,0,0); in Sqlitetestasync_Init()
244 Tcl_CreateObjCommand(interp,"sqlite3async_initialize",testAsyncInit,0,0); in Sqlitetestasync_Init()
245 Tcl_CreateObjCommand(interp,"sqlite3async_shutdown",testAsyncShutdown,0,0); in Sqlitetestasync_Init()