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) 39 return data, tracemalloc.Traceback(frames, min(len(frames), nframe)) 126 nframe = tracemalloc.get_traceback_limit() 127 frames = get_frames(nframe, -3) 128 obj_traceback = tracemalloc.Traceback(frames, min(len(frames), nframe)) 903 def check_env_var_invalid(self, nframe): argument 907 PYTHONTRACEMALLOC=str(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 | 75 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 …]
|
/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 | 1372 int nframe; in config_init_tracemalloc() local 1377 if (!_Py_str_to_int(env, &nframe)) { in config_init_tracemalloc() 1378 valid = (nframe >= 0); in config_init_tracemalloc() 1386 config->tracemalloc = nframe; in config_init_tracemalloc() 1393 if (!config_wstr_to_int(sep + 1, &nframe)) { in config_init_tracemalloc() 1394 valid = (nframe >= 0); in config_init_tracemalloc() 1406 nframe = 1; in config_init_tracemalloc() 1408 config->tracemalloc = nframe; in config_init_tracemalloc()
|
/external/python/cpython3/Doc/library/ |
D | tracemalloc.rst | 366 .. 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.
|
/external/one-true-awk/ |
D | run.c | 225 int nframe = 0; /* number of frames allocated */ variable 243 frp = frame = (struct Frame *) calloc(nframe += 100, sizeof(*frame)); in call() 275 if (frp >= frame + nframe) { in call() 277 frame = (struct Frame *) realloc(frame, (nframe += 100) * sizeof(*frame)); in call()
|