Searched refs:copy_length (Results 1 – 5 of 5) sorted by relevance
| /netbsd/src/external/bsd/libarchive/dist/libarchive/ |
| D | archive_write_set_format_ustar.c | 392 size_t copy_length; local 410 r = archive_entry_pathname_l(entry, &pp, ©_length, sconv); 422 if (copy_length <= USTAR_name_size) 423 memcpy(h + USTAR_name_offset, pp, copy_length); 426 p = strchr(pp + copy_length - USTAR_name_size - 1, '/'); 459 pp + copy_length - p - 1); 463 r = archive_entry_hardlink_l(entry, &p, ©_length, sconv); 476 if (copy_length > 0) 479 r = archive_entry_symlink_l(entry, &p, ©_length, sconv); 493 if (copy_length > 0) { [all …]
|
| D | archive_write_set_format_gnutar.c | 569 size_t copy_length; in archive_format_gnutar_header() local 591 copy_length = strlen(p); in archive_format_gnutar_header() 594 copy_length = gnutar->pathname_length; in archive_format_gnutar_header() 596 if (copy_length > GNUTAR_name_size) in archive_format_gnutar_header() 597 copy_length = GNUTAR_name_size; in archive_format_gnutar_header() 598 memcpy(h + GNUTAR_name_offset, p, copy_length); in archive_format_gnutar_header() 600 if ((copy_length = gnutar->linkname_length) > 0) { in archive_format_gnutar_header() 601 if (copy_length > GNUTAR_linkname_size) in archive_format_gnutar_header() 602 copy_length = GNUTAR_linkname_size; in archive_format_gnutar_header() 604 copy_length); in archive_format_gnutar_header() [all …]
|
| D | archive_write_set_format_v7tar.c | 365 size_t copy_length; in format_header_v7tar() local 383 r = archive_entry_pathname_l(entry, &pp, ©_length, sconv); in format_header_v7tar() 395 if (strict && copy_length < V7TAR_name_size) in format_header_v7tar() 396 memcpy(h + V7TAR_name_offset, pp, copy_length); in format_header_v7tar() 397 else if (!strict && copy_length <= V7TAR_name_size) in format_header_v7tar() 398 memcpy(h + V7TAR_name_offset, pp, copy_length); in format_header_v7tar() 406 r = archive_entry_hardlink_l(entry, &p, ©_length, sconv); in format_header_v7tar() 419 if (copy_length > 0) in format_header_v7tar() 422 r = archive_entry_symlink_l(entry, &p, ©_length, sconv); in format_header_v7tar() 436 if (copy_length > 0) { in format_header_v7tar() [all …]
|
| /netbsd/src/sys/net/ |
| D | if_l2tp.c | 579 int copy_length; in l2tp_input() local 586 copy_length = m->m_pkthdr.len; in l2tp_input() 588 copy_length = L2TP_COPY_LENGTH; in l2tp_input() 591 if (m->m_len < copy_length) { in l2tp_input() 592 m = m_pullup(m, copy_length); in l2tp_input() 617 memcpy(mtod(m_head, void *), mtod(m, void *), copy_length); in l2tp_input() 618 m_head->m_len = copy_length; in l2tp_input() 619 m->m_data += copy_length; in l2tp_input() 620 m->m_len -= copy_length; in l2tp_input()
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | value.c | 1221 ULONGEST copy_length = length; in contents_copy_raw() local 1224 copy_length = src_offset > limit ? 0 : limit - src_offset; in contents_copy_raw() 1233 if ((src_offset + copy_length) * unit_size > enclosing_type ()-> length ()) in contents_copy_raw() 1239 copy_length * unit_size); in contents_copy_raw() 1242 copy_length * unit_size); in contents_copy_raw()
|