/system/bt/hci/src/ |
D | hci_inject.cc | 47 size_t buffer_size; member 154 socket_read(client->socket, client->buffer + client->buffer_size, in read_ready() 155 sizeof(client->buffer) - client->buffer_size); in read_ready() 160 client->buffer_size += ret; in read_ready() 162 while (client->buffer_size > 3) { in read_ready() 168 if (client->buffer_size < frame_len) break; in read_ready() 187 size_t remainder = client->buffer_size - frame_len; in read_ready() 189 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_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/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/extras/simpleperf/ |
D | event_fd.h | 74 char* GetMappedBuffer(size_t& buffer_size) { in GetMappedBuffer() argument 75 buffer_size = mmap_data_buffer_size_; in GetMappedBuffer()
|
D | RecordReadThread.cpp | 33 RecordBuffer::RecordBuffer(size_t buffer_size) in RecordBuffer() argument 34 : read_head_(0), write_head_(0), buffer_size_(buffer_size), buffer_(new char[buffer_size]) { in RecordBuffer() 166 size_t buffer_size; in KernelRecordReader() local 167 buffer_ = event_fd_->GetMappedBuffer(buffer_size); in KernelRecordReader() 168 buffer_mask_ = buffer_size - 1; in KernelRecordReader()
|
D | RecordReadThread_test.cpp | 109 MockEventFd(const perf_event_attr& attr, int cpu, char* buffer, size_t buffer_size) in MockEventFd() 112 mmap_data_buffer_size_ = buffer_size; in MockEventFd() 205 size_t buffer_size = AlignToPowerOfTwo(data_size); in CreateFakeEventFds() local 207 buffer.resize(buffer_size); in CreateFakeEventFds() 211 event_fds_[i].reset(new MockEventFd(attr, i, buffers_[i].data(), buffer_size)); in CreateFakeEventFds()
|
D | RecordReadThread.h | 41 RecordBuffer(size_t buffer_size);
|
/system/vold/ |
D | MetadataCrypt.cpp | 167 static struct dm_ioctl* dm_ioctl_init(char* buffer, size_t buffer_size, const std::string& dm_name)… in dm_ioctl_init() argument 168 if (buffer_size < sizeof(dm_ioctl)) { in dm_ioctl_init() 173 memset(buffer, 0, buffer_size); in dm_ioctl_init() 175 io->data_size = buffer_size; in dm_ioctl_init()
|
D | Keymaster.cpp | 224 static bool write_string_to_buf(const std::string& towrite, uint8_t* buffer, uint32_t buffer_size, in write_string_to_buf() argument 231 if (buffer_size < towrite.size()) { in write_string_to_buf() 232 LOG(ERROR) << "Buffer too small " << buffer_size << " < " << towrite.size(); in write_string_to_buf() 235 memset(buffer, '\0', buffer_size); in write_string_to_buf()
|
/system/libhwbinder/include/hwbinder/ |
D | Parcel.h | 162 status_t readBuffer(size_t buffer_size, size_t *buffer_handle, 164 status_t readNullableBuffer(size_t buffer_size, size_t *buffer_handle, 166 status_t readEmbeddedBuffer(size_t buffer_size, size_t *buffer_handle, 169 status_t readNullableEmbeddedBuffer(size_t buffer_size, 214 status_t readBuffer(size_t buffer_size, size_t *buffer_handle,
|
/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/core/libsparse/ |
D | output_file.cpp | 657 uint64_t buffer_size; in write_fd_chunk() local 662 buffer_size = (uint64_t)len + (uint64_t)aligned_diff; in write_fd_chunk() 665 if (buffer_size > SIZE_MAX) return -E2BIG; in write_fd_chunk() 667 … reinterpret_cast<char*>(mmap64(nullptr, buffer_size, PROT_READ, MAP_SHARED, fd, aligned_offset)); in write_fd_chunk() 694 munmap(data, buffer_size); in write_fd_chunk()
|
/system/bt/include/hardware/ |
D | bt_hd.h | 69 uint16_t buffer_size);
|
/system/bt/bta/include/ |
D | bta_hd_api.h | 93 uint16_t buffer_size; member
|
/system/iorap/src/perfetto/ |
D | rx_producer.h | 51 uint32_t buffer_size = 4096);
|
D | rx_producer.cc | 93 uint32_t buffer_size) { in CreateConfig() argument 97 trace_config.add_buffers()->set_size_kb(buffer_size); in CreateConfig()
|
/system/core/fs_mgr/liblp/ |
D | reader.cpp | 440 static std::string NameFromFixedArray(const char* name, size_t buffer_size) { in NameFromFixedArray() argument 444 if (name[buffer_size - 1] == '\0') { in NameFromFixedArray() 447 return std::string(name, buffer_size); in NameFromFixedArray()
|
/system/libhwbinder/ |
D | Parcel.cpp | 1564 status_t Parcel::readBuffer(size_t buffer_size, size_t *buffer_handle, in readBuffer() argument 1574 if (!verifyBufferObject(buffer_obj, buffer_size, flags, parent, parentOffset)) { in readBuffer() 1584 status_t Parcel::readNullableBuffer(size_t buffer_size, size_t *buffer_handle, in readNullableBuffer() argument 1587 return readBuffer(buffer_size, buffer_handle, in readNullableBuffer() 1592 status_t Parcel::readBuffer(size_t buffer_size, size_t *buffer_handle, in readBuffer() argument 1595 status_t status = readNullableBuffer(buffer_size, buffer_handle, buffer_out); in readBuffer() 1603 status_t Parcel::readEmbeddedBuffer(size_t buffer_size, in readEmbeddedBuffer() argument 1609 status_t status = readNullableEmbeddedBuffer(buffer_size, buffer_handle, in readEmbeddedBuffer() 1618 status_t Parcel::readNullableEmbeddedBuffer(size_t buffer_size, in readNullableEmbeddedBuffer() argument 1624 return readBuffer(buffer_size, buffer_handle, BINDER_BUFFER_FLAG_HAS_PARENT, in readNullableEmbeddedBuffer()
|
/system/update_engine/scripts/ |
D | update_device.py | 44 def CopyFileObjLength(fsrc, fdst, buffer_size=128 * 1024, copy_length=None): argument 61 chunk_size = buffer_size
|
/system/gatekeeper/ |
D | gatekeeper_messages.cpp | 53 const size_t buffer_size = end - *buffer; in read_from_buffer() local 54 if (buffer_size < target->length) return ERROR_INVALID; in read_from_buffer()
|
/system/nvram/hal/ |
D | nvram_device_adapter.cpp | 223 uint64_t buffer_size, in device_write_space() argument 228 if (!write_space_request.buffer.Assign(buffer, buffer_size) || in device_write_space()
|
/system/keymaster/include/keymaster/ |
D | serializable.h | 229 size_t buffer_size() const { return buffer_size_; } in buffer_size() function
|
/system/bt/audio_bluetooth_hw/ |
D | stream_apis.cc | 92 size_t buffer_size = in out_get_buffer_size() local 95 << ", buffer_size=" << buffer_size; in out_get_buffer_size() 96 return buffer_size; in out_get_buffer_size()
|
/system/core/adb/client/ |
D | commandline.cpp | 482 size_t buffer_size = sizeof(raw_buffer); in stdin_read_thread_loop() local 485 buffer_size = args->protocol->data_capacity(); in stdin_read_thread_loop() 490 buffer_size = 1; in stdin_read_thread_loop() 500 buffer_size); in stdin_read_thread_loop()
|