Home
last modified time | relevance | path

Searched refs:buffer_size (Results 1 – 19 of 19) sorted by relevance

/system/bt/hci/src/
Dhci_inject.c47 size_t buffer_size; member
154 …t_read(client->socket, client->buffer + client->buffer_size, sizeof(client->buffer) - client->buff… in read_ready()
159 client->buffer_size += ret; in read_ready()
161 while (client->buffer_size > 3) { in read_ready()
167 if (client->buffer_size < frame_len) in read_ready()
186 size_t remainder = client->buffer_size - frame_len; in read_ready()
188 client->buffer_size -= frame_len; in read_ready()
Dhci_layer.c573 size_t buffer_size = BT_HDR_SIZE + incoming->index + incoming->bytes_remaining; in hal_says_data_ready() local
574 incoming->buffer = (BT_HDR *)buffer_allocator->alloc(buffer_size); in hal_says_data_ready()
577 …%s error getting buffer for incoming packet of type %d and size %zd", __func__, type, buffer_size); in hal_says_data_ready()
/system/bt/osi/src/
Deager_reader.c49 size_t buffer_size; member
68 size_t buffer_size, in eager_reader_new() argument
74 assert(buffer_size > 0); in eager_reader_new()
89 ret->buffer_size = buffer_size; in eager_reader_new()
241 …data_buffer_t *buffer = (data_buffer_t *)reader->allocator->alloc(reader->buffer_size + sizeof(dat… in inbound_data_waiting()
252 reader->buffer_size)); in inbound_data_waiting()
/system/bt/btif/co/
Dbta_hl_co.c271 BOOLEAN bta_hl_co_load_mdl_config (UINT8 app_id, UINT8 buffer_size, in bta_hl_co_load_mdl_config() argument
279 __FUNCTION__, app_id, buffer_size); in bta_hl_co_load_mdl_config()
281 if (buffer_size > BTA_HL_NUM_MDL_CFGS) in bta_hl_co_load_mdl_config()
286 result = btif_hl_load_mdl_config(app_id, buffer_size, p_mdl_buf); in bta_hl_co_load_mdl_config()
290 for (i=0, p=p_mdl_buf; i<buffer_size; i++, p++ ) in bta_hl_co_load_mdl_config()
300 BTIF_TRACE_DEBUG("%s success=%d num_items=%d", __FUNCTION__, result, buffer_size); in bta_hl_co_load_mdl_config()
/system/core/metricsd/
Dmetrics_library.cc70 int buffer_size, in IsDeviceMounted() argument
72 if (buffer == nullptr || buffer_size < 1) in IsDeviceMounted()
84 int read_size = read(mounts_fd, buffer, buffer_size); in IsDeviceMounted()
/system/core/libnativeloader/include/nativeloader/
Ddlext_namespaces.h100 extern void android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size);
/system/bt/osi/include/
Deager_reader.h41 size_t buffer_size,
/system/extras/sound/
Dplaywav.c25 uint32_t buffer_size; member
65 sz = config.buffer_size; in pcm_play()
249 sz = cfg.buffer_size; in wav_rec()
/system/bt/bta/include/
Dbta_hl_co.h154 extern BOOLEAN bta_hl_co_load_mdl_config (UINT8 app_id, UINT8 buffer_size,
/system/extras/tests/net_test/
Dtcp_nuke_addr_test.py64 def TcpAcceptAndReceive(listening_sock, buffer_size=DEFAULT_BUFFER_SIZE): argument
73 _ = connection.recv(buffer_size)
/system/core/metricsd/include/metrics/
Dmetrics_library.h152 char* buffer, int buffer_size,
/system/core/libsparse/
Doutput_file.c701 int buffer_size; in write_fd_chunk() local
706 buffer_size = len + aligned_diff; in write_fd_chunk()
709 char *data = mmap64(NULL, buffer_size, PROT_READ, MAP_SHARED, fd, in write_fd_chunk()
737 munmap(data, buffer_size); in write_fd_chunk()
/system/update_engine/common/
Dutils.h217 bool GetExt3Size(const uint8_t* buffer, size_t buffer_size,
227 bool GetSquashfs4Size(const uint8_t* buffer, size_t buffer_size,
Dutils.cc767 bool GetExt3Size(const uint8_t* buffer, size_t buffer_size, in GetExt3Size() argument
773 if (buffer_size < SUPERBLOCK_OFFSET + SUPERBLOCK_SIZE) in GetExt3Size()
807 bool GetSquashfs4Size(const uint8_t* buffer, size_t buffer_size, in GetSquashfs4Size() argument
815 if (buffer_size < kSquashfsSuperBlockSize) in GetSquashfs4Size()
/system/keymaster/include/keymaster/
Dserializable.h225 size_t buffer_size() const { return buffer_size_; } in buffer_size() function
/system/bt/btif/include/
Dbtif_hl.h328 extern BOOLEAN btif_hl_load_mdl_config (UINT8 app_id, UINT8 buffer_size,
/system/core/adb/
Dcommandline.cpp530 size_t buffer_size = sizeof(raw_buffer); in stdin_read_thread_loop() local
533 buffer_size = args->protocol->data_capacity(); in stdin_read_thread_loop()
538 buffer_size = 1; in stdin_read_thread_loop()
548 buffer_size); in stdin_read_thread_loop()
/system/extras/micro_bench/
Dmicro_bench.cpp318 size_t buffer_size = num_buffers * incr; \
511 memset(buffer, 'a', buffer_size); \ in benchmarkStrlenCold()
/system/bt/btif/src/
Dbtif_hl.c4944 BOOLEAN btif_hl_load_mdl_config (UINT8 app_id, UINT8 buffer_size, in btif_hl_load_mdl_config() argument
4956 for (i=0, p=p_mdl_buf; i<buffer_size; i++, p++) in btif_hl_load_mdl_config()