Home
last modified time | relevance | path

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

12345678910>>...60

/external/v8/src/compiler/
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 …]
Dbytecode-graph-builder.cc590 Node* frame_state_before = environment()->Checkpoint( in PrepareEagerCheckpoint()
598 Node* effect = environment()->GetEffectDependency(); in PrepareEagerCheckpoint()
625 Node* frame_state_after = environment()->Checkpoint( in PrepareFrameState()
655 if (environment() != nullptr) { in VisitBytecodes()
682 environment()->BindAccumulator(node); in VisitLdaZero()
687 environment()->BindAccumulator(node); in VisitLdaSmi()
693 environment()->BindAccumulator(node); in VisitLdaConstant()
698 environment()->BindAccumulator(node); in VisitLdaUndefined()
703 environment()->BindAccumulator(node); in VisitLdaNull()
708 environment()->BindAccumulator(node); in VisitLdaTheHole()
[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()
198 Environment* environment() { return builder_->environment(); } in environment() function in v8::internal::compiler::BASE_EMBEDDED
763 original_height_ = environment()->stack_height(); in AstContext()
774 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 …]
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 …]
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 …]
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)
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 …]
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 …]
/external/python/cpython3/Doc/library/
Dvenv.rst20 site directories. Each virtual environment has its own Python binary (allowing
29 Python interpreter a virtual environment will be based on.
40 .. note:: A virtual environment is a Python environment such that the Python
46 A virtual environment is a directory tree which contains Python executable
47 files and other files which indicate that it is a virtual environment.
51 environment is active, they install Python packages into the virtual
52 environment without needing to be told to do so explicitly.
54 When a virtual environment is active (i.e., the virtual environment's Python
57 environment, whereas :attr:`sys.base_prefix` and
58 :attr:`sys.base_exec_prefix` point to the non-virtual environment Python
[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()
72 environment = environment->Copy(); in BuildOsrLoopEntry()
[all …]
Dlithium-codegen.cc137 if (instr->HasEnvironment() && !instr->environment()->has_been_used()) { 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()
240 environment->entry() ? environment->entry()->shared() in WriteTranslationFrame()
[all …]
/external/python/cpython3/Doc/using/
Dvenv-create.inc4 python3 -m venv /path/to/new/virtual/environment
47 ENV_DIR A directory to create the environment in.
52 Give the virtual environment access to the system
58 --clear Delete the contents of the environment directory if it
59 already exists, before environment creation.
60 --upgrade Upgrade the environment directory to use this version
63 environment (pip is bootstrapped by default)
65 Once an environment has been created, you may wish to activate it, e.g. by
83 invoked to bootstrap ``pip`` into the virtual environment.
86 environment will be created, according to the given options, at each provided
[all …]
/external/tensorflow/tensorflow/contrib/specs/python/
Dspecs.py29 def eval_params(params, environment=None): argument
45 if environment:
46 bindings.update(environment)
51 def eval_spec(spec, environment=None): argument
73 if environment:
74 bindings.update(environment)
79 def create_net_fun(spec, environment=None): argument
99 bindings = eval_spec(spec, environment)
106 def create_net(spec, inputs, environment=None): argument
121 return create_net_fun(spec, environment)(inputs)
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricProcessor.java67 public synchronized void init(ProcessingEnvironment environment) { in init() argument
68 super.init(environment); in init()
69 processOptions(environment.getOptions()); in init()
70 model = new RobolectricModel(environment.getElementUtils(), environment.getTypeUtils()); in init()
72 addValidator(new ImplementationValidator(model, environment)); in init()
73 addValidator(new ImplementsValidator(model, environment)); in init()
74 addValidator(new RealObjectValidator(model, environment)); in init()
75 addValidator(new ResetterValidator(model, environment)); in init()
77 …generators.add(new ShadowProviderGenerator(model, environment, shadowPackage, shouldInstrumentPack… in init()
78 generators.add(new ServiceLoaderGenerator(environment, shadowPackage)); in init()
[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/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/PC/
D_subprocess.c326 getenvironment(PyObject* environment) in getenvironment() argument
335 if (! PyMapping_Check(environment)) { in getenvironment()
341 envsize = PyMapping_Length(environment); in getenvironment()
343 keys = PyMapping_Keys(environment); in getenvironment()
344 values = PyMapping_Values(environment); in getenvironment()
418 PyObject* environment; in sp_CreateProcess() local
456 environment = NULL; in sp_CreateProcess()
458 environment = getenvironment(env_mapping); in sp_CreateProcess()
459 if (! environment) in sp_CreateProcess()
470 environment ? PyString_AS_STRING(environment) : NULL, in sp_CreateProcess()
[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

12345678910>>...60