/external/crosvm/devices/src/virtio/ |
D | descriptor_utils.rs | 66 fn available_bytes(&self) -> usize { in available_bytes() method 227 if self.reader.available_bytes() == 0 { in next() 434 pub fn available_bytes(&self) -> usize { in available_bytes() method 435 self.regions.available_bytes() in available_bytes() 565 pub fn available_bytes(&self) -> usize { in available_bytes() method 566 self.regions.available_bytes() in available_bytes() 822 assert_eq!(reader.available_bytes(), 106); in reader_test_simple_chain() 830 assert_eq!(reader.available_bytes(), 42); in reader_test_simple_chain() 838 assert_eq!(reader.available_bytes(), 0); in reader_test_simple_chain() 863 assert_eq!(writer.available_bytes(), 106); in writer_test_simple_chain() [all …]
|
D | tpm.rs | 50 let available_bytes = reader.available_bytes(); in perform_work() localVariable 51 if available_bytes > TPM_BUFSIZE { in perform_work() 53 size: available_bytes, in perform_work() 57 let mut command = vec![0u8; available_bytes]; in perform_work() 68 let writer_len = writer.available_bytes(); in perform_work()
|
D | block.rs | 282 let available_bytes = writer.available_bytes(); in process_one_request() localVariable 283 let status_offset = available_bytes in process_one_request() 309 Ok(available_bytes) in process_one_request() 635 let data_len = writer.available_bytes(); in execute_request() 649 let data_len = reader.available_bytes(); in execute_request() 674 while reader.available_bytes() >= size_of::<virtio_blk_discard_write_zeroes>() { in execute_request()
|
D | block_async.rs | 258 let available_bytes = writer.available_bytes(); in process_one_request() localVariable 259 let status_offset = available_bytes in process_one_request() 283 Ok(available_bytes) in process_one_request() 703 let data_len = writer.available_bytes(); in execute_request() 722 let data_len = reader.available_bytes(); in execute_request() 756 while reader.available_bytes() >= size_of::<virtio_blk_discard_write_zeroes>() { in execute_request()
|
D | console.rs | 54 let len = reader.available_bytes(); in process_transmit_request() 175 while writer.available_bytes() > 0 { in handle_input()
|
D | net.rs | 181 match writer.write_from(&mut self.tap, writer.available_bytes()) { in process_rx() 229 let expected_count = reader.available_bytes(); in process_tx()
|
/external/libchrome/base/ |
D | sys_info_posix.cc | 107 int64_t* available_bytes, in GetDiskSpaceInfo() argument 120 if (available_bytes) { in GetDiskSpaceInfo() 121 *available_bytes = in GetDiskSpaceInfo()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_packetizer_av1.cc | 219 int available_bytes = packet_remaining_bytes; in Packetize() local 223 available_bytes += limits.first_packet_reduction_len; in Packetize() 224 available_bytes -= limits.single_packet_reduction_len; in Packetize() 226 available_bytes -= limits.last_packet_reduction_len; in Packetize() 229 if (required_bytes <= available_bytes) { in Packetize()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | bfc_allocator.cc | 107 size_t available_bytes = memory_limit_ - total_region_allocated_bytes_; in Extend() local 109 available_bytes = (available_bytes / kMinAllocationSize) * kMinAllocationSize; in Extend() 113 if (rounded_bytes > available_bytes) { in Extend() 127 size_t bytes = std::min(curr_region_allocation_bytes_, available_bytes); in Extend() 331 size_t available_bytes = in DeallocateFreeRegions() local 333 if (rounded_bytes > available_bytes) { in DeallocateFreeRegions()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stoptheworld_linux_libcdep.cpp | 569 uptr available_bytes = (buffer->size() - size_up) * uptr_sz; in GetRegistersAndSP() local 571 regset_io.iov_len = available_bytes; in GetRegistersAndSP() 584 if (regset_io.iov_len + 64 < available_bytes) in GetRegistersAndSP()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | mod.rs | 303 let available_bytes = reader.available_bytes(); in process_gpu_command() localVariable 304 if available_bytes != 0 { in process_gpu_command() 416 if reader.available_bytes() != 0 { in process_gpu_command() 444 || (reader.available_bytes() == 0 && entry_count > 0) in process_gpu_command() 588 if writer.available_bytes() != 0 { in process_descriptor()
|
D | protocol.rs | 987 if resp.available_bytes() >= size_of_val(&plane_info) { in encode()
|
/external/pigweed/pw_blob_store/ |
D | blob_store.cc | 409 size_t available_bytes = ReadableDataBytes() - offset; in Read() local 410 size_t read_size = std::min(available_bytes, dest.size_bytes()); in Read()
|
/external/squashfs-tools/kernel-2.4/fs/squashfs/ |
D | inode.c | 1514 int available_bytes = (bytes - byte_offset) > PAGE_CACHE_SIZE ? in squashfs_readpage() local 1518 bytes, i, byte_offset, available_bytes); in squashfs_readpage() 1523 available_bytes); in squashfs_readpage() 1524 memset(pageaddr + available_bytes, 0, in squashfs_readpage() 1525 PAGE_CACHE_SIZE - available_bytes); in squashfs_readpage() 1535 available_bytes); in squashfs_readpage() 1536 memset(pageaddr + available_bytes, 0, in squashfs_readpage() 1537 PAGE_CACHE_SIZE - available_bytes); in squashfs_readpage()
|
/external/crosvm/devices/src/virtio/fs/ |
D | worker.rs | 31 self.available_bytes() >= size as usize in has_sufficient_buffer()
|
/external/crosvm/devices/src/virtio/input/ |
D | mod.rs | 359 while writer.available_bytes() >= virtio_input_event::SIZE { in fill_event_virtqueue() 415 while reader.available_bytes() >= virtio_input_event::SIZE { in read_event_virtqueue()
|
/external/python/cpython2/Objects/ |
D | obmalloc.c | 1804 size_t available_bytes = 0; in _PyObject_DebugMallocStats() local 1896 available_bytes += f * size; in _PyObject_DebugMallocStats() 1916 total += printone("# bytes in available blocks", available_bytes); in _PyObject_DebugMallocStats()
|
/external/python/cpython3/Objects/ |
D | obmalloc.c | 2610 size_t available_bytes = 0; in _PyObject_DebugMallocStats() local 2703 available_bytes += f * size; in _PyObject_DebugMallocStats() 2726 total += printone(out, "# bytes in available blocks", available_bytes); in _PyObject_DebugMallocStats()
|
/external/rust/crates/libc/src/ |
D | psp.rs | 2658 available_bytes: *mut u32, in sceAtracGetStreamDataInfo()
|