Home
last modified time | relevance | path

Searched refs:pdata_stack (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/third_party/coverage/coverage/ctracer/
Ddatastack.c10 DataStack_init(Stats *pstats, DataStack *pdata_stack) in DataStack_init() argument
12 pdata_stack->depth = -1; in DataStack_init()
13 pdata_stack->stack = NULL; in DataStack_init()
14 pdata_stack->alloc = 0; in DataStack_init()
19 DataStack_dealloc(Stats *pstats, DataStack *pdata_stack) in DataStack_dealloc() argument
21 PyMem_Free(pdata_stack->stack); in DataStack_dealloc()
25 DataStack_grow(Stats *pstats, DataStack *pdata_stack) in DataStack_grow() argument
27 pdata_stack->depth++; in DataStack_grow()
28 if (pdata_stack->depth >= pdata_stack->alloc) { in DataStack_grow()
30 int bigger = pdata_stack->alloc + STACK_DELTA; in DataStack_grow()
[all …]
Dtracer.c72 self->pdata_stack = &self->data_stack; in CTracer_init()
256 self->pdata_stack = &self->data_stacks[the_index]; in CTracer_set_pdata_stack()
259 self->pdata_stack = &self->data_stack; in CTracer_set_pdata_stack()
297 if (self->pdata_stack->depth >= 0) { in CTracer_check_missing_return()
303 … SHOWLOG(self->pdata_stack->depth, frame->f_lineno, frame->f_code->co_filename, "missedreturn"); in CTracer_check_missing_return()
304 self->cur_entry = self->pdata_stack->stack[self->pdata_stack->depth]; in CTracer_check_missing_return()
305 self->pdata_stack->depth--; in CTracer_check_missing_return()
345 if (DataStack_grow(&self->stats, self->pdata_stack) < 0) { in CTracer_handle_call()
350 self->pdata_stack->stack[self->pdata_stack->depth] = self->cur_entry; in CTracer_handle_call()
497 SHOWLOG(self->pdata_stack->depth, frame->f_lineno, filename, "traced"); in CTracer_handle_call()
[all …]
Ddatastack.h41 int DataStack_init(Stats * pstats, DataStack *pdata_stack);
42 void DataStack_dealloc(Stats * pstats, DataStack *pdata_stack);
43 int DataStack_grow(Stats * pstats, DataStack *pdata_stack);
Dtracer.h52 DataStack * pdata_stack; member