Searched defs:buffer_size (Results 1 - 11 of 11) sorted by relevance

/system/bt/hci/src/
H A Dhci_inject.c47 size_t buffer_size; member in struct:__anon746
154 ssize_t ret = socket_read(client->socket, client->buffer + client->buffer_size, sizeof(client->buffer) - client->buffer_size);
159 client->buffer_size += ret;
161 while (client->buffer_size > 3) {
167 if (client->buffer_size < frame_len)
186 size_t remainder = client->buffer_size - frame_len;
188 client->buffer_size -= frame_len;
H A Dhci_layer.c570 size_t buffer_size = BT_HDR_SIZE + incoming->index + incoming->bytes_remaining; local
571 incoming->buffer = (BT_HDR *)buffer_allocator->alloc(buffer_size);
574 LOG_ERROR(LOG_TAG, "%s error getting buffer for incoming packet of type %d and size %zd", __func__, type, buffer_size);
/system/keymaster/include/keymaster/
H A Dserializable.h225 size_t buffer_size() const { return buffer_size_; } function in class:keymaster::Buffer
/system/bt/btif/co/
H A Dbta_hl_co.c264 ** buffer_size - the unit of the buffer size is sizeof(tBTA_HL_MDL_CFG)
271 BOOLEAN bta_hl_co_load_mdl_config (UINT8 app_id, UINT8 buffer_size, argument
279 __FUNCTION__, app_id, buffer_size);
281 if (buffer_size > BTA_HL_NUM_MDL_CFGS)
286 result = btif_hl_load_mdl_config(app_id, buffer_size, p_mdl_buf);
290 for (i=0, p=p_mdl_buf; i<buffer_size; i++, p++ )
300 BTIF_TRACE_DEBUG("%s success=%d num_items=%d", __FUNCTION__, result, buffer_size);
/system/bt/osi/src/
H A Deager_reader.c49 size_t buffer_size; member in struct:eager_reader_t
68 size_t buffer_size,
74 assert(buffer_size > 0);
89 ret->buffer_size = buffer_size;
241 data_buffer_t *buffer = (data_buffer_t *)reader->allocator->alloc(reader->buffer_size + sizeof(data_buffer_t));
252 reader->buffer_size));
65 eager_reader_new( int fd_to_read, const allocator_t *allocator, size_t buffer_size, size_t max_buffer_count, const char *thread_name) argument
/system/core/metricsd/
H A Dmetrics_library.cc65 // We take buffer and buffer_size as parameters in order to simplify testing
66 // of various alignments of the |device_name| with |buffer_size|.
70 int buffer_size,
72 if (buffer == nullptr || buffer_size < 1)
84 int read_size = read(mounts_fd, buffer, buffer_size);
67 IsDeviceMounted(const char* device_name, const char* mounts_file, char* buffer, int buffer_size, bool* result) argument
/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/core/libsparse/
H A Doutput_file.c701 int buffer_size; local
706 buffer_size = len + aligned_diff;
709 char *data = mmap64(NULL, buffer_size, PROT_READ, MAP_SHARED, fd,
737 munmap(data, buffer_size);
/system/core/adb/
H A Dcommandline.cpp531 size_t buffer_size = sizeof(raw_buffer); local
534 buffer_size = args->protocol->data_capacity();
539 buffer_size = 1;
549 buffer_size);
/system/update_engine/common/
H A Dutils.cc744 bool GetExt3Size(const uint8_t* buffer, size_t buffer_size, argument
750 if (buffer_size < SUPERBLOCK_OFFSET + SUPERBLOCK_SIZE)
784 bool GetSquashfs4Size(const uint8_t* buffer, size_t buffer_size, argument
792 if (buffer_size < kSquashfsSuperBlockSize)
/system/bt/btif/src/
H A Dbtif_hl.c4944 BOOLEAN btif_hl_load_mdl_config (UINT8 app_id, UINT8 buffer_size, argument
4956 for (i=0, p=p_mdl_buf; i<buffer_size; i++, p++)

Completed in 504 milliseconds