Home
last modified time | relevance | path

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

/freebsd-13-stable/contrib/libarchive/libarchive/
HDarchive_cmdline.c122 if (archive_strlen(&as) == 0) { in __archive_cmdline_parse()
148 if (archive_strlen(&as) == 0 && *cmd == '\0') in __archive_cmdline_parse()
HDarchive_write_set_format_warc.c213 __archive_write_output(a, hdr.s, archive_strlen(&hdr)); in _warc_header()
428 return (archive_strlen(tgt) >= tsz)? -1: (ssize_t)archive_strlen(tgt); in _popul_ehdr()
HDarchive_write_set_format_mtree.c505 if (archive_strlen(&(acs->uid_list->m_entry->uname)) > 0) { in write_global()
520 if (archive_strlen(&(acs->gid_list->m_entry->gname)) > 0) { in write_global()
540 if (archive_strlen( in write_global()
951 if ((keys & F_GNAME) != 0 && archive_strlen(&me->gname) > 0) { in write_mtree_entry()
955 if ((keys & F_UNAME) != 0 && archive_strlen(&me->uname) > 0) { in write_mtree_entry()
960 if (archive_strlen(&me->fflags_text) > 0) { in write_mtree_entry()
1847 len = archive_strlen(&file->parentdir); in mtree_entry_setup_filenames()
2028 if (archive_strlen(&(mtree->cur_dirstr)) in mtree_entry_tree_add()
2029 == archive_strlen(&(file->parentdir)) && in mtree_entry_tree_add()
2134 archive_strlen(&(dent->parentdir)) + in mtree_entry_tree_add()
[all …]
HDarchive_read_support_format_tar.c1182 archive_strlen(&longname), tar->sconv) != 0) in header_gnu_longname()
1359 archive_strlen(&linkpath), tar->sconv) != 0) { in header_common()
1437 archive_strlen(&linkpath), tar->sconv) != 0) { in header_common()
1702 if (as.s[archive_strlen(&as) - 1] != '/') in header_ustar()
1708 if (archive_entry_copy_pathname_l(entry, as.s, archive_strlen(&as), in header_ustar()
1916 …r = pax_attribute(a, tar, entry, attr_name.s, archive_strlen(&attr_name), value_length - 1, uncons… in header_pax_extension()
1970 if (archive_strlen(&(tar->entry_pathname_override)) > 0) { in header_pax_extension()
1975 } else if (archive_strlen(&(tar->entry_pathname)) > 0) { in header_pax_extension()
1981 archive_strlen(pas), sconv) != 0) { in header_pax_extension()
1990 if (archive_strlen(&(tar->entry_uname)) > 0) { in header_pax_extension()
[all …]
HDarchive_write_add_filter_b64encode.c242 while (archive_strlen(&state->encoded_buff) >= state->bs) { in archive_filter_b64encode_write()
270 state->encoded_buff.s, archive_strlen(&state->encoded_buff)); in archive_filter_b64encode_close()
HDarchive_write_add_filter_uuencode.c233 while (archive_strlen(&state->encoded_buff) >= state->bs) { in archive_filter_uuencode_write()
261 state->encoded_buff.s, archive_strlen(&state->encoded_buff)); in archive_filter_uuencode_close()
HDarchive_write_set_format_pax.c1366 if (archive_strlen(&(pax->sparse_map))) {
1367 size_t mapsize = archive_strlen(&(pax->sparse_map));
1413 if (archive_strlen(&(pax->pax_header)) > 0) {
1424 archive_strlen(&(pax->pax_header)));
1490 pax->entry_bytes_remaining = archive_strlen(&(pax->pax_header));
1495 archive_strlen(&(pax->pax_header)));
1864 if (archive_strlen(&(pax->sparse_map))) {
1866 archive_strlen(&(pax->sparse_map)));
HDarchive_util.c316 ep = temp_name.s + archive_strlen(&temp_name); in __archive_mktempx()
554 tp = temp_name.s + archive_strlen(&temp_name); in __archive_mktempx()
556 ep = temp_name.s + archive_strlen(&temp_name); in __archive_mktempx()
HDarchive_write_set_format_xar.c566 if (archive_strlen(&(file->parentdir)) == 0 && in xar_write_header()
567 archive_strlen(&(file->basename)) == 0) { in xar_write_header()
1166 l = ll = (int)archive_strlen(&(file->basename)); in make_file_entry()
1192 0, (int)archive_strlen(&(file->basename))); in make_file_entry()
1495 if (archive_strlen(&file->script) > 0) { in make_file_entry()
2277 if (archive_strlen(&(xar->cur_dirstr)) in file_tree()
2278 == archive_strlen(&(file->parentdir)) && in file_tree()
2376 archive_strlen(&(dent->parentdir)) + in file_tree()
2377 archive_strlen(&(dent->basename)) + 2); in file_tree()
2378 if (archive_strlen(&(dent->parentdir)) + in file_tree()
[all …]
HDarchive_string.h178 #define archive_strlen(a) ((a)->length) macro
HDarchive_read_support_format_xar.c719 archive_strlen(&(file->gname)), xar->sconv) != 0) { in xar_read_header()
734 archive_strlen(&(file->uname)), xar->sconv) != 0) { in xar_read_header()
748 archive_strlen(&(file->pathname)), xar->sconv) != 0) { in xar_read_header()
764 archive_strlen(&(file->symlink)), xar->sconv) != 0) { in xar_read_header()
782 if (archive_strlen(&(file->hardlink)) > 0) in xar_read_header()
791 if (archive_strlen(&(file->fflags_text)) > 0) in xar_read_header()
2965 if (archive_strlen(&(xar->file->fflags_text)) > 0) in xml_parse_file_flags()
3062 if (archive_strlen(&(xar->file->fflags_text)) > 0) in xml_parse_file_ext2()
HDarchive_read_support_format_mtree.c1145 if (archive_strlen(&mtree->current_dir) > 0) { in read_header()
1223 size_t n = archive_strlen(&mtree->current_dir); in parse_file()
1245 if (archive_strlen(&mtree->contents_name) > 0) in parse_file()
1264 || archive_strlen(&mtree->contents_name) > 0)) { in parse_file()
HDarchive_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()
HDarchive_read_disk_posix.c2172 if (t->dirname_length > 0 && t->path.s[archive_strlen(&t->path)-1] != '/') in tree_append()
2174 t->basename = t->path.s + archive_strlen(&t->path); in tree_append()
2250 t->dirname_length = archive_strlen(&t->path); in tree_descent()
2403 archive_strlen(&(t->stack->name))); in tree_next()
2412 archive_strlen(&(t->stack->name))); in tree_next()
HDarchive_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()
4936 if (archive_strlen(&(file->symlink)) > 0 && in isofile_gen_utility_names()
5572 if (archive_strlen(&(iso9660->cur_dirstr)) in isoent_tree()
5573 == archive_strlen(&(isoent->file->parentdir)) && in isoent_tree()
5670 archive_strlen(&(dent->file->parentdir)) + in isoent_tree()
5671 archive_strlen(&(dent->file->basename)) + 2); in isoent_tree()
5672 if (archive_strlen(&(dent->file->parentdir)) + in isoent_tree()
5673 archive_strlen(&(dent->file->basename)) == 0) in isoent_tree()
5676 if (archive_strlen(&(dent->file->parentdir)) > 0) { in isoent_tree()
[all …]
HDarchive_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()
HDarchive_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()
HDarchive_read_support_format_iso9660.c3468 if (file->parent != NULL && archive_strlen(&file->parent->name) > 0) { in build_pathname()
3474 if (archive_strlen(&file->name) == 0) in build_pathname()
HDarchive_read_support_format_zip.c1065 for (i = 0; i < archive_strlen(&s); i++) { in zip_read_local_file_header()