Home
last modified time | relevance | path

Searched refs:archive_strlen (Results 1 – 19 of 19) sorted by relevance

/dragonfly/contrib/libarchive/libarchive/
H A Darchive_cmdline.c124 if (archive_strlen(&as) == 0) { in __archive_cmdline_parse()
150 if (archive_strlen(&as) == 0 && *cmd == '\0') in __archive_cmdline_parse()
H A Darchive_write_set_format_warc.c214 __archive_write_output(a, hdr.s, archive_strlen(&hdr)); in _warc_header()
438 return (archive_strlen(tgt) >= tsz)? -1: (ssize_t)archive_strlen(tgt); in _popul_ehdr()
H A Darchive_write_set_format_mtree.c506 if (archive_strlen(&(acs->uid_list->m_entry->uname)) > 0) { in write_global()
541 if (archive_strlen( in write_global()
961 if (archive_strlen(&me->fflags_text) > 0) { in write_mtree_entry()
1848 len = archive_strlen(&file->parentdir); in mtree_entry_setup_filenames()
2029 if (archive_strlen(&(mtree->cur_dirstr)) in mtree_entry_tree_add()
2030 == archive_strlen(&(file->parentdir)) && in mtree_entry_tree_add()
2135 archive_strlen(&(dent->parentdir)) + in mtree_entry_tree_add()
2136 archive_strlen(&(dent->basename)) + 2); in mtree_entry_tree_add()
2137 if (archive_strlen(&(dent->parentdir)) + in mtree_entry_tree_add()
2138 archive_strlen(&(dent->basename)) == 0) in mtree_entry_tree_add()
[all …]
H A Darchive_read_support_format_tar.c1109 archive_strlen(&(tar->longname)), tar->sconv) != 0) in header_longname()
1537 if (as->s[archive_strlen(as) - 1] != '/') in header_ustar()
1705 if (archive_strlen(&(tar->entry_gname)) > 0) { in pax_header()
1707 archive_strlen(&(tar->entry_gname)), sconv) != 0) { in pax_header()
1715 if (archive_strlen(&(tar->entry_linkpath)) > 0) { in pax_header()
1717 archive_strlen(&(tar->entry_linkpath)), sconv) != 0) { in pax_header()
1735 if (archive_strlen(&(tar->entry_pathname_override)) > 0) in pax_header()
1737 else if (archive_strlen(&(tar->entry_pathname)) > 0) in pax_header()
1741 archive_strlen(as), sconv) != 0) { in pax_header()
1749 if (archive_strlen(&(tar->entry_uname)) > 0) { in pax_header()
[all …]
H A Darchive_write_add_filter_b64encode.c244 while (archive_strlen(&state->encoded_buff) >= state->bs) { in archive_filter_b64encode_write()
272 state->encoded_buff.s, archive_strlen(&state->encoded_buff)); in archive_filter_b64encode_close()
H A Darchive_write_add_filter_uuencode.c235 while (archive_strlen(&state->encoded_buff) >= state->bs) { in archive_filter_uuencode_write()
263 state->encoded_buff.s, archive_strlen(&state->encoded_buff)); in archive_filter_uuencode_close()
H A Darchive_write_set_format_pax.c1341 if (archive_strlen(&(pax->sparse_map))) { in archive_write_pax_header()
1342 size_t mapsize = archive_strlen(&(pax->sparse_map)); in archive_write_pax_header()
1388 if (archive_strlen(&(pax->pax_header)) > 0) { in archive_write_pax_header()
1399 archive_strlen(&(pax->pax_header))); in archive_write_pax_header()
1465 pax->entry_bytes_remaining = archive_strlen(&(pax->pax_header)); in archive_write_pax_header()
1470 archive_strlen(&(pax->pax_header))); in archive_write_pax_header()
1839 if (archive_strlen(&(pax->sparse_map))) { in archive_write_pax_data()
1841 archive_strlen(&(pax->sparse_map))); in archive_write_pax_data()
H A Darchive_util.c304 ep = temp_name.s + archive_strlen(&temp_name); in __archive_mktempx()
505 tp = temp_name.s + archive_strlen(&temp_name); in __archive_mktempx()
507 ep = temp_name.s + archive_strlen(&temp_name); in __archive_mktempx()
H A Darchive_write_set_format_xar.c567 if (archive_strlen(&(file->parentdir)) == 0 && in xar_write_header()
568 archive_strlen(&(file->basename)) == 0) { in xar_write_header()
1171 l = ll = archive_strlen(&(file->basename)); in make_file_entry()
1197 0, archive_strlen(&(file->basename))); in make_file_entry()
1500 if (archive_strlen(&file->script) > 0) { in make_file_entry()
2282 if (archive_strlen(&(xar->cur_dirstr)) in file_tree()
2283 == archive_strlen(&(file->parentdir)) && in file_tree()
2381 archive_strlen(&(dent->parentdir)) + in file_tree()
2382 archive_strlen(&(dent->basename)) + 2); in file_tree()
2383 if (archive_strlen(&(dent->parentdir)) + in file_tree()
[all …]
H A Darchive_string.h181 #define archive_strlen(a) ((a)->length) macro
H A Darchive_read_support_format_xar.c718 archive_strlen(&(file->gname)), xar->sconv) != 0) { in xar_read_header()
733 archive_strlen(&(file->uname)), xar->sconv) != 0) { in xar_read_header()
747 archive_strlen(&(file->pathname)), xar->sconv) != 0) { in xar_read_header()
763 archive_strlen(&(file->symlink)), xar->sconv) != 0) { in xar_read_header()
781 if (archive_strlen(&(file->hardlink)) > 0) in xar_read_header()
790 if (archive_strlen(&(file->fflags_text)) > 0) in xar_read_header()
2953 if (archive_strlen(&(xar->file->fflags_text)) > 0) in xml_parse_file_flags()
3050 if (archive_strlen(&(xar->file->fflags_text)) > 0) in xml_parse_file_ext2()
H A Darchive_read_support_format_mtree.c1144 if (archive_strlen(&mtree->current_dir) > 0) { in read_header()
1222 size_t n = archive_strlen(&mtree->current_dir); in parse_file()
1244 if (archive_strlen(&mtree->contents_name) > 0) in parse_file()
1255 archive_strlen(&mtree->contents_name) > 0)) { in parse_file()
H A Darchive_read_support_format_lha.c599 if (!lha->directory && archive_strlen(&lha->filename) == 0) in archive_read_format_lha_read_header()
683 if (archive_strlen(&linkname) > 0) { in archive_read_format_lha_read_header()
699 if (archive_strlen(&lha->uname) > 0) in archive_read_format_lha_read_header()
701 if (archive_strlen(&lha->gname) > 0) in archive_read_format_lha_read_header()
761 for (i = 0; i < archive_strlen(&(lha->ws)); i++) { in lha_replace_path_separator()
770 for (i = 0; i < archive_strlen(&(lha->ws)); i++) { in lha_replace_path_separator()
H A Darchive_read_disk_posix.c2158 if (t->dirname_length > 0 && t->path.s[archive_strlen(&t->path)-1] != '/') in tree_append()
2160 t->basename = t->path.s + archive_strlen(&t->path); in tree_append()
2236 t->dirname_length = archive_strlen(&t->path); in tree_descent()
2389 archive_strlen(&(t->stack->name))); in tree_next()
2398 archive_strlen(&(t->stack->name))); in tree_next()
H A Darchive_write_set_format_iso9660.c1573 if (archive_strlen(&(file->parentdir)) == 0 && in iso9660_write_header()
1574 archive_strlen(&(file->basename)) == 0) { in iso9660_write_header()
4940 if (archive_strlen(&(file->symlink)) > 0 && in isofile_gen_utility_names()
5576 if (archive_strlen(&(iso9660->cur_dirstr)) in isoent_tree()
5577 == archive_strlen(&(isoent->file->parentdir)) && in isoent_tree()
5674 archive_strlen(&(dent->file->parentdir)) + in isoent_tree()
5675 archive_strlen(&(dent->file->basename)) + 2); in isoent_tree()
5676 if (archive_strlen(&(dent->file->parentdir)) + in isoent_tree()
5677 archive_strlen(&(dent->file->basename)) == 0) in isoent_tree()
5680 if (archive_strlen(&(dent->file->parentdir)) > 0) { in isoent_tree()
[all …]
H A Darchive_read_support_format_cab.c574 for (i = 0; i < archive_strlen(fn); i++) { in cab_convert_path_separator_1()
588 if (i == archive_strlen(fn)) in cab_convert_path_separator_1()
605 for (i = 0; i < archive_strlen(&(cab->ws)); i++) { in cab_convert_path_separator_2()
967 archive_strlen(&(file->pathname)), sconv) != 0) { in archive_read_format_cab_read_header()
H A Darchive_match.c671 if (archive_strlen(&as) > 0) { in add_pattern_from_file()
693 if (r == ARCHIVE_EOF && archive_strlen(&as) > 0) { in add_pattern_from_file()
H A Darchive_read_support_format_iso9660.c3213 if (file->parent != NULL && archive_strlen(&file->parent->name) > 0) { in build_pathname()
3219 if (archive_strlen(&file->name) == 0) in build_pathname()
H A Darchive_read_support_format_zip.c1066 for (i = 0; i < archive_strlen(&s); i++) { in zip_read_local_file_header()