Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/stringlib/
Dunicode_format.h35 int recursion_depth, AutoNumber *auto_number);
800 int recursion_depth, AutoNumber *auto_number) in output_markup() argument
826 tmp = build_string(format_spec, args, kwargs, recursion_depth-1, in output_markup()
860 _PyUnicodeWriter *writer, int recursion_depth, AutoNumber *auto_number) in do_markup() argument
889 args, kwargs, recursion_depth, auto_number)) in do_markup()
903 int recursion_depth, AutoNumber *auto_number) in build_string() argument
908 if (recursion_depth <= 0) { in build_string()
918 if (!do_markup(input, args, kwargs, &writer, recursion_depth, in build_string()
941 int recursion_depth = 2; in do_string_format() local
950 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.py194 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth, argument
196 if recursion_depth < 0:
239 used_args, recursion_depth-1,
/external/python/cpython3/Include/
Dceval.h80 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \
83 do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) \
Dsymtable.h33 int recursion_depth; /* current recursion depth */ member
Dpystate.h82 int recursion_depth; member
/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/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()
3594 ++tstate->recursion_depth; in PyEval_EvalCodeEx()
3596 --tstate->recursion_depth; in PyEval_EvalCodeEx()
4438 ++tstate->recursion_depth; in fast_function()
4440 --tstate->recursion_depth; in fast_function()
/external/libexif/libexif/
Dexif-data.c362 unsigned int ds, unsigned int offset, unsigned int recursion_depth) in exif_data_load_data_content() argument
377 if (recursion_depth > 30) { in exif_data_load_data_content()
421 exif_data_load_data_content (data, EXIF_IFD_EXIF, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
425 exif_data_load_data_content (data, EXIF_IFD_GPS, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
429 exif_data_load_data_content (data, EXIF_IFD_INTEROPERABILITY, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
/external/libunwind/tests/
DGia64-test-stack.c49 extern void touch_all (unsigned long recursion_depth);
/external/python/cpython3/Python/
Dsymtable.c265 st->recursion_depth = (tstate->recursion_depth < INT_MAX / COMPILER_STACK_FRAME_SCALE) ? in PySymtable_BuildObject()
266 tstate->recursion_depth * COMPILER_STACK_FRAME_SCALE : tstate->recursion_depth; in PySymtable_BuildObject()
1050 return --(ST)->recursion_depth,(X)
1130 if (++st->recursion_depth > st->recursion_limit) { in symtable_visit_stmt()
1389 if (++st->recursion_depth > st->recursion_limit) { in symtable_visit_expr()
Derrors.c309 if (++tstate->recursion_depth > Py_GetRecursionLimit()) { in PyErr_NormalizeException()
310 --tstate->recursion_depth; in PyErr_NormalizeException()
320 --tstate->recursion_depth; in PyErr_NormalizeException()
Dceval.c639 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
649 if (tstate->recursion_depth > recursion_limit + 50) { in _Py_CheckRecursiveCall()
655 if (tstate->recursion_depth > recursion_limit) { in _Py_CheckRecursiveCall()
656 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
4138 ++tstate->recursion_depth; in _PyEval_EvalCodeWithName()
4140 --tstate->recursion_depth; in _PyEval_EvalCodeWithName()
4882 ++tstate->recursion_depth; in _PyFunction_FastCall()
4884 --tstate->recursion_depth; in _PyFunction_FastCall()
Dpystate.c192 tstate->recursion_depth = 0; in new_threadstate()
Dsysmodule.c638 if (tstate->recursion_depth >= mark) { in sys_setrecursionlimit()
642 new_limit, tstate->recursion_depth); in sys_setrecursionlimit()
/external/v8/src/regexp/
Djsregexp.h789 int recursion_depth,
814 int recursion_depth, in EatsAtLeast() argument
Djsregexp.cc1014 inline int recursion_depth() { return recursion_depth_; } in recursion_depth() function in v8::internal::RegExpCompiler
2281 compiler->recursion_depth() <= RegExpCompiler::kMaxRecursion; in KeepRecursing()
3487 int recursion_depth = 0; in GreedyLoopTextLengthForAlternative() local
3489 if (recursion_depth++ > RegExpCompiler::kMaxRecursion) { in GreedyLoopTextLengthForAlternative()
/external/python/cpython3/Lib/test/
Dtest_sys.py234 recursion_depth = get_recursion_depth()
235 if recursion_depth >= depth:
/external/python/cpython3/Modules/
D_testcapimodule.c3880 return PyLong_FromLong(tstate->recursion_depth - 1); in get_recursion_depth()