/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
util.py | 265 def restore__ast(_ast): 266 """Attempt to restore the required classes to the _ast module if it 269 if hasattr(_ast, 'AST'): 271 _ast.PyCF_ONLY_AST = 2 << 9 285 mako in baz not in mako""", '<unknown>', 'exec', _ast.PyCF_ONLY_AST) 286 _ast.Module = type(m) 288 for cls in _ast.Module.__mro__: 290 _ast.mod = cls 292 _ast.AST = cls 294 _ast.FunctionDef = type(m.body[0] [all...] |
pyparser.py | 9 Parsing to AST is done via _ast on Python > 2.5, otherwise the compiler 32 import _ast 33 util.restore__ast(_ast) 104 if isinstance(arg, _ast.Tuple): 145 if isinstance(node.ctx, _ast.Store):
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
ast.h | 47 typedef struct _ast {
struct 48 struct _ast *right, *down;
50 struct _ast *left, *up;
58 #define AST_REQUIRED_FIELDS struct _ast *right, *down, *left, *up;
60 #define AST_REQUIRED_FIELDS struct _ast *right, *down;
76 #define zzASTVars AST *_ast = NULL, *_sibling = NULL, *_tail = NULL
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
ast.h | 47 typedef struct _ast {
struct 48 struct _ast *right, *down;
50 struct _ast *left, *up;
58 #define AST_REQUIRED_FIELDS struct _ast *right, *down, *left, *up;
60 #define AST_REQUIRED_FIELDS struct _ast *right, *down;
76 #define zzASTVars AST *_ast = NULL, *_sibling = NULL, *_tail = NULL
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_compile.py | 3 import _ast
474 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST)
475 self.assertTrue(type(ast) == _ast.Module)
482 co1 = compile('print 1', '<string>', 'exec', _ast.PyCF_ONLY_AST)
486 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec')
489 ast = _ast.Module()
490 ast.body = [_ast.BoolOp()]
|
test_sys.py | 769 # _ast.AST
770 import _ast
771 check(_ast.AST(), size(h + ''))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_compile.py | 3 import _ast 502 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 503 self.assertTrue(type(ast) == _ast.Module) 510 co1 = compile('print 1', '<string>', 'exec', _ast.PyCF_ONLY_AST) 514 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 517 ast = _ast.Module() 518 ast.body = [_ast.BoolOp()]
|
test_sys.py | 751 # _ast.AST 752 import _ast 753 check(_ast.AST(), size(''))
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_compile.py | 3 import _ast 502 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 503 self.assertTrue(type(ast) == _ast.Module) 510 co1 = compile('print 1', '<string>', 'exec', _ast.PyCF_ONLY_AST) 514 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 517 ast = _ast.Module() 518 ast.body = [_ast.BoolOp()]
|
test_sys.py | 751 # _ast.AST 752 import _ast 753 check(_ast.AST(), size(''))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_compile.py | 3 import _ast 502 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 503 self.assertTrue(type(ast) == _ast.Module) 510 co1 = compile('print 1', '<string>', 'exec', _ast.PyCF_ONLY_AST) 514 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 517 ast = _ast.Module() 518 ast.body = [_ast.BoolOp()]
|
test_sys.py | 751 # _ast.AST 752 import _ast 753 check(_ast.AST(), size(''))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_compile.py | 3 import _ast 502 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 503 self.assertTrue(type(ast) == _ast.Module) 510 co1 = compile('print 1', '<string>', 'exec', _ast.PyCF_ONLY_AST) 514 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 517 ast = _ast.Module() 518 ast.body = [_ast.BoolOp()]
|
test_sys.py | 751 # _ast.AST 752 import _ast 753 check(_ast.AST(), size(''))
|
/external/python/cpython2/Lib/test/ |
test_compile.py | 4 import _ast 542 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 543 self.assertTrue(type(ast) == _ast.Module) 550 co1 = compile('print 1', '<string>', 'exec', _ast.PyCF_ONLY_AST) 554 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 557 ast = _ast.Module() 558 ast.body = [_ast.BoolOp()]
|
test_sys.py | 803 # _ast.AST 804 import _ast 805 check(_ast.AST(), size(''))
|
/external/python/cpython2/Lib/ |
dumbdbm.py | 24 import ast as _ast 91 key, pos_and_siz_pair = _ast.literal_eval(line)
|
ast.py | 28 from _ast import * 29 from _ast import __version__
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
ast.py | 28 from _ast import *
29 from _ast import __version__
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
ast.py | 28 from _ast import *
29 from _ast import __version__
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
ast.py | 28 from _ast import * 29 from _ast import __version__
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
ast.py | 28 from _ast import * 29 from _ast import __version__
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ast.py | 28 from _ast import * 29 from _ast import __version__
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ast.py | 28 from _ast import * 29 from _ast import __version__
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
asdl_c.py | 671 "_ast.AST",
727 type, base, "_fields", fnames, "__module__", "_ast");
917 self.emit('m = Py_InitModule3("_ast", NULL, NULL);', 1)
[all...] |