Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_db.cc424 if (p_rec->free_pad_ptr + attr_len >= SDP_MAX_PAD_LEN) { in SDP_AddAttribute()
429 attr_len, SDP_MAX_PAD_LEN - p_rec->free_pad_ptr); in SDP_AddAttribute()
431 attr_len = SDP_MAX_PAD_LEN - p_rec->free_pad_ptr; in SDP_AddAttribute()
432 p_val[SDP_MAX_PAD_LEN - p_rec->free_pad_ptr] = '\0'; in SDP_AddAttribute()
433 p_val[SDP_MAX_PAD_LEN - p_rec->free_pad_ptr + 1] = '\0'; in SDP_AddAttribute()
440 memcpy(&p_rec->attr_pad[p_rec->free_pad_ptr], p_val, (size_t)attr_len); in SDP_AddAttribute()
441 p_attr->value_ptr = &p_rec->attr_pad[p_rec->free_pad_ptr]; in SDP_AddAttribute()
442 p_rec->free_pad_ptr += attr_len; in SDP_AddAttribute()
798 (p_rec->free_pad_ptr - ((pad_ptr + len) - &p_rec->attr_pad[0])); in SDP_DeleteAttribute()
802 p_rec->free_pad_ptr -= len; in SDP_DeleteAttribute()
Dsdpint.h95 uint32_t free_pad_ptr; member