Lines Matching refs:pContext
339 ProfilerContext *pContext; in ptrace_enter_call() local
357 pContext = pObj->freelistProfilerContext; in ptrace_enter_call()
358 if (pContext) { in ptrace_enter_call()
359 pObj->freelistProfilerContext = pContext->previous; in ptrace_enter_call()
363 pContext = (ProfilerContext*) in ptrace_enter_call()
365 if (pContext == NULL) { in ptrace_enter_call()
370 initContext(pObj, pContext, profEntry); in ptrace_enter_call()
382 ProfilerContext *pContext; in ptrace_leave_call() local
384 pContext = pObj->currentProfilerContext; in ptrace_leave_call()
385 if (pContext == NULL) in ptrace_leave_call()
389 Stop(pObj, pContext, profEntry); in ptrace_leave_call()
392 pObj->currentProfilerContext = pContext->previous; in ptrace_leave_call()
395 pContext->previous = pObj->freelistProfilerContext; in ptrace_leave_call()
396 pObj->freelistProfilerContext = pContext; in ptrace_leave_call()
687 ProfilerContext *pContext = pObj->currentProfilerContext; in flush_unmatched() local
688 ProfilerEntry *profEntry= pContext->ctxEntry; in flush_unmatched()
690 Stop(pObj, pContext, profEntry); in flush_unmatched()
692 pObj->currentProfilerContext = pContext->previous; in flush_unmatched()
693 if (pContext) in flush_unmatched()
694 PyMem_Free(pContext); in flush_unmatched()