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

/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_mtree_classic.c111 test_write_format_mtree_sub(int dironly) argument
121 if (dironly)
123 archive_write_set_format_option(a, NULL, "dironly", "1"));
153 if (dironly)
168 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR)
H A Dtest_write_format_mtree_classic_indent.c111 test_write_format_mtree_sub(int dironly) argument
123 if (dironly)
125 archive_write_set_format_option(a, NULL, "dironly", "1"));
155 if (dironly)
170 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR)
H A Dtest_write_format_mtree.c73 test_write_format_mtree_sub(int use_set, int dironly) argument
85 if (dironly)
86 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_option(a, NULL, "dironly", "1"));
124 if (dironly)
144 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR)
160 test_write_format_mtree_sub2(int use_set, int dironly) argument
173 if (dironly)
174 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_option(a, NULL, "dironly", "1"));
212 if (dironly)
234 if (dironly
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_mtree.c205 int dironly; /* If it is set, ignore all files except member in struct:mtree_writer
497 if (mtree->dironly) {
884 if (mtree->dironly && archive_entry_filetype(entry) != AE_IFDIR)
920 if (!mtree->dironly)
1074 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4);
1077 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4);
1282 else if (strcmp(key, "dironly") == 0) {
1283 mtree->dironly = (value != NULL)? 1: 0;
1396 mtree->dironly = 0;

Completed in 73 milliseconds