Searched refs:copy_length (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_ustar.c390 size_t copy_length; local
408 r = archive_entry_pathname_l(entry, &pp, &copy_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, &copy_length, sconv);
474 if (copy_length > 0)
477 r = archive_entry_symlink_l(entry, &p, &copy_length, sconv);
491 if (copy_length >
[all...]
H A Darchive_write_set_format_gnutar.c571 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 Darchive_write_set_format_v7tar.c367 size_t copy_length; local
385 r = archive_entry_pathname_l(entry, &pp, &copy_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, &copy_length, sconv);
421 if (copy_length > 0)
424 r = archive_entry_symlink_l(entry, &p, &copy_length, sconv);
438 if (copy_length >
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors.cpp408 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 Dscic_sds_stp_request.c1213 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 Dvdev_indirect.c1023 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 Dsanitizer_common_interceptors.inc296 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 Dzfsimpl.c528 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