Home
last modified time | relevance | path

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

/external/sqlite/dist/orig/
Dshell.c14595 static int line_is_complete(char *zSql, int nSql){ in line_is_complete() argument
14598 zSql[nSql] = ';'; in line_is_complete()
14599 zSql[nSql+1] = 0; in line_is_complete()
14601 zSql[nSql] = 0; in line_is_complete()
14654 int nSql = 0; /* Bytes of zSql[] used */ in process_input() local
14664 zLine = one_input_line(in, zLine, nSql>0); in process_input()
14675 if( nSql==0 && _all_whitespace(zLine) ){ in process_input()
14679 if( zLine && zLine[0]=='.' && nSql==0 ){ in process_input()
14689 if( line_is_command_terminator(zLine) && line_is_complete(zSql, nSql) ){ in process_input()
14693 if( nSql+nLine+2>=nAlloc ){ in process_input()
[all …]
Dsqlite3.c180946 int nSql = -1;
180973 nSql = buf.nBuf;
180977 rc = sqlite3_prepare_v2(db, zSql, nSql, ppStmt, 0);
/external/sqlite/dist/
Dshell.c14618 static int line_is_complete(char *zSql, int nSql){ in line_is_complete() argument
14621 zSql[nSql] = ';'; in line_is_complete()
14622 zSql[nSql+1] = 0; in line_is_complete()
14624 zSql[nSql] = 0; in line_is_complete()
14677 int nSql = 0; /* Bytes of zSql[] used */ in process_input() local
14687 zLine = one_input_line(in, zLine, nSql>0); in process_input()
14698 if( nSql==0 && _all_whitespace(zLine) ){ in process_input()
14702 if( zLine && zLine[0]=='.' && nSql==0 ){ in process_input()
14712 if( line_is_command_terminator(zLine) && line_is_complete(zSql, nSql) ){ in process_input()
14716 if( nSql+nLine+2>=nAlloc ){ in process_input()
[all …]
Dsqlite3.c180974 int nSql = -1;
181001 nSql = buf.nBuf;
181005 rc = sqlite3_prepare_v2(db, zSql, nSql, ppStmt, 0);