/third_party/flutter/engine/flutter/fml/ |
D | message_loop_unittests.cc | 24 TEST(MessageLoop, GetCurrent) { in TEST() argument 27 ASSERT_TRUE(fml::MessageLoop::GetCurrent().GetTaskRunner()); in TEST() 38 loop1 = &fml::MessageLoop::GetCurrent(); in TEST() 48 loop2 = &fml::MessageLoop::GetCurrent(); in TEST() 66 auto& loop = fml::MessageLoop::GetCurrent(); in TEST() 69 fml::MessageLoop::GetCurrent().Terminate(); in TEST() 86 auto& loop = fml::MessageLoop::GetCurrent(); in TEST() 94 fml::MessageLoop::GetCurrent().Terminate(); in TEST() 114 auto& loop = fml::MessageLoop::GetCurrent(); in TEST() 124 fml::MessageLoop::GetCurrent().Terminate(); in TEST() [all …]
|
D | gpu_thread_merger_unittests.cc | 23 loop1 = &fml::MessageLoop::GetCurrent(); in TEST() 33 loop2 = &fml::MessageLoop::GetCurrent(); in TEST() 69 loop1 = &fml::MessageLoop::GetCurrent(); in TEST() 78 loop2 = &fml::MessageLoop::GetCurrent(); in TEST() 155 loop1 = &fml::MessageLoop::GetCurrent(); in TEST() 165 loop2 = &fml::MessageLoop::GetCurrent(); in TEST()
|
/third_party/node/src/ |
D | node_report_module.cc | 31 Environment* env = Environment::GetCurrent(info); in WriteReport() 57 Environment* env = Environment::GetCurrent(info); in GetReport() 84 Environment* env = Environment::GetCurrent(info); in SetCompact() 92 Environment* env = Environment::GetCurrent(info); in GetDirectory() 100 Environment* env = Environment::GetCurrent(info); in SetDirectory() 108 Environment* env = Environment::GetCurrent(info); in GetFilename() 116 Environment* env = Environment::GetCurrent(info); in SetFilename() 123 Environment* env = Environment::GetCurrent(info); in GetSignal() 130 Environment* env = Environment::GetCurrent(info); in SetSignal() 149 Environment* env = Environment::GetCurrent(info); in ShouldReportOnSignal() [all …]
|
D | timers.cc | 20 auto env = Environment::GetCurrent(args); in SetupTimers() 27 Environment* env = Environment::GetCurrent(args); in GetLibuvNow() 32 auto env = Environment::GetCurrent(args); in ScheduleTimer() 37 Environment::GetCurrent(args)->ToggleTimerRef(args[0]->IsTrue()); in ToggleTimerRef() 41 Environment::GetCurrent(args)->ToggleImmediateRef(args[0]->IsTrue()); in ToggleImmediateRef() 48 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | node_process_methods.cc | 73 Environment* env = Environment::GetCurrent(args); in Chdir() 126 Environment* env = Environment::GetCurrent(args); in Cwd() 171 Environment* env = Environment::GetCurrent(args); in Kill() 197 Environment* env = Environment::GetCurrent(args); in Rss() 208 Environment* env = Environment::GetCurrent(args); in MemoryUsage() 244 Environment* env = Environment::GetCurrent(args); in Umask() 263 Environment* env = Environment::GetCurrent(args); in Uptime() 273 Environment* env = Environment::GetCurrent(args); in GetActiveRequests() 290 Environment* env = Environment::GetCurrent(args); in GetActiveHandles() 303 Environment* env = Environment::GetCurrent(args); in ResourceUsage() [all …]
|
D | node_credentials.cc | 84 Environment* env = Environment::GetCurrent(args); in SafeGetenv() 187 Environment* env = Environment::GetCurrent(args); in GetUid() 194 Environment* env = Environment::GetCurrent(args); in GetGid() 201 Environment* env = Environment::GetCurrent(args); in GetEUid() 208 Environment* env = Environment::GetCurrent(args); in GetEGid() 215 Environment* env = Environment::GetCurrent(args); in SetGid() 234 Environment* env = Environment::GetCurrent(args); in SetEGid() 253 Environment* env = Environment::GetCurrent(args); in SetUid() 272 Environment* env = Environment::GetCurrent(args); in SetEUid() 291 Environment* env = Environment::GetCurrent(args); in GetGroups() [all …]
|
D | inspector_js_api.cc | 118 Environment* env = Environment::GetCurrent(info); in New() 136 Environment* env = Environment::GetCurrent(info); in Dispatch() 171 auto env = Environment::GetCurrent(info); in SetConsoleExtensionInstaller() 180 Environment* env = Environment::GetCurrent(args); in CallAndPauseOnStart() 194 Environment* env = Environment::GetCurrent(info); in InspectorConsoleCall() 237 Environment* env = Environment::GetCurrent(args); in InvokeAsyncTaskFnWithId() 244 Environment* env = Environment::GetCurrent(args); in AsyncTaskScheduledWrapper() 262 Environment* env = Environment::GetCurrent(args); in RegisterAsyncHookWrapper() 273 Environment* env = Environment::GetCurrent(args); in IsEnabled() 278 Environment* env = Environment::GetCurrent(args); in Open() [all …]
|
D | node_perf.cc | 98 Environment* env = Environment::GetCurrent(args); in New() 127 Environment* env = Environment::GetCurrent(args); in Mark() 146 Environment* env = Environment::GetCurrent(args); in ClearMark() 166 Environment* env = Environment::GetCurrent(args); in Measure() 215 Environment* env = Environment::GetCurrent(args); in MarkMilestone() 226 Environment* env = Environment::GetCurrent(args); in SetupPerformanceObservers() 293 Environment* env = Environment::GetCurrent(args); in InstallGarbageCollectionTracking() 304 Environment* env = Environment::GetCurrent(args); in RemoveGarbageCollectionTracking() 328 Environment* env = Environment::GetCurrent(context); in TimerFunctionCall() 373 Environment* env = Environment::GetCurrent(args); in Timerify() [all …]
|
D | node_task_queue.cc | 39 Environment* env = Environment::GetCurrent(isolate); in PromiseRejectCallback() 93 Environment* env = Environment::GetCurrent(args); in EnqueueMicrotask() 106 Environment* env = Environment::GetCurrent(args); in SetTickCallback() 113 Environment* env = Environment::GetCurrent(args); in SetPromiseRejectCallback() 123 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | node_buffer.cc | 287 Environment* env = Environment::GetCurrent(isolate); in New() 341 Environment* env = Environment::GetCurrent(isolate); in New() 368 Environment* env = Environment::GetCurrent(isolate); in Copy() 404 Environment* env = Environment::GetCurrent(isolate); in New() 448 Environment* env = Environment::GetCurrent(isolate); in New() 489 Environment* env = Environment::GetCurrent(args); in StringSlice() 525 Environment* env = Environment::GetCurrent(args); in Copy() 563 Environment* env = Environment::GetCurrent(args); in Fill() 661 Environment* env = Environment::GetCurrent(args); in StringWrite() 697 Environment* env = Environment::GetCurrent(args); in ByteLengthUtf8() [all …]
|
D | node_dtrace.cc | 145 Environment* env = Environment::GetCurrent(args); in DTRACE_NET_SERVER_CONNECTION() 154 Environment* env = Environment::GetCurrent(args); in DTRACE_NET_STREAM_END() 165 Environment* env = Environment::GetCurrent(args); in DTRACE_HTTP_SERVER_REQUEST() 197 Environment* env = Environment::GetCurrent(args); in DTRACE_HTTP_SERVER_RESPONSE() 210 Environment* env = Environment::GetCurrent(args); in DTRACE_HTTP_CLIENT_REQUEST() 246 Environment* env = Environment::GetCurrent(args); in DTRACE_HTTP_CLIENT_RESPONSE() 295 Environment* env = Environment::GetCurrent(context); in InitializeDTrace()
|
D | tty_wrap.cc | 47 Environment* env = Environment::GetCurrent(context); in Initialize() 70 Environment* env = Environment::GetCurrent(args); in IsTTY() 80 Environment* env = Environment::GetCurrent(args); in GetWindowSize() 112 Environment* env = Environment::GetCurrent(args); in New()
|
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() 164 Environment* env = Environment::GetCurrent(args); in GetInterfaceAddresses() 242 Environment* env = Environment::GetCurrent(args); in GetHomeDirectory() 263 Environment* env = Environment::GetCurrent(args); in GetUserInfo() 335 Environment* env = Environment::GetCurrent(args); in SetPriority() 355 Environment* env = Environment::GetCurrent(args); in GetPriority() 378 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | module_wrap.cc | 111 Environment* env = Environment::GetCurrent(args); in New() 253 Environment* env = Environment::GetCurrent(args); in Link() 309 Environment* env = Environment::GetCurrent(args); in Instantiate() 332 Environment* env = Environment::GetCurrent(args); in Evaluate() 415 Environment* env = Environment::GetCurrent(args); in GetNamespace() 452 Environment* env = Environment::GetCurrent(args); in GetStaticDependencySpecifiers() 481 Environment* env = Environment::GetCurrent(context); in ResolveCallback() 532 Environment* env = Environment::GetCurrent(context); in ImportModuleDynamically() 600 Environment* env = Environment::GetCurrent(args); in SetImportModuleDynamicallyCallback() 613 Environment* env = Environment::GetCurrent(context); in HostInitializeImportMetaObjectCallback() [all …]
|
D | node_trace_events.cc | 59 Environment* env = Environment::GetCurrent(args); in New() 100 Environment* env = Environment::GetCurrent(args); in GetEnabledCategories() 114 Environment* env = Environment::GetCurrent(args); in SetTraceCategoryStateUpdateHandler() 123 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | async_wrap.cc | 69 Environment* env = Environment::GetCurrent(args); in New() 197 Environment* env = Environment::GetCurrent(args); in SetupHooks() 228 Environment* env = Environment::GetCurrent(args); in SetPromiseHooks() 279 p->env = Environment::GetCurrent(args); in RegisterDestroyHook() 295 Environment* env = Environment::GetCurrent(args); in PushAsyncContext() 305 Environment* env = Environment::GetCurrent(args); in PopAsyncContext() 313 Environment* env = Environment::GetCurrent(args); in ExecutionAsyncResource() 322 Environment* env = Environment::GetCurrent(args); in ClearAsyncIdStack() 362 Environment::GetCurrent(args), in QueueDestroyAsyncId() 367 Environment* env = Environment::GetCurrent(args); in SetCallbackTrampoline() [all …]
|
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_util.cc | 39 Environment* env = Environment::GetCurrent(args); in GetOwnNonIndexProperties() 131 Environment* env = Environment::GetCurrent(args); in PreviewEntries() 159 Environment* env = Environment::GetCurrent(args); in GetHiddenValue() 173 Environment* env = Environment::GetCurrent(args); in SetHiddenValue() 207 Environment* env = Environment::GetCurrent(args); in New() 245 Environment* env = Environment::GetCurrent(args); in GuessHandleType() 283 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | uv.cc | 62 Environment* env = Environment::GetCurrent(args); in ErrName() 80 Environment* env = Environment::GetCurrent(args); in GetErrMap() 109 Environment* env = Environment::GetCurrent(context); in Initialize()
|
D | node_file.cc | 842 Environment* env = Environment::GetCurrent(args); in Access() 870 Environment* env = Environment::GetCurrent(args); in Close() 895 Environment* env = Environment::GetCurrent(args); in InternalModuleReadJSON() 993 Environment* env = Environment::GetCurrent(args); in InternalModuleStat() 1104 Environment* env = Environment::GetCurrent(args); in Symlink() 1133 Environment* env = Environment::GetCurrent(args); in Link() 1160 Environment* env = Environment::GetCurrent(args); in ReadLink() 1203 Environment* env = Environment::GetCurrent(args); in Rename() 1230 Environment* env = Environment::GetCurrent(args); in FTruncate() 1256 Environment* env = Environment::GetCurrent(args); in Fdatasync() [all …]
|
D | signal_wrap.cc | 53 Environment* env = Environment::GetCurrent(context); in Initialize() 75 Environment* env = Environment::GetCurrent(args); in New() 104 Environment* env = Environment::GetCurrent(args); in Start()
|
D | pipe_wrap.cc | 68 Environment* env = Environment::GetCurrent(context); in Initialize() 114 Environment* env = Environment::GetCurrent(args); in New() 197 Environment* env = Environment::GetCurrent(args); in Open() 214 Environment* env = Environment::GetCurrent(args); in Connect()
|
/third_party/flutter/engine/flutter/shell/testing/ |
D | tester_main.cc | 60 []() { fml::MessageLoop::GetCurrent().Terminate(); }); in DidProcessTask() 79 auto current_task_runner = fml::MessageLoop::GetCurrent().GetTaskRunner(); in RunTester() 157 fml::MessageLoop::GetCurrent() in RunTester() 164 fml::MessageLoop::GetCurrent().AddTaskObserver( in RunTester() 182 fml::MessageLoop::GetCurrent().Run(); in RunTester() 186 fml::MessageLoop::GetCurrent().RemoveTaskObserver( in RunTester() 231 fml::MessageLoop::GetCurrent().AddTaskObserver(key, std::move(callback)); in main() 235 fml::MessageLoop::GetCurrent().RemoveTaskObserver(key); in main()
|
/third_party/node/src/api/ |
D | hooks.cc | 125 Environment* env = Environment::GetCurrent(isolate); in AddEnvironmentCleanupHook() 133 Environment* env = Environment::GetCurrent(isolate); in RemoveEnvironmentCleanupHook() 157 Environment* env = Environment::GetCurrent(isolate); in AddEnvironmentCleanupHook() 176 Environment* env = Environment::GetCurrent(isolate); in AsyncHooksGetExecutionAsyncId() 182 Environment* env = Environment::GetCurrent(isolate); in AsyncHooksGetTriggerAsyncId() 204 Environment* env = Environment::GetCurrent(isolate); in EmitAsyncInit() 224 EmitAsyncDestroy(Environment::GetCurrent(isolate), asyncContext); in EmitAsyncDestroy()
|
/third_party/node/test/cctest/ |
D | test_environment.cc | 286 EXPECT_EQ(node::Environment::GetCurrent(context), nullptr); in TEST_F() 288 EXPECT_EQ(node::Environment::GetCurrent(isolate_), nullptr); in TEST_F() 291 EXPECT_EQ(node::Environment::GetCurrent(context), nullptr); in TEST_F() 293 EXPECT_EQ(node::Environment::GetCurrent(isolate_), nullptr); in TEST_F() 301 EXPECT_EQ(node::Environment::GetCurrent(v8::Local<v8::Context>()), nullptr); in TEST_F() 304 EXPECT_EQ(node::Environment::GetCurrent(isolate_), env); in TEST_F() 305 EXPECT_EQ(node::Environment::GetCurrent(env->context()), env); in TEST_F() 309 EXPECT_EQ(node::Environment::GetCurrent(context), nullptr); in TEST_F() 311 EXPECT_EQ(node::Environment::GetCurrent(isolate_), env); in TEST_F() 314 EXPECT_EQ(node::Environment::GetCurrent(context), nullptr); in TEST_F() [all …]
|