Searched refs:Handle_Data (Results 1 – 10 of 10) sorted by relevance
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | validation_context_unittest.cc | 19 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/ |
D | bindings_internal.h | 126 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;
|
D | serialization_context.h | 34 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()
|
D | handle_serialization.h | 19 Handle_Data* output, 24 static bool Deserialize(Handle_Data* input,
|
D | validation_util.cc | 126 bool IsHandleOrInterfaceValid(const Handle_Data& input) { in IsHandleOrInterfaceValid() 170 const Handle_Data& input, in ValidateHandleOrInterfaceNonNullable() 211 bool ValidateHandleOrInterface(const Handle_Data& input, in ValidateHandleOrInterface()
|
D | validation_util.h | 126 bool IsHandleOrInterfaceValid(const Handle_Data& input); 145 const Handle_Data& input, 211 bool ValidateHandleOrInterface(const Handle_Data& input,
|
D | serialization_context.cc | 21 Handle_Data* out_data) { in AddHandle() 68 const Handle_Data& encoded_handle) { in TakeHandle()
|
D | interface_serialization.h | 122 Handle_Data* output, 127 static bool Deserialize(Handle_Data* input,
|
D | validation_context.h | 69 bool ClaimHandle(const Handle_Data& encoded_handle) { in COMPONENT_EXPORT()
|
D | array_internal.h | 163 std::is_same<T, Handle_Data>::value 271 std::is_same<T, Handle_Data>::value>;
|