Home
last modified time | relevance | path

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

/system/bt/stack/gap/
Dgap_conn.c307 UINT16 copy_len; in GAP_ConnReadData() local
322 copy_len = (p_buf->len > max_len)?max_len:p_buf->len; in GAP_ConnReadData()
323 max_len -= copy_len; in GAP_ConnReadData()
324 *p_len += copy_len; in GAP_ConnReadData()
327 memcpy (p_data, (UINT8 *)(p_buf + 1) + p_buf->offset, copy_len); in GAP_ConnReadData()
328 p_data += copy_len; in GAP_ConnReadData()
331 if (p_buf->len > copy_len) in GAP_ConnReadData()
333 p_buf->offset += copy_len; in GAP_ConnReadData()
334 p_buf->len -= copy_len; in GAP_ConnReadData()