Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/bindings/lib/
Dmessage_header_validator.cc67 auto* header_v2 = static_cast<const internal::MessageHeaderV2*>(header); in IsValidMessageHeader() local
76 if (!internal::ValidatePointerNonNullable(header_v2->payload, 5, in IsValidMessageHeader()
78 !internal::ValidatePointer(header_v2->payload, validation_context) || in IsValidMessageHeader()
79 !validation_context->ClaimMemory(header_v2->payload.Get(), 1)) { in IsValidMessageHeader()
84 if (!internal::ValidateContainer(header_v2->payload_interface_ids, in IsValidMessageHeader()
89 if (!header_v2->payload_interface_ids.is_null()) { in IsValidMessageHeader()
90 size_t num_ids = header_v2->payload_interface_ids.Get()->size(); in IsValidMessageHeader()
91 const uint32_t* ids = header_v2->payload_interface_ids.Get()->storage(); in IsValidMessageHeader()
Dmessage.cc289 DCHECK(!header_v2()->payload.is_null()); in payload()
290 return static_cast<const uint8_t*>(header_v2()->payload.Get()); in payload()
300 reinterpret_cast<uintptr_t>(header_v2()->payload.Get()); in payload_num_bytes()
302 reinterpret_cast<uintptr_t>(header_v2()->payload_interface_ids.Get()); in payload_num_bytes()
314 version() < 2 ? nullptr : header_v2()->payload_interface_ids.Get(); in payload_num_interface_ids()
320 version() < 2 ? nullptr : header_v2()->payload_interface_ids.Get(); in payload_interface_ids()
378 DCHECK(header_v2()->payload_interface_ids.is_null()); in SerializeAssociatedEndpointHandles()
386 header_v2()->payload_interface_ids.Set(handle_writer.data()); in SerializeAssociatedEndpointHandles()
410 uint32_t* ids = header_v2()->payload_interface_ids.Get()->storage(); in DeserializeAssociatedEndpointHandles()
/external/libchrome/mojo/public/cpp/bindings/
Dmessage.h125 const internal::MessageHeaderV2* header_v2() const { in COMPONENT_EXPORT()
129 internal::MessageHeaderV2* header_v2() { in COMPONENT_EXPORT()