Lines Matching full:parg
470 static void shellLog(void *pArg, int iErrCode, const char *zMsg){
471 struct callback_data *p = (struct callback_data*)pArg;
655 static int shell_callback(void *pArg, int nArg, char **azArg, char **azCol, int *aiType){
657 struct callback_data *p = (struct callback_data*)pArg;
836 static int callback(void *pArg, int nArg, char **azArg, char **azCol){
838 return shell_callback(pArg, nArg, azArg, azCol, NULL);
975 struct callback_data *pArg, /* Pointer to struct callback_data */
981 if( pArg && pArg->out ){
985 fprintf(pArg->out, "Memory Used: %d (max %d) bytes\n", iCur, iHiwtr);
988 fprintf(pArg->out, "Number of Allocations: %d (max %d)\n", iCur, iHiwtr);
993 ** fprintf(pArg->out, "Number of Pcache Pages Used: %d (max %d) pages\n", iCur, iHiwtr);
997 fprintf(pArg->out, "Number of Pcache Overflow Bytes: %d (max %d) bytes\n", iCur, iHiwtr);
1002 ** fprintf(pArg->out, "Number of Scratch Allocations Used: %d (max %d)\n", iCur, iHiwtr);
1006 fprintf(pArg->out, "Number of Scratch Overflow Bytes: %d (max %d) bytes\n", iCur, iHiwtr);
1009 fprintf(pArg->out, "Largest Allocation: %d bytes\n", iHiwtr);
1012 fprintf(pArg->out, "Largest Pcache Allocation: %d bytes\n", iHiwtr);
1015 fprintf(pArg->out, "Largest Scratch Allocation: %d bytes\n", iHiwtr);
1019 fprintf(pArg->out, "Deepest Parser Stack: %d (max %d)\n", iCur, iHiwtr);
1023 if( pArg && pArg->out && db ){
1026 fprintf(pArg->out, "Lookaside Slots Used: %d (max %d)\n", iCur, iHiwtr);
1029 fprintf(pArg->out, "Pager Heap Usage: %d bytes\n", iCur);
1032 fprintf(pArg->out, "Schema Heap Usage: %d bytes\n", iCur);
1035 fprintf(pArg->out, "Statement Heap/Lookaside Usage: %d bytes\n", iCur);
1038 if( pArg && pArg->out && db && pArg->pStmt ){
1039 iCur = sqlite3_stmt_status(pArg->pStmt, SQLITE_STMTSTATUS_FULLSCAN_STEP, bReset);
1040 fprintf(pArg->out, "Fullscan Steps: %d\n", iCur);
1041 iCur = sqlite3_stmt_status(pArg->pStmt, SQLITE_STMTSTATUS_SORT, bReset);
1042 fprintf(pArg->out, "Sort Operations: %d\n", iCur);
1043 iCur = sqlite3_stmt_status(pArg->pStmt, SQLITE_STMTSTATUS_AUTOINDEX, bReset);
1044 fprintf(pArg->out, "Autoindex Inserts: %d\n", iCur);
1064 struct callback_data *pArg, /* Pointer to struct callback_data */
1090 if( pArg ){
1091 pArg->pStmt = pStmt;
1092 pArg->cnt = 0;
1096 if( pArg && pArg->echoOn ){
1098 fprintf(pArg->out, "%s\n", zStmtSql ? zStmtSql : zSql);
1138 if( xCallback(pArg, nCol, azVals, azCols, aiTypes) ){
1155 if( pArg && pArg->statsOn ){
1156 display_stats(db, pArg, 0);
1171 if( pArg ){
1172 pArg->pStmt = NULL;
1187 static int dump_callback(void *pArg, int nArg, char **azArg, char **azCol){
1193 struct callback_data *p = (struct callback_data *)pArg;