Lines Matching full:memcpy
129 memcpy(cp, he->h_addr_list[i], n); in __copy_hostent()
194 memcpy(p, &res_options, sizeof(res_options)); in host_id_func()
197 memcpy(p, &op_id, sizeof(int)); in host_id_func()
200 memcpy(p, &lookup_type, sizeof(enum nss_lookup_type)); in host_id_func()
203 memcpy(p, &type, sizeof(int)); in host_id_func()
206 memcpy(p, str, size + 1); in host_id_func()
225 memcpy(p, &res_options, sizeof(res_options)); in host_id_func()
228 memcpy(p, &op_id, sizeof(int)); in host_id_func()
231 memcpy(p, &lookup_type, sizeof(enum nss_lookup_type)); in host_id_func()
234 memcpy(p, &type, sizeof(int)); in host_id_func()
237 memcpy(p, &len, sizeof(socklen_t)); in host_id_func()
240 memcpy(p, addr, len); in host_id_func()
314 memcpy(&new_ht, ht, sizeof(struct hostent)); in host_marshal_func()
319 memcpy(buffer + sizeof(struct hostent), &p, sizeof(char *)); in host_marshal_func()
324 memcpy(p, new_ht.h_name, size); in host_marshal_func()
331 memcpy(p, new_ht.h_aliases, sizeof(char *) * aliases_size); in host_marshal_func()
337 memcpy(p, *iter, size); in host_marshal_func()
345 memcpy(p, new_ht.h_addr_list, sizeof(char *) * addr_size); in host_marshal_func()
351 memcpy(p, *iter, size); in host_marshal_func()
356 memcpy(buffer, &new_ht, sizeof(struct hostent)); in host_marshal_func()
400 memcpy(ht, buffer, sizeof(struct hostent)); in host_unmarshal_func()
401 memcpy(&p, buffer + sizeof(struct hostent), sizeof(char *)); in host_unmarshal_func()
404 memcpy(orig_buf, buffer + sizeof(struct hostent) + sizeof(char *) + in host_unmarshal_func()