Home
last modified time | relevance | path

Searched refs:environment (Results 1 – 25 of 1056) sorted by relevance

12345678910>>...43

/external/v8/src/compiler/
Dcontrol-builders.cc14 else_environment_ = environment()->CopyForConditional(); in If()
23 then_environment_ = environment(); in Else()
30 then_environment_->Merge(environment()); in End()
36 loop_environment_ = environment()->CopyForLoop(assigned, is_osr); in BeginLoop()
37 continue_environment_ = environment()->CopyAsUnreachable(); in BeginLoop()
38 break_environment_ = environment()->CopyAsUnreachable(); in BeginLoop()
44 continue_environment_->Merge(environment()); in Continue()
45 environment()->MarkAsUnreachable(); in Continue()
50 break_environment_->Merge(environment()); in Break()
51 environment()->MarkAsUnreachable(); in Break()
[all …]
Dbytecode-graph-builder.cc554 Node* native_context = NewNode(op, environment()->Context()); in BuildLoadNativeContextField()
596 if (environment()->GetEffectDependency()->opcode() != IrOpcode::kCheckpoint) { in PrepareEagerCheckpoint()
604 Node* frame_state_before = environment()->Checkpoint( in PrepareEagerCheckpoint()
621 environment()->Checkpoint(bailout_id, combine, has_exception); in PrepareFrameState()
659 if (environment() != nullptr) { in VisitBytecodes()
688 environment()->BindAccumulator(node); in VisitLdaZero()
693 environment()->BindAccumulator(node); in VisitLdaSmi()
699 environment()->BindAccumulator(node); in VisitLdaConstant()
704 environment()->BindAccumulator(node); in VisitLdaUndefined()
709 environment()->BindAccumulator(node); in VisitLdaNull()
[all …]
Dast-graph-builder.cc58 Environment* environment() const { return owner_->environment(); } in environment() function in v8::internal::compiler::BASE_EMBEDDED
118 depth_(builder_->environment()->context_chain_length()) { in ContextScope()
119 builder_->environment()->PushContext(context); // Push. in ContextScope()
125 builder_->environment()->PopContext(); in ~ContextScope()
126 CHECK_EQ(depth_, builder_->environment()->context_chain_length()); in ~ContextScope()
152 context_length_(builder->environment()->context_chain_length()), in ControlScope()
153 stack_height_(builder->environment()->stack_height()) { in ControlScope()
198 Environment* environment() { return builder_->environment(); } in environment() function in v8::internal::compiler::BASE_EMBEDDED
925 original_height_ = environment()->stack_height(); in AstContext()
936 DCHECK(environment()->stack_height() == original_height_); in ~AstEffectContext()
[all …]
/external/libmojo/third_party/jinja2/
Dlexer.py189 def compile_rules(environment): argument
193 (len(environment.comment_start_string), 'comment',
194 e(environment.comment_start_string)),
195 (len(environment.block_start_string), 'block',
196 e(environment.block_start_string)),
197 (len(environment.variable_start_string), 'variable',
198 e(environment.variable_start_string))
201 if environment.line_statement_prefix is not None:
202 rules.append((len(environment.line_statement_prefix), 'linestatement',
203 r'^[ \t\v]*' + e(environment.line_statement_prefix)))
[all …]
Dloaders.py70 def get_source(self, environment, template): argument
100 def load(self, environment, name, globals=None): argument
113 source, filename, uptodate = self.get_source(environment, name)
117 bcc = environment.bytecode_cache
119 bucket = bcc.get_bucket(environment, name, filename, source)
125 code = environment.compile(source, name, filename)
134 return environment.template_class.from_code(environment, code,
159 def get_source(self, environment, template): argument
221 def get_source(self, environment, template): argument
272 def get_source(self, environment, template): argument
[all …]
Dfilters.py54 def make_attrgetter(environment, attribute): argument
62 return lambda x: environment.getitem(x, attribute)
68 item = environment.getitem(item, part)
227 def do_sort(environment, value, reverse=False, case_sensitive=False, argument
262 getter = make_attrgetter(environment, attribute)
314 value = imap(make_attrgetter(eval_ctx.environment, attribute), value)
346 def do_first(environment, seq): argument
351 return environment.undefined('No first item, sequence was empty.')
355 def do_last(environment, seq): argument
360 return environment.undefined('No last item, sequence was empty.')
[all …]
Doptimizer.py23 def optimize(node, environment): argument
26 optimizer = Optimizer(environment)
32 def __init__(self, environment): argument
33 self.environment = environment
60 environment=self.environment)
Dnodes.py81 def __init__(self, environment, template_name=None): argument
82 self.environment = environment
83 if callable(environment.autoescape):
84 self.autoescape = environment.autoescape(template_name)
86 self.autoescape = environment.autoescape
99 if node.environment is None:
103 return EvalContext(node.environment)
219 def set_environment(self, environment): argument
224 node.environment = environment
381 if self.environment.sandboxed and \
[all …]
Dext.py19 from jinja2.environment import Environment
70 def __init__(self, environment): argument
71 self.environment = environment
73 def bind(self, environment): argument
77 rv.environment = environment
167 def __init__(self, environment): argument
168 Extension.__init__(self, environment)
169 environment.globals['_'] = _gettext_alias
170 environment.extend(
197 self.environment.newstyle_gettext = newstyle
[all …]
Druntime.py53 def new_context(environment, template_name, blocks, vars=None, argument
70 return Context(environment, parent, template_name, blocks)
112 def __init__(self, environment, parent, name, blocks): argument
115 self.environment = environment
116 self.eval_ctx = EvalContext(self.environment, name)
132 return self.environment.undefined('there is no parent block '
154 return self.environment.undefined(name=key)
191 args = (__self.environment,) + args
195 return __self.environment.undefined('value was undefined because '
201 context = new_context(self.environment, self.name, {},
[all …]
Denvironment.py78 def load_extensions(environment, extensions): argument
86 result[extension.identifier] = extension(environment)
90 def _environment_sanity_check(environment): argument
92 assert issubclass(environment.undefined, Undefined), 'undefined must ' \
94 assert environment.block_start_string != \
95 environment.variable_start_string != \
96 environment.comment_start_string, 'block, variable and comment ' \
98 assert environment.newline_sequence in ('\r', '\r\n', '\n'), \
100 return environment
909 def from_code(cls, environment, code, globals, uptodate=None): argument
[all …]
/external/v8/src/crankshaft/
Dhydrogen-osr.cc44 HEnvironment *environment = builder_->environment(); in BuildOsrLoopEntry() local
45 int first_expression_index = environment->first_expression_index(); in BuildOsrLoopEntry()
46 int length = environment->length(); in BuildOsrLoopEntry()
51 = builder_->Add<HUnknownOSRValue>(environment, i); in BuildOsrLoopEntry()
52 environment->Bind(i, osr_value); in BuildOsrLoopEntry()
57 environment->Drop(length - first_expression_index); in BuildOsrLoopEntry()
60 = builder_->Add<HUnknownOSRValue>(environment, i); in BuildOsrLoopEntry()
61 environment->Push(osr_value); in BuildOsrLoopEntry()
67 environment->local_count() + environment->push_count(); in BuildOsrLoopEntry()
71 environment = environment->Copy(); in BuildOsrLoopEntry()
[all …]
Dlithium-codegen.cc135 if (instr->HasEnvironment() && !instr->environment()->has_been_used()) { in CheckEnvironmentUsage()
216 void LCodeGenBase::WriteTranslationFrame(LEnvironment* environment, in WriteTranslationFrame() argument
218 int translation_size = environment->translation_size(); in WriteTranslationFrame()
220 int height = translation_size - environment->parameter_count(); in WriteTranslationFrame()
222 switch (environment->frame_type()) { in WriteTranslationFrame()
225 environment->entry() ? environment->entry()->shared() in WriteTranslationFrame()
227 translation->BeginJSFrame(environment->ast_id(), shared_id, height); in WriteTranslationFrame()
228 if (info()->closure().is_identical_to(environment->closure())) { in WriteTranslationFrame()
231 int closure_id = DefineDeoptimizationLiteral(environment->closure()); in WriteTranslationFrame()
238 environment->entry() ? environment->entry()->shared() in WriteTranslationFrame()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/
Dbenchmark_runner.py142 def ProcessCommandLineArgs(cls, parser, args, environment): argument
144 args.benchmarks = _Benchmarks(environment)
147 environment, exact_matches=False)
186 def AddCommandLineArgs(cls, parser, environment): argument
192 matching_benchmarks += _MatchBenchmarkName(arg, environment)
204 def ProcessCommandLineArgs(cls, parser, args, environment): argument
205 all_benchmarks = _Benchmarks(environment)
213 matching_benchmarks = _MatchBenchmarkName(input_benchmark_name, environment)
257 def _Benchmarks(environment): argument
259 for search_dir in environment.benchmark_dirs:
[all …]
/external/llvm/utils/lit/lit/
DTestingConfig.py19 environment = {
34 environment[var] = val
37 environment.update({
49 environment.update({
66 environment = environment,
120 environment, substitutions, unsupported, argument
128 self.environment = dict(environment)
148 self.environment = dict(self.environment)
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DTestingConfig.py13 environment = {
22 environment.update({
34 environment = environment,
66 environment, substitutions, unsupported, on_clone, argument
73 self.environment = dict(environment)
87 self.environment, self.substitutions,
100 self.environment = dict(self.environment)
/external/ImageMagick/
DMake.com92 $ define/nolog magickshr 'f$environment("default")'magickshr.exe
118 $display:==$'f$environment("default")'display
130 $import:==$'f$environment("default")'import
142 $animate:==$'f$environment("default")'animate
154 $montage:==$'f$environment("default")'montage
166 $mogrify:==$'f$environment("default")'mogrify
178 $convert:==$'f$environment("default")'convert
189 $compare:==$'f$environment("default")'compare
200 $identify:==$'f$environment("default")'identify
211 $composite:==$'f$environment("default")'composite
/external/syslinux/gpxe/src/arch/i386/
DREADME.i38668 of an "internal" and an "external" environment. The internal
69 environment is the environment within which we can execute C code.
70 The external environment is the environment of whatever external code
74 environment also has a separate stack.
81 environment and an internal 32-bit protected-mode environment with
87 16:16 or 16:32 protected-mode) environment and an internal 16-bit
88 real-mode (or 16:16 protected-mode) environment.
93 environment with flat physical addresses and an internal 32-bit
94 protected-mode environment with virtual addresses.
127 implemented in assembly code which sets up the internal environment
[all …]
/external/swiftshader/third_party/LLVM/test/
Dlit.cfg30 config.environment['PATH'],
34 config.environment['PATH']))
35 config.environment['PATH'] = path
54 config.environment['PATH']))
55 config.environment['PATH'] = path
62 config.environment['PATH']))
63 config.environment['PATH'] = path
68 path = os.path.pathsep.join((llvm_tools_dir, config.environment['PATH']))
69 config.environment['PATH'] = path
71 # Propagate 'HOME' through the environment.
[all …]
/external/clang/tools/scan-build-py/libscanbuild/
Dintercept.py96 environment = setup_environment(args, tmp_dir, bin_dir)
97 logging.debug('run build in environment: %s', environment)
98 exit_code = subprocess.call(args.build, env=environment)
128 environment = dict(os.environ)
129 environment.update({'INTERCEPT_BUILD_TARGET_DIR': destination})
133 environment.update({
142 environment.update({
148 environment.update({'LD_PRELOAD': libear_path})
150 return environment
/external/llvm/test/
Dlit.cfg21 config.environment['PATH'],
25 config.environment['PATH']))
26 config.environment['PATH'] = path
29 # LIT_USE_INTERNAL_SHELL is in the environment, we use that as an override.
64 path = os.path.pathsep.join((llvm_tools_dir, config.environment['PATH']))
65 config.environment['PATH'] = path
67 # Propagate 'HOME' through the environment.
69 config.environment['HOME'] = os.environ['HOME']
71 # Propagate 'INCLUDE' through the environment.
73 config.environment['INCLUDE'] = os.environ['INCLUDE']
[all …]
/external/llvm/test/MC/Mips/
Dset-push-pop-directives.s3 # .set push creates a copy of the current environment.
4 # .set pop restores the previous environment.
8 # The first environment on the stack (with initial values).
13 # Create a new environment.
23 # Switch back to the first environment.
/external/compiler-rt/unittests/
Dlit.common.unit.cfg22 path = os.path.pathsep.join((llvm_tools_dir, config.environment['PATH']))
23 config.environment['PATH'] = path
28 config.environment['TMP'] = os.environ['TMP']
30 config.environment['TEMP'] = os.environ['TEMP']
/external/autotest/client/cros/cellular/
Denvironment_test_noautorun.py33 import environment
44 with environment.DefaultCellularTestContext(config) as c:
53 with environment.DefaultCellularTestContext(config) as c:
/external/clang/test/
Dlit.cfg22 config.environment['PATH'],
26 config.environment['PATH']))
27 config.environment['PATH'] = path
30 # LIT_USE_INTERNAL_SHELL is in the environment, we use that as an override.
66 # Clear some environment variables that might affect Clang.
91 if name in config.environment:
92 del config.environment[name]
103 clang_tools_dir, llvm_tools_dir, config.environment['PATH']))
104 config.environment['PATH'] = path
109 config.environment.get('LD_LIBRARY_PATH','')))
[all …]

12345678910>>...43