Searched refs:read_slice (Results 1 – 5 of 5) sorted by relevance
/external/grpc-grpc/test/core/surface/ |
D | byte_buffer_reader_test.cc | 125 grpc_slice read_slice; in read_compressed_slice() local 147 while (grpc_byte_buffer_reader_next(&reader, &read_slice)) { in read_compressed_slice() 148 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(read_slice), in read_compressed_slice() 150 GRPC_SLICE_LENGTH(read_slice)) == 0); in read_compressed_slice() 151 read_count += GRPC_SLICE_LENGTH(read_slice); in read_compressed_slice() 152 grpc_slice_unref(read_slice); in read_compressed_slice()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | tcp_windows.cc | 115 grpc_slice read_slice; member 192 grpc_slice_unref_internal(tcp->read_slice); in on_read() 195 sub = grpc_slice_sub_no_ref(tcp->read_slice, 0, info->bytes_transfered); in on_read() 198 grpc_slice_unref_internal(tcp->read_slice); in on_read() 233 tcp->read_slice = GRPC_SLICE_MALLOC(8192); in win_read() 236 tcp->read_slice); // we know slice size fits in 32bit. in win_read() 237 buffer.buf = (char*)GRPC_SLICE_START_PTR(tcp->read_slice); in win_read()
|
/external/crosvm/base/src/ |
D | mmap.rs | 25 pub fn read_slice(&self, buf: &mut [u8], offset: usize) -> Result<usize> { in read_slice() method 26 self.mapping.read_slice(buf, offset) in read_slice()
|
/external/crosvm/vm_memory/src/ |
D | guest_memory.rs | 391 .read_slice(buf, offset) in read_at_addr()
|
/external/crosvm/sys_util/src/ |
D | mmap.rs | 504 pub fn read_slice(&self, buf: &mut [u8], offset: usize) -> Result<usize> { in read_slice() method
|