Home
last modified time | relevance | path

Searched refs:archive_strncpy (Results 1 – 14 of 14) sorted by relevance

/dragonfly/contrib/libarchive/libarchive/
H A Darchive_string.h168 archive_strncpy((as), (p), ((p) == NULL ? 0 : strlen(p)))
175 #define archive_strncpy(as,p,l) \ macro
H A Darchive_read_support_format_lha.c833 archive_strncpy(&lha->filename, p + H0_FILE_NAME_OFFSET, namelen); in lha_read_file_header_0()
937 archive_strncpy(&lha->filename, p + H1_FILE_NAME_OFFSET, namelen); in lha_read_file_header_1()
1231 archive_strncpy(&lha->filename, in lha_read_file_extended_header()
1260 archive_strncpy(&lha->dirname, in lha_read_file_extended_header()
1394 archive_strncpy(&lha->gname, in lha_read_file_extended_header()
1399 archive_strncpy(&lha->uname, in lha_read_file_extended_header()
H A Darchive_write_set_format_v7tar.c309 archive_strncpy(&as, p, path_length); in archive_write_v7tar_header()
H A Darchive_read_support_format_tar.c1043 archive_strncpy(&(tar->localname), acl, p - acl); in header_Solaris_ACL()
1190 archive_strncpy(&(tar->entry_linkpath), in header_common()
1536 archive_strncpy(as, header->prefix, sizeof(header->prefix)); in header_ustar()
1541 archive_strncpy(as, header->name, sizeof(header->name)); in header_ustar()
H A Darchive_read_support_format_xar.c2715 archive_strncpy(&(xar->file->symlink), s, len); in xml_data()
2766 archive_strncpy(&(xar->file->gname), s, len); in xml_data()
2774 archive_strncpy(&(xar->file->uname), s, len); in xml_data()
2836 archive_strncpy(&(xar->xattr->name), s, len); in xml_data()
2840 archive_strncpy(&(xar->xattr->fstype), s, len); in xml_data()
H A Darchive_write_set_format_ustar.c331 archive_strncpy(&as, p, path_length); in archive_write_ustar_header()
H A Darchive_write_set_format_gnutar.c364 archive_strncpy(&as, p, path_length); in archive_write_gnutar_header()
H A Darchive_write_set_format_xar.c764 archive_strncpy(&(xar->cur_file->script), b + off, in xar_write_data()
2099 archive_strncpy(&(file->parentdir), pp, len); in file_gen_utility_names()
2203 archive_strncpy(&(file->symlink), pp, len2); in file_gen_utility_names()
H A Darchive_string.c4065 archive_strncpy(&(aes->aes_mbs), mbs, len); in archive_mstring_copy_mbs_len()
4088 archive_strncpy(&(aes->aes_utf8), utf8, strlen(utf8)); in archive_mstring_copy_utf8()
H A Darchive_write_set_format_pax.c709 archive_strncpy(&as, p, path_length); in archive_write_pax_header()
H A Darchive_read_support_format_zip.c3723 archive_strncpy(&str, name, name_length); in expose_parent_dirs()
3927 archive_strncpy(&(zip_entry->rsrcname), in slurp_central_directory()
H A Darchive_read_support_format_iso9660.c1885 archive_strncpy(&file->name, (const char *)p, name_len); in parse_file_info()
H A Darchive_read_support_format_cab.c810 archive_strncpy(&(file->pathname), p, len); in cab_read_header()
H A Darchive_write_disk_posix.c4400 archive_strncpy(&datafork, pathname, p - pathname); in fixup_appledouble()