Home
last modified time | relevance | path

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

/external/python/cpython3/Include/
Dast.h7 PyAPI_FUNC(int) PyAST_Validate(mod_ty);
8 PyAPI_FUNC(mod_ty) PyAST_FromNode(
13 PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
Dsymtable.h73 mod_ty mod,
77 mod_ty mod,
DPython-ast.h5 typedef struct _mod *mod_ty; typedef
443 mod_ty _Py_Module(asdl_seq * body, PyArena *arena);
445 mod_ty _Py_Interactive(asdl_seq * body, PyArena *arena);
447 mod_ty _Py_Expression(expr_ty body, PyArena *arena);
449 mod_ty _Py_Suite(asdl_seq * body, PyArena *arena);
635 PyObject* PyAST_mod2obj(mod_ty t);
636 mod_ty PyAST_obj2mod(PyObject* ast, PyArena* arena, int mode);
/external/python/cpython3/Python/
Dpythonrun.c62 static PyObject *run_mod(mod_ty, PyObject *, PyObject *, PyObject *,
180 mod_ty mod; in PyRun_InteractiveOneObjectEx()
945 mod_ty mod; in PyRun_StringFlags()
969 mod_ty mod; in PyRun_FileExFlags()
1027 run_mod(mod_ty mod, PyObject *filename, PyObject *globals, PyObject *locals, in run_mod()
1087 mod_ty mod; in Py_CompileStringObject()
1132 mod_ty mod; in Py_SymtableStringObject()
1166 mod_ty
1170 mod_ty mod; in PyParser_ASTFromStringObject()
1195 mod_ty
[all …]
Dfuture.c63 future_parse(PyFutureFeatures *ff, mod_ty mod, PyObject *filename) in future_parse()
130 PyFuture_FromASTObject(mod_ty mod, PyObject *filename) in PyFuture_FromASTObject()
151 PyFuture_FromAST(mod_ty mod, const char *filename_str) in PyFuture_FromAST()
Dast_opt.c417 static int astfold_mod(mod_ty node_, PyArena *ctx_, int optimize_);
495 astfold_mod(mod_ty node_, PyArena *ctx_, int optimize_) in astfold_mod()
802 _PyAST_Optimize(mod_ty mod, PyArena *arena, int optimize) in _PyAST_Optimize()
DPython-ast.c1170 static int obj2ast_mod(PyObject* obj, mod_ty* out, PyArena* arena);
1190 mod_ty
1193 mod_ty p; in Module()
1194 p = (mod_ty)PyArena_Malloc(arena, sizeof(*p)); in Module()
1202 mod_ty
1205 mod_ty p; in Interactive()
1206 p = (mod_ty)PyArena_Malloc(arena, sizeof(*p)); in Interactive()
1214 mod_ty
1217 mod_ty p; in Expression()
1223 p = (mod_ty)PyArena_Malloc(arena, sizeof(*p)); in Expression()
[all …]
Dast.c557 PyAST_Validate(mod_ty mod) in PyAST_Validate()
767 mod_ty
776 mod_ty res = NULL; in PyAST_FromNodeObject()
878 mod_ty
882 mod_ty mod; in PyAST_FromNode()
4303 mod_ty mod; in fstring_compile_expr()
Dcompile.c177 static PyCodeObject *compiler_mod(struct compiler *, mod_ty);
301 PyAST_CompileObject(mod_ty mod, PyObject *filename, PyCompilerFlags *flags, in PyAST_CompileObject()
358 PyAST_CompileEx(mod_ty mod, const char *filename_str, PyCompilerFlags *flags, in PyAST_CompileEx()
376 mod_ty mod; in PyNode_Compile()
1512 compiler_mod(struct compiler *c, mod_ty mod) in compiler_mod()
5540 PyAST_Compile(mod_ty mod, const char *filename, PyCompilerFlags *flags, in PyAST_Compile()
Dsymtable.c251 PySymtable_BuildObject(mod_ty mod, PyObject *filename, PyFutureFeatures *future) in PySymtable_BuildObject()
329 PySymtable_Build(mod_ty mod, const char *filename_str, PyFutureFeatures *future) in PySymtable_Build()
Dbltinmodule.c853 mod_ty mod; in builtin_compile_impl()
/external/python/cpython2/Python/
Dpythonrun.c51 static PyObject *run_mod(mod_ty, const char *, PyObject *, PyObject *,
819 mod_ty mod; in PyRun_InteractiveOneFlags()
1341 mod_ty mod; in PyRun_StringFlags()
1358 mod_ty mod; in PyRun_FileExFlags()
1377 run_mod(mod_ty mod, const char *filename, PyObject *globals, PyObject *locals, in run_mod()
1427 mod_ty mod; in Py_CompileStringFlags()
1451 mod_ty mod; in Py_SymtableString()
1470 mod_ty
1474 mod_ty mod; in PyParser_ASTFromString()
1498 mod_ty
[all …]
Dfuture.c58 future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename) in future_parse()
120 PyFuture_FromAST(mod_ty mod, const char *filename) in PyFuture_FromAST()
DPython-ast.c969 static int obj2ast_mod(PyObject* obj, mod_ty* out, PyArena* arena);
987 mod_ty
990 mod_ty p; in Module()
991 p = (mod_ty)PyArena_Malloc(arena, sizeof(*p)); in Module()
999 mod_ty
1002 mod_ty p; in Interactive()
1003 p = (mod_ty)PyArena_Malloc(arena, sizeof(*p)); in Interactive()
1011 mod_ty
1014 mod_ty p; in Expression()
1020 p = (mod_ty)PyArena_Malloc(arena, sizeof(*p)); in Expression()
[all …]
Dcompile.c161 static PyCodeObject *compiler_mod(struct compiler *, mod_ty);
254 PyAST_Compile(mod_ty mod, const char *filename, PyCompilerFlags *flags, in PyAST_Compile()
304 mod_ty mod; in PyNode_Compile()
1182 compiler_mod(struct compiler *c, mod_ty mod) in compiler_mod()
Dsymtable.c221 PySymtable_Build(mod_ty mod, const char *filename, PyFutureFeatures *future) in PySymtable_Build()
Dbltinmodule.c526 mod_ty mod; in builtin_compile()
Dimport.c893 mod_ty mod; in parse_source_module()
Dast.c215 mod_ty
/external/python/cpython2/Include/
DPython-ast.h5 typedef struct _mod *mod_ty; typedef
376 mod_ty _Py_Module(asdl_seq * body, PyArena *arena);
378 mod_ty _Py_Interactive(asdl_seq * body, PyArena *arena);
380 mod_ty _Py_Expression(expr_ty body, PyArena *arena);
382 mod_ty _Py_Suite(asdl_seq * body, PyArena *arena);
533 PyObject* PyAST_mod2obj(mod_ty t);
534 mod_ty PyAST_obj2mod(PyObject* ast, PyArena* arena, int mode);
Dast.h7 PyAPI_FUNC(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags,
Dsymtable.h55 PyAPI_FUNC(struct symtable *) PySymtable_Build(mod_ty, const char *,
/external/python/cpython3/Modules/
Dparsermodule.c456 mod_ty mod; in parser_compilest()
/external/python/cpython2/Modules/
Dparsermodule.c447 mod_ty mod; in parser_compilest()