Home
last modified time | relevance | path

Searched refs:dironly (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_mtree.c72 test_write_format_mtree_sub(int use_set, int dironly)
84 if (dironly) in test_write_format_mtree_sub()
85 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_option(a, NULL, "dironly", "1")); in test_write_format_mtree_sub()
123 if (dironly) in test_write_format_mtree_sub()
143 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
159 test_write_format_mtree_sub2(int use_set, int dironly)
172 if (dironly) in test_write_format_mtree_sub2()
173 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_option(a, NULL, "dironly", "1")); in test_write_format_mtree_sub2()
211 if (dironly) in test_write_format_mtree_sub2()
233 if (dironly in test_write_format_mtree_sub2()
73 test_write_format_mtree_sub(int use_set,int dironly) test_write_format_mtree_sub() argument
160 test_write_format_mtree_sub2(int use_set,int dironly) test_write_format_mtree_sub2() argument
[all...]
H A Dtest_write_format_mtree_classic.c110 test_write_format_mtree_sub(int dironly)
120 if (dironly) in test_write_format_mtree_sub()
122 archive_write_set_format_option(a, NULL, "dironly", "1")); in test_write_format_mtree_sub()
152 if (dironly) in test_write_format_mtree_sub()
167 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
111 test_write_format_mtree_sub(int dironly) test_write_format_mtree_sub() argument
H A Dtest_write_format_mtree_classic_indent.c110 test_write_format_mtree_sub(int dironly)
122 if (dironly) in test_write_format_mtree_sub()
124 archive_write_set_format_option(a, NULL, "dironly", "1")); in test_write_format_mtree_sub()
154 if (dironly) in test_write_format_mtree_sub()
169 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
111 test_write_format_mtree_sub(int dironly) test_write_format_mtree_sub() argument
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_mtree.c205 int dironly; /* If it is set, ignore all files except member
497 if (mtree->dironly) { in write_global()
928 if (mtree->dironly && archive_entry_filetype(entry) != AE_IFDIR) in archive_write_mtree_header()
968 if (!mtree->dironly) in write_mtree_entry()
1122 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry()
1125 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry()
1331 mtree->dironly = (value != NULL)? 1: 0; in archive_write_mtree_options()
1444 mtree->dironly = 0; in archive_write_set_format_mtree_default()