Home
last modified time | relevance | path

Searched refs:encoded_handle (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/lib/
Dserialization_context.cc68 const Handle_Data& encoded_handle) { in TakeHandle() argument
69 if (!encoded_handle.is_valid()) in TakeHandle()
71 DCHECK_LT(encoded_handle.value, handles_.size()); in TakeHandle()
72 return std::move(handles_[encoded_handle.value]); in TakeHandle()
77 const AssociatedEndpointHandle_Data& encoded_handle) { in TakeAssociatedEndpointHandle() argument
78 if (!encoded_handle.is_valid()) in TakeAssociatedEndpointHandle()
80 DCHECK_LT(encoded_handle.value, associated_endpoint_handles_.size()); in TakeAssociatedEndpointHandle()
81 return std::move(associated_endpoint_handles_[encoded_handle.value]); in TakeAssociatedEndpointHandle()
Dserialization_context.h71 mojo::ScopedHandle TakeHandle(const Handle_Data& encoded_handle); in COMPONENT_EXPORT()
76 ScopedHandleBase<T> TakeHandleAs(const Handle_Data& encoded_handle) { in COMPONENT_EXPORT()
77 return ScopedHandleBase<T>::From(TakeHandle(encoded_handle)); in COMPONENT_EXPORT()
81 const AssociatedEndpointHandle_Data& encoded_handle); in COMPONENT_EXPORT()
Dvalidation_context.h69 bool ClaimHandle(const Handle_Data& encoded_handle) { in COMPONENT_EXPORT()
70 uint32_t index = encoded_handle.value; in COMPONENT_EXPORT()
90 const AssociatedEndpointHandle_Data& encoded_handle) { in COMPONENT_EXPORT()
91 uint32_t index = encoded_handle.value; in COMPONENT_EXPORT()