Lines Matching refs:free_ptr
148 char* free_ptr = (char*)(&out_records[count]); /* set pointer to after the last entry */ in copy_sdp_records() local
159 out_record->hdr.service_name = free_ptr; // Update service_name pointer in copy_sdp_records()
161 memcpy(free_ptr, in_record->hdr.service_name, in_record->hdr.service_name_length); in copy_sdp_records()
162 free_ptr += in_record->hdr.service_name_length; in copy_sdp_records()
163 *(free_ptr) = '\0'; // Set '\0' termination of string in copy_sdp_records()
164 free_ptr++; in copy_sdp_records()
167 out_record->hdr.user1_ptr = (UINT8*)free_ptr; // Update pointer in copy_sdp_records()
168 … memcpy(free_ptr, in_record->hdr.user1_ptr, in_record->hdr.user1_ptr_len); // Copy content in copy_sdp_records()
169 free_ptr += in_record->hdr.user1_ptr_len; in copy_sdp_records()
172 out_record->hdr.user2_ptr = (UINT8*)free_ptr; // Update pointer in copy_sdp_records()
173 … memcpy(free_ptr, in_record->hdr.user2_ptr, in_record->hdr.user2_ptr_len); // Copy content in copy_sdp_records()
174 free_ptr += in_record->hdr.user2_ptr_len; in copy_sdp_records()