Searched refs:to_copy (Results 1 – 8 of 8) sorted by relevance
/external/qemu/android/ |
D | charmap.c | 494 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()
|
D | hw-qemud.c | 2044 size_t to_copy = min(msg->size - msg->offset, buff->size - off_in_buff); in _qemudPipe_recvBuffers() local 2045 memcpy(buff->data + off_in_buff, msg->message + msg->offset, to_copy); in _qemudPipe_recvBuffers() 2047 off_in_buff += to_copy; in _qemudPipe_recvBuffers() 2048 msg->offset += to_copy; in _qemudPipe_recvBuffers() 2049 sent_bytes += to_copy; in _qemudPipe_recvBuffers()
|
/external/elfutils/src/ |
D | ar.c | 905 struct armem *to_copy = NULL; in do_oper_delete() local 962 if (to_copy == NULL) in do_oper_delete() 963 to_copy = newp->next = newp; in do_oper_delete() 966 newp->next = to_copy->next; in do_oper_delete() 967 to_copy = to_copy->next = newp; in do_oper_delete() 1011 if (likely (to_copy != NULL)) in do_oper_delete() 1027 struct armem *last = to_copy; in do_oper_delete() 1028 to_copy = to_copy->next; in do_oper_delete() 1035 if (write_member (to_copy, &start, &len, elf, cur_off, newfd) != 0) in do_oper_delete() 1037 while ((to_copy = to_copy->next) != NULL); in do_oper_delete()
|
/external/qemu/ |
D | sockets.c | 816 int to_copy = MIN(sizeof(host_name)-1, port_name - host_and_port); in sock_address_list_create2() local 817 if (to_copy != 0) { in sock_address_list_create2() 818 memcpy(host_name, host_and_port, to_copy); in sock_address_list_create2() 819 host_name[to_copy] = '\0'; in sock_address_list_create2()
|
/external/bluetooth/bluez/audio/ |
D | avdtp.c | 573 int left, to_copy; in avdtp_send() local 578 to_copy = session->omtu - sizeof(cont); in avdtp_send() 579 DBG("sending continue with %d bytes", to_copy); in avdtp_send() 582 to_copy = left; in avdtp_send() 583 DBG("sending end with %d bytes", to_copy); in avdtp_send() 590 memcpy(session->buf + sizeof(cont), data + sent, to_copy); in avdtp_send() 592 if (!try_send(sock, session->buf, to_copy + sizeof(cont))) in avdtp_send() 595 sent += to_copy; in avdtp_send()
|
/external/libusb/libusb/os/ |
D | linux_usbfs.c | 426 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/contrib/minizip/ |
D | zip.c | 247 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/v8/src/ |
D | builtins.cc | 893 const int to_copy = len - actual_delete_count - actual_start; in BUILTIN() local 897 actual_start + item_count, to_copy); in BUILTIN()
|