Home
last modified time | relevance | path

Searched refs:archive_string_ensure (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/libarchive/libarchive/
H A Darchive_string.c227 if (archive_string_ensure(as, as->length + s + 1) == NULL) in archive_string_append()
291 archive_string_ensure((struct archive_string *)as, in archive_wstring_ensure()
297 archive_string_ensure(struct archive_string *as, size_t s) in archive_string_ensure() function
728 if (NULL == archive_string_ensure(as, in archive_string_append_from_wcs_in_codepage()
747 archive_string_ensure(as, as->length + len * 2 + 2)) in archive_string_append_from_wcs_in_codepage()
769 archive_string_ensure(as, as->length + len * 2 + 1)) in archive_string_append_from_wcs_in_codepage()
789 if (NULL == archive_string_ensure(as, in archive_string_append_from_wcs_in_codepage()
838 if (archive_string_ensure(as, as->length + len + 1) == NULL) in archive_string_append_from_wcs()
848 if (archive_string_ensure(as, in archive_string_append_from_wcs()
2024 if (archive_string_ensure(as, as->length + tn) == NULL) in archive_strncat_l()
[all …]
H A Darchive_string_sprintf.c99 if (archive_string_ensure(as, 64) == NULL) in archive_string_vsprintf()
H A Darchive_string.h143 archive_string_ensure(struct archive_string *, size_t);
H A Darchive_write_set_format_shar.c361 if (archive_string_ensure(&shar->work, ensured + 3) == NULL) { in archive_write_shar_data_sed()
428 if (archive_string_ensure(&shar->work, alloc_len) == NULL) { in _uuencode_line()
H A Darchive_write_add_filter_uuencode.c162 if (archive_string_ensure(&state->encoded_buff, bs + 512) == NULL) { in archive_filter_uuencode_open()
H A Darchive_write_add_filter_b64encode.c173 if (archive_string_ensure(&state->encoded_buff, bs + 512) == NULL) { in archive_filter_b64encode_open()
H A Darchive_write_add_filter_program.c113 if (archive_string_ensure(&data->description, in archive_write_add_filter_program()
H A Darchive_read_support_filter_program.c403 archive_string_ensure(&state->description, l) == NULL) { in __archive_read_program()
H A Darchive_write_set_format_v7tar.c295 if (archive_string_ensure(&as, in archive_write_v7tar_header()
H A Darchive_write_set_format_ustar.c317 if (archive_string_ensure(&as, in archive_write_ustar_header()
H A Darchive_write_set_format_gnutar.c357 if (archive_string_ensure(&as, in archive_write_gnutar_header()
H A Darchive_read_disk_posix.c2077 archive_string_ensure(&t->path, size_needed); in tree_append()
2097 archive_string_ensure(&t->path, 31); in tree_open()
H A Darchive_read_support_format_tar.c1266 if (archive_string_ensure(as, size + 1) == NULL) { in read_bytes_to_string()
3572 if (archive_string_ensure(&tar->line, total_size + bytes_read) == NULL) { in readline()
H A Darchive_write_set_format_pax.c713 if (archive_string_ensure(&as,
H A Darchive_read_support_format_mtree.c2126 if (archive_string_ensure(&mtree->line, in readline()
H A Darchive_write_set_format_iso9660.c1170 if (archive_string_ensure(&(iso9660->cur_dirstr), 1) == NULL) { in archive_write_set_format_iso9660()
4074 if (archive_string_ensure(&info, info_size) == NULL) { in write_information_block()
4809 if (archive_string_ensure(&(file->basename_utf16), in isofile_gen_utility_names()
5674 if (archive_string_ensure(&(iso9660->cur_dirstr), in isoent_tree()
H A Darchive_write_set_format_xar.c398 archive_string_ensure(&(xar->cur_dirstr), 1); in archive_write_set_format_xar()
2421 archive_string_ensure(&(xar->cur_dirstr), in file_tree()
H A Darchive_write_set_format_mtree.c2212 if (archive_string_ensure(&(mtree->cur_dirstr), in mtree_entry_tree_add()
H A Darchive_write_disk_posix.c2011 if (archive_string_ensure(&a->path_safe, 512) == NULL) { in archive_write_disk_new()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_archive_string.c57 assert(&s == archive_string_ensure(&s, 5)); in test_archive_string_ensure()
61 assert(&s == archive_string_ensure(&s, EXTENT - 1)); in test_archive_string_ensure()
64 assert(&s == archive_string_ensure(&s, EXTENT)); in test_archive_string_ensure()
67 assert(&s == archive_string_ensure(&s, EXTENT + 1)); in test_archive_string_ensure()