Home | History | Annotate | Download | only in lib

Lines Matching defs:bytes

40   size_t bytes = t.end_idx - t.start_idx;
42 if (index + bytes <= BufferSize) {
43 std::memcpy(buffer_ + index, buffer_in, bytes);
46 size_t part2_size = bytes - part1_size;
84 RegionSignalingInterface* r, size_t bytes, Range* t, bool non_blocking) {
86 if (bytes > BufferSize) {
94 if (available >= bytes) {
96 t->end_idx = o_w_pub + bytes;
103 // some bytes.
133 const char* buffer_in, size_t bytes,
137 intptr_t rval = this->WriteReserveLocked(r, bytes, &range, non_blocking);
148 return bytes;
180 RegionSignalingInterface* r, const char* buffer_in, uint32_t bytes,
184 iov.iov_len = bytes;
194 size_t bytes = 0;
196 bytes += iov[i].iov_len;
199 if (bytes > MaxPacketSize) {
204 size_t buffered_size = this->CalculateBufferedSize(bytes);
216 static_cast<uint32_t>(range.start_idx + sizeof(uint32_t) + bytes)};
217 this->CopyInRange(reinterpret_cast<const char*>(&bytes), header);
230 return bytes;