Searched refs:ClaimHandle (Results 1 – 4 of 4) sorted by relevance
44 EXPECT_FALSE(context.ClaimHandle(Handle_Data(0))); in TEST()45 EXPECT_FALSE(context.ClaimHandle( in TEST()48 EXPECT_TRUE(context.ClaimHandle( in TEST()116 TEST(ValidationContextTest, ClaimHandle) { in TEST() argument121 EXPECT_TRUE(context.ClaimHandle(Handle_Data(0))); in TEST()122 EXPECT_FALSE(context.ClaimHandle(Handle_Data(0))); in TEST()124 EXPECT_TRUE(context.ClaimHandle(Handle_Data(9))); in TEST()125 EXPECT_FALSE(context.ClaimHandle(Handle_Data(10))); in TEST()129 EXPECT_FALSE(context.ClaimHandle(Handle_Data(8))); in TEST()132 EXPECT_TRUE(context.ClaimHandle( in TEST()[all …]
235 if (validation_context->ClaimHandle(input.handle)) in ValidateHandleOrInterface()244 if (validation_context->ClaimHandle(input)) in ValidateHandleOrInterface()
53 bool ClaimHandle(const Handle_Data& encoded_handle);
58 bool ValidationContext::ClaimHandle(const Handle_Data& encoded_handle) { in ClaimHandle() function in mojo::internal::ValidationContext