Searched refs:buffer_size (Results 1 - 23 of 23) sorted by relevance

/system/bt/hci/src/
H A Dhci_inject.cc47 size_t buffer_size; member in struct:__anon734
154 socket_read(client->socket, client->buffer + client->buffer_size,
155 sizeof(client->buffer) - client->buffer_size);
160 client->buffer_size += ret;
162 while (client->buffer_size > 3) {
168 if (client->buffer_size < frame_len) break;
187 size_t remainder = client->buffer_size - frame_len;
189 client->buffer_size -= frame_len;
/system/core/libnativeloader/include/nativeloader/
H A Ddlext_namespaces.h117 * buffer_size chars. Elements are separated with ':', and the path will always
120 * If buffer_size is too small to hold the entire default search path and the
125 extern void android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size);
/system/bt/audio_a2dp_hw/test/
H A Daudio_a2dp_hw_test.cc100 size_t buffer_size = audio_a2dp_hw_stream_compute_buffer_size( local
107 EXPECT_EQ(buffer_size,
138 EXPECT_EQ(buffer_size, expected_buffer_size);
/system/media/audio_utils/include/audio_utils/
H A Dclock.h32 * null terminated if buffer_size is greater than zero.
33 * \param buffer_size size of buffer.
35 static inline void audio_utils_ns_to_string(int64_t ns, char *buffer, size_t buffer_size) argument
37 if (buffer_size == 0) return;
49 if (snprintf(buffer, buffer_size, "%02d-%02d %02d:%02d:%02d.%03d",
/system/bt/btif/co/
H A Dbta_hl_co.cc238 * buffer_size - the unit of the buffer size is
246 bool bta_hl_co_load_mdl_config(uint8_t app_id, uint8_t buffer_size, argument
252 BTIF_TRACE_DEBUG("%s app_id=%d, num_items=%d", __func__, app_id, buffer_size);
254 if (buffer_size > BTA_HL_NUM_MDL_CFGS) {
258 result = btif_hl_load_mdl_config(app_id, buffer_size, p_mdl_buf);
261 for (i = 0, p = p_mdl_buf; i < buffer_size; i++, p++) {
271 BTIF_TRACE_DEBUG("%s success=%d num_items=%d", __func__, result, buffer_size);
/system/bt/bta/include/
H A Dbta_hl_co.h148 * buffer_size - the unit of the buffer size is
156 extern bool bta_hl_co_load_mdl_config(uint8_t app_id, uint8_t buffer_size,
H A Dbta_hd_api.h93 uint16_t buffer_size; member in struct:__anon358
/system/vold/
H A DMetadataCrypt.cpp129 static struct dm_ioctl* dm_ioctl_init(char *buffer, size_t buffer_size, argument
131 if (buffer_size < sizeof(dm_ioctl)) {
136 memset(buffer, 0, buffer_size);
138 io->data_size = buffer_size;
/system/libhwbinder/include/hwbinder/
H A DParcel.h163 status_t readBuffer(size_t buffer_size, size_t *buffer_handle,
165 status_t readNullableBuffer(size_t buffer_size, size_t *buffer_handle,
167 status_t readEmbeddedBuffer(size_t buffer_size, size_t *buffer_handle,
170 status_t readNullableEmbeddedBuffer(size_t buffer_size,
215 status_t readBuffer(size_t buffer_size, size_t *buffer_handle,
/system/extras/sound/
H A Dplaywav.c25 uint32_t buffer_size; member in struct:msm_audio_config
65 sz = config.buffer_size;
249 sz = cfg.buffer_size;
/system/update_engine/scripts/
H A Dupdate_device.py35 def CopyFileObjLength(fsrc, fdst, buffer_size=128 * 1024, copy_length=None):
44 buffer_size: size of the copy buffer in memory.
52 chunk_size = buffer_size
/system/core/libsparse/
H A Doutput_file.c708 uint64_t buffer_size; local
713 buffer_size = (uint64_t)len + (uint64_t)aligned_diff;
716 if (buffer_size > SIZE_MAX)
718 char *data = mmap64(NULL, buffer_size, PROT_READ, MAP_SHARED, fd,
746 munmap(data, buffer_size);
/system/libhwbinder/
H A DParcel.cpp1559 status_t Parcel::readBuffer(size_t buffer_size, size_t *buffer_handle, argument
1571 if (!verifyBufferObject(buffer_obj, buffer_size, flags, parent, parentOffset)) {
1581 status_t Parcel::readNullableBuffer(size_t buffer_size, size_t *buffer_handle, argument
1584 return readBuffer(buffer_size, buffer_handle,
1589 status_t Parcel::readBuffer(size_t buffer_size, size_t *buffer_handle, argument
1592 status_t status = readNullableBuffer(buffer_size, buffer_handle, buffer_out);
1600 status_t Parcel::readEmbeddedBuffer(size_t buffer_size, argument
1606 status_t status = readNullableEmbeddedBuffer(buffer_size, buffer_handle,
1615 status_t Parcel::readNullableEmbeddedBuffer(size_t buffer_size, argument
1621 return readBuffer(buffer_size, buffer_handl
[all...]
/system/gatekeeper/
H A Dgatekeeper_messages.cpp55 const size_t buffer_size = end - *buffer; local
56 if (buffer_size < target->length) return ERROR_INVALID;
/system/nvram/hal/
H A Dnvram_device_adapter.cpp223 uint64_t buffer_size,
228 if (!write_space_request.buffer.Assign(buffer, buffer_size) ||
220 device_write_space(const nvram_device_t* device, uint32_t index, const uint8_t* buffer, uint64_t buffer_size, const uint8_t* authorization_value, uint32_t authorization_value_size) argument
/system/bt/btif/include/
H A Dbtif_hl.h312 extern bool btif_hl_load_mdl_config(uint8_t app_id, uint8_t buffer_size,
/system/keymaster/include/keymaster/
H A Dserializable.h226 size_t buffer_size() const { return buffer_size_; } function in class:keymaster::Buffer
/system/nfc/src/nfc/nfc/
H A Dnfc_ncif.cc136 uint8_t buffer_size = p_cb->buff_size; local
172 if (p_data->len <= buffer_size) {
178 ulen = buffer_size;
/system/bt/bta/hd/
H A Dbta_hd_act.cc548 ret.buffer_size = *p_buf | (*(p_buf + 1) << 8);
/system/bt/btif/src/
H A Dbtif_hd.cc235 p_data->get_report.report_id, p_data->get_report.buffer_size);
H A Dbtif_hl.cc4632 bool btif_hl_load_mdl_config(uint8_t app_id, uint8_t buffer_size, argument
4643 for (i = 0, p = p_mdl_buf; i < buffer_size; i++, p++) {
/system/core/adb/
H A Dcommandline.cpp487 size_t buffer_size = sizeof(raw_buffer); local
490 buffer_size = args->protocol->data_capacity();
495 buffer_size = 1;
505 buffer_size);
/system/extras/micro_bench/
H A Dmicro_bench.cpp318 size_t buffer_size = num_buffers * incr; \
511 memset(buffer, 'a', buffer_size); \

Completed in 514 milliseconds