Home
last modified time | relevance | path

Searched refs:GetTokenId (Results 1 – 4 of 4) sorted by relevance

/external/v8/test/cctest/
Dtest-profile-generator.cc42 CHECK_EQ(TokenEnumerator::kNoSecurityToken, te.GetTokenId(NULL)); in TEST()
45 CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1))); in TEST()
46 CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1))); in TEST()
48 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2))); in TEST()
49 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2))); in TEST()
50 CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1))); in TEST()
54 CHECK_EQ(2, te.GetTokenId(*v8::Utils::OpenHandle(*token3))); in TEST()
55 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2))); in TEST()
56 CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1))); in TEST()
61 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2))); in TEST()
[all …]
/external/v8/src/
Dcpu-profiler.cc314 const int token = profiler->token_enumerator_->GetTokenId(security_token); in GetProfile()
322 const int token = profiler->token_enumerator_->GetTokenId(security_token); in FindProfile()
551 int token = token_enumerator_->GetTokenId(security_token); in StopCollectingProfile()
Dprofile-generator.h43 int GetTokenId(Object* token);
Dprofile-generator.cc60 int TokenEnumerator::GetTokenId(Object* token) { in GetTokenId() function in v8::internal::TokenEnumerator