Home
last modified time | relevance | path

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

/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/cpython3/Objects/stringlib/
Dunicode_format.h35 int recursion_depth, AutoNumber *auto_number);
802 int recursion_depth, AutoNumber *auto_number) in output_markup() argument
828 tmp = build_string(format_spec, args, kwargs, recursion_depth-1, in output_markup()
862 _PyUnicodeWriter *writer, int recursion_depth, AutoNumber *auto_number) in do_markup() argument
891 args, kwargs, recursion_depth, auto_number)) in do_markup()
905 int recursion_depth, AutoNumber *auto_number) in build_string() argument
910 if (recursion_depth <= 0) { in build_string()
920 if (!do_markup(input, args, kwargs, &writer, recursion_depth, in build_string()
943 int recursion_depth = 2; in do_string_format() local
952 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.h93 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \
96 do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) \
Dsymtable.h33 int recursion_depth; /* current recursion depth */ member
Dpystate.h220 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()
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/libexif/libexif/
Dexif-data.c366 unsigned int ds, unsigned int offset, unsigned int recursion_depth) in exif_data_load_data_content() argument
381 if (recursion_depth > 30) { in exif_data_load_data_content()
425 exif_data_load_data_content (data, EXIF_IFD_EXIF, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
429 exif_data_load_data_content (data, EXIF_IFD_GPS, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
433 exif_data_load_data_content (data, EXIF_IFD_INTEROPERABILITY, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
/external/python/cpython3/Python/
Derrors.c235 int recursion_depth = 0; in PyErr_NormalizeException() local
298 recursion_depth++; in PyErr_NormalizeException()
299 if (recursion_depth == Py_NORMALIZE_RECURSION_LIMIT) { in PyErr_NormalizeException()
320 if (recursion_depth >= Py_NORMALIZE_RECURSION_LIMIT + 2) { in PyErr_NormalizeException()
Dsymtable.c276 st->recursion_depth = (tstate->recursion_depth < INT_MAX / COMPILER_STACK_FRAME_SCALE) ? in PySymtable_BuildObject()
277 tstate->recursion_depth * COMPILER_STACK_FRAME_SCALE : tstate->recursion_depth; in PySymtable_BuildObject()
1051 return --(ST)->recursion_depth,(X)
1113 if (++st->recursion_depth > st->recursion_limit) { in symtable_visit_stmt()
1376 if (++st->recursion_depth > st->recursion_limit) { in symtable_visit_expr()
Dceval.c476 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
487 if (tstate->recursion_depth > recursion_limit + 50) { in _Py_CheckRecursiveCall()
493 if (tstate->recursion_depth > recursion_limit) { in _Py_CheckRecursiveCall()
494 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
3945 ++tstate->recursion_depth; in _PyEval_EvalCodeWithName()
3947 --tstate->recursion_depth; in _PyEval_EvalCodeWithName()
Dsysmodule.c732 if (tstate->recursion_depth >= mark) { in sys_setrecursionlimit()
736 new_limit, tstate->recursion_depth); in sys_setrecursionlimit()
Dpystate.c367 tstate->recursion_depth = 0; in new_threadstate()
/external/libunwind/tests/
DGia64-test-stack.c49 extern void touch_all (unsigned long recursion_depth);
/external/python/cpython3/Objects/
Dcall.c290 ++tstate->recursion_depth; in function_code_fastcall()
292 --tstate->recursion_depth; in function_code_fastcall()
/external/python/cpython3/Lib/test/
Dtest_sys.py229 recursion_depth = get_recursion_depth()
230 if recursion_depth >= depth:
/external/v8/src/regexp/
Djsregexp.h820 int recursion_depth,
846 int recursion_depth, in EatsAtLeast() argument
Djsregexp.cc967 inline int recursion_depth() { return recursion_depth_; } in recursion_depth() function in v8::internal::RegExpCompiler
2220 compiler->recursion_depth() <= RegExpCompiler::kMaxRecursion; in KeepRecursing()
3415 int recursion_depth = 0; in GreedyLoopTextLengthForAlternative() local
3417 if (recursion_depth++ > RegExpCompiler::kMaxRecursion) { in GreedyLoopTextLengthForAlternative()
/external/python/cpython3/Modules/
D_testcapimodule.c4167 return PyLong_FromLong(tstate->recursion_depth - 1); in get_recursion_depth()