Home
last modified time | relevance | path

Searched full:environment (Results 1 – 25 of 3414) sorted by relevance

12345678910>>...137

/external/v8/src/compiler/
Dbytecode-graph-builder.cc23 // The abstract execution environment simulates the content of the interpreter
24 // register file. The environment performs SSA-renaming of all tracked nodes at
26 class BytecodeGraphBuilder::Environment : public ZoneObject { class in v8::internal::compiler::BytecodeGraphBuilder
28 Environment(BytecodeGraphBuilder* builder, int register_count,
31 // Specifies whether environment binding methods should attach frame state
52 // Effect dependency tracked by this environment.
58 // Preserve a checkpoint of the environment for the IR graph. Any
59 // further mutation of the environment will not affect checkpoints.
64 // Control dependency tracked by this environment.
73 Environment* Copy();
[all …]
Dcontrol-builders.cc16 else_environment_ = environment()->CopyForConditional(); in If()
25 then_environment_ = environment(); in Else()
32 then_environment_->Merge(environment()); in End()
38 loop_environment_ = environment()->CopyForLoop(assigned, is_osr); in BeginLoop()
39 continue_environment_ = environment()->CopyAsUnreachable(); in BeginLoop()
40 break_environment_ = environment()->CopyAsUnreachable(); in BeginLoop()
46 continue_environment_->Merge(environment()); in Continue()
47 environment()->MarkAsUnreachable(); in Continue()
52 break_environment_->Merge(environment()); in Break()
53 environment()->MarkAsUnreachable(); in Break()
[all …]
Dcontrol-builders.h28 typedef AstGraphBuilder::Environment Environment; typedef
31 Environment* environment() { return builder_->environment(); } in environment() function
32 void set_environment(Environment* env) { builder_->set_environment(env); } in set_environment()
54 Environment* then_environment_; // Environment after the 'then' body.
55 Environment* else_environment_; // Environment for the 'else' body.
87 Environment* loop_environment_; // Environment of the loop header.
88 Environment* continue_environment_; // Environment after the loop body.
89 Environment* break_environment_; // Environment after the loop exits.
90 BitVector* assigned_; // Assigned values in the environment.
120 Environment* body_environment_; // Environment after last case body.
[all …]
Dast-graph-builder.cc60 Environment* environment() const { return owner_->environment(); } in environment() function in v8::internal::compiler::BASE_EMBEDDED
120 depth_(builder_->environment()->context_chain_length()) { in ContextScope()
121 builder_->environment()->PushContext(context); // Push. in ContextScope()
127 builder_->environment()->PopContext(); in ~ContextScope()
128 CHECK_EQ(depth_, builder_->environment()->context_chain_length()); in ~ContextScope()
154 context_length_(builder->environment()->context_chain_length()), in ControlScope()
155 stack_height_(builder->environment()->stack_height()) { in ControlScope()
177 // this also drops extra operands from the environment for each skipped scope.
198 Environment* environment() { return builder_->environment(); } in environment() function in v8::internal::compiler::BASE_EMBEDDED
364 // Initialize the top-level environment. in CreateGraph()
[all …]
Dast-graph-builder.h74 class Environment; variable
82 Environment* environment_;
128 Environment* environment() const { return environment_; } in environment() function
148 void set_environment(Environment* env) { environment_ = env; } in set_environment()
257 // other dependencies tracked by the environment might be mutated though.
405 // The abstract execution environment for generated code consists of
407 // environment will perform proper SSA-renaming of all tracked nodes
413 class AstGraphBuilder::Environment : public ZoneObject {
415 Environment(AstGraphBuilder* builder, DeclarationScope* scope,
479 // Preserve a checkpoint of the environment for the IR graph. Any
[all …]
/external/v8/tools/gcmole/
Dgcmole.cc275 class Environment;
289 static ExprEffect NoneWithEnv(Environment* env) { in NoneWithEnv()
298 Environment* env() { in env()
299 return reinterpret_cast<Environment*>(effect_ & ~kAllEffects); in env()
307 ExprEffect(int effect, Environment* env) in ExprEffect()
319 class Environment { class
321 Environment() = default;
323 static Environment Unreachable() { in Unreachable()
324 Environment env; in Unreachable()
329 static Environment Merge(const Environment& l, in Merge()
[all …]
/external/libmojo/third_party/jinja2/
Dlexer.py189 def compile_rules(environment): argument
190 """Compiles all the rules from the environment into a list of rules."""
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',
[all …]
Denvironment.py3 jinja2.environment
45 """Return a new spontaneous environment. A spontaneous environment is an
46 unnamed and unaccessible (in theory) environment that is used for
52 return Environment(*args)
55 _spontaneous_environments[args] = env = Environment(*args)
78 def load_extensions(environment, extensions): argument
79 """Load the extensions from the list and bind it to the environment.
86 result[extension.identifier] = extension(environment)
90 def _environment_sanity_check(environment): argument
91 """Perform a sanity check on the environment."""
[all …]
Dext.py19 from jinja2.environment import Environment
43 system at the parser level. Custom extensions are bound to an environment
44 but may not store environment specific data on `self`. The reason for
45 this is that an extension can be bound to another environment (for
46 overlays) by creating a copy and reassigning the `environment` attribute.
48 As extensions are created by the environment they cannot accept any
52 storing the configuration values on the environment. Because this way the
53 environment ends up acting as central configuration storage the
70 def __init__(self, environment): argument
71 self.environment = environment
[all …]
Dloaders.py39 implement a custom loading mechanism. The environment provides a
54 def get_source(self, environment, template):
70 def get_source(self, environment, template): argument
72 It's passed the environment and template name and has to return a
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,
[all …]
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:
102 'environment.')
103 return EvalContext(node.environment)
119 two attributes: `lineno` (the line number of the node) and `environment`.
120 The `environment` attribute is set at the end of the parsing process for
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DEnvironment.h1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==//
10 // This file defined the Environment and EnvironmentManager classes.
31 /// An entry in the environment consists of a Stmt and an LocationContext.
32 /// This allows the environment to manage context-sensitive bindings,
56 class Environment {
66 Environment(BindingsTy eb) in Environment() function
77 /// Environment.
80 /// Profile - Profile the contents of an Environment object for use
82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { in Profile()
92 bool operator==(const Environment& RHS) const {
[all …]
/external/v8/src/crankshaft/
Dhydrogen-osr.cc45 HEnvironment *environment = builder_->environment(); in BuildOsrLoopEntry() local
46 int first_expression_index = environment->first_expression_index(); in BuildOsrLoopEntry()
47 int length = environment->length(); in BuildOsrLoopEntry()
52 = builder_->Add<HUnknownOSRValue>(environment, i); in BuildOsrLoopEntry()
53 environment->Bind(i, osr_value); in BuildOsrLoopEntry()
58 environment->Drop(length - first_expression_index); in BuildOsrLoopEntry()
61 = builder_->Add<HUnknownOSRValue>(environment, i); in BuildOsrLoopEntry()
62 environment->Push(osr_value); in BuildOsrLoopEntry()
68 environment->local_count() + environment->push_count(); in BuildOsrLoopEntry()
70 // Keep a copy of the old environment, since the OSR values need it in BuildOsrLoopEntry()
[all …]
Dlithium-codegen.cc137 if (instr->HasEnvironment() && !instr->environment()->has_been_used()) { in CheckEnvironmentUsage()
138 V8_Fatal(__FILE__, __LINE__, "unused environment for %s (%s)", in CheckEnvironmentUsage()
218 void LCodeGenBase::WriteTranslationFrame(LEnvironment* environment, in WriteTranslationFrame() argument
220 int translation_size = environment->translation_size(); in WriteTranslationFrame()
222 int height = translation_size - environment->parameter_count(); in WriteTranslationFrame()
224 switch (environment->frame_type()) { in WriteTranslationFrame()
227 environment->entry() ? environment->entry()->shared() in WriteTranslationFrame()
229 translation->BeginJSFrame(environment->ast_id(), shared_id, height); in WriteTranslationFrame()
230 if (info()->closure().is_identical_to(environment->closure())) { in WriteTranslationFrame()
233 int closure_id = DefineDeoptimizationLiteral(environment->closure()); in WriteTranslationFrame()
[all …]
/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/libchrome/base/
Denvironment_unittest.cc5 #include "base/environment.h"
19 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
26 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
55 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
60 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
66 // Now verify that the environment has the new variable. in TEST_F()
75 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
79 // First set some environment variable. in TEST_F()
82 // Now verify that the environment has the new variable. in TEST_F()
85 // Finally verify that the environment variable was erased. in TEST_F()
Denvironment.h27 class BASE_EXPORT Environment {
29 virtual ~Environment();
32 static std::unique_ptr<Environment> Create();
34 // Gets an environment variable's value and stores it in |result|.
56 // Returns a modified environment vector constructed from the given environment
57 // and the list of changes given in |changes|. Each key in the environment is
62 // This Windows version takes and returns a Windows-style environment block
77 // This Posix version takes and returns a Posix-style environment block, which
/external/vulkan-validation-layers/tests/
Drun_extra_loader_tests.sh24 # Check for the json which does not include the optional enable environment variable.
39 # Test without setting enable environment variable. The loader should not load the layer.
44 echo "test layer detected but enable environment variable was not set" >&2
48 # Test enable environment variable with good value. The loader should load the layer.
58 # Test enable environment variable with bad value. The loader should not load the layer.
64 echo "test layer detected but enable environment variable was set to wrong value" >&2
68 # Test disable environment variable. The loader should not load the layer.
74 echo "test layer detected but disable environment variable was set" >&2
78 # Remove the enable environment variable.
81 echo "unable to remove enable environment variable" >&2
[all …]
/external/python/cpython2/Lib/
Drexec.py6 environment that only exposes those built-in operations that are
126 Code executed in this restricted environment will only have access to
172 import within the restricted environment.)
308 """Execute code within a restricted environment.
312 executed in the restricted environment's __main__ module.
319 """Evaluate code within a restricted environment.
323 the restricted environment's __main__ module. The value of the
332 environment's __main__ module.
343 restricted environment. Overriding this method in a subclass is
344 used to change the policies enforced by a restricted environment.
[all …]
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DTestingConfig.py12 # Set the environment based on the command line arguments.
13 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/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/lib/StaticAnalyzer/Core/
DEnvironment.cpp1 //== Environment.cpp - Map from Stmt* to Locations/Values -------*- C++ -*--==//
10 // This file defined the Environment and EnvironmentManager classes.
60 SVal Environment::lookupExpr(const EnvironmentEntry &E) const { in lookupExpr()
69 SVal Environment::getSVal(const EnvironmentEntry &Entry, in getSVal()
110 Environment EnvironmentManager::bindExpr(Environment Env, in bindExpr()
116 return Environment(F.remove(Env.ExprBindings, E)); in bindExpr()
120 return Environment(F.add(Env.ExprBindings, E, V)); in bindExpr()
146 Environment
147 EnvironmentManager::removeDeadBindings(Environment Env, in removeDeadBindings()
151 // We construct a new Environment object entirely, as this is cheaper than in removeDeadBindings()
[all …]
/external/llvm/utils/lit/lit/
DTestingConfig.py18 # Set the environment based on the command line arguments.
19 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/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/python/cpython2/Doc/library/
Drexec.rst23 executed in this restricted environment will only have access to modules and
57 environment.)
69 It is important to be aware that code running in a restricted environment can
74 restricted environment is not sufficient --- the restricted code could still use
98 code object, which will be evaluated in the restricted environment's
106 compiled code object, which will be executed in the restricted environment's
113 environment's :mod:`__main__` module.
123 in the restricted environment.
129 be executed in the restricted environment.
135 environment.
[all …]

12345678910>>...137