Lines Matching +full:mach +full:- +full:o
2 // Use of this source code is governed by a BSD-style license that can be
21 // Channel provides a thread-safe interface to read and write arbitrary
22 // delimited messages over an underlying I/O channel, optionally transferring
61 // data (i.e. HANDLEs on Windows, Mach ports on OSX).
72 // Index of Mach port in the original vector of PlatformHandles.
75 // Mach port name.
85 // Actual number of Mach ports encoded in the extra header.
88 // Array of encoded Mach ports. If |num_ports| > 0, |entires[0]| through
89 // to |entries[num_ports-1]| inclusive are valid.
96 // The windows HANDLE. HANDLEs are guaranteed to fit inside 32-bits.
97 // See: https://msdn.microsoft.com/en-us/library/aa384203(VS.85).aspx
129 return header_->num_header_bytes - sizeof(Header); in extra_header_size()
132 void* mutable_payload() { return data_ + header_->num_header_bytes; } in mutable_payload()
133 const void* payload() const { return data_ + header_->num_header_bytes; } in payload()
137 size_t num_handles() const { return header_->num_handles; } in num_handles()
138 bool has_handles() const { return header_->num_handles > 0; } in has_handles()
150 // such as Mach ports, will be removed.
183 // Delegate methods are called from the I/O task runner with which the Channel
201 // handle. All I/O on the handle will be performed on |io_task_runner|.
211 // on its I/O task runner's thread.
216 // Begin processing I/O events. Delegate methods must only be invoked after
220 // Stop processing I/O events.