/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/core/libprocinfo/ |
D | process_map.cpp | 28 bool ReadMapFileAsyncSafe(const char* map_file, void* buffer, size_t buffer_size, in ReadMapFileAsyncSafe() argument 31 if (buffer == nullptr || buffer_size == 0) { in ReadMapFileAsyncSafe() 47 TEMP_FAILURE_RETRY(read(fd, char_buffer + read_bytes, buffer_size - read_bytes - 1)); in ReadMapFileAsyncSafe() 79 if (start == 0 && read_bytes == buffer_size - 1) { in ReadMapFileAsyncSafe()
|
/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/teeui/test/ |
D | teeui_device_config.cpp | 45 uint32_t buffer_size = h * linestride; in runRenderTest() local 46 std::vector<uint32_t> buffer(buffer_size); in runRenderTest() 47 int error = renderUIIntoBuffer(0, 0, w, h, linestride, buffer.data(), buffer_size); in runRenderTest()
|
/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/libhwbinder/include/hwbinder/ |
D | Parcel.h | 156 status_t readBuffer(size_t buffer_size, size_t *buffer_handle, 158 status_t readNullableBuffer(size_t buffer_size, size_t *buffer_handle, 160 status_t readEmbeddedBuffer(size_t buffer_size, size_t *buffer_handle, 163 status_t readNullableEmbeddedBuffer(size_t buffer_size, 203 status_t readBuffer(size_t buffer_size, size_t *buffer_handle,
|
/system/extras/simpleperf/ |
D | event_fd.h | 75 char* GetMappedBuffer(size_t& buffer_size) { in GetMappedBuffer() argument 76 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() 172 size_t buffer_size; in KernelRecordReader() local 173 buffer_ = event_fd_->GetMappedBuffer(buffer_size); in KernelRecordReader() 174 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() 222 size_t buffer_size = AlignToPowerOfTwo(data_size); in CreateFakeEventFds() local 224 buffer.resize(buffer_size); in CreateFakeEventFds() 228 event_fds_[i].reset(new MockEventFd(attr, i, buffers_[i].data(), buffer_size, false)); in CreateFakeEventFds()
|
D | RecordReadThread.h | 41 RecordBuffer(size_t buffer_size);
|
/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/vold/ |
D | Keymaster.cpp | 262 static bool write_string_to_buf(const std::string& towrite, uint8_t* buffer, uint32_t buffer_size, in write_string_to_buf() argument 269 if (buffer_size < towrite.size()) { in write_string_to_buf() 270 LOG(ERROR) << "Buffer too small " << buffer_size << " < " << towrite.size(); in write_string_to_buf() 273 memset(buffer, '\0', buffer_size); in write_string_to_buf()
|
/system/core/libsparse/ |
D | output_file.cpp | 655 uint64_t buffer_size; in write_fd_chunk() local 660 buffer_size = (uint64_t)len + (uint64_t)aligned_diff; in write_fd_chunk() 663 if (buffer_size > SIZE_MAX) return -E2BIG; in write_fd_chunk() 665 … reinterpret_cast<char*>(mmap64(nullptr, buffer_size, PROT_READ, MAP_SHARED, fd, aligned_offset)); in write_fd_chunk() 692 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/libhwbinder/ |
D | Parcel.cpp | 1363 status_t Parcel::readBuffer(size_t buffer_size, size_t *buffer_handle, in readBuffer() argument 1373 if (!verifyBufferObject(buffer_obj, buffer_size, flags, parent, parentOffset)) { in readBuffer() 1383 status_t Parcel::readNullableBuffer(size_t buffer_size, size_t *buffer_handle, in readNullableBuffer() argument 1386 return readBuffer(buffer_size, buffer_handle, in readNullableBuffer() 1391 status_t Parcel::readBuffer(size_t buffer_size, size_t *buffer_handle, in readBuffer() argument 1394 status_t status = readNullableBuffer(buffer_size, buffer_handle, buffer_out); in readBuffer() 1402 status_t Parcel::readEmbeddedBuffer(size_t buffer_size, in readEmbeddedBuffer() argument 1408 status_t status = readNullableEmbeddedBuffer(buffer_size, buffer_handle, in readEmbeddedBuffer() 1417 status_t Parcel::readNullableEmbeddedBuffer(size_t buffer_size, in readNullableEmbeddedBuffer() argument 1423 return readBuffer(buffer_size, buffer_handle, BINDER_BUFFER_FLAG_HAS_PARENT, in readNullableEmbeddedBuffer()
|
/system/core/fs_mgr/liblp/ |
D | reader.cpp | 481 static std::string NameFromFixedArray(const char* name, size_t buffer_size) { in NameFromFixedArray() argument 485 if (name[buffer_size - 1] == '\0') { in NameFromFixedArray() 488 return std::string(name, buffer_size); in NameFromFixedArray()
|
/system/core/libprocinfo/include/procinfo/ |
D | process_map.h | 179 bool ReadMapFileAsyncSafe(const char* map_file, void* buffer, size_t buffer_size,
|
/system/iorap/src/perfetto/ |
D | rx_producer.h | 51 uint32_t buffer_size = 4096);
|
/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/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 | 174 size_t buffer_size = in out_get_buffer_size() local 177 << ", buffer_size=" << buffer_size; in out_get_buffer_size() 178 return buffer_size; in out_get_buffer_size()
|