Searched refs:nSql (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/sqlite3/tea/generic/ |
| H A D | tclsqlite3.c | 184 int nSql; /* chars in zSql[] */ member 1406 int nSql; /* Length of zSql in bytes */ in dbPrepareAndBind() local 1419 nSql = strlen30(zSql); in dbPrepareAndBind() 1422 int n = pPreStmt->nSql; in dbPrepareAndBind() 1423 if( nSql>=n in dbPrepareAndBind() 1428 *pzOut = &zSql[pPreStmt->nSql]; in dbPrepareAndBind() 1479 pPreStmt->nSql = (int)(*pzOut - zSql); in dbPrepareAndBind() 1484 char *zCopy = Tcl_Alloc(pPreStmt->nSql + 1); in dbPrepareAndBind() 1485 memcpy(zCopy, zSql, pPreStmt->nSql); in dbPrepareAndBind() 1486 zCopy[pPreStmt->nSql] = '\0'; in dbPrepareAndBind() [all …]
|
| /freebsd/contrib/sqlite3/ |
| H A D | shell.c | 25718 int nSql; /* Bytes of text in zSql[] */ in shellFormatSchema() local 25731 nSql = sqlite3_value_bytes(apVal[0]); in shellFormatSchema() 25736 sqlite3_str_append(pOut, zSql, nSql); in shellFormatSchema() 25743 sqlite3_str_append(pOut, zSql, nSql); in shellFormatSchema() 28419 i64 nSql; in sql_trace_callback() local 28447 nSql = strlen(zSql); in sql_trace_callback() 28448 if( nSql>1000000000 ) nSql = 1000000000; in sql_trace_callback() 28449 while( nSql>0 && zSql[nSql-1]==';' ){ nSql--; } in sql_trace_callback() 28453 cli_printf(p->traceOut, "%.*s;\n", (int)nSql, zSql); in sql_trace_callback() 28459 "%.*s; -- %lld ns\n", (int)nSql, zSql, nNanosec); in sql_trace_callback() [all …]
|
| H A D | sqlite3.c | 121744 int nSql = sqlite3Strlen30(zSql); local 121747 assert( pToken->t.z>=zSql && &pToken->t.z[pToken->t.n]<=&zSql[nSql] ); 121773 i64 nSql = sqlite3Strlen30(zSql); local 121795 assert( nQuot>=nNew && nSql>=0 && nNew>=0 ); 121796 zOut = sqlite3DbMallocZero(db, (u64)nSql + pRename->nList*(u64)nQuot + 1); 121798 assert( nSql>0 ); 121799 zOut = (char*)sqlite3DbMallocZero(db, (2*(u64)nSql + 1) * 3); 121801 zBuf1 = &zOut[nSql*2+1]; 121802 zBuf2 = &zOut[nSql*4+2]; 121811 i64 nOut = nSql; [all …]
|