Home
last modified time | relevance | path

Searched refs:compiler (Results 1 – 25 of 153) sorted by relevance

1234567

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_compiler.py2 compiler = test.test_support.import_module('compiler', deprecated=True) variable
3 from compiler.ast import flatten
51 self.assertRaises(SyntaxError, compiler.compile,
55 compiler.compile(buf, basename, "exec")
64 compiler.compile("class foo():pass\n\n","<string>","exec")
67 compiler.compile("def g(): yield\n\n", "<string>", "exec")
72 c = compiler.compile('f(x=1, *(2, 3), y=4)', '<string>', 'exec')
75 self.assertRaises(SyntaxError, compiler.parse, "foo(a=1, b)")
76 self.assertRaises(SyntaxError, compiler.parse, "foo(1, *args, 3)")
80 c = compiler.compile("try:\n 1//0\nexcept:\n e = 1\nfinally:\n f = 1",
[all …]
Dtest_transformer.py6 from compiler import transformer, ast
7 from compiler import compile
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_ccompiler.py27 compiler = FakeCompiler()
32 opts = gen_lib_options(compiler, libdirs, runlibdirs, libs)
42 compiler = MyCCompiler()
44 compiler.debug_print('xxx')
51 compiler.debug_print('xxx')
67 class compiler: class
73 comp = compiler()
Dsetuptools_build_ext.py127 compiler = self.shlib_compiler = new_compiler(
128 compiler=self.compiler, dry_run=self.dry_run, force=self.force
137 customize_compiler(compiler)
142 customize_compiler(compiler)
145 compiler.set_include_dirs(self.include_dirs)
149 compiler.define_macro(name, value)
152 compiler.undefine_macro(macro)
154 compiler.set_libraries(self.libraries)
156 compiler.set_library_dirs(self.library_dirs)
158 compiler.set_runtime_library_dirs(self.rpath)
[all …]
Dtest_build_clib.py78 cmd.compiler = FakeCompiler()
127 compiler = new_compiler()
128 customize_compiler(compiler)
129 for ccmd in compiler.executables.values():
Dtest_msvc9compiler.py122 compiler = MSVCCompiler()
123 compiler._remove_visual_c_ref(manifest)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dbuild_clib.py67 self.compiler = None
101 self.compiler = new_compiler(compiler=self.compiler,
104 customize_compiler(self.compiler)
107 self.compiler.set_include_dirs(self.include_dirs)
111 self.compiler.define_macro(name, value)
114 self.compiler.undefine_macro(macro)
198 objects = self.compiler.compile(sources,
207 self.compiler.create_static_lib(objects, lib_name,
Dconfig.py55 self.compiler = None
100 if not isinstance(self.compiler, CCompiler):
101 self.compiler = new_compiler(compiler=self.compiler,
103 customize_compiler(self.compiler)
105 self.compiler.set_include_dirs(self.include_dirs)
107 self.compiler.set_libraries(self.libraries)
109 self.compiler.set_library_dirs(self.library_dirs)
129 self.compiler.preprocess(src, out, include_dirs=include_dirs)
136 (obj,) = self.compiler.object_filenames([src])
138 self.compiler.compile([src], include_dirs=include_dirs)
[all …]
Dbuild_ext.py125 self.compiler = None
306 self.compiler = new_compiler(compiler=self.compiler,
310 customize_compiler(self.compiler)
315 self.compiler.initialize(self.plat_name)
322 self.compiler.set_include_dirs(self.include_dirs)
326 self.compiler.define_macro(name, value)
329 self.compiler.undefine_macro(macro)
331 self.compiler.set_libraries(self.libraries)
333 self.compiler.set_library_dirs(self.library_dirs)
335 self.compiler.set_runtime_library_dirs(self.rpath)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcodeop.py68 def _maybe_compile(compiler, source, filename, symbol): argument
82 code = compiler(source, filename, symbol)
87 code1 = compiler(source + "\n", filename, symbol)
92 code2 = compiler(source + "\n\n", filename, symbol)
147 self.compiler = Compile()
168 return _maybe_compile(self.compiler, source, filename, symbol)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
D__init__.py29 from compiler.transformer import parse, parseFile
30 from compiler.visitor import walk
31 from compiler.pycodegen import compile, compileFile
Dfuture.py5 from compiler import ast, walk
66 from compiler import parseFile, walk
/device/linaro/bootloader/arm-trusted-firmware/lib/compiler-rt/
Dcompiler-rt.mk32 COMPILER_RT_SRCS := lib/compiler-rt/builtins/arm/aeabi_uldivmod.S \
33 lib/compiler-rt/builtins/udivmoddi4.c \
34 lib/compiler-rt/builtins/ctzdi2.c
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dccompiler.py23 def customize_compiler(compiler): argument
29 if compiler.compiler_type == "unix":
62 compiler.set_executables(
64 compiler=cc_cmd,
71 compiler.shared_lib_extension = so_ext
971 for pattern, compiler in _default_compilers:
974 return compiler
1004 for compiler in compiler_class.keys():
1005 compilers.append(("compiler="+compiler, None,
1006 compiler_class[compiler][2]))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/
DREADME1 This directory contains support tools for the Python compiler package,
5 using the pure-Python compiler code.
16 by the pure-Python compiler code instead of the
17 builtin compiler.
Ddemo.py9 import compiler
32 ast = compiler.parse(buf)
33 compiler.walk(ast, mf)
Dstacktest.py1 import compiler
35 co2 = compiler.compile(buf, file, "exec")
/device/linaro/bootloader/edk2/BaseTools/gcc/
DREADME.txt1 You may run these scripts to build a UEFI/PI gcc cross compiler.
7 file to point to the location where you installed the cross compiler.
11 This script will build an x86 (ia32) cross compiler.
13 The results of this script are very similar to the 'mingw' cross compiler
15 compiler produced by this script is tested, it is the only 'supported' way
21 executables for the machine that you want to run this compiler on (the host
32 This script will build an x86_64 (x64/Intel 64/amd64) cross compiler.
37 produce executables for the machine that you want to run this compiler
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dcompile.c135 struct compiler { struct
149 static int compiler_enter_scope(struct compiler *, identifier, void *, int); argument
150 static void compiler_free(struct compiler *);
151 static basicblock *compiler_new_block(struct compiler *);
152 static int compiler_next_instr(struct compiler *, basicblock *);
153 static int compiler_addop(struct compiler *, int);
154 static int compiler_addop_o(struct compiler *, int, PyObject *, PyObject *);
155 static int compiler_addop_i(struct compiler *, int, int);
156 static int compiler_addop_j(struct compiler *, int, basicblock *, int);
157 static basicblock *compiler_use_new_block(struct compiler *);
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dcompile.c135 struct compiler { struct
149 static int compiler_enter_scope(struct compiler *, identifier, void *, int); argument
150 static void compiler_free(struct compiler *);
151 static basicblock *compiler_new_block(struct compiler *);
152 static int compiler_next_instr(struct compiler *, basicblock *);
153 static int compiler_addop(struct compiler *, int);
154 static int compiler_addop_o(struct compiler *, int, PyObject *, PyObject *);
155 static int compiler_addop_i(struct compiler *, int, int);
156 static int compiler_addop_j(struct compiler *, int, basicblock *, int);
157 static basicblock *compiler_use_new_block(struct compiler *);
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/
DBaseIoLibIntrinsic.uni2 // Instance of I/O Library using compiler intrinsics.
4 // I/O Library that uses compiler intrinsics to perform IN and OUT instructions
21 #string STR_MODULE_ABSTRACT #language en-US "Instance of I/O Library using compiler int…
23 #string STR_MODULE_DESCRIPTION #language en-US "I/O Library that uses compiler intrinsics …
/device/linaro/bootloader/edk2/StdLib/Include/sys/
DEfiCdefs.h232 #define __packed error: no __packed for this compiler
233 #define __aligned(x) error: no __aligned for this compiler
234 #define __section(x) error: no __section for this compiler
330 #error You must specify /Zc:wchar_t- to the compiler to turn off intrinsic wchar_t.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/
DREADME.tcltk-AMD641 Comments on building tcl/tk for AMD64 with the MS SDK compiler
10 Second, the AMD64 compiler refuses to compile the file
18 the /Oi- compiler flag to disable the intrinsic functions.
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/
Dsoftfloat-source.txt18 C compiler is needed to compile the code. Support for the extended double-
19 precision and quadruple-precision formats is dependent on the C compiler
26 independent and should be compilable using any ISO/ANSI C compiler. At the
34 SoftFloat as written requires an ISO/ANSI-style C compiler. No attempt has
48 and quadruple-precision formats depends on the C compiler implementing
50 C compiler is 32 bits, SoftFloat is limited to the single- and double-
134 `<processor>-<executable-type>-<compiler>'. The names of the supplied
143 <compiler>:
173 `<processor>-<compiler>.h'.
175 If 64-bit integers are supported by the compiler, the macro name `BITS64'
[all …]
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Wsmt/
DWsmt.aslc45 EFI_ACPI_CREATOR_ID, // ASL compiler vendor ID
46 EFI_ACPI_CREATOR_REVISION, // ASL compiler revision number

1234567