Home
last modified time | relevance | path

Searched refs:last_str (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Parser/pegen/
Dparse_string.c1006 if (state->last_str) { in FstringParser_check_invariants()
1007 assert(PyUnicode_CheckExact(state->last_str)); in FstringParser_check_invariants()
1016 state->last_str = NULL; in _PyPegen_FstringParser_Init()
1027 Py_XDECREF(state->last_str); in _PyPegen_FstringParser_Dealloc()
1072 if (!state->last_str) { in _PyPegen_FstringParser_ConcatAndDel()
1074 state->last_str = str; in _PyPegen_FstringParser_ConcatAndDel()
1077 PyUnicode_AppendAndDel(&state->last_str, str); in _PyPegen_FstringParser_ConcatAndDel()
1078 if (!state->last_str) { in _PyPegen_FstringParser_ConcatAndDel()
1141 if (!state->last_str) { in _PyPegen_FstringParser_ConcatFstring()
1145 expr_ty last_str = make_str_node_and_del(p, &state->last_str, first_token, last_token); in _PyPegen_FstringParser_ConcatFstring() local
[all …]
Dparse_string.h31 PyObject *last_str; member
/external/elfutils/libcpu/
Di386_parse.y746 struct argname *last_str = NULL; in combine() local
751 if (last_str == NULL) in combine()
752 last_str = runp; in combine()
755 last_str->str = xrealloc (last_str->str, in combine()
756 strlen (last_str->str) in combine()
758 strcat (last_str->str, runp->str); in combine()
759 last_str->next = runp->next; in combine()
763 last_str = NULL; in combine()
/external/python/cpython3/Python/
Dast.c5375 PyObject *last_str; member
5386 if (state->last_str) in FstringParser_check_invariants()
5387 assert(PyUnicode_CheckExact(state->last_str)); in FstringParser_check_invariants()
5395 state->last_str = NULL; in FstringParser_Init()
5406 Py_XDECREF(state->last_str); in FstringParser_Dealloc()
5478 if (!state->last_str) { in FstringParser_ConcatAndDel()
5480 state->last_str = str; in FstringParser_ConcatAndDel()
5483 PyUnicode_AppendAndDel(&state->last_str, str); in FstringParser_ConcatAndDel()
5484 if (!state->last_str) in FstringParser_ConcatAndDel()
5543 if (!state->last_str) { in FstringParser_ConcatFstring()
[all …]