Lines Matching refs:nframe
101 int nframe; member
328 if (traceback1->nframe != traceback2->nframe) in hashtable_compare_traceback()
331 for (i=0; i < traceback1->nframe; i++) { in hashtable_compare_traceback()
424 int len = traceback->nframe; in traceback_hash()
459 tracemalloc_get_frame(pyframe, &traceback->frames[traceback->nframe]); in traceback_get_frames()
460 assert(traceback->frames[traceback->nframe].filename != NULL); in traceback_get_frames()
461 traceback->nframe++; in traceback_get_frames()
462 if (traceback->nframe == tracemalloc_config.max_nframe) in traceback_get_frames()
478 traceback->nframe = 0; in traceback_new()
480 if (traceback->nframe == 0) in traceback_new()
493 traceback_size = TRACEBACK_SIZE(traceback->nframe); in traceback_new()
1023 tracemalloc_empty_traceback.nframe = 1; in tracemalloc_init()
1224 frames = PyTuple_New(traceback->nframe); in traceback_to_pyobject()
1228 for (i=0; i < traceback->nframe; i++) { in traceback_to_pyobject()
1504 for (i=0; i < traceback->nframe; i++) { in _PyMem_DumpTraceback()
1527 _tracemalloc_start_impl(PyObject *module, int nframe) in _tracemalloc_start_impl() argument
1530 if (tracemalloc_start(nframe) < 0) { in _tracemalloc_start_impl()
1666 _PyTraceMalloc_Init(int nframe) in _PyTraceMalloc_Init() argument
1669 if (nframe == 0) { in _PyTraceMalloc_Init()
1672 return tracemalloc_start(nframe); in _PyTraceMalloc_Init()