Home
last modified time | relevance | path

Searched refs:PyArena_AddPyObject (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Include/
Dpyarena.h56 PyAPI_FUNC(int) PyArena_AddPyObject(PyArena *, PyObject *);
/external/python/cpython3/Include/
Dpyarena.h57 PyAPI_FUNC(int) PyArena_AddPyObject(PyArena *, PyObject *);
/external/python/cpython2/Python/
Dpyarena.c206 PyArena_AddPyObject(PyArena *arena, PyObject *obj) in PyArena_AddPyObject() function
Dast.c54 PyArena_AddPyObject(arena, id); in new_identifier()
1401 PyArena_AddPyObject(c->c_arena, str); in ast_for_atom()
1409 PyArena_AddPyObject(c->c_arena, pynum); in ast_for_atom()
1758 PyArena_AddPyObject(c->c_arena, pynum); in ast_for_factor()
2517 PyArena_AddPyObject(c->c_arena, str); in alias_for_import_name()
2525 PyArena_AddPyObject(c->c_arena, str); in alias_for_import_name()
DPython-ast.c591 PyArena_AddPyObject(arena, obj); in obj2ast_object()
/external/python/cpython3/Python/
Dpyarena.c203 PyArena_AddPyObject(PyArena *arena, PyObject *obj) in PyArena_AddPyObject() function
Dast.c641 if (PyArena_AddPyObject(c->c_arena, id) < 0) { in new_identifier()
702 if (PyArena_AddPyObject(c->c_arena, res) < 0) { in new_type_comment()
2364 if (PyArena_AddPyObject(c->c_arena, pynum) < 0) { in ast_for_atom()
3560 if (PyArena_AddPyObject(c->c_arena, str) < 0) { in alias_for_import_name()
3570 if (PyArena_AddPyObject(c->c_arena, str) < 0) { in alias_for_import_name()
5437 if (PyArena_AddPyObject(c->c_arena, kind) < 0) { in make_kind()
5453 if (PyArena_AddPyObject(c->c_arena, s) < 0) { in make_str_node_and_del()
5826 if (PyArena_AddPyObject(c->c_arena, bytes_str) < 0) in parsestrplus()
Dast_opt.c17 if (PyArena_AddPyObject(arena, val) < 0) { in make_const()
DPython-ast.c1133 if (PyArena_AddPyObject(arena, obj) < 0) { in obj2ast_object()
1145 if (PyArena_AddPyObject(arena, obj) < 0) { in obj2ast_constant()
/external/python/cpython3/Parser/pegen/
Dpegen.c16 if (PyArena_AddPyObject(p->arena, res) < 0) { in _PyPegen_new_type_comment()
124 if (PyArena_AddPyObject(p->arena, id) < 0) in _PyPegen_new_identifier()
643 PyArena_AddPyObject(p->arena, t->bytes); in _PyPegen_fill_token()
960 if (PyArena_AddPyObject(p->arena, c) < 0) { in _PyPegen_number_token()
1404 if (PyArena_AddPyObject(p->arena, uni) < 0) { in _PyPegen_join_names_with_dot()
1442 if (PyArena_AddPyObject(p->arena, str) < 0) { in _PyPegen_alias_for_star()
2091 if (PyArena_AddPyObject(p->arena, bytes_str) < 0) { in _PyPegen_concatenate_strings()
Dparse_string.c1039 if (PyArena_AddPyObject(p->arena, s) < 0) { in make_str_node_and_del()
/external/python/cpython2/PC/os2emx/
Dpython27.def1021 "PyArena_AddPyObject"
/external/python/cpython3/Misc/
DHISTORY4317 - Issue #18552: Check return value of PyArena_AddPyObject() in