Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c506 static PyTypeObject* make_type(char *type, PyTypeObject* base, char**fields, int num_fields) in make_type() function
674 mod_type = make_type("mod", &AST_type, NULL, 0); in init_types()
677 Module_type = make_type("Module", mod_type, Module_fields, 1); in init_types()
679 Interactive_type = make_type("Interactive", mod_type, in init_types()
682 Expression_type = make_type("Expression", mod_type, Expression_fields, in init_types()
685 Suite_type = make_type("Suite", mod_type, Suite_fields, 1); in init_types()
687 stmt_type = make_type("stmt", &AST_type, NULL, 0); in init_types()
690 FunctionDef_type = make_type("FunctionDef", stmt_type, in init_types()
693 ClassDef_type = make_type("ClassDef", stmt_type, ClassDef_fields, 4); in init_types()
695 Return_type = make_type("Return", stmt_type, Return_fields, 1); in init_types()
[all …]
/external/python/cpython3/Python/
DPython-ast.c655 static PyTypeObject* make_type(char *type, PyTypeObject* base, char**fields, int num_fields) in make_type() function
843 mod_type = make_type("mod", &AST_type, NULL, 0); in init_types()
846 Module_type = make_type("Module", mod_type, Module_fields, 1); in init_types()
848 Interactive_type = make_type("Interactive", mod_type, Interactive_fields, in init_types()
851 Expression_type = make_type("Expression", mod_type, Expression_fields, 1); in init_types()
853 Suite_type = make_type("Suite", mod_type, Suite_fields, 1); in init_types()
855 stmt_type = make_type("stmt", &AST_type, NULL, 0); in init_types()
858 FunctionDef_type = make_type("FunctionDef", stmt_type, FunctionDef_fields, in init_types()
861 AsyncFunctionDef_type = make_type("AsyncFunctionDef", stmt_type, in init_types()
864 ClassDef_type = make_type("ClassDef", stmt_type, ClassDef_fields, 5); in init_types()
[all …]
/external/grpc-grpc/tools/codegen/core/
Dgen_stats_data.py30 def make_type(name, fields): function
48 make_type('Counter', []),
49 make_type('Histogram', ['max', 'buckets']),
/external/tensorflow/tensorflow/python/eager/
Dexecute.py125 def make_type(v, arg_name): function