Searched refs:safety_flag (Results 1 – 3 of 3) sorted by relevance
30 rtc::scoped_refptr<PendingTaskSafetyFlag> safety_flag = CreateInternal(true); in CreateDetached() local31 safety_flag->main_sequence_.Detach(); in CreateDetached()32 return safety_flag; in CreateDetached()37 rtc::scoped_refptr<PendingTaskSafetyFlag> safety_flag = CreateInternal(false); in CreateDetachedInactive() local38 safety_flag->main_sequence_.Detach(); in CreateDetachedInactive()39 return safety_flag; in CreateDetachedInactive()
24 rtc::scoped_refptr<PendingTaskSafetyFlag> safety_flag; in TEST() local36 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() local49 safety_flag = owner.safety.flag(); in TEST()50 EXPECT_TRUE(safety_flag->alive()); in TEST()53 EXPECT_FALSE(safety_flag->alive()); in TEST()
942 [this, safety_flag = network_safety_.flag()] { in DoAllocate()943 if (safety_flag->alive()) in DoAllocate()