/third_party/node/src/api/ |
D | async_resource.cc | 18 : env_(Environment::GetCurrent(isolate)), in AsyncResource() 20 CHECK_NOT_NULL(env_); in AsyncResource() 26 EmitAsyncDestroy(env_, async_context_); in ~AsyncResource() 32 return node::MakeCallback(env_->isolate(), get_resource(), in MakeCallback() 40 return node::MakeCallback(env_->isolate(), get_resource(), in MakeCallback() 48 return node::MakeCallback(env_->isolate(), get_resource(), in MakeCallback() 54 return resource_.Get(env_->isolate()); in get_resource() 66 : node::CallbackScope(res->env_, in CallbackScope() 67 res->resource_.Get(res->env_->isolate()), in CallbackScope()
|
D | callback.cc | 51 : env_(env), in InternalCallbackScope() 93 env_->PopAsyncCallbackScope(); in ~InternalCallbackScope() 104 if (env_->is_stopping()) { in Close() 106 env_->async_hooks()->clear_async_id_stack(); in Close() 111 if (env_->is_stopping()) return; in Close() 113 Isolate* isolate = env_->isolate(); in Close() 117 AsyncWrap::EmitAfter(env_, async_context_.async_id); in Close() 121 env_->async_hooks()->pop_async_context(async_context_.async_id); in Close() 125 if (env_->async_callback_scope_depth() > 1 || skip_task_queues_) { in Close() 129 TickInfo* tick_info = env_->tick_info(); in Close() [all …]
|
/third_party/node/test/cctest/ |
D | test_base_object_ptr.cc | 49 Env env_{handle_scope, argv}; in TEST_F() local 50 Environment* env = *env_; in TEST_F() 64 Env env_{handle_scope, argv}; in TEST_F() local 65 Environment* env = *env_; in TEST_F() 83 Env env_{handle_scope, argv}; in TEST_F() local 84 Environment* env = *env_; in TEST_F() 101 Env env_{handle_scope, argv}; in TEST_F() local 102 Environment* env = *env_; in TEST_F() 134 Env env_{handle_scope, argv}; in TEST_F() local 135 Environment* env = *env_; in TEST_F() [all …]
|
D | test_environment.cc | 49 SetProcessExitHandler(*env, [&](node::Environment* env_, int exit_code) { in TEST_F() argument 50 EXPECT_EQ(*env, env_); in TEST_F() 110 SetProcessExitHandler(*env, [&](node::Environment* env_, int exit_code) { in TEST_F() argument 111 EXPECT_EQ(*env, env_); in TEST_F() 550 SetProcessExitHandler(*env, [&](node::Environment* env_, int exit_code) { in TEST_F() argument 551 EXPECT_EQ(*env, env_); in TEST_F()
|
/third_party/ninja/src/ |
D | manifest_parser.cc | 32 env_ = &state->bindings_; in ManifestParser() 64 string value = let_value.Evaluate(env_); in Parse() 69 env_->AddBinding(name, value); in Parse() 116 string depth_string = value.Evaluate(env_); in ParsePool() 141 if (env_->LookupRuleCurrentScope(name) != NULL) in ParseRule() 170 env_->AddRule(rule); in ParseRule() 192 string path = eval.Evaluate(env_); in ParseDefault() 249 const Rule* rule = env_->LookupRule(rule_name); in ParseEdge() 308 BindingEnv* env = has_indent_token ? new BindingEnv(env_) : env_; in ParseEdge() 315 env->AddBinding(key, val.Evaluate(env_)); in ParseEdge() [all …]
|
D | dyndep_parser.cc | 85 string version = let_value.Evaluate(&env_); in ParseDyndepVersion() 117 string path = out0.Evaluate(&env_); in ParseEdge() 198 string value = val.Evaluate(&env_); in ParseEdge() 204 string path = i->Evaluate(&env_); in ParseEdge() 215 string path = i->Evaluate(&env_); in ParseEdge()
|
/third_party/node/src/ |
D | node_realm.cc | 27 : env_(env), isolate_(context->GetIsolate()) { in Realm() 48 tracker->TrackField("env", env_); in MemoryInfo() 60 per_context_bindings->Get(ctx, env_->primordials_string()) in CreateProperties() 212 loader_exports_obj->Get(context(), env_->internal_binding_string()) in BootstrapInternalLoaders() 217 loader_exports_obj->Get(context(), env_->require_string()) in BootstrapInternalLoaders() 243 if (!env_->no_browser_globals()) { in BootstrapNode() 253 env_->is_main_thread() ? "internal/bootstrap/switches/is_main_thread" in BootstrapNode() 262 env_->owns_process_state() in BootstrapNode() 273 CreateEnvProxyTemplate(isolate_, env_->isolate_data()); in BootstrapNode() 274 if (!env_->env_proxy_template()->NewInstance(context()).ToLocal(&env_proxy) || in BootstrapNode() [all …]
|
D | node_worker.cc | 98 if (env_ != nullptr) in is_stopped() 99 return env_->is_stopping(); in is_stopped() 279 DeleteFnPtr<Environment, FreeEnvironment> env_; in Run() local 286 if (!env_) return; in Run() 287 env_->set_can_call_into_js(false); in Run() 292 this->env_ = nullptr; in Run() 295 env_.reset(); in Run() 329 env_.reset(CreateEnvironment( in Run() 338 CHECK_NOT_NULL(env_); in Run() 339 env_->set_env_vars(std::move(env_vars_)); in Run() [all …]
|
D | node_http_common-inl.h | 122 uint8_t flags) : env_(env), token_(token), flags_(flags) { in NgHeader() 134 : env_(other.env_), in NgHeader() 141 other.env_ = nullptr; in NgHeader() 161 auto& static_str_map = env_->isolate_data()->static_str_map; in GetName() 164 v8::Local<v8::String> str = OneByteString(env_->isolate(), header_name); in GetName() 165 eternal.Set(env_->isolate(), str); in GetName() 168 return eternal.Get(env_->isolate()); in GetName()
|
D | threadpoolwork-inl.h | 34 env_->IncreaseWaitingRequestCounter(); in ScheduleWork() 38 env_->event_loop(), in ScheduleWork() 50 self->env_->DecreaseWaitingRequestCounter(); in ScheduleWork()
|
D | inspector_agent.cc | 398 : env_(env), is_main_(is_main) { in NodeInspectorClient() 429 if (auto agent = env_->inspector_agent()) { in maxAsyncCallStackDepthChanged() 472 channels_[session_id] = std::make_unique<ChannelImpl>(env_, in connectFrontend() 492 contextDestroyed(env_->context()); in disconnectFrontend() 503 return env_->context(); in ensureDefaultContextInGroup() 508 Local<Function> installer = env_->inspector_console_extension_installer(); in installAdditionalCommandLineAPI() 517 Isolate* isolate = env_->isolate(); in ReportUncaughtException() 518 Local<Context> context = env_->context(); in ReportUncaughtException() 548 std::make_tuple(env_, [=]() { callback(data); })); in startRepeatingTimer() 607 env_->inspector_agent()); in getThreadHandle() [all …]
|
D | node_api.cc | 90 CallIntoModule(call, [](napi_env env_, v8::Local<v8::Value> local_err) { in CallbackIntoModule() argument 91 node_napi_env__* env = static_cast<node_napi_env__*>(env_); in CallbackIntoModule() 134 finalizer->env_->CallFinalizer(finalizer->finalize_callback_, in FinalizeBufferCallback() 149 env_->Ref(); in BufferFinalizer() 152 ~BufferFinalizer() { env_->Unref(); } in ~BufferFinalizer() 207 node_napi_env env_, in ThreadSafeFunction() argument 211 : AsyncResource(env_->isolate, in ThreadSafeFunction() 213 *v8::String::Utf8Value(env_->isolate, name)), in ThreadSafeFunction() 219 env(env_), in ThreadSafeFunction() 541 : env_(env) { in AsyncContext() [all …]
|
D | node_worker.h | 130 Environment* env_ = nullptr; variable 139 if (env_ == nullptr) return false; in RequestInterrupt() 140 env_->RequestInterrupt(std::move(cb)); in RequestInterrupt()
|
D | timer_wrap.h | 24 inline Environment* env() const { return env_; } in env() 46 Environment* env_; variable
|
D | inspector_profiler.h | 36 Environment* env() const { return env_; } in env() 79 Environment* env_ = nullptr;
|
D | node_internals.h | 238 Environment* env_; 265 : env_(env), type_(type) { in ThreadPoolWork() 276 Environment* env() const { return env_; } in env() 279 Environment* env_;
|
/third_party/node/src/crypto/ |
D | crypto_bio.h | 152 Buffer(Environment* env, size_t len) : env_(env), in Buffer() 158 if (env_ != nullptr) in Buffer() 159 env_->isolate()->AdjustAmountOfExternalAllocatedMemory(len); in Buffer() 164 if (env_ != nullptr) { in ~Buffer() 166 env_->isolate()->AdjustAmountOfExternalAllocatedMemory(-len); in ~Buffer() 170 Environment* env_; variable 178 Environment* env_ = nullptr; variable
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | pass_fixture.h | 56 env_(SPV_ENV_UNIVERSAL_1_3) {} 63 context_ = BuildModule(env_, consumer_, original, assemble_options_); in OptimizeToBinary() 106 spv_context spvContext = spvContextCreate(env_); in SinglePassRunAndDisassemble() 117 SpirvTools tools(env_); in SinglePassRunAndDisassemble() 143 spv_context spvContext = spvContextCreate(env_); in SinglePassRunAndCheck() 154 SpirvTools tools(env_); in SinglePassRunAndCheck() 202 context_ = BuildModule(env_, consumer_, original, assemble_options_); in SinglePassRunAndFail() 239 context_ = BuildModule(env_, nullptr, original, assemble_options_); in RunAndCheck() 254 SpirvTools tools(env_); in RunAndCheck() 279 void SetTargetEnv(spv_target_env env) { env_ = env; } in SetTargetEnv() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | pass_fixture.h | 56 env_(SPV_ENV_UNIVERSAL_1_3) {} 63 context_ = BuildModule(env_, consumer_, original, assemble_options_); in OptimizeToBinary() 106 spv_context spvContext = spvContextCreate(env_); in SinglePassRunAndDisassemble() 117 SpirvTools tools(env_); in SinglePassRunAndDisassemble() 143 spv_context spvContext = spvContextCreate(env_); in SinglePassRunAndCheck() 154 SpirvTools tools(env_); in SinglePassRunAndCheck() 202 context_ = BuildModule(env_, consumer_, original, assemble_options_); in SinglePassRunAndFail() 239 context_ = BuildModule(env_, nullptr, original, assemble_options_); in RunAndCheck() 254 SpirvTools tools(env_); in RunAndCheck() 279 void SetTargetEnv(spv_target_env env) { env_ = env; } in SetTargetEnv() [all …]
|
/third_party/spirv-tools/test/opt/ |
D | pass_fixture.h | 56 env_(SPV_ENV_UNIVERSAL_1_3) {} 63 context_ = BuildModule(env_, consumer_, original, assemble_options_); in OptimizeToBinary() 106 spv_context spvContext = spvContextCreate(env_); in SinglePassRunAndDisassemble() 117 SpirvTools tools(env_); in SinglePassRunAndDisassemble() 143 spv_context spvContext = spvContextCreate(env_); in SinglePassRunAndCheck() 154 SpirvTools tools(env_); in SinglePassRunAndCheck() 202 context_ = BuildModule(env_, consumer_, original, assemble_options_); in SinglePassRunAndFail() 239 context_ = BuildModule(env_, nullptr, original, assemble_options_); in RunAndCheck() 254 SpirvTools tools(env_); in RunAndCheck() 279 void SetTargetEnv(spv_target_env env) { env_ = env; } in SetTargetEnv() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | AsyncRunner.cpp | 22 AsyncRunner::AsyncRunner(Napi::Env env, wgpu::Device device) : env_(env), device_(device) { in AsyncRunner() 44 env_.Global() in QueueTick() 49 Napi::Function::New(env_, in QueueTick()
|
/third_party/node/test/js-native-api/8_passing_wrapped/ |
D | myobject.cc | 6 MyObject::MyObject() : env_(nullptr), wrapper_(nullptr) {} in MyObject() 10 napi_delete_reference(env_, wrapper_); in ~MyObject() 52 obj->env_ = env; in New()
|
/third_party/node/test/js-native-api/7_factory_wrap/ |
D | myobject.cc | 6 MyObject::MyObject() : env_(nullptr), wrapper_(nullptr) {} in MyObject() 8 MyObject::~MyObject() { napi_delete_reference(env_, wrapper_); } in ~MyObject() 60 obj->env_ = env; in New()
|
/third_party/node/test/js-native-api/6_object_wrap/ |
D | 6_object_wrap.cc | 8 : value_(value), env_(nullptr), wrapper_(nullptr) {} in MyObject() 10 MyObject::~MyObject() { napi_delete_reference(env_, wrapper_); } in ~MyObject() 63 obj->env_ = env; in New()
|
/third_party/node/deps/v8/src/compiler/ |
D | wasm-inlining.h | 44 env_(env), in WasmInliner() 102 wasm::CompilationEnv* const env_; variable
|