Searched defs:buffer_size (Results 1 - 10 of 10) sorted by relevance
/system/bt/hci/src/ |
H A D | hci_inject.c | 46 size_t buffer_size; member in struct:__anon750 158 ssize_t ret = socket_read(client->socket, client->buffer + client->buffer_size, sizeof(client->buffer) - client->buffer_size); 163 client->buffer_size += ret; 165 while (client->buffer_size > 3) { 171 if (client->buffer_size < frame_len) 190 size_t remainder = client->buffer_size - frame_len; 192 client->buffer_size -= frame_len;
|
H A D | hci_layer.c | 550 size_t buffer_size = BT_HDR_SIZE + incoming->index + incoming->bytes_remaining; local 551 incoming->buffer = (BT_HDR *)buffer_allocator->alloc(buffer_size); 554 LOG_ERROR("%s error getting buffer for incoming packet of type %d and size %zd", __func__, type, buffer_size);
|
/system/keymaster/include/keymaster/ |
H A D | serializable.h | 215 size_t buffer_size() const { return buffer_size_; } function in class:keymaster::Buffer
|
/system/vold/ |
H A D | secdiscard.cpp | 161 ssize_t buffer_size = INIT_BUFFER_SIZE; local 168 contents.resize(buffer_size); 169 ssize_t read_size = read(fd, &contents[0], buffer_size); 176 if (read_size < buffer_size) { 180 SLOGD("%s too big for buffer of size %zu", path.c_str(), buffer_size); 181 buffer_size <<= 1;
|
/system/bt/btif/co/ |
H A D | bta_hl_co.c | 264 ** 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 D | eager_reader.c | 49 size_t buffer_size; member in struct:eager_reader_t 68 size_t buffer_size, 74 assert(buffer_size > 0); 93 ret->buffer_size = buffer_size; 238 data_buffer_t *buffer = (data_buffer_t *)reader->allocator->alloc(reader->buffer_size + sizeof(data_buffer_t)); 247 int bytes_read = read(reader->inbound_fd, buffer->data, 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/extras/sound/ |
H A D | playwav.c | 25 uint32_t buffer_size; member in struct:msm_audio_config 65 sz = config.buffer_size; 249 sz = cfg.buffer_size;
|
/system/bt/btcore/src/ |
H A D | counter.c | 58 size_t buffer_size; member in struct:__anon576 366 ssize_t ret = socket_read(socket, client->buffer + client->buffer_size, sizeof(client->buffer) - client->buffer_size);
|
/system/core/libsparse/ |
H A D | output_file.c | 701 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/bt/btif/src/ |
H A D | btif_hl.c | 5063 BOOLEAN btif_hl_load_mdl_config (UINT8 app_id, UINT8 buffer_size, argument 5075 for (i=0, p=p_mdl_buf; i<buffer_size; i++, p++)
|
Completed in 624 milliseconds