Home
last modified time | relevance | path

Searched refs:nSql (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/public-domain/sqlite/dist/tea/generic/
H A Dtclsqlite3.c160 int nSql; /* chars in zSql[] */ member
1349 int nSql; /* Length of zSql in bytes */ in dbPrepareAndBind() local
1362 nSql = strlen30(zSql); in dbPrepareAndBind()
1365 int n = pPreStmt->nSql; in dbPrepareAndBind()
1366 if( nSql>=n in dbPrepareAndBind()
1371 *pzOut = &zSql[pPreStmt->nSql]; in dbPrepareAndBind()
1422 pPreStmt->nSql = (int)(*pzOut - zSql); in dbPrepareAndBind()
1427 char *zCopy = Tcl_Alloc(pPreStmt->nSql + 1); in dbPrepareAndBind()
1428 memcpy(zCopy, zSql, pPreStmt->nSql); in dbPrepareAndBind()
1429 zCopy[pPreStmt->nSql] = '\0'; in dbPrepareAndBind()
[all …]
/netbsd-src/external/public-domain/sqlite/dist/
H A Dshell.c22542 i64 nSql; in sql_trace_callback() local
22570 nSql = strlen(zSql); in sql_trace_callback()
22571 if( nSql>1000000000 ) nSql = 1000000000; in sql_trace_callback()
22572 while( nSql>0 && zSql[nSql-1]==';' ){ nSql--; } in sql_trace_callback()
22576 sputf(p->traceOut, "%.*s;\n", (int)nSql, zSql); in sql_trace_callback()
22581 sputf(p->traceOut, "%.*s; -- %lld ns\n", (int)nSql, zSql, nNanosec); in sql_trace_callback()
28259 static int line_is_complete(char *zSql, int nSql){ in line_is_complete() argument
28262 zSql[nSql] = ';'; in line_is_complete()
28263 zSql[nSql+1] = 0; in line_is_complete()
28265 zSql[nSql] = 0; in line_is_complete()
[all …]
H A Dsqlite3.c116575 int nSql = sqlite3Strlen30(zSql);
116578 assert( pToken->t.z>=zSql && &pToken->t.z[pToken->t.n]<=&zSql[nSql] );
116604 i64 nSql = sqlite3Strlen30(zSql);
116627 zOut = sqlite3DbMallocZero(db, nSql + pRename->nList*nQuot + 1);
116629 zOut = (char*)sqlite3DbMallocZero(db, (nSql*2+1) * 3);
116631 zBuf1 = &zOut[nSql*2+1];
116632 zBuf2 = &zOut[nSql*4+2];
116641 int nOut = nSql;
116642 memcpy(zOut, zSql, nSql);
116668 sqlite3_snprintf(nSql*2, zBuf2, "%Q%s", zBuf1,
[all …]