Home
last modified time | relevance | path

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

/external/qemu/android/
Dcharmap.c494 size_t to_copy; in kcm_extract_charmap_name() local
520 to_copy = ext_separator - file_name; in kcm_extract_charmap_name()
521 if (to_copy > (max_len - 1)) { in kcm_extract_charmap_name()
522 to_copy = max_len - 1; in kcm_extract_charmap_name()
524 memcpy(charmap_name, file_name, to_copy); in kcm_extract_charmap_name()
525 charmap_name[to_copy] = '\0'; in kcm_extract_charmap_name()
Dsockets.c818 int to_copy = MIN(sizeof(host_name)-1, port_name - host_and_port); in sock_address_list_create2() local
819 if (to_copy != 0) { in sock_address_list_create2()
820 memcpy(host_name, host_and_port, to_copy); in sock_address_list_create2()
821 host_name[to_copy] = '\0'; in sock_address_list_create2()
Dhw-qemud.c2043 size_t to_copy = min(msg->size - msg->offset, buff->size - off_in_buff); in _qemudPipe_recvBuffers() local
2044 memcpy(buff->data + off_in_buff, msg->message + msg->offset, to_copy); in _qemudPipe_recvBuffers()
2046 off_in_buff += to_copy; in _qemudPipe_recvBuffers()
2047 msg->offset += to_copy; in _qemudPipe_recvBuffers()
2048 sent_bytes += to_copy; in _qemudPipe_recvBuffers()
/external/elfutils/0.153/src/
Dar.c932 struct armem *to_copy = NULL; in do_oper_delete() local
989 if (to_copy == NULL) in do_oper_delete()
990 to_copy = newp->next = newp; in do_oper_delete()
993 newp->next = to_copy->next; in do_oper_delete()
994 to_copy = to_copy->next = newp; in do_oper_delete()
1038 if (likely (to_copy != NULL)) in do_oper_delete()
1054 struct armem *last = to_copy; in do_oper_delete()
1055 to_copy = to_copy->next; in do_oper_delete()
1062 if (write_member (to_copy, &start, &len, elf, cur_off, newfd) != 0) in do_oper_delete()
1064 while ((to_copy = to_copy->next) != NULL); in do_oper_delete()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
Dtest_importer.py274 to_copy = {'src': source_file, 'dest': support_file}
277 if not(to_copy in copy_list):
278 copy_list.append(to_copy)
/external/libusb/libusb/os/
Dlinux_usbfs.c426 int to_copy; in sysfs_get_active_config_descriptor() local
492 to_copy = (len < sizeof(tmp)) ? len : sizeof(tmp); in sysfs_get_active_config_descriptor()
493 memcpy(buffer, tmp, to_copy); in sysfs_get_active_config_descriptor()
/external/zlib/src/contrib/minizip/
Dzip.c247 unsigned char* to_copy; in add_data_in_datablock() local
263 to_copy = &(ldi->data[ldi->filled_in_this_block]); in add_data_in_datablock()
266 *(to_copy+i)=*(from_copy+i); in add_data_in_datablock()
/external/chromium_org/third_party/zlib/contrib/minizip/
Dzip.c247 unsigned char* to_copy; in add_data_in_datablock() local
263 to_copy = &(ldi->data[ldi->filled_in_this_block]); in add_data_in_datablock()
266 *(to_copy+i)=*(from_copy+i); in add_data_in_datablock()