Lines Matching refs:pContext
345 ProfilerContext *pContext;
363 pContext = pObj->freelistProfilerContext;
364 if (pContext) {
365 pObj->freelistProfilerContext = pContext->previous;
369 pContext = (ProfilerContext*)
371 if (pContext == NULL) {
376 initContext(pObj, pContext, profEntry);
388 ProfilerContext *pContext;
390 pContext = pObj->currentProfilerContext;
391 if (pContext == NULL)
395 Stop(pObj, pContext, profEntry);
398 pObj->currentProfilerContext = pContext->previous;
400 /* put pContext into the free list */
401 pContext->previous = pObj->freelistProfilerContext;
402 pObj->freelistProfilerContext = pContext;
693 ProfilerContext *pContext = pObj->currentProfilerContext;
694 ProfilerEntry *profEntry= pContext->ctxEntry;
696 Stop(pObj, pContext, profEntry);
698 pObj->currentProfilerContext = pContext->previous;
699 if (pContext)
700 PyMem_Free(pContext);