Home
last modified time | relevance | path

Searched refs:nScript (Results 1 – 5 of 5) sorted by relevance

/sqlite-3.40.0/src/
H A Dtest2.c638 int nScript; in faultInstallCmd() local
645 nScript = (int)strlen(zScript); in faultInstallCmd()
650 if( nScript==0 ){ in faultInstallCmd()
653 faultSimScript = malloc( nScript+100 ); in faultInstallCmd()
658 memcpy(faultSimScript, zScript, nScript); in faultInstallCmd()
659 faultSimScript[nScript] = ' '; in faultInstallCmd()
660 faultSimScriptSize = nScript+1; in faultInstallCmd()
H A Dtest_thread.c185 int nScript; char *zScript; in sqlthread_spawn() local
196 zScript = Tcl_GetStringFromObj(objv[3], &nScript); in sqlthread_spawn()
198 pNew = (SqlThread *)ckalloc(sizeof(SqlThread)+nVarname+nScript+2); in sqlthread_spawn()
202 memcpy(pNew->zScript, zScript, nScript+1); in sqlthread_spawn()
H A Dtest_quota.c1423 int nScript; /* Length of callback script */ in test_quota_set() local
1435 Tcl_GetStringFromObj(pScript, &nScript); in test_quota_set()
1437 if( nScript>0 ){ in test_quota_set()
H A Dtclsqlite.c2258 int nScript; in DbObjCmd() local
2264 zScript = Tcl_GetStringFromObj(objv[3], &nScript); in DbObjCmd()
2265 pCollate = (SqlCollate*)Tcl_Alloc( sizeof(*pCollate) + nScript + 1 ); in DbObjCmd()
2271 memcpy(pCollate->zScript, zScript, nScript+1); in DbObjCmd()
H A Dtest1.c8489 size_t nScript = strlen(zScript); in test_autovacuum_pages() local
8490 pData = sqlite3_malloc64( sizeof(*pData) + nScript + 1 ); in test_autovacuum_pages()
8497 memcpy(pData->zScript, zScript, nScript+1); in test_autovacuum_pages()