Home
last modified time | relevance | path

Searched refs:GetForCurrentThread (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/
Dsequence_token_unittest.cc50 TEST(SequenceTokenTest, GetForCurrentThread) { in TEST() argument
53 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST()
58 EXPECT_TRUE(SequenceToken::GetForCurrentThread().IsValid()); in TEST()
59 EXPECT_EQ(token, SequenceToken::GetForCurrentThread()); in TEST()
62 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST()
83 EXPECT_FALSE(TaskToken::GetForCurrentThread().IsValid()); in TEST()
90 TaskToken valid = TaskToken::GetForCurrentThread(); in TEST()
102 const TaskToken token_a = TaskToken::GetForCurrentThread(); in TEST()
103 const TaskToken token_b = TaskToken::GetForCurrentThread(); in TEST()
120 token_a = TaskToken::GetForCurrentThread(); in TEST()
[all …]
Dsequence_checker_impl.cc16 Core() : sequence_token_(SequenceToken::GetForCurrentThread()) {} in Core()
22 return sequence_token_ == SequenceToken::GetForCurrentThread(); in CalledOnValidSequence()
Dsequence_token.h43 static SequenceToken GetForCurrentThread();
79 static TaskToken GetForCurrentThread();
Dsequence_token.cc48 SequenceToken SequenceToken::GetForCurrentThread() { in GetForCurrentThread() function in base::SequenceToken
70 TaskToken TaskToken::GetForCurrentThread() { in GetForCurrentThread() function in base::TaskToken
/external/libchrome/base/threading/
Dthread_checker_impl.cc24 if (task_token_ == TaskToken::GetForCurrentThread()) in CalledOnValidThread()
32 (sequence_token_ != SequenceToken::GetForCurrentThread() || in CalledOnValidThread()
53 task_token_ = TaskToken::GetForCurrentThread(); in EnsureAssigned()
54 sequence_token_ = SequenceToken::GetForCurrentThread(); in EnsureAssigned()
Dsequence_local_storage_slot.h62 internal::SequenceLocalStorageMap::GetForCurrentThread().Get(slot_id_); in Get()
94 internal::SequenceLocalStorageMap::GetForCurrentThread().Set( in Set()
Dsequence_local_storage_map.h32 static SequenceLocalStorageMap& GetForCurrentThread();
Dsequence_local_storage_map.cc37 SequenceLocalStorageMap& SequenceLocalStorageMap::GetForCurrentThread() { in GetForCurrentThread() function in base::internal::SequenceLocalStorageMap
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool.cc116 return sequence_->token() == SequenceToken::GetForCurrentThread(); in RunsTasksInCurrentSequence()
Dtask_tracker_unittest.cc867 EXPECT_EQ(sequence_token, SequenceToken::GetForCurrentThread()); in ExpectSequenceToken()
884 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST_F()
889 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST_F()