Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/bindings/tests/
Dvalidation_context_unittest.cc19 using Handle_Data = mojo::internal::Handle_Data; typedef
49 EXPECT_FALSE(context.ClaimHandle(Handle_Data(0))); in TEST()
51 Handle_Data(std::numeric_limits<uint32_t>::max() - 1))); in TEST()
54 Handle_Data(internal::kEncodedInvalidHandleValue))); in TEST()
142 EXPECT_TRUE(context.ClaimHandle(Handle_Data(0))); in TEST()
143 EXPECT_FALSE(context.ClaimHandle(Handle_Data(0))); in TEST()
145 EXPECT_TRUE(context.ClaimHandle(Handle_Data(9))); in TEST()
146 EXPECT_FALSE(context.ClaimHandle(Handle_Data(10))); in TEST()
150 EXPECT_FALSE(context.ClaimHandle(Handle_Data(8))); in TEST()
154 Handle_Data(internal::kEncodedInvalidHandleValue))); in TEST()
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Dbindings_internal.h126 struct Handle_Data { struct
127 Handle_Data() = default;
128 explicit Handle_Data(uint32_t value) : value(value) {} in Handle_Data() argument
134 static_assert(sizeof(Handle_Data) == 4, "Bad_sizeof(Handle_Data)"); argument
137 Handle_Data handle;
266 using Data = Handle_Data;
282 using Data = Handle_Data;
Dserialization_context.h34 void AddHandle(mojo::ScopedHandle handle, Handle_Data* out_data); in COMPONENT_EXPORT()
71 mojo::ScopedHandle TakeHandle(const Handle_Data& encoded_handle); in COMPONENT_EXPORT()
76 ScopedHandleBase<T> TakeHandleAs(const Handle_Data& encoded_handle) { in COMPONENT_EXPORT()
Dhandle_serialization.h19 Handle_Data* output,
24 static bool Deserialize(Handle_Data* input,
Dvalidation_util.cc126 bool IsHandleOrInterfaceValid(const Handle_Data& input) { in IsHandleOrInterfaceValid()
170 const Handle_Data& input, in ValidateHandleOrInterfaceNonNullable()
211 bool ValidateHandleOrInterface(const Handle_Data& input, in ValidateHandleOrInterface()
Dvalidation_util.h126 bool IsHandleOrInterfaceValid(const Handle_Data& input);
145 const Handle_Data& input,
211 bool ValidateHandleOrInterface(const Handle_Data& input,
Dserialization_context.cc21 Handle_Data* out_data) { in AddHandle()
68 const Handle_Data& encoded_handle) { in TakeHandle()
Dinterface_serialization.h122 Handle_Data* output,
127 static bool Deserialize(Handle_Data* input,
Dvalidation_context.h69 bool ClaimHandle(const Handle_Data& encoded_handle) { in COMPONENT_EXPORT()
Darray_internal.h163 std::is_same<T, Handle_Data>::value
271 std::is_same<T, Handle_Data>::value>;