Home
last modified time | relevance | path

Searched refs:nframe (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/
Dtest_tracemalloc.py22 def get_frames(nframe, lineno_delta): argument
25 for index in range(nframe):
36 nframe = tracemalloc.get_traceback_limit()
38 frames = get_frames(nframe, 1)
40 return data, tracemalloc.Traceback(frames, min(len(frames), nframe))
146 nframe = tracemalloc.get_traceback_limit()
147 frames = get_frames(nframe, -3)
148 obj_traceback = tracemalloc.Traceback(frames, min(len(frames), nframe))
923 def check_env_var_invalid(self, nframe): argument
927 PYTHONTRACEMALLOC=str(nframe))
[all …]
/third_party/python/Modules/clinic/
D_tracemalloc.c.h90 _tracemalloc_start_impl(PyObject *module, int nframe);
96 int nframe = 1; in _tracemalloc_start() local
104 nframe = _PyLong_AsInt(args[0]); in _tracemalloc_start()
105 if (nframe == -1 && PyErr_Occurred()) { in _tracemalloc_start()
109 return_value = _tracemalloc_start_impl(module, nframe); in _tracemalloc_start()
/third_party/python/Modules/
D_tracemalloc.c75 uint16_t nframe; member
278 if (traceback1->nframe != traceback2->nframe) { in hashtable_compare_traceback()
285 for (int i=0; i < traceback1->nframe; i++) { in hashtable_compare_traceback()
366 int len = traceback->nframe; in traceback_hash()
400 if (traceback->nframe < _Py_tracemalloc_config.max_nframe) { in traceback_get_frames()
401 tracemalloc_get_frame(pyframe, &traceback->frames[traceback->nframe]); in traceback_get_frames()
402 assert(traceback->frames[traceback->nframe].filename != NULL); in traceback_get_frames()
403 traceback->nframe++; in traceback_get_frames()
426 traceback->nframe = 0; in traceback_new()
429 if (traceback->nframe == 0) in traceback_new()
[all …]
/third_party/python/Lib/
Dsndhdr.py121 nframe = data_size / frame_size
123 nframe = -1
124 return filetype, rate, nchannels, nframe, sample_bits
/third_party/python/Python/
Dinitconfig.c1720 int nframe; in config_init_tracemalloc() local
1725 if (!_Py_str_to_int(env, &nframe)) { in config_init_tracemalloc()
1726 valid = (nframe >= 0); in config_init_tracemalloc()
1734 config->tracemalloc = nframe; in config_init_tracemalloc()
1741 if (!config_wstr_to_int(sep + 1, &nframe)) { in config_init_tracemalloc()
1742 valid = (nframe >= 0); in config_init_tracemalloc()
1754 nframe = 1; in config_init_tracemalloc()
1756 config->tracemalloc = nframe; in config_init_tracemalloc()
/third_party/python/Doc/library/
Dtracemalloc.rst366 .. function:: start(nframe: int=1)
369 allocators. Collected tracebacks of traces will be limited to *nframe*
371 frame: the limit is ``1``. *nframe* must be greater or equal to ``1``.
414 the *nframe* parameter of the :func:`start` function to store more frames.
/third_party/gettext/gettext-tools/tests/
Dmsguniq-a.inp155 !\nframe\ binding\ variables\ (~\ \=\ dynamically)\:=
161 !\nframe\ binding\ variables\ =
164 !\nframe\ binding\ functions\ =
206 !\nframe\ binding\ environments=