Home
last modified time | relevance | path

Searched refs:archive_strcpy (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-14.2/contrib/libarchive/libarchive/test/
H A Dtest_archive_string.c178 assert(&s == archive_strcpy(&s, "snafu")); in test_archive_strcpy()
182 assert(&s == archive_strcpy(&s, "foo")); in test_archive_strcpy()
186 assert(&s == archive_strcpy(&s, "")); in test_archive_strcpy()
212 assert(&s == archive_strcpy(&s, "")); in test_archive_string_concat()
218 assert(&s == archive_strcpy(&s, "foo")); in test_archive_string_concat()
224 assert(&s == archive_strcpy(&s, "")); in test_archive_string_concat()
225 assert(&t == archive_strcpy(&t, "")); in test_archive_string_concat()
231 assert(&s == archive_strcpy(&s, "snafu")); in test_archive_string_concat()
232 assert(&t == archive_strcpy(&t, "")); in test_archive_string_concat()
273 assert(NULL != archive_strcpy(&s, "snafubar")); in test_archive_string_copy()
[all …]
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_uuencode.c83 archive_strcpy(&state->name, "-"); in archive_write_add_filter_uuencode()
121 archive_strcpy(&state->name, value); in archive_filter_uuencode_options()
H A Darchive_write_add_filter_b64encode.c94 archive_strcpy(&state->name, "-"); in archive_write_add_filter_b64encode()
132 archive_strcpy(&state->name, value); in archive_filter_b64encode_options()
H A Darchive_util.c457 archive_strcpy(temppath, tmp); in get_tempdir()
480 archive_strcpy(&temp_name, tmpdir); in __archive_mktemp()
542 archive_strcpy(&temp_name, tmpdir); in __archive_mktempx()
H A Darchive_write_set_format_mtree.c800 archive_strcpy(&me->symlink, s); in mtree_entry_new()
807 archive_strcpy(&me->uname, s); in mtree_entry_new()
809 archive_strcpy(&me->gname, s); in mtree_entry_new()
811 archive_strcpy(&me->fflags_text, s); in mtree_entry_new()
1717 archive_strcpy(&file->pathname, archive_entry_pathname(entry)); in mtree_entry_setup_filenames()
1747 archive_strcpy(&file->basename, "."); in mtree_entry_setup_filenames()
1751 archive_strcpy(&(file->parentdir), pathname); in mtree_entry_setup_filenames()
1841 archive_strcpy(&as, "./"); in mtree_entry_setup_filenames()
1871 archive_strcpy(&(file->basename), slash + 1); in mtree_entry_setup_filenames()
H A Darchive_write_add_filter_lrzip.c136 archive_strcpy(&as, "lrzip -q"); in archive_write_lrzip_open()
H A Darchive_string.h164 #define archive_strcpy(as,p) \ macro
H A Darchive_write_add_filter_bzip2.c357 archive_strcpy(&as, "bzip2"); in archive_compressor_bzip2_open()
H A Darchive_write_add_filter_program.c116 archive_strcpy(&data->description, prefix); in archive_write_add_filter_program()
H A Darchive_read_support_filter_program.c414 archive_strcpy(&state->description, prefix); in __archive_read_program()
H A Darchive_write_add_filter_gzip.c402 archive_strcpy(&as, "gzip"); in archive_compressor_gzip_open()
H A Darchive_write_set_format_warc.c365 archive_strcpy(tgt, _ver); in _popul_ehdr()
H A Darchive_write_add_filter_lzop.c448 archive_strcpy(&as, "lzop"); in archive_write_lzop_open()
H A Darchive_write_set_format_pax.c377 archive_strcpy(&s, "LIBARCHIVE.xattr."); in archive_write_pax_header_xattr()
386 archive_strcpy(&s, "SCHILY.xattr."); in archive_write_pax_header_xattr()
1057 archive_strcpy(&entry_name, archive_entry_pathname(entry_main));
H A Darchive_write_add_filter_zstd.c519 archive_strcpy(&as, "zstd --no-check"); in archive_compressor_zstd_open()
H A Darchive_write_add_filter_lz4.c646 archive_strcpy(&as, "lz4 -z -q -q"); in archive_filter_lz4_open()
H A Darchive_write_set_format_iso9660.c1096 archive_strcpy(&(iso9660->volume_identifier), "CDROM"); in archive_write_set_format_iso9660()
1100 archive_strcpy(&(iso9660->application_identifier), in archive_write_set_format_iso9660()
1112 archive_strcpy(&(iso9660->el_torito.catalog_filename), in archive_write_set_format_iso9660()
1200 archive_strcpy(s, value); in get_str_opt()
1291 archive_strcpy( in iso9660_options()
4818 archive_strcpy(&(file->parentdir), pathname); in isofile_gen_utility_names()
4931 archive_strcpy(&(file->symlink), pathname); in isofile_gen_utility_names()
4985 archive_strcpy(&(file->basename), slash + 1); in isofile_gen_utility_names()
H A Darchive_read_disk_entry_from_file.c366 archive_strcpy(&tempfile, tempdir); in setup_mac_metadata()
H A Darchive_write_disk_posix.c610 archive_strcpy(&(a->_name_data), archive_entry_pathname(a->entry)); in _archive_write_disk_header()
4283 archive_strcpy(&tmpdatafork, "tar.md.XXXXXX"); in create_tempdatafork()
4363 archive_strcpy(&tmp, "tar.mmd.XXXXXX"); in set_mac_metadata()
H A Darchive_write_set_format_xar.c1236 archive_strcpy(&linkto, "original"); in make_file_entry()
2222 archive_strcpy(&(file->basename), slash + 1); in file_gen_utility_names()
H A Darchive_read_support_format_mtree.c1643 archive_strcpy(&mtree->contents_name, val); in parse_keyword()
H A Darchive_read_disk_posix.c2137 archive_strcpy(&te->name, path); in tree_push()
H A Darchive_read_support_format_iso9660.c1466 archive_strcpy( in archive_read_format_iso9660_read_header()
H A Darchive_read_support_format_xar.c1930 archive_strcpy(&(tag->name), name); in unknowntag_start()
H A Darchive_string.c4256 archive_strcpy(&(aes->aes_utf8), utf8); in archive_mstring_update_utf8()

12