Home
last modified time | relevance | path

Searched refs:_PyArena_Malloc (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Include/internal/
Dpycore_pyarena.h53 PyAPI_FUNC(void*) _PyArena_Malloc(PyArena *, size_t size);
Dpycore_asdl.h70 seq = (asdl_ ## NAME ## _seq *)_PyArena_Malloc(arena, n); \
/third_party/python/Python/
DPython-ast.c1887 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Module()
1900 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Interactive()
1917 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Expression()
1934 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_FunctionType()
1960 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_FunctionDef()
1994 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_AsyncFunctionDef()
2023 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_ClassDef()
2044 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Return()
2061 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Delete()
2084 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Assign()
[all …]
Dpyarena.c181 _PyArena_Malloc(PyArena *arena, size_t size) in _PyArena_Malloc() function
/third_party/python/Parser/
Dpegen.c581 Memo *m = _PyArena_Malloc(p->arena, sizeof(Memo)); in _PyPegen_insert_memo()
1701 CmpopExprPair *a = _PyArena_Malloc(p->arena, sizeof(CmpopExprPair)); in _PyPegen_cmpop_expr_pair()
1845 KeyValuePair *a = _PyArena_Malloc(p->arena, sizeof(KeyValuePair)); in _PyPegen_key_value_pair()
1890 KeyPatternPair *a = _PyArena_Malloc(p->arena, sizeof(KeyPatternPair)); in _PyPegen_key_pattern_pair()
1935 NameDefaultPair *a = _PyArena_Malloc(p->arena, sizeof(NameDefaultPair)); in _PyPegen_name_default_pair()
1948 SlashWithDefault *a = _PyArena_Malloc(p->arena, sizeof(SlashWithDefault)); in _PyPegen_slash_with_default()
1961 StarEtc *a = _PyArena_Malloc(p->arena, sizeof(StarEtc)); in _PyPegen_star_etc()
2209 AugOperator *a = _PyArena_Malloc(p->arena, sizeof(AugOperator)); in _PyPegen_augoperator()
2256 KeywordOrStarred *a = _PyArena_Malloc(p->arena, sizeof(KeywordOrStarred)); in _PyPegen_keyword_or_starred()