Searched refs:nframe (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_tracemalloc.py | 21 def get_frames(nframe, lineno_delta): argument 24 for index in range(nframe): 35 nframe = tracemalloc.get_traceback_limit() 37 frames = get_frames(nframe, 1) 126 nframe = tracemalloc.get_traceback_limit() 127 frames = get_frames(nframe, -3) 878 def check_env_var_invalid(self, nframe): argument 882 PYTHONTRACEMALLOC=str(nframe)) 892 for nframe in INVALID_NFRAME: 893 with self.subTest(nframe=nframe): [all …]
|
/external/python/cpython3/Modules/clinic/ |
D | _tracemalloc.c.h | 90 _tracemalloc_start_impl(PyObject *module, int nframe); 96 int nframe = 1; in _tracemalloc_start() local 109 nframe = _PyLong_AsInt(args[0]); in _tracemalloc_start() 110 if (nframe == -1 && PyErr_Occurred()) { in _tracemalloc_start() 114 return_value = _tracemalloc_start_impl(module, nframe); in _tracemalloc_start()
|
/external/python/cpython3/Modules/ |
D | _tracemalloc.c | 81 int nframe; member 308 if (traceback1->nframe != traceback2->nframe) in hashtable_compare_traceback() 311 for (i=0; i < traceback1->nframe; i++) { in hashtable_compare_traceback() 404 int len = traceback->nframe; in traceback_hash() 439 tracemalloc_get_frame(pyframe, &traceback->frames[traceback->nframe]); in traceback_get_frames() 440 assert(traceback->frames[traceback->nframe].filename != NULL); in traceback_get_frames() 441 traceback->nframe++; in traceback_get_frames() 442 if (traceback->nframe == _Py_tracemalloc_config.max_nframe) in traceback_get_frames() 458 traceback->nframe = 0; in traceback_new() 460 if (traceback->nframe == 0) in traceback_new() [all …]
|
/external/python/cpython3/Lib/ |
D | sndhdr.py | 121 nframe = data_size / frame_size 123 nframe = -1 124 return filetype, rate, nchannels, nframe, sample_bits
|
/external/python/cpython3/Python/ |
D | initconfig.c | 1307 int nframe; in config_init_tracemalloc() local 1312 if (!_Py_str_to_int(env, &nframe)) { in config_init_tracemalloc() 1313 valid = (nframe >= 0); in config_init_tracemalloc() 1321 config->tracemalloc = nframe; in config_init_tracemalloc() 1328 if (!config_wstr_to_int(sep + 1, &nframe)) { in config_init_tracemalloc() 1329 valid = (nframe >= 0); in config_init_tracemalloc() 1341 nframe = 1; in config_init_tracemalloc() 1343 config->tracemalloc = nframe; in config_init_tracemalloc()
|
/external/python/cpython3/Doc/library/ |
D | tracemalloc.rst | 309 .. function:: start(nframe: int=1) 312 allocators. Collected tracebacks of traces will be limited to *nframe* 314 frame: the limit is ``1``. *nframe* must be greater or equal to ``1``. 354 the *nframe* parameter of the :func:`start` function to store more frames.
|
/external/one-true-awk/ |
D | run.c | 224 int nframe = 0; /* number of frames allocated */ variable 242 frp = frame = calloc(nframe += 100, sizeof(*frame)); in call() 274 if (frp >= frame + nframe) { in call() 276 frame = realloc(frame, (nframe += 100) * sizeof(*frame)); in call()
|