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

/freebsd-10.1-release/contrib/libarchive/libarchive/test/
H A Dtest_write_format_mtree.c53 test_write_format_mtree_sub(int use_set, int dironly) argument
65 if (dironly)
66 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_option(a, NULL, "dironly", "1"));
104 if (dironly)
124 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR)
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)
/freebsd-10.1-release/contrib/libarchive/libarchive/
H A Darchive_write_set_format_mtree.c215 int dironly; /* If it is set, ignore all files except member in struct:mtree_writer
507 if (mtree->dironly) {
891 if (mtree->dironly && archive_entry_filetype(entry) != AE_IFDIR)
927 if (!mtree->dironly)
1072 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4);
1075 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4);
1280 else if (strcmp(key, "dironly") == 0) {
1281 mtree->dironly = (value != NULL)? 1: 0;
1390 mtree->dironly = 0;

Completed in 116 milliseconds