Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsqlite/src/
H A Dtable.c31 char **azResult; member
63 azNew = realloc( p->azResult, sizeof(char*)*p->nAlloc ); in sqlite_get_table_cb()
68 p->azResult = azNew; in sqlite_get_table_cb()
87 p->azResult[p->nData++] = z; in sqlite_get_table_cb()
111 p->azResult[p->nData++] = z; in sqlite_get_table_cb()
149 res.azResult = malloc( sizeof(char*)*res.nAlloc ); in sqlite_get_table()
150 if( res.azResult==0 ){ in sqlite_get_table()
153 res.azResult[0] = 0; in sqlite_get_table()
155 if( res.azResult ){ in sqlite_get_table()
156 res.azResult[0] = (char*)res.nData; in sqlite_get_table()
[all …]
H A Dsqlite.h.in312 ** If the 3rd argument were &azResult then after the function returns
313 ** azResult will contain the following data:
315 ** azResult[0] = "Name";
316 ** azResult[1] = "Age";
317 ** azResult[2] = "Alice";
318 ** azResult[3] = "43";
319 ** azResult[4] = "Bob";
320 ** azResult[5] = "28";
321 ** azResult[6] = "Cindy";
322 ** azResult[7] = "21";
[all …]
/titanic_41/usr/src/cmd/sqlite/
H A Dshell.c897 char **azResult; in do_meta_command() local
909 &azResult, &nRow, 0, &zErrMsg in do_meta_command()
919 &azResult, &nRow, 0, &zErrMsg, azArg[1], azArg[1] in do_meta_command()
931 if( azResult[i]==0 ) continue; in do_meta_command()
932 len = strlen(azResult[i]); in do_meta_command()
941 printf("%s%-*s", zSp, maxlen, azResult[j] ? azResult[j] : ""); in do_meta_command()
946 sqlite_free_table(azResult); in do_meta_command()