Searched refs:copy_length (Results 1 - 8 of 8) sorted by relevance
/freebsd-13-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_ustar.c | 390 size_t copy_length; local 408 r = archive_entry_pathname_l(entry, &pp, ©_length, sconv); 420 if (copy_length <= USTAR_name_size) 421 memcpy(h + USTAR_name_offset, pp, copy_length); 424 p = strchr(pp + copy_length - USTAR_name_size - 1, '/'); 457 pp + copy_length - p - 1); 461 r = archive_entry_hardlink_l(entry, &p, ©_length, sconv); 474 if (copy_length > 0) 477 r = archive_entry_symlink_l(entry, &p, ©_length, sconv); 491 if (copy_length > [all...] |
H A D | archive_write_set_format_gnutar.c | 571 size_t copy_length; local 593 copy_length = strlen(p); 596 copy_length = gnutar->pathname_length; 598 if (copy_length > GNUTAR_name_size) 599 copy_length = GNUTAR_name_size; 600 memcpy(h + GNUTAR_name_offset, p, copy_length); 602 if ((copy_length = gnutar->linkname_length) > 0) { 603 if (copy_length > GNUTAR_linkname_size) 604 copy_length = GNUTAR_linkname_size; 606 copy_length); [all...] |
H A D | archive_write_set_format_v7tar.c | 367 size_t copy_length; local 385 r = archive_entry_pathname_l(entry, &pp, ©_length, sconv); 397 if (strict && copy_length < V7TAR_name_size) 398 memcpy(h + V7TAR_name_offset, pp, copy_length); 399 else if (!strict && copy_length <= V7TAR_name_size) 400 memcpy(h + V7TAR_name_offset, pp, copy_length); 408 r = archive_entry_hardlink_l(entry, &p, ©_length, sconv); 421 if (copy_length > 0) 424 r = archive_entry_symlink_l(entry, &p, ©_length, sconv); 438 if (copy_length > [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_interceptors.cpp | 408 uptr copy_length = Min(size, from_length + 1); local 409 ASAN_READ_RANGE(ctx, from, copy_length); 414 CHECK_RANGES_OVERLAP("strncat", to, to_length + copy_length + 1, 415 from, copy_length);
|
/freebsd-13-stable/sys/dev/isci/scil/ |
H A D | scic_sds_stp_request.c | 1213 U32 copy_length; 1220 copy_length = MIN(length, current_sgl->length - sgl_offset); 1222 memcpy(destination_address, source_address, copy_length); 1224 length -= copy_length; 1225 sgl_offset += copy_length; 1226 data_offset += copy_length; 1227 source_address += copy_length;
|
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_indirect.c | 1023 size_t copy_length = entries * sizeof (*first_mapping); local 1024 duplicate_mappings = kmem_alloc(copy_length, KM_SLEEP); 1025 bcopy(first_mapping, duplicate_mappings, copy_length);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 296 uptr copy_length = internal_strnlen(s, size); \ 297 char *new_mem = (char *)WRAP(malloc)(copy_length + 1); \ 299 COMMON_INTERCEPTOR_READ_STRING(ctx, s, Min(size, copy_length + 1)); \ 301 COMMON_INTERCEPTOR_COPY_STRING(ctx, new_mem, s, copy_length); \ 302 internal_memcpy(new_mem, s, copy_length); \ 303 new_mem[copy_length] = '\0'; \
|
/freebsd-13-stable/stand/libsa/zfs/ |
H A D | zfsimpl.c | 528 size_t copy_length = entries * sizeof (*first_mapping); local 529 duplicate_mappings = malloc(copy_length); 531 bcopy(first_mapping, duplicate_mappings, copy_length);
|
Completed in 197 milliseconds