Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_discovery.cc341 unsigned int cpy_len, rem_len; in sdp_copy_raw_data() local
348 cpy_len = p_ccb->p_db->raw_size - p_ccb->p_db->raw_used; in sdp_copy_raw_data()
354 cpy_len -= 1; in sdp_copy_raw_data()
362 if ((int)cpy_len < (p - old_p)) { in sdp_copy_raw_data()
366 cpy_len -= (p - old_p); in sdp_copy_raw_data()
368 if (list_len < cpy_len) { in sdp_copy_raw_data()
369 cpy_len = list_len; in sdp_copy_raw_data()
372 if (cpy_len > rem_len) { in sdp_copy_raw_data()
373 SDP_TRACE_WARNING("rem_len :%d less than cpy_len:%d", rem_len, cpy_len); in sdp_copy_raw_data()
374 cpy_len = rem_len; in sdp_copy_raw_data()
[all …]