Searched refs:GetForCurrentThread (Results 1 – 10 of 10) sorted by relevance
50 TEST(SequenceTokenTest, GetForCurrentThread) { in TEST() argument53 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 …]
16 Core() : sequence_token_(SequenceToken::GetForCurrentThread()) {} in Core()22 return sequence_token_ == SequenceToken::GetForCurrentThread(); in CalledOnValidSequence()
43 static SequenceToken GetForCurrentThread();79 static TaskToken GetForCurrentThread();
48 SequenceToken SequenceToken::GetForCurrentThread() { in GetForCurrentThread() function in base::SequenceToken70 TaskToken TaskToken::GetForCurrentThread() { in GetForCurrentThread() function in base::TaskToken
24 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()
62 internal::SequenceLocalStorageMap::GetForCurrentThread().Get(slot_id_); in Get()94 internal::SequenceLocalStorageMap::GetForCurrentThread().Set( in Set()
32 static SequenceLocalStorageMap& GetForCurrentThread();
37 SequenceLocalStorageMap& SequenceLocalStorageMap::GetForCurrentThread() { in GetForCurrentThread() function in base::internal::SequenceLocalStorageMap
116 return sequence_->token() == SequenceToken::GetForCurrentThread(); in RunsTasksInCurrentSequence()
867 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()