Home
last modified time | relevance | path

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

/system/bt/stack/gap/
Dgap_conn.c347 UINT16 copy_len; in GAP_ConnReadData() local
365 copy_len = (p_buf->len > max_len)?max_len:p_buf->len; in GAP_ConnReadData()
366 max_len -= copy_len; in GAP_ConnReadData()
367 *p_len += copy_len; in GAP_ConnReadData()
370 memcpy (p_data, (UINT8 *)(p_buf + 1) + p_buf->offset, copy_len); in GAP_ConnReadData()
371 p_data += copy_len; in GAP_ConnReadData()
374 if (p_buf->len > copy_len) in GAP_ConnReadData()
376 p_buf->offset += copy_len; in GAP_ConnReadData()
377 p_buf->len -= copy_len; in GAP_ConnReadData()