Home
last modified time | relevance | path

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

12345678910>>...170

/third_party/node/src/
Denv-inl.h118 inline Environment* AsyncHooks::env() { in env()
119 return Environment::ForAsyncHooks(this); in env()
122 Environment* Environment::ForAsyncHooks(AsyncHooks* hooks) { in ForAsyncHooks()
123 return ContainerOf(&Environment::async_hooks_, hooks); in ForAsyncHooks()
126 inline size_t Environment::async_callback_scope_depth() const { in async_callback_scope_depth()
130 inline void Environment::PushAsyncCallbackScope() { in PushAsyncCallbackScope()
134 inline void Environment::PopAsyncCallbackScope() { in PopAsyncCallbackScope()
174 inline Environment* Environment::GetCurrent(v8::Isolate* isolate) { in GetCurrent()
180 inline Environment* Environment::GetCurrent(v8::Local<v8::Context> context) { in GetCurrent()
184 return static_cast<Environment*>( in GetCurrent()
[all …]
Dnode_report_module.cc30 Environment* env = Environment::GetCurrent(info); in WriteReport()
55 Environment* env = Environment::GetCurrent(info); in GetReport()
81 Environment* env = Environment::GetCurrent(info); in SetCompact()
89 Environment* env = Environment::GetCurrent(info); in GetDirectory()
97 Environment* env = Environment::GetCurrent(info); in SetDirectory()
105 Environment* env = Environment::GetCurrent(info); in GetFilename()
113 Environment* env = Environment::GetCurrent(info); in SetFilename()
120 Environment* env = Environment::GetCurrent(info); in GetSignal()
127 Environment* env = Environment::GetCurrent(info); in SetSignal()
145 Environment* env = Environment::GetCurrent(info); in ShouldReportOnSignal()
[all …]
Djsvm.h153 …* @brief This function create a new environment with optional properties for the context of the ne…
158 * @param result: The new environment created.
168 * @brief This function create a new environment from the start snapshot of the vm.
171 * @param index: The index of the environment in the snapshot.
172 * @param result: The new environment created.
181 * @brief This function destroys the environment.
183 * @param env: The environment to be destroyed.
190 * @brief This function open a new environment scope.
192 * @param env: The environment that the JSVM-API call is invoked under.
193 * @param result: The new environment scope.
[all …]
Dinspector_js_api.cc46 static Local<String> GetClassName(Environment* env) { in GetClassName()
57 static Local<String> GetClassName(Environment* env) { in GetClassName()
67 JSBindingsSessionDelegate(Environment* env, in JSBindingsSessionDelegate()
86 Environment* env_;
90 JSBindingsConnection(Environment* env, in JSBindingsConnection()
104 static void Bind(Environment* env, Local<Object> target) { in Bind()
119 Environment* env = Environment::GetCurrent(info); in New()
139 Environment* env = Environment::GetCurrent(info); in Dispatch()
168 static bool InspectorEnabled(Environment* env) { in InspectorEnabled()
174 auto env = Environment::GetCurrent(info); in SetConsoleExtensionInstaller()
[all …]
Denv.cc76 void Environment::ResetPromiseHooks(Local<Function> init, in ResetPromiseHooks()
203 void Environment::TrackContext(Local<Context> context) { in TrackContext()
210 void Environment::UntrackContext(Local<Context> context) { in UntrackContext()
227 Environment* env, double default_trigger_async_id) in DefaultTriggerAsyncIdScope()
514 // Ideally, we’d have a consistent story that treats all threads/Environment in UpdateTraceCategoryState()
541 void Environment::AssignToContext(Local<v8::Context> context, in AssignToContext()
567 void Environment::TryLoadAddon( in TryLoadAddon()
577 std::string Environment::GetCwd() { in GetCwd()
593 void Environment::add_refs(int64_t diff) { in add_refs()
602 uv_buf_t Environment::allocate_managed_buffer(const size_t suggested_size) { in allocate_managed_buffer()
[all …]
/third_party/python/Doc/library/
Dvenv.rst20 site directories. Each virtual environment has its own Python binary (which
21 matches the version of the binary that was used to create this environment) and
30 …python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment>`__
41 .. note:: A virtual environment is a Python environment such that the Python
47 A virtual environment is a directory tree which contains Python executable
48 files and other files which indicate that it is a virtual environment.
52 environment is active, they install Python packages into the virtual
53 environment without needing to be told to do so explicitly.
55 When a virtual environment is active (i.e., the virtual environment's Python
58 environment, whereas :attr:`sys.base_prefix` and
[all …]
/third_party/node/deps/v8/src/compiler/
Dbytecode-graph-builder.cc57 class Environment;
110 void set_environment(Environment* env) { environment_ = env; } in set_environment()
111 const Environment* environment() const { return environment_; } in environment() function in v8::internal::compiler::BytecodeGraphBuilder
112 Environment* environment() { return environment_; } in environment() function in v8::internal::compiler::BytecodeGraphBuilder
253 // the result has already been wired into the environment just like
285 // Applies the given early reduction onto the current environment.
289 Environment* CheckContextExtensions(uint32_t depth);
291 Environment* CheckContextExtensionsSlowPath(uint32_t depth);
295 Environment* CheckContextExtensionAtDepth(Environment* slow_environment,
463 Environment* environment_;
[all …]
/third_party/node/src/crypto/
Dcrypto_common.h37 Environment* env,
60 Environment* env,
67 v8::MaybeLocal<v8::Value> GetValidationErrorReason(Environment* env, int err);
69 v8::MaybeLocal<v8::Value> GetValidationErrorCode(Environment* env, int err);
71 v8::MaybeLocal<v8::Value> GetCert(Environment* env, const SSLPointer& ssl);
74 Environment* env,
78 Environment* env,
82 Environment* env,
88 Environment* env,
95 Environment* env,
[all …]
/third_party/node/tools/inspector_protocol/jinja2/
Dlexer.py196 def compile_rules(environment): argument
197 """Compiles all the rules from the environment into a list of rules."""
200 (len(environment.comment_start_string), 'comment',
201 e(environment.comment_start_string)),
202 (len(environment.block_start_string), 'block',
203 e(environment.block_start_string)),
204 (len(environment.variable_start_string), 'variable',
205 e(environment.variable_start_string))
208 if environment.line_statement_prefix is not None:
209 rules.append((len(environment.line_statement_prefix), 'linestatement',
[all …]
Dext.py21 from jinja2.environment import Environment
45 system at the parser level. Custom extensions are bound to an environment
46 but may not store environment specific data on `self`. The reason for
47 this is that an extension can be bound to another environment (for
48 overlays) by creating a copy and reassigning the `environment` attribute.
50 As extensions are created by the environment they cannot accept any
54 storing the configuration values on the environment. Because this way the
55 environment ends up acting as central configuration storage the
72 def __init__(self, environment): argument
73 self.environment = environment
[all …]
/third_party/googletest/googletest/test/
Dgoogletest-global-environment-unittest.py28 """Unit test for Google Test's global test environment behavior.
30 A user can specify a global test environment via
31 testing::AddGlobalTestEnvironment. Failures in the global environment should
35 googletest-global-environment-unittest_ (a program written with Google Test).
47 'googletest-global-environment-unittest_')
52 """Tests global test environment failures."""
60 # We should see the text of the global environment setup error.
61 self.assertIn('Canned environment setup error', txt)
75 # environment should be set up and torn down for each iteration.
84 'Global test environment set-up.'
[all …]
/third_party/python/Doc/using/
Dvenv-create.inc4 python3 -m venv /path/to/new/virtual/environment
12 used at environment creation time). It also creates an (initially empty)
45 ENV_DIR A directory to create the environment in.
50 Give the virtual environment access to the system
56 --clear Delete the contents of the environment directory if it
57 already exists, before environment creation.
58 --upgrade Upgrade the environment directory to use this version
61 environment (pip is bootstrapped by default)
63 environment.
67 Once an environment has been created, you may wish to activate it, e.g. by
[all …]
/third_party/node/src/api/
Dhooks.cc21 void RunAtExit(Environment* env) { in RunAtExit()
25 void AtExit(Environment* env, void (*cb)(void* arg), void* arg) { in AtExit()
30 void EmitBeforeExit(Environment* env) { in EmitBeforeExit()
34 Maybe<bool> EmitProcessBeforeExit(Environment* env) { in EmitProcessBeforeExit()
35 TRACE_EVENT0(TRACING_CATEGORY_NODE1(environment), "BeforeExit"); in EmitProcessBeforeExit()
56 int EmitExit(Environment* env) { in EmitExit()
60 Maybe<int> EmitProcessExit(Environment* env) { in EmitProcessExit()
93 Environment* env;
119 Environment* env = Environment::GetCurrent(isolate); in AddEnvironmentCleanupHook()
127 Environment* env = Environment::GetCurrent(isolate); in RemoveEnvironmentCleanupHook()
[all …]
/third_party/jinja2/
Denvironment.py62 _env_bound = t.TypeVar("_env_bound", bound="Environment")
68 """Return a new spontaneous environment. A spontaneous environment
70 existing environment.
72 :param cls: Environment class to create.
73 :param args: Positional arguments passed to environment.
107 environment: "Environment", argument
110 """Load the extensions from the list and bind it to the environment.
119 result[extension.identifier] = extension(environment)
124 def _environment_config_check(environment: "Environment") -> "Environment": argument
125 """Perform a sanity check on the environment."""
[all …]
Dlexer.py18 from .environment import Environment
211 def compile_rules(environment: "Environment") -> t.List[t.Tuple[str, str]]: argument
212 """Compiles all the rules from the environment into a list of rules."""
216 len(environment.comment_start_string),
218 e(environment.comment_start_string),
221 len(environment.block_start_string),
223 e(environment.block_start_string),
226 len(environment.variable_start_string),
228 e(environment.variable_start_string),
232 if environment.line_statement_prefix is not None:
[all …]
Dloaders.py21 from .environment import Environment
22 from .environment import Template
44 implement a custom loading mechanism. The environment provides a
59 def get_source(self, environment, template):
76 self, environment: "Environment", template: str argument
79 It's passed the environment and template name and has to return a
110 environment: "Environment", argument
126 source, filename, uptodate = self.get_source(environment, name)
130 bcc = environment.bytecode_cache
132 bucket = bcc.get_bucket(environment, name, filename, source)
[all …]
Doptimizer.py16 from .environment import Environment
19 def optimize(node: nodes.Node, environment: "Environment") -> nodes.Node: argument
22 optimizer = Optimizer(environment)
27 def __init__(self, environment: "t.Optional[Environment]") -> None: argument
28 self.environment = environment
42 environment=self.environment,
/third_party/node/deps/v8/third_party/jinja2/
Dlexer.py205 def compile_rules(environment): argument
206 """Compiles all the rules from the environment into a list of rules."""
210 len(environment.comment_start_string),
212 e(environment.comment_start_string),
215 len(environment.block_start_string),
217 e(environment.block_start_string),
220 len(environment.variable_start_string),
222 e(environment.variable_start_string),
226 if environment.line_statement_prefix is not None:
229 len(environment.line_statement_prefix),
[all …]
/third_party/skia/third_party/externals/jinja2/
Dlexer.py205 def compile_rules(environment): argument
206 """Compiles all the rules from the environment into a list of rules."""
210 len(environment.comment_start_string),
212 e(environment.comment_start_string),
215 len(environment.block_start_string),
217 e(environment.block_start_string),
220 len(environment.variable_start_string),
222 e(environment.variable_start_string),
226 if environment.line_statement_prefix is not None:
229 len(environment.line_statement_prefix),
[all …]
Denvironment.py66 """Return a new spontaneous environment. A spontaneous environment
68 existing environment.
70 :param cls: Environment class to create.
71 :param args: Positional arguments passed to environment.
101 def load_extensions(environment, extensions): argument
102 """Load the extensions from the list and bind it to the environment.
109 result[extension.identifier] = extension(environment)
123 def _environment_sanity_check(environment): argument
124 """Perform a sanity check on the environment."""
126 environment.undefined, Undefined
[all …]
/third_party/node/deps/v8/tools/gcmole/
Dgcmole.cc436 class Environment;
450 static ExprEffect NoneWithEnv(Environment* env) { in NoneWithEnv()
459 Environment* env() { in env()
460 return reinterpret_cast<Environment*>(effect_ & ~kAllEffects); in env()
468 ExprEffect(int effect, Environment* env) in ExprEffect()
479 class Environment { class
481 Environment() = default;
483 static Environment Unreachable() { in Unreachable()
484 Environment env; in Unreachable()
489 static Environment Merge(const Environment& l, in Merge()
[all …]
/third_party/python/Lib/venv/
D__init__.py2 Virtual environment (venv) package for Python. Based on PEP 405.
22 This class exists to allow virtual environment creation to be
24 behaviour when called upon to create a virtual environment.
27 *un*available to the created environment.
35 :param clear: If True, delete the contents of the environment directory if
36 it already exists, before environment creation.
38 virtual environment.
39 :param upgrade: If True, upgrade an existing virtual environment.
41 environment
42 :param prompt: Alternative terminal prefix for the environment.
[all …]
/third_party/elfutils/doc/
Ddebuginfod-client-config.77 debuginfod-client-config \- debuginfod client environment variables, cache control files and etc.
10 Several environment variables and control files control the behaviour of debuginfod client applicat…
17 .SH ENVIRONMENT VARIABLES
20 This environment variable points to a file system to be used for
25 This environment variable contains a list of URL prefixes for trusted
27 This environment variable may be set by /etc/profile.d scripts
32 This environment variable governs the location of the cache where
34 directory is chosen based on other environment variables, see below.
38 This environment variable governs the default progress function. If
46 This environment variable governs the default file descriptor for
[all …]
/third_party/python/Tools/nuget/
Dmake_pkg.proj42 <Environment>$(Environment)%0D%0Aset PYTHONPATH=$(PySourcePath)Lib</Environment>
43 <Environment>$(Environment)%0D%0Aset PYTHON_NUSPEC_VERSION=$(NuspecVersion)</Environment>
44 …<Environment Condition="$(Platform) != 'x86'">$(Environment)%0D%0Aset PYTHON_PROPS_PLATFORM=$(Plat…
45 …<Environment Condition="$(Platform) == 'x86'">$(Environment)%0D%0Aset PYTHON_PROPS_PLATFORM=Win32<…
46 … <Environment>$(Environment)%0D%0Amkdir "$(OutputPath.Trim(`\`))" &gt;nul 2&gt;nul</Environment>
55 … <Exec Command="setlocal%0D%0A$(Environment)%0D%0A$(PythonArguments)%0D%0A$(PackageArguments)" />
/third_party/node/test/sequential/
Dtest-perf-hooks.js52 environment,
71 assert.strictEqual(typeof environment, 'number');
72 assert(environment > 0, `environment ${environment} <= 0`);
73 // Environment starts after V8 starts.
74 assert(environment > v8Start,
75 `environment ${environment} <= ${v8Start}`);
76 // Environment starts before this test starts.
77 assert(environment < testStartTime,
78 `environment ${environment} >= ${testStartTime}`);
82 // Bootstrap completes after environment starts.
[all …]

12345678910>>...170