/system/bt/hci/src/ |
D | hci_inject.cc | 48 size_t buffer_size; member 157 socket_read(client->socket, client->buffer + client->buffer_size, in read_ready() 158 sizeof(client->buffer) - client->buffer_size); in read_ready() 163 client->buffer_size += ret; in read_ready() 165 while (client->buffer_size > 3) { in read_ready() 171 if (client->buffer_size < frame_len) break; in read_ready() 190 size_t remainder = client->buffer_size - frame_len; in read_ready() 192 client->buffer_size -= frame_len; in read_ready()
|
/system/media/audio_utils/include/audio_utils/ |
D | clock.h | 54 static inline void audio_utils_ns_to_string(int64_t ns, char *buffer, size_t buffer_size) in audio_utils_ns_to_string() argument 56 if (buffer_size == 0) return; in audio_utils_ns_to_string() 68 if (snprintf(buffer, buffer_size, "%02d-%02d %02d:%02d:%02d.%03d", in audio_utils_ns_to_string()
|
/system/bt/audio_hearing_aid_hw/test/ |
D | audio_hearing_aid_hw_test.cc | 104 size_t buffer_size = audio_ha_hw_stream_compute_buffer_size( in TEST_F() local 111 EXPECT_EQ(buffer_size, in TEST_F() 142 EXPECT_EQ(buffer_size, expected_buffer_size); in TEST_F()
|
/system/bt/audio_a2dp_hw/test/ |
D | audio_a2dp_hw_test.cc | 104 size_t buffer_size = audio_a2dp_hw_stream_compute_buffer_size( in TEST_F() local 111 EXPECT_EQ(buffer_size, in TEST_F() 142 EXPECT_EQ(buffer_size, expected_buffer_size); in TEST_F()
|
/system/nfc/utils/test/ringbuffer_fuzzer/ |
D | ringbuffer_fuzzer.cpp | 17 uint16_t buffer_size = *((const uint16_t*)Data); in LLVMFuzzerTestOneInput() local 18 ringbuffer_t* buffer = ringbuffer_init(buffer_size); in LLVMFuzzerTestOneInput()
|
/system/core/fs_mgr/libsnapshot/ |
D | cow_decompress.cpp | 36 size_t buffer_size = stream_remaining; in Decompress() local 37 uint8_t* buffer = reinterpret_cast<uint8_t*>(sink_->GetBuffer(buffer_size, &buffer_size)); in Decompress() 45 size_t bytes_to_read = std::min(buffer_size, stream_remaining); in Decompress()
|
D | make_cow_from_ab_ota.cpp | 523 auto buffer_size = op.data_length(); in ProcessReplace() local 524 auto buffer = std::make_unique<char[]>(buffer_size); in ProcessReplace() 530 if (!android::base::ReadFully(in_fd_, buffer.get(), buffer_size)) { in ProcessReplace() 531 PLOG(ERROR) << "read " << buffer_size << " bytes from offset " << offs << "failed"; in ProcessReplace() 550 auto rv = BZ2_bzBuffToBuffDecompress(tmp.get(), &actual_size, buffer.get(), buffer_size, 0, in ProcessReplace() 561 buffer_size = dst_size; in ProcessReplace() 582 args.in_size = buffer_size; in ProcessReplace() 593 buffer_size = dst_size; in ProcessReplace() 599 if (buffer_size - buffer_pos < extent_size) { in ProcessReplace()
|
D | cow_writer.cpp | 97 header_.buffer_size = 0; in SetupHeaders() 170 next_op_pos_ = sizeof(header_) + header_.buffer_size; in InitPos() 195 header_.buffer_size = BUFFER_REGION_DEFAULT_SIZE; in OpenForWrite() 207 std::string data(header_.buffer_size, 0); in OpenForWrite() 208 if (!android::base::WriteFully(fd_, data.data(), header_.buffer_size)) { in OpenForWrite() 219 if (lseek(fd_.get(), sizeof(header_) + header_.buffer_size, SEEK_SET) < 0) { in OpenForWrite()
|
D | cow_reader.cpp | 137 if (header_.major_version >= 2 && (header_.buffer_size > 0)) { in ParseOps() 138 LOG(DEBUG) << " Scratch space found of size: " << header_.buffer_size; in ParseOps() 139 size_t init_offset = header_.header_size + header_.buffer_size; in ParseOps() 152 header_.buffer_size = 0; in ParseOps()
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action.cc | 205 const size_t buffer_size) { in WriteVerityAndHashPartition() argument 223 HashPartition(partition_fd_, 0, partition_size_, buffer, buffer_size); in WriteVerityAndHashPartition() 233 std::min<size_t>(buffer_size, end_offset - start_offset); in WriteVerityAndHashPartition() 257 buffer_size))); in WriteVerityAndHashPartition() 264 const size_t buffer_size) { in HashPartition() argument 279 std::min<size_t>(buffer_size, end_offset - start_offset); in HashPartition() 303 buffer_size))); in HashPartition()
|
D | filesystem_verifier_action.h | 93 const size_t buffer_size); 98 const size_t buffer_size);
|
/system/teeui/test/ |
D | teeui_device_config.cpp | 50 uint32_t buffer_size = h * linestride; in runRenderTest() local 51 std::vector<uint32_t> buffer(buffer_size); in runRenderTest() 56 sCurrentExample->renderUIIntoBuffer(0, 0, w, h, linestride, buffer.data(), buffer_size); in runRenderTest()
|
/system/bt/gd/rust/hci/src/ |
D | controller.rs | 63 let buffer_size = assert_success!(hci.send(ReadBufferSizeBuilder {})); in provide_controller() localVariable 64 let acl_buffer_length = buffer_size.get_acl_data_packet_length(); in provide_controller() 65 let mut acl_buffers = buffer_size.get_total_num_acl_data_packets(); in provide_controller() 155 sco_buffer_length: buffer_size.get_synchronous_data_packet_length(), in provide_controller() 156 sco_buffers: buffer_size.get_total_num_synchronous_data_packets(), in provide_controller()
|
/system/core/trusty/utils/acvp/ |
D | acvp_ipc.h | 60 uint32_t buffer_size; member
|
/system/libprocinfo/include/procinfo/ |
D | process_map.h | 256 inline bool ReadMapFileAsyncSafe(const char* map_file, void* buffer, size_t buffer_size, in ReadMapFileAsyncSafe() argument 258 if (buffer == nullptr || buffer_size == 0) { in ReadMapFileAsyncSafe() 274 TEMP_FAILURE_RETRY(read(fd, char_buffer + read_bytes, buffer_size - read_bytes - 1)); in ReadMapFileAsyncSafe() 306 if (start == 0 && read_bytes == buffer_size - 1) { in ReadMapFileAsyncSafe()
|
/system/libhwbinder/include/hwbinder/ |
D | Parcel.h | 165 status_t readBuffer(size_t buffer_size, size_t *buffer_handle, 167 status_t readNullableBuffer(size_t buffer_size, size_t *buffer_handle, 169 status_t readEmbeddedBuffer(size_t buffer_size, size_t *buffer_handle, 172 status_t readNullableEmbeddedBuffer(size_t buffer_size, 212 status_t readBuffer(size_t buffer_size, size_t *buffer_handle,
|
/system/extras/simpleperf/ |
D | event_fd.h | 77 char* GetMappedBuffer(size_t& buffer_size) { in GetMappedBuffer() argument 78 buffer_size = mmap_data_buffer_size_; in GetMappedBuffer()
|
D | RecordReadThread.cpp | 35 RecordBuffer::RecordBuffer(size_t buffer_size) in RecordBuffer() argument 36 : read_head_(0), write_head_(0), buffer_size_(buffer_size), buffer_(new char[buffer_size]) {} in RecordBuffer() 171 size_t buffer_size; in KernelRecordReader() local 172 buffer_ = event_fd_->GetMappedBuffer(buffer_size); in KernelRecordReader() 173 buffer_mask_ = buffer_size - 1; in KernelRecordReader()
|
D | RecordReadThread_test.cpp | 117 MockEventFd(const perf_event_attr& attr, int cpu, char* buffer, size_t buffer_size, in MockEventFd() 121 mmap_data_buffer_size_ = buffer_size; in MockEventFd() 225 size_t buffer_size = AlignToPowerOfTwo(data_size); in CreateFakeEventFds() local 227 buffer.resize(buffer_size); in CreateFakeEventFds() 231 event_fds_[i].reset(new MockEventFd(attr, i, buffers_[i].data(), buffer_size, false)); in CreateFakeEventFds()
|
/system/extras/sound/ |
D | playwav.c | 25 uint32_t buffer_size; member 67 sz = config.buffer_size; in pcm_play() 249 sz = cfg.buffer_size; in wav_rec()
|
/system/logging/logd/ |
D | SerializedLogBuffer.cpp | 222 size_t buffer_size = it_to_prune->PruneSize(); in Prune() local 225 if (buffer_size >= bytes_to_free) { in Prune() 228 bytes_to_free -= buffer_size; in Prune()
|
/system/bt/include/hardware/ |
D | bt_hd.h | 69 uint16_t buffer_size);
|
/system/bt/bta/include/ |
D | bta_hd_api.h | 96 uint16_t buffer_size; member
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | cow_format.h | 80 uint32_t buffer_size; member
|
/system/libhwbinder/ |
D | Parcel.cpp | 1358 status_t Parcel::readBuffer(size_t buffer_size, size_t *buffer_handle, in readBuffer() argument 1368 if (!verifyBufferObject(buffer_obj, buffer_size, flags, parent, parentOffset)) { in readBuffer() 1378 status_t Parcel::readNullableBuffer(size_t buffer_size, size_t *buffer_handle, in readNullableBuffer() argument 1381 return readBuffer(buffer_size, buffer_handle, in readNullableBuffer() 1386 status_t Parcel::readBuffer(size_t buffer_size, size_t *buffer_handle, in readBuffer() argument 1389 status_t status = readNullableBuffer(buffer_size, buffer_handle, buffer_out); in readBuffer() 1397 status_t Parcel::readEmbeddedBuffer(size_t buffer_size, in readEmbeddedBuffer() argument 1403 status_t status = readNullableEmbeddedBuffer(buffer_size, buffer_handle, in readEmbeddedBuffer() 1412 status_t Parcel::readNullableEmbeddedBuffer(size_t buffer_size, in readNullableEmbeddedBuffer() argument 1418 return readBuffer(buffer_size, buffer_handle, BINDER_BUFFER_FLAG_HAS_PARENT, in readNullableEmbeddedBuffer()
|