Home
last modified time | relevance | path

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

12

/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);
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/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.py171 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth, argument
173 if recursion_depth < 0:
216 used_args, recursion_depth-1,
/external/python/cpython3/Include/
Dceval.h90 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \
93 do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) \
Dsymtable.h34 int recursion_depth; /* current 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/cpython3/Include/cpython/
Dpystate.h59 int recursion_depth; member
/external/python/cpython3/Python/
Dsymtable.c288 starting_recursion_depth = (tstate->recursion_depth < INT_MAX / COMPILER_STACK_FRAME_SCALE) ? in PySymtable_BuildObject()
289 tstate->recursion_depth * COMPILER_STACK_FRAME_SCALE : tstate->recursion_depth; in PySymtable_BuildObject()
290 st->recursion_depth = starting_recursion_depth; in PySymtable_BuildObject()
335 if (st->recursion_depth != starting_recursion_depth) { in PySymtable_BuildObject()
338 starting_recursion_depth, st->recursion_depth); in PySymtable_BuildObject()
1116 return --(ST)->recursion_depth,(X)
1178 if (++st->recursion_depth > st->recursion_limit) { in symtable_visit_stmt()
1535 if (++st->recursion_depth > st->recursion_limit) { in symtable_visit_expr()
Derrors.c287 int recursion_depth = 0; in _PyErr_NormalizeException() local
350 recursion_depth++; in _PyErr_NormalizeException()
351 if (recursion_depth == Py_NORMALIZE_RECURSION_LIMIT) { in _PyErr_NormalizeException()
373 if (recursion_depth >= Py_NORMALIZE_RECURSION_LIMIT + 2) { in _PyErr_NormalizeException()
Dceval.c681 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
692 if (tstate->recursion_depth > recursion_limit + 50) { in _Py_CheckRecursiveCall()
698 if (tstate->recursion_depth > recursion_limit) { in _Py_CheckRecursiveCall()
699 --tstate->recursion_depth; in _Py_CheckRecursiveCall()
4313 ++tstate->recursion_depth; in _PyEval_EvalCodeWithName()
4315 --tstate->recursion_depth; in _PyEval_EvalCodeWithName()
Dsysmodule.c1110 if (tstate->recursion_depth >= mark) { in sys_setrecursionlimit_impl()
1114 new_limit, tstate->recursion_depth); in sys_setrecursionlimit_impl()
/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.c370 unsigned int ds, unsigned int offset, unsigned int recursion_depth) in exif_data_load_data_content() argument
385 if (recursion_depth > 30) { in exif_data_load_data_content()
429 exif_data_load_data_content (data, EXIF_IFD_EXIF, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
433 exif_data_load_data_content (data, EXIF_IFD_GPS, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
437 exif_data_load_data_content (data, EXIF_IFD_INTEROPERABILITY, d, ds, o, recursion_depth + 1); in exif_data_load_data_content()
/external/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.h94 int recursion_depth() { return recursion_depth_; } in recursion_depth() function
Djson_stream_parser_test.cc122 EXPECT_EQ(parser.recursion_depth(), 0); in RunTest()
/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/v8/src/regexp/
Dregexp-compiler.h551 inline int recursion_depth() { return recursion_depth_; } in recursion_depth() function
Dregexp-compiler.cc1340 compiler->recursion_depth() <= RegExpCompiler::kMaxRecursion; in KeepRecursing()
2527 int recursion_depth = 0; in GreedyLoopTextLengthForAlternative() local
2529 if (recursion_depth++ > RegExpCompiler::kMaxRecursion) { in GreedyLoopTextLengthForAlternative()
/external/v8/src/compiler/backend/
Dinstruction-selector.h672 bool ZeroExtendsWord32ToWord64(Node* node, int recursion_depth = 0);
/external/python/cpython3/Lib/test/
Dtest_sys.py256 recursion_depth = get_recursion_depth()
257 if recursion_depth >= depth:

12