• Home
  • Raw
  • Download

Lines Matching refs:get_traces

1296     get_traces_t *get_traces = user_data;  in tracemalloc_get_traces_fill()  local
1312 tracemalloc_obj = trace_to_pyobject(domain, &trace, get_traces->tracebacks); in tracemalloc_get_traces_fill()
1316 res = PyList_Append(get_traces->list, tracemalloc_obj); in tracemalloc_get_traces_fill()
1353 get_traces_t get_traces; in _tracemalloc__get_traces_impl() local
1356 get_traces.traces = NULL; in _tracemalloc__get_traces_impl()
1357 get_traces.tracebacks = NULL; in _tracemalloc__get_traces_impl()
1358 get_traces.list = PyList_New(0); in _tracemalloc__get_traces_impl()
1359 if (get_traces.list == NULL) in _tracemalloc__get_traces_impl()
1363 return get_traces.list; in _tracemalloc__get_traces_impl()
1367 get_traces.tracebacks = hashtable_new(sizeof(traceback_t *), in _tracemalloc__get_traces_impl()
1371 if (get_traces.tracebacks == NULL) { in _tracemalloc__get_traces_impl()
1377 get_traces.traces = _Py_hashtable_copy(tracemalloc_traces); in _tracemalloc__get_traces_impl()
1380 if (get_traces.traces == NULL) { in _tracemalloc__get_traces_impl()
1386 err = _Py_hashtable_foreach(get_traces.traces, in _tracemalloc__get_traces_impl()
1387 tracemalloc_get_traces_fill, &get_traces); in _tracemalloc__get_traces_impl()
1395 Py_CLEAR(get_traces.list); in _tracemalloc__get_traces_impl()
1398 if (get_traces.tracebacks != NULL) { in _tracemalloc__get_traces_impl()
1399 _Py_hashtable_foreach(get_traces.tracebacks, in _tracemalloc__get_traces_impl()
1401 _Py_hashtable_destroy(get_traces.tracebacks); in _tracemalloc__get_traces_impl()
1403 if (get_traces.traces != NULL) { in _tracemalloc__get_traces_impl()
1404 _Py_hashtable_destroy(get_traces.traces); in _tracemalloc__get_traces_impl()
1407 return get_traces.list; in _tracemalloc__get_traces_impl()