Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_sdp_server.cc148 char* free_ptr = in copy_sdp_records() local
161 out_record->hdr.service_name = free_ptr; // Update service_name pointer in copy_sdp_records()
163 memcpy(free_ptr, in_record->hdr.service_name, in copy_sdp_records()
165 free_ptr += in_record->hdr.service_name_length; in copy_sdp_records()
166 *(free_ptr) = '\0'; // Set '\0' termination of string in copy_sdp_records()
167 free_ptr++; in copy_sdp_records()
170 out_record->hdr.user1_ptr = (uint8_t*)free_ptr; // Update pointer in copy_sdp_records()
171 memcpy(free_ptr, in_record->hdr.user1_ptr, in copy_sdp_records()
173 free_ptr += in_record->hdr.user1_ptr_len; in copy_sdp_records()
176 out_record->hdr.user2_ptr = (uint8_t*)free_ptr; // Update pointer in copy_sdp_records()
[all …]