Lines Matching refs:pGraph
944 qrfEQPGraph *pGraph; /* EQP graph (Eqp, Stats, and StatsEst) */ member
1045 if( p->u.pGraph==0 ){ in qrfEqpAppend()
1046 p->u.pGraph = sqlite3_malloc64( sizeof(qrfEQPGraph) ); in qrfEqpAppend()
1047 if( p->u.pGraph==0 ){ in qrfEqpAppend()
1051 memset(p->u.pGraph, 0, sizeof(qrfEQPGraph) ); in qrfEqpAppend()
1063 if( p->u.pGraph->pLast ){ in qrfEqpAppend()
1064 p->u.pGraph->pLast->pNext = pNew; in qrfEqpAppend()
1066 p->u.pGraph->pRow = pNew; in qrfEqpAppend()
1068 p->u.pGraph->pLast = pNew; in qrfEqpAppend()
1077 if( p->u.pGraph ){ in qrfEqpReset()
1078 for(pRow = p->u.pGraph->pRow; pRow; pRow = pNext){ in qrfEqpReset()
1082 sqlite3_free(p->u.pGraph); in qrfEqpReset()
1083 p->u.pGraph = 0; in qrfEqpReset()
1091 qrfEQPGraphRow *pRow = pOld ? pOld->pNext : p->u.pGraph->pRow; in qrfEqpNextRow()
1101 i64 n = strlen(p->u.pGraph->zPrefix); in qrfEqpRenderLevel()
1106 sqlite3_str_appendf(p->pOut, "%s%s%s\n", p->u.pGraph->zPrefix, in qrfEqpRenderLevel()
1108 if( n<(i64)sizeof(p->u.pGraph->zPrefix)-7 ){ in qrfEqpRenderLevel()
1109 memcpy(&p->u.pGraph->zPrefix[n], pNext ? "| " : " ", 4); in qrfEqpRenderLevel()
1111 p->u.pGraph->zPrefix[n] = 0; in qrfEqpRenderLevel()
1160 if( p->u.pGraph!=0 && (pRow = p->u.pGraph->pRow)!=0 ){ in qrfEqpRender()
1167 p->u.pGraph->pRow = pRow->pNext; in qrfEqpRender()
1170 int nSp = p->u.pGraph->nWidth - 2; in qrfEqpRender()
1193 p->u.pGraph->zPrefix[0] = 0; in qrfEqpRender()
1327 if( p->u.pGraph ) p->u.pGraph->nWidth = nWidth; in qrfEqpStats()