Home
last modified time | relevance | path

Searched refs:recursion_depth (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython3/Include/internal/
Dpycore_ceval.h68 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit in _Py_MakeRecCheck()
73 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit); in _Py_MakeRecCheck()
106 tstate->recursion_depth--; in _Py_LeaveRecursiveCall()
108 if (tstate->recursion_depth < _Py_RecursionLimitLowerWaterMark(limit)) { in _Py_LeaveRecursiveCall()
/external/python/cpython3/Objects/stringlib/
Dunicode_format.h35 int recursion_depth, AutoNumber *auto_number);
807 int recursion_depth, AutoNumber *auto_number) in output_markup() argument
833 tmp = build_string(format_spec, args, kwargs, recursion_depth-1, in output_markup()
867 _PyUnicodeWriter *writer, int recursion_depth, AutoNumber *auto_number) in do_markup() argument
896 args, kwargs, recursion_depth, auto_number)) in do_markup()
910 int recursion_depth, AutoNumber *auto_number) in build_string() argument
915 if (recursion_depth <= 0) { in build_string()
925 if (!do_markup(input, args, kwargs, &writer, recursion_depth, in build_string()
948 int recursion_depth = 2; in do_string_format() local
957 return build_string(&input, args, kwargs, recursion_depth, &auto_number); in do_string_format()
/external/python/cpython2/Objects/stringlib/
Dstring_format.h50 int recursion_depth, AutoNumber *auto_number);
885 int recursion_depth, AutoNumber *auto_number) in output_markup() argument
911 tmp = build_string(format_spec, args, kwargs, recursion_depth-1, in output_markup()
946 OutputString *output, int recursion_depth, AutoNumber *auto_number) in do_markup() argument
967 args, kwargs, recursion_depth, auto_number)) in do_markup()
980 int recursion_depth, AutoNumber *auto_number) in build_string() argument
989 if (recursion_depth <= 0) { in build_string()
1002 if (!do_markup(input, args, kwargs, &output, recursion_depth, in build_string()
1035 int recursion_depth = 2; in do_string_format() local
1041 return build_string(&input, args, kwargs, recursion_depth, &auto_number); in do_string_format()
/external/python/cpython2/Include/
Dceval.h49 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \
52 (--PyThreadState_GET()->recursion_depth)
Dpystate.h63 int recursion_depth; member
/external/python/cpython3/Lib/
Dstring.py169 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth, argument
171 if recursion_depth < 0:
214 used_args, recursion_depth-1,
/external/python/cpython2/Lib/
Dstring.py567 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth): argument
568 if recursion_depth < 0:
593 used_args, recursion_depth-1)
/external/python/cpython3/Include/
Dsymtable.h34 int recursion_depth; /* current recursion depth */ member
/external/libexif/libexif/
Dexif-data.c365 unsigned int ds, unsigned int offset, unsigned int recursion_depth) in exif_data_load_data_content() argument
380 if (recursion_depth > 30) { in exif_data_load_data_content()
424 exif_data_load_data_content (data, EXIF_IFD_EXIF, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
428 exif_data_load_data_content (data, EXIF_IFD_GPS, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
432 exif_data_load_data_content (data, EXIF_IFD_INTEROPERABILITY, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
/external/python/cpython3/Include/cpython/
Dpystate.h60 int recursion_depth; member
/external/python/cpython2/Python/
Derrors.c228 if (++tstate->recursion_depth > Py_GetRecursionLimit()) { in PyErr_NormalizeException()
229 --tstate->recursion_depth; in PyErr_NormalizeException()
239 --tstate->recursion_depth; in PyErr_NormalizeException()
Dpystate.c168 tstate->recursion_depth = 0; in new_threadstate()
Dceval.c624 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
629 if (tstate->recursion_depth > recursion_limit) { in _Py_CheckRecursiveCall()
630 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
3614 ++tstate->recursion_depth; in PyEval_EvalCodeEx()
3616 --tstate->recursion_depth; in PyEval_EvalCodeEx()
4458 ++tstate->recursion_depth; in fast_function()
4460 --tstate->recursion_depth; in fast_function()
/external/python/cpython3/Python/
Dsymtable.c287 starting_recursion_depth = (tstate->recursion_depth < INT_MAX / COMPILER_STACK_FRAME_SCALE) ? in PySymtable_BuildObject()
288 tstate->recursion_depth * COMPILER_STACK_FRAME_SCALE : tstate->recursion_depth; in PySymtable_BuildObject()
289 st->recursion_depth = starting_recursion_depth; in PySymtable_BuildObject()
330 if (st->recursion_depth != starting_recursion_depth) { in PySymtable_BuildObject()
333 starting_recursion_depth, st->recursion_depth); in PySymtable_BuildObject()
1111 return --(ST)->recursion_depth,(X)
1173 if (++st->recursion_depth > st->recursion_limit) { in symtable_visit_stmt()
1530 if (++st->recursion_depth > st->recursion_limit) { in symtable_visit_expr()
Derrors.c292 int recursion_depth = 0; in _PyErr_NormalizeException() local
355 recursion_depth++; in _PyErr_NormalizeException()
356 if (recursion_depth == Py_NORMALIZE_RECURSION_LIMIT) { in _PyErr_NormalizeException()
378 if (recursion_depth >= Py_NORMALIZE_RECURSION_LIMIT + 2) { in _PyErr_NormalizeException()
Dceval.c787 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
800 if (tstate->recursion_depth > recursion_limit + 50) { in _Py_CheckRecursiveCall()
806 if (tstate->recursion_depth > recursion_limit) { in _Py_CheckRecursiveCall()
807 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
4341 ++tstate->recursion_depth; in _PyEval_EvalCode()
4343 --tstate->recursion_depth; in _PyEval_EvalCode()
/external/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.h94 int recursion_depth() { return recursion_depth_; } in recursion_depth() function
/external/angle/third_party/abseil-cpp/absl/debugging/internal/
Ddemangle.cc179 int recursion_depth; // For stack exhaustion prevention. member
190 ++state->recursion_depth; in ComplexityGuard()
193 ~ComplexityGuard() { --state_->recursion_depth; } in ~ComplexityGuard()
217 return state_->recursion_depth > kRecursionDepthLimit || in IsTooComplex()
261 state->recursion_depth = 0; in InitState()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/
Ddemangle.cc179 int recursion_depth; // For stack exhaustion prevention. member
190 ++state->recursion_depth; in ComplexityGuard()
193 ~ComplexityGuard() { --state_->recursion_depth; } in ~ComplexityGuard()
217 return state_->recursion_depth > kRecursionDepthLimit || in IsTooComplex()
261 state->recursion_depth = 0; in InitState()
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/
Ddemangle.cc178 int recursion_depth; // For stack exhaustion prevention. member
189 ++state->recursion_depth; in ComplexityGuard()
192 ~ComplexityGuard() { --state_->recursion_depth; } in ~ComplexityGuard()
216 return state_->recursion_depth > kRecursionDepthLimit || in IsTooComplex()
260 state->recursion_depth = 0; in InitState()
/external/openscreen/third_party/abseil/src/absl/debugging/internal/
Ddemangle.cc179 int recursion_depth; // For stack exhaustion prevention. member
190 ++state->recursion_depth; in ComplexityGuard()
193 ~ComplexityGuard() { --state_->recursion_depth; } in ~ComplexityGuard()
217 return state_->recursion_depth > kRecursionDepthLimit || in IsTooComplex()
261 state->recursion_depth = 0; in InitState()
/external/abseil-cpp/absl/debugging/internal/
Ddemangle.cc178 int recursion_depth; // For stack exhaustion prevention. member
189 ++state->recursion_depth; in ComplexityGuard()
192 ~ComplexityGuard() { --state_->recursion_depth; } in ~ComplexityGuard()
216 return state_->recursion_depth > kRecursionDepthLimit || in IsTooComplex()
260 state->recursion_depth = 0; in InitState()
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/
Ddemangle.cc179 int recursion_depth; // For stack exhaustion prevention. member
190 ++state->recursion_depth; in ComplexityGuard()
193 ~ComplexityGuard() { --state_->recursion_depth; } in ~ComplexityGuard()
217 return state_->recursion_depth > kRecursionDepthLimit || in IsTooComplex()
261 state->recursion_depth = 0; in InitState()
/external/python/cpython3/Modules/
D_testinternalcapi.c77 return PyLong_FromLong(tstate->recursion_depth - 1); in get_recursion_depth()
/external/python/cpython3/Objects/
Dcall.c336 ++tstate->recursion_depth; in function_code_fastcall()
338 --tstate->recursion_depth; in function_code_fastcall()

12