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

/system/bt/bta/hh/
H A Dbta_hh_api.c216 void BTA_HhGetReport(UINT8 dev_handle, tBTA_HH_RPT_TYPE r_type, UINT8 rpt_id, UINT16 buf_size) argument
218 UINT8 param = (buf_size) ? (r_type | 0x08) : r_type;
221 buf_size, rpt_id, NULL);
/system/bt/btif/co/
H A Dbta_hl_co.c313 ** buf_size - the size of the buffer
322 UINT16 buf_size, UINT8 *p_buf, UINT16 evt)
328 BTIF_TRACE_DEBUG("%s app_id=%d mdl_handle=0x%x buf_size=%d",
329 __FUNCTION__, app_id, mdl_handle, buf_size);
335 if (p_dcb->tx_size <= buf_size )
417 ** buf_size - the size of the buffer
426 UINT16 buf_size, UINT8 *p_buf, UINT16 evt)
430 UNUSED(buf_size);
321 bta_hl_co_get_tx_data(UINT8 app_id, tBTA_HL_MDL_HANDLE mdl_handle, UINT16 buf_size, UINT8 *p_buf, UINT16 evt) argument
425 bta_hl_co_get_echo_data(UINT8 app_id, tBTA_HL_MCL_HANDLE mcl_handle, UINT16 buf_size, UINT8 *p_buf, UINT16 evt) argument
/system/bt/stack/avct/
H A Davct_lcb_act.c544 UINT16 buf_size = p_lcb->peer_mtu + L2CAP_MIN_OFFSET + BT_HDR_SIZE; local
574 if ((p_buf = (BT_HDR *) GKI_getbuf(buf_size)) == NULL)
/system/media/camera/tests/
H A Dcamera_metadata_tests.cpp114 size_t buf_size = calculate_camera_metadata_size(entry_capacity, local
117 EXPECT_TRUE(buf_size > 0);
119 buf = malloc(buf_size);
123 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity);
131 EXPECT_EQ(OK, validate_camera_metadata_structure(m, &buf_size));
143 size_t buf_size = calculate_camera_metadata_size(entry_capacity, local
146 EXPECT_GT(buf_size, (size_t)0);
148 buf_size--;
150 buf = malloc(buf_size);
154 m = place_camera_metadata(buf, buf_size, entry_capacit
169 size_t buf_size = calculate_camera_metadata_size(entry_capacity, local
471 size_t buf_size = get_camera_metadata_compact_size(m); local
526 size_t buf_size = get_camera_metadata_compact_size(m); local
584 size_t buf_size = get_camera_metadata_compact_size(m); local
[all...]
/system/core/libnetutils/
H A Ddhcpclient.c239 static void hex2str(char *buf, size_t buf_size, const unsigned char *array, int len) argument
243 char *buf_end = buf + buf_size;
/system/core/logwrapper/
H A Dlogwrap.c55 /* This is a simple buffer that holds up to the first beginning_buf->buf_size
62 /* buf_size is the usable space, which is one less than the allocated size */
63 size_t buf_size; member in struct:beginning_buf
67 /* This is a circular buf that holds up to the last ending_buf->buf_size bytes
68 * of output from a command after the first beginning_buf->buf_size bytes
75 /* buf_size is the usable space, which is one less than the allocated size */
76 ssize_t buf_size; member in struct:ending_buf
109 if ((line_len + b_buf->used_len) > b_buf->buf_size) {
131 if (line_len > e_buf->buf_size) {
135 free_len = e_buf->buf_size
188 print_buf_lines(struct log_info *log_info, char *buf, int buf_size) argument
[all...]
/system/media/audio_utils/
H A Decho_reference.c50 size_t buf_size; // main buffer size in frames member in struct:echo_reference
117 er->buf_size = 0;
265 if (er->frames_in + inFrames > er->buf_size) {
267 er->buf_size, er->frames_in + inFrames);
268 er->buf_size = er->frames_in + inFrames;
269 er->buffer = realloc(er->buffer, er->buf_size * er->rd_frame_size);
278 inFrames, er->frames_in, er->buf_size,
419 if (er->frames_in > er->buf_size) {
420 er->buf_size = er->frames_in;
421 er->buffer = realloc(er->buffer, er->buf_size * e
[all...]
/system/core/liblog/
H A Dlog_read.c284 const char *msg, char *buf, size_t buf_size)
297 snprintf(buf, buf_size, msg, logger ? logger->id : (unsigned) -1);
306 len = buf_size;
311 if (((size_t)ret == len) || (buf_size < PAGE_SIZE)) {
336 ret += buf_size - len;
283 send_log_msg(struct logger *logger, const char *msg, char *buf, size_t buf_size) argument
/system/bt/stack/avdt/
H A Davdt_scb_act.c2093 UINT16 buf_size; local
2126 buf_size = p_tbl->peer_mtu + BT_HDR_SIZE;
2127 AVDT_TRACE_DEBUG("peer_mtu: %d, buf_size: %d num_frag=%d",
2128 p_tbl->peer_mtu, buf_size, num_frag);
2130 if(buf_size > AVDT_DATA_POOL_SIZE)
2131 buf_size = AVDT_DATA_POOL_SIZE;
2133 mtu_used = buf_size - BT_HDR_SIZE;
2138 if(NULL == (p_frag = (BT_HDR*)GKI_getbuf(buf_size)))
/system/bt/bta/av/
H A Dbta_av_int.h433 UINT16 buf_size; member in struct:__anon60
/system/bt/bta/include/
H A Dbta_hl_api.h345 UINT16 buf_size; member in struct:__anon434

Completed in 489 milliseconds