Home
last modified time | relevance | path

Searched refs:max_handles (Results 1 – 2 of 2) sorted by relevance

/external/libmojo/mojo/edk/system/
Dchannel.cc45 size_t max_handles, in Message() argument
47 : max_handles_(max_handles) { in Message()
59 if (max_handles) { in Message()
61 sizeof(MachPortsExtraHeader) + (max_handles * sizeof(MachPortsEntry)); in Message()
92 header_->num_handles = static_cast<uint16_t>(max_handles); in Message()
152 uint32_t max_handles = extra_header_size / sizeof(HandleEntry); in Deserialize() local
159 uint32_t max_handles = (extra_header_size - sizeof(MachPortsExtraHeader)) / in Deserialize() local
162 const uint32_t max_handles = 0; in Deserialize() local
165 if (header->num_handles > max_handles || max_handles > kMaxAttachedHandles) { in Deserialize()
167 << " > " << max_handles; in Deserialize()
[all …]
Dchannel.h108 size_t max_handles,