Lines Matching refs:pCtx
47 TestWindowCtx *pCtx = sqlite3_aggregate_context(ctx, sizeof(TestWindowCtx)); in doTestWindowStep() local
50 if( pCtx ){ in doTestWindowStep()
53 if( pCtx->pVal ){ in doTestWindowStep()
54 Tcl_ListObjAppendElement(p->interp, pEval, Tcl_DuplicateObj(pCtx->pVal)); in doTestWindowStep()
68 if( pCtx->pVal ) Tcl_DecrRefCount(pCtx->pVal); in doTestWindowStep()
69 pCtx->pVal = Tcl_DuplicateObj(Tcl_GetObjResult(p->interp)); in doTestWindowStep()
70 Tcl_IncrRefCount(pCtx->pVal); in doTestWindowStep()
79 TestWindowCtx *pCtx = sqlite3_aggregate_context(ctx, sizeof(TestWindowCtx)); in doTestWindowFinalize() local
82 if( pCtx ){ in doTestWindowFinalize()
85 if( pCtx->pVal ){ in doTestWindowFinalize()
86 Tcl_ListObjAppendElement(p->interp, pEval, Tcl_DuplicateObj(pCtx->pVal)); in doTestWindowFinalize()
100 if( pCtx->pVal ) Tcl_DecrRefCount(pCtx->pVal); in doTestWindowFinalize()
101 pCtx->pVal = 0; in doTestWindowFinalize()
129 static void testWindowDestroy(void *pCtx){ in testWindowDestroy() argument
130 ckfree(pCtx); in testWindowDestroy()