Lines Matching refs:azCol
2162 char **azCol, /* Column names */ argument
2178 int len = strlen30(azCol[i] ? azCol[i] : "");
2183 utf8_printf(p->out,"%*s = %s%s", w, azCol[i],
2196 utf8_width_print(p->out, w, azCol[i]);
2296 utf8_printf(p->out,"%s%s",azCol[i],
2318 output_html_string(p->out, azCol[i]);
2336 output_c_string(p->out,azCol[i] ? azCol[i] : "");
2353 output_csv(p, azCol[i] ? azCol[i] : "", i<nArg-1);
2373 if( quoteChar(azCol[i]) ){
2374 char *z = sqlite3_mprintf("\"%w\"", azCol[i]);
2379 raw_printf(p->out, "%s", azCol[i]);
2439 output_json_string(p->out, azCol[i], -1);
2477 output_quoted_string(p->out, azCol[i]);
2512 utf8_printf(p->out,"%s",azCol[i] ? azCol[i] : "");
2536 static int callback(void *pArg, int nArg, char **azArg, char **azCol){ argument
2538 return shell_callback(pArg, nArg, azArg, azCol, NULL);
4025 static void freeColumnList(char **azCol){ argument
4027 for(i=1; azCol[i]; i++){
4028 sqlite3_free(azCol[i]);
4030 /* azCol[0] is a static string */
4031 sqlite3_free(azCol);
4040 ** The azCol[0] entry is usually NULL. However, if zTab contains a rowid
4041 ** value that needs to be preserved, then azCol[0] is filled in with the
4044 ** The first regular column in the table is azCol[1]. The list is terminated
4045 ** by an entry with azCol[i]==0.
4048 char **azCol = 0; local
4066 azCol = sqlite3_realloc(azCol, nAlloc*sizeof(azCol[0]));
4067 shell_check_oom(azCol);
4069 azCol[++nCol] = sqlite3_mprintf("%s", sqlite3_column_text(pStmt, 1));
4070 shell_check_oom(azCol[nCol]);
4084 if( azCol==0 ) return 0;
4085 azCol[0] = 0;
4086 azCol[nCol+1] = 0;
4108 freeColumnList(azCol);
4122 if( sqlite3_stricmp(azRowid[j],azCol[i])==0 ) break;
4127 ** name for the rowid before adding it to azCol[0]. WITHOUT ROWID
4130 if( rc==SQLITE_OK ) azCol[0] = azRowid[j];
4135 return azCol;
4209 char **azCol; local
4214 azCol = tableColumnList(p, zTable);
4215 if( azCol==0 ){
4228 if( azCol[0] ){
4230 appendText(&sTable, azCol[0], 0);
4231 for(i=1; azCol[i]; i++){
4233 appendText(&sTable, azCol[i], quoteChar(azCol[i]));
4241 if( azCol[0] ){
4242 appendText(&sSelect, azCol[0], 0);
4245 for(i=1; azCol[i]; i++){
4246 appendText(&sSelect, azCol[i], quoteChar(azCol[i]));
4247 if( azCol[i+1] ){
4251 freeColumnList(azCol);