Home
last modified time | relevance | path

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

/external/chromium_org/third_party/sqlite/src/tool/
Dspeedtest16.c102 int nSql; in main() local
119 nSql = ftell(in); in main()
120 zSql = malloc( nSql+1 ); in main()
122 nSql = fread(zSql, 1, nSql, in); in main()
123 zSql[nSql] = 0; in main()
134 for(i=j=0; j<nSql; j++){ in main()
Dspeedtest8.c96 int nSql; in main() local
188 nSql = ftell(in); in main()
189 zSql = malloc( nSql+1 ); in main()
191 nSql = fread(zSql, 1, nSql, in); in main()
192 zSql[nSql] = 0; in main()
204 for(i=j=0; j<nSql; j++){ in main()
Dspeedtest8inst1.c148 int nSql; in main() local
175 zSql = readScriptFile(zScript, &nSql); in main()
191 for(i=j=0; j<nSql; j++){ in main()
/external/chromium_org/third_party/sqlite/src/src/
Dshell.c2377 static int _is_complete(char *zSql, int nSql){ in _is_complete() argument
2380 zSql[nSql] = ';'; in _is_complete()
2381 zSql[nSql+1] = 0; in _is_complete()
2383 zSql[nSql] = 0; in _is_complete()
2399 int nSql = 0; in process_input() local
2420 if( zLine && zLine[0]=='.' && nSql==0 ){ in process_input()
2430 if( _is_command_terminator(zLine) && _is_complete(zSql, nSql) ){ in process_input()
2433 nSqlPrior = nSql; in process_input()
2438 nSql = strlen30(zLine); in process_input()
2439 zSql = malloc( nSql+3 ); in process_input()
[all …]
Dtest_thread.c511 int nSql, /* Length of zSql in bytes. */ in sqlite3_blocking_prepare_v2() argument
516 while( SQLITE_LOCKED==(rc = sqlite3_prepare_v2(db, zSql, nSql, ppStmt, pz)) ){ in sqlite3_blocking_prepare_v2()
Dtclsqlite.c99 int nSql; /* chars in zSql[] */ member
1057 int nSql; /* Length of zSql in bytes */ in dbPrepareAndBind() local
1067 nSql = strlen30(zSql); in dbPrepareAndBind()
1070 int n = pPreStmt->nSql; in dbPrepareAndBind()
1071 if( nSql>=n in dbPrepareAndBind()
1076 *pzOut = &zSql[pPreStmt->nSql]; in dbPrepareAndBind()
1127 pPreStmt->nSql = (*pzOut - zSql); in dbPrepareAndBind()
1132 assert( strlen30(pPreStmt->zSql)==pPreStmt->nSql ); in dbPrepareAndBind()
1133 assert( 0==memcmp(pPreStmt->zSql, zSql, pPreStmt->nSql) ); in dbPrepareAndBind()
/external/sqlite/dist/
Dshell.c2493 static int _is_complete(char *zSql, int nSql){ in _is_complete() argument
2496 zSql[nSql] = ';'; in _is_complete()
2497 zSql[nSql+1] = 0; in _is_complete()
2499 zSql[nSql] = 0; in _is_complete()
2515 int nSql = 0; in process_input() local
2536 if( zLine && zLine[0]=='.' && nSql==0 ){ in process_input()
2546 if( _is_command_terminator(zLine) && _is_complete(zSql, nSql) ){ in process_input()
2549 nSqlPrior = nSql; in process_input()
2554 nSql = strlen30(zLine); in process_input()
2555 zSql = malloc( nSql+3 ); in process_input()
[all …]
/external/sqlite/dist/orig/
Dshell.c2474 static int _is_complete(char *zSql, int nSql){ in _is_complete() argument
2477 zSql[nSql] = ';'; in _is_complete()
2478 zSql[nSql+1] = 0; in _is_complete()
2480 zSql[nSql] = 0; in _is_complete()
2496 int nSql = 0; in process_input() local
2517 if( zLine && zLine[0]=='.' && nSql==0 ){ in process_input()
2527 if( _is_command_terminator(zLine) && _is_complete(zSql, nSql) ){ in process_input()
2530 nSqlPrior = nSql; in process_input()
2535 nSql = strlen30(zLine); in process_input()
2536 zSql = malloc( nSql+3 ); in process_input()
[all …]