/third_party/node/src/ |
D | node_realm-inl.h | 11 inline Realm* Realm::GetCurrent(v8::Isolate* isolate) { in GetCurrent() function 14 return GetCurrent(isolate->GetCurrentContext()); in GetCurrent() 17 inline Realm* Realm::GetCurrent(v8::Local<v8::Context> context) { in GetCurrent() function 23 inline Realm* Realm::GetCurrent( in GetCurrent() function 25 return GetCurrent(info.GetIsolate()->GetCurrentContext()); in GetCurrent() 29 inline Realm* Realm::GetCurrent(const v8::PropertyCallbackInfo<T>& info) { in GetCurrent() function 30 return GetCurrent(info.GetIsolate()->GetCurrentContext()); in GetCurrent() 69 DCHECK_EQ(result->realm(), GetCurrent(context)); in GetBindingData() 76 DCHECK_EQ(GetCurrent(context), this); in AddBindingData()
|
D | node_report_module.cc | 30 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 …]
|
D | timers.cc | 21 auto env = Environment::GetCurrent(args); in SetupTimers() 28 Environment* env = Environment::GetCurrent(args); in GetLibuvNow() 33 auto env = Environment::GetCurrent(args); in ScheduleTimer() 38 Environment::GetCurrent(args)->ToggleTimerRef(args[0]->IsTrue()); in ToggleTimerRef() 42 Environment::GetCurrent(args)->ToggleImmediateRef(args[0]->IsTrue()); in ToggleImmediateRef() 49 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | node_credentials.cc | 132 Environment* env = Environment::GetCurrent(args); in SafeGetenv() 237 Environment* env = Environment::GetCurrent(args); in GetUid() 244 Environment* env = Environment::GetCurrent(args); in GetGid() 251 Environment* env = Environment::GetCurrent(args); in GetEUid() 258 Environment* env = Environment::GetCurrent(args); in GetEGid() 265 Environment* env = Environment::GetCurrent(args); in SetGid() 284 Environment* env = Environment::GetCurrent(args); in SetEGid() 303 Environment* env = Environment::GetCurrent(args); in SetUid() 322 Environment* env = Environment::GetCurrent(args); in SetEUid() 341 Environment* env = Environment::GetCurrent(args); in GetGroups() [all …]
|
D | node_process_methods.cc | 76 Environment* env = Environment::GetCurrent(args); in Chdir() 109 Environment* env = Environment::GetCurrent(args); in CPUUsage() 127 Environment* env = Environment::GetCurrent(args); in Cwd() 143 Environment* env = Environment::GetCurrent(args); in Kill() 169 Environment* env = Environment::GetCurrent(args); in Rss() 180 Environment* env = Environment::GetCurrent(args); in MemoryUsage() 225 Environment* env = Environment::GetCurrent(args); in Umask() 244 Environment* env = Environment::GetCurrent(args); in Uptime() 254 Environment* env = Environment::GetCurrent(args); in GetActiveRequests() 271 Environment* env = Environment::GetCurrent(args); in GetActiveHandles() [all …]
|
D | inspector_js_api.cc | 119 Environment* env = Environment::GetCurrent(info); in New() 139 Environment* env = Environment::GetCurrent(info); in Dispatch() 174 auto env = Environment::GetCurrent(info); in SetConsoleExtensionInstaller() 183 Environment* env = Environment::GetCurrent(args); in CallAndPauseOnStart() 197 Environment* env = Environment::GetCurrent(info); in InspectorConsoleCall() 240 Environment* env = Environment::GetCurrent(args); in InvokeAsyncTaskFnWithId() 247 Environment* env = Environment::GetCurrent(args); in AsyncTaskScheduledWrapper() 265 Environment* env = Environment::GetCurrent(args); in RegisterAsyncHookWrapper() 276 Environment* env = Environment::GetCurrent(args); in IsEnabled() 281 Environment* env = Environment::GetCurrent(args); in Open() [all …]
|
D | histogram.cc | 73 Environment* env = Environment::GetCurrent(args); in GetCountBigInt() 88 Environment* env = Environment::GetCurrent(args); in GetMinBigInt() 102 Environment* env = Environment::GetCurrent(args); in GetMaxBigInt() 123 Environment* env = Environment::GetCurrent(args); in GetExceedsBigInt() 147 Environment* env = Environment::GetCurrent(args); in GetPercentileBigInt() 157 Environment* env = Environment::GetCurrent(args); in GetPercentiles() 172 Environment* env = Environment::GetCurrent(args); in GetPercentilesBigInt() 198 Environment* env = Environment::GetCurrent(args); in Record() 212 Environment* env = Environment::GetCurrent(args); in Add() 251 Environment* env = Environment::GetCurrent(args); in New() [all …]
|
D | node_buffer.cc | 289 Environment* env = Environment::GetCurrent(isolate); in New() 343 Environment* env = Environment::GetCurrent(isolate); in New() 385 Environment* env = Environment::GetCurrent(isolate); in Copy() 434 Environment* env = Environment::GetCurrent(isolate); in New() 478 Environment* env = Environment::GetCurrent(isolate); in New() 537 Environment* env = Environment::GetCurrent(args); in StringSlice() 572 Environment* env = Environment::GetCurrent(args); // list, flags in DecodeUTF8() 626 Environment* env = Environment::GetCurrent(args); in Copy() 664 Environment* env = Environment::GetCurrent(args); in Fill() 758 Environment* env = Environment::GetCurrent(args); in StringWrite() [all …]
|
D | node_url.cc | 64 Realm* realm = Realm::GetCurrent(context); in Deserialize() 70 Environment* env = Environment::GetCurrent(args); in DomainToASCII() 93 Environment* env = Environment::GetCurrent(args); in DomainToUnicode() 122 Environment* env = Environment::GetCurrent(args); in CanParse() 147 Environment* env = Environment::GetCurrent(args); in Format() 193 Environment* env = Environment::GetCurrent(args); in Parse() 228 Environment* env = Environment::GetCurrent(args); in Update() 298 Environment* env = Environment::GetCurrent(args); in ToASCII() 309 Environment* env = Environment::GetCurrent(args); in ToUnicode() 338 Realm* realm = Realm::GetCurrent(context); in Initialize()
|
D | node_perf.cc | 101 Environment* env = Environment::GetCurrent(args); in MarkMilestone() 109 Environment* env = Environment::GetCurrent(args); in SetupPerformanceObservers() 200 Environment* env = Environment::GetCurrent(args); in InstallGarbageCollectionTracking() 212 Environment* env = Environment::GetCurrent(args); in RemoveGarbageCollectionTracking() 232 Environment* env = Environment::GetCurrent(args); in Notify() 246 Environment* env = Environment::GetCurrent(args); in LoopIdleTime() 252 Environment* env = Environment::GetCurrent(args); in CreateELDHistogram() 282 Environment* env = Environment::GetCurrent(args); in MarkBootstrapComplete() 291 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | node_task_queue.cc | 76 Environment* env = Environment::GetCurrent(isolate); in PromiseRejectCallback() 164 Environment* env = Environment::GetCurrent(args); in EnqueueMicrotask() 174 Environment* env = Environment::GetCurrent(args); in RunMicrotasks() 179 Environment* env = Environment::GetCurrent(args); in SetTickCallback() 186 Environment* env = Environment::GetCurrent(args); in SetPromiseRejectCallback() 196 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | node_os.cc | 61 Environment* env = Environment::GetCurrent(args); in GetHostname() 78 Environment* env = Environment::GetCurrent(args); in GetOSInformation() 101 Environment* env = Environment::GetCurrent(args); in GetCPUInfo() 151 Environment* env = Environment::GetCurrent(args); in GetUptime() 174 Environment* env = Environment::GetCurrent(args); in GetInterfaceAddresses() 252 Environment* env = Environment::GetCurrent(args); in GetHomeDirectory() 273 Environment* env = Environment::GetCurrent(args); in GetUserInfo() 345 Environment* env = Environment::GetCurrent(args); in SetPriority() 365 Environment* env = Environment::GetCurrent(args); in GetPriority() 392 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | node_wasm_web_api.cc | 79 Environment* env = Environment::GetCurrent(args); in New() 90 Utf8Value url(Environment::GetCurrent(args)->isolate(), args[0]); in SetURL() 120 Environment::GetCurrent(args), in Push() 161 Environment* env = Environment::GetCurrent(info); in StartStreamingCompilation() 191 Environment* env = Environment::GetCurrent(info); in SetImplementation()
|
D | node_realm.h | 45 static inline Realm* GetCurrent(v8::Isolate* isolate); 46 static inline Realm* GetCurrent(v8::Local<v8::Context> context); 47 static inline Realm* GetCurrent( 50 static inline Realm* GetCurrent(const v8::PropertyCallbackInfo<T>& info);
|
D | tty_wrap.cc | 56 Environment* env = Environment::GetCurrent(context); in Initialize() 81 Environment* env = Environment::GetCurrent(args); in IsTTY() 91 Environment* env = Environment::GetCurrent(args); in GetWindowSize() 123 Environment* env = Environment::GetCurrent(args); in New()
|
D | node_blob.cc | 40 Realm* realm = Realm::GetCurrent(context); in Initialize() 91 Environment* env = Environment::GetCurrent(args); in New() 129 Environment* env = Environment::GetCurrent(args); in ToArrayBuffer() 138 Environment* env = Environment::GetCurrent(args); in ToSlice() 238 Environment* env = Environment::GetCurrent(args); in StoreDataObject() 264 Environment* env = Environment::GetCurrent(args); in RevokeDataObject() 275 Environment* env = Environment::GetCurrent(args); in GetDataObject() 374 Environment* env = Environment::GetCurrent(args); in New() 395 Environment* env = Environment::GetCurrent(args); in Run() 465 Realm* realm = Realm::GetCurrent(context); in Deserialize()
|
D | node_dtrace.cc | 146 Environment* env = Environment::GetCurrent(args); in DTRACE_NET_SERVER_CONNECTION() 155 Environment* env = Environment::GetCurrent(args); in DTRACE_NET_STREAM_END() 166 Environment* env = Environment::GetCurrent(args); in DTRACE_HTTP_SERVER_REQUEST() 198 Environment* env = Environment::GetCurrent(args); in DTRACE_HTTP_SERVER_RESPONSE() 211 Environment* env = Environment::GetCurrent(args); in DTRACE_HTTP_CLIENT_REQUEST() 247 Environment* env = Environment::GetCurrent(args); in DTRACE_HTTP_CLIENT_RESPONSE()
|
D | module_wrap.cc | 110 Environment* env = Environment::GetCurrent(args); in New() 268 Environment* env = Environment::GetCurrent(args); in Link() 332 Environment* env = Environment::GetCurrent(args); in Instantiate() 355 Environment* env = Environment::GetCurrent(args); in Evaluate() 432 Environment* env = Environment::GetCurrent(args); in GetNamespace() 469 Environment* env = Environment::GetCurrent(args); in GetStaticDependencySpecifiers() 504 Environment* env = Environment::GetCurrent(context); in ResolveModuleCallback() 557 Environment* env = Environment::GetCurrent(context); in ImportModuleDynamically() 629 Environment* env = Environment::GetCurrent(args); in SetImportModuleDynamicallyCallback() 642 Environment* env = Environment::GetCurrent(context); in HostInitializeImportMetaObjectCallback() [all …]
|
D | async_wrap.cc | 155 Environment* env = Environment::GetCurrent(args); in SetupHooks() 186 Environment* env = Environment::GetCurrent(args); in SetPromiseHooks() 238 p->env = Environment::GetCurrent(args); in RegisterDestroyHook() 256 Environment* env = Environment::GetCurrent(args); in PushAsyncContext() 266 Environment* env = Environment::GetCurrent(args); in PopAsyncContext() 274 Environment* env = Environment::GetCurrent(args); in ExecutionAsyncResource() 283 Environment* env = Environment::GetCurrent(args); in ClearAsyncIdStack() 323 Environment::GetCurrent(args), in QueueDestroyAsyncId() 328 Environment* env = Environment::GetCurrent(args); in SetCallbackTrampoline() 357 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | node_win32_etw_provider.cc | 131 Isolate::GetCurrent()->SetJitCodeEventHandler( in etw_events_change_async() 135 Isolate::GetCurrent()->SetJitCodeEventHandler( in etw_events_change_async() 203 Isolate::GetCurrent()->SetJitCodeEventHandler( in shutdown_etw()
|
D | node_trace_events.cc | 63 Environment* env = Environment::GetCurrent(args); in New() 104 Environment* env = Environment::GetCurrent(args); in GetEnabledCategories() 118 Environment* env = Environment::GetCurrent(args); in SetTraceCategoryStateUpdateHandler() 127 Environment* env = Environment::GetCurrent(context); in Initialize()
|
/third_party/node/src/api/ |
D | hooks.cc | 119 Environment* env = Environment::GetCurrent(isolate); in AddEnvironmentCleanupHook() 127 Environment* env = Environment::GetCurrent(isolate); in RemoveEnvironmentCleanupHook() 151 Environment* env = Environment::GetCurrent(isolate); in AddEnvironmentCleanupHookInternal() 180 Environment* env = Environment::GetCurrent(isolate); in AsyncHooksGetExecutionAsyncId() 186 Environment* env = Environment::GetCurrent(isolate); in AsyncHooksGetTriggerAsyncId() 208 Environment* env = Environment::GetCurrent(isolate); in EmitAsyncInit() 228 EmitAsyncDestroy(Environment::GetCurrent(isolate), asyncContext); in EmitAsyncDestroy()
|
/third_party/node/src/crypto/ |
D | crypto_x509.cc | 57 Environment* env = Environment::GetCurrent(args); in Fingerprint() 174 Environment* env = Environment::GetCurrent(args); in Parse() 210 Environment* env = Environment::GetCurrent(args); in ReturnPropertyThroughBIO() 246 Environment* env = Environment::GetCurrent(args); in ReturnProperty() 266 Environment* env = Environment::GetCurrent(args); in PublicKey() 285 Environment* env = Environment::GetCurrent(args); in Pem() 302 Environment* env = Environment::GetCurrent(args); in CheckHost() 337 Environment* env = Environment::GetCurrent(args); in CheckEmail() 364 Environment* env = Environment::GetCurrent(args); in CheckIP() 387 Environment* env = Environment::GetCurrent(args); in CheckIssued() [all …]
|
D | crypto_hash.cc | 38 Environment* env = Environment::GetCurrent(args); in GetHashes() 89 Environment* env = Environment::GetCurrent(args); in New() 150 Environment* env = Environment::GetCurrent(args); in HashUpdate() 159 Environment* env = Environment::GetCurrent(args); in HashDigest() 246 Environment* env = Environment::GetCurrent(args); in AdditionalConfig() 319 Environment* env = Environment::GetCurrent(args); in InternalVerifyIntegrity()
|
/third_party/node/test/cctest/ |
D | test_environment.cc | 278 EXPECT_EQ(node::Environment::GetCurrent(context), nullptr); in TEST_F() 280 EXPECT_EQ(node::Environment::GetCurrent(isolate_), nullptr); in TEST_F() 283 EXPECT_EQ(node::Environment::GetCurrent(context), nullptr); in TEST_F() 285 EXPECT_EQ(node::Environment::GetCurrent(isolate_), nullptr); in TEST_F() 293 EXPECT_EQ(node::Environment::GetCurrent(v8::Local<v8::Context>()), nullptr); in TEST_F() 296 EXPECT_EQ(node::Environment::GetCurrent(isolate_), env); in TEST_F() 297 EXPECT_EQ(node::Environment::GetCurrent(env->context()), env); in TEST_F() 301 EXPECT_EQ(node::Environment::GetCurrent(context), nullptr); in TEST_F() 303 EXPECT_EQ(node::Environment::GetCurrent(isolate_), env); in TEST_F() 306 EXPECT_EQ(node::Environment::GetCurrent(context), nullptr); in TEST_F() [all …]
|