Home
last modified time | relevance | path

Searched refs:safety_flag (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/api/task_queue/
Dpending_task_safety_flag.cc30 rtc::scoped_refptr<PendingTaskSafetyFlag> safety_flag = CreateInternal(true); in CreateDetached() local
31 safety_flag->main_sequence_.Detach(); in CreateDetached()
32 return safety_flag; in CreateDetached()
37 rtc::scoped_refptr<PendingTaskSafetyFlag> safety_flag = CreateInternal(false); in CreateDetachedInactive() local
38 safety_flag->main_sequence_.Detach(); in CreateDetachedInactive()
39 return safety_flag; in CreateDetachedInactive()
Dpending_task_safety_flag_unittest.cc24 rtc::scoped_refptr<PendingTaskSafetyFlag> safety_flag; in TEST() local
36 safety_flag = owner.flag_; in TEST()
37 EXPECT_TRUE(safety_flag->alive()); in TEST()
40 EXPECT_FALSE(safety_flag->alive()); in TEST()
44 rtc::scoped_refptr<PendingTaskSafetyFlag> safety_flag; in TEST() local
49 safety_flag = owner.safety.flag(); in TEST()
50 EXPECT_TRUE(safety_flag->alive()); in TEST()
53 EXPECT_FALSE(safety_flag->alive()); in TEST()
/external/webrtc/p2p/client/
Dbasic_port_allocator.cc942 [this, safety_flag = network_safety_.flag()] { in DoAllocate()
943 if (safety_flag->alive()) in DoAllocate()