Home
last modified time | relevance | path

Searched refs:ARCHIVE_WARN (Results 1 – 25 of 128) sorted by relevance

123456

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_symlink.c67 if (r >= ARCHIVE_WARN) in DEFINE_TEST()
83 if (r >= ARCHIVE_WARN) { in DEFINE_TEST()
84 assertEqualInt(ARCHIVE_WARN, in DEFINE_TEST()
108 if (r >= ARCHIVE_WARN) in DEFINE_TEST()
119 if (r >= ARCHIVE_WARN) in DEFINE_TEST()
130 if (r >= ARCHIVE_WARN) in DEFINE_TEST()
141 if (r >= ARCHIVE_WARN) in DEFINE_TEST()
152 if (r >= ARCHIVE_WARN) in DEFINE_TEST()
162 if (r >= ARCHIVE_WARN) in DEFINE_TEST()
173 if (r >= ARCHIVE_WARN) in DEFINE_TEST()
[all...]
H A Dtest_write_disk_hardlink.c85 if (r >= ARCHIVE_WARN) { in DEFINE_TEST()
86 assertEqualInt(ARCHIVE_WARN, in DEFINE_TEST()
115 if (r >= ARCHIVE_WARN) { in DEFINE_TEST()
116 assertEqualInt(ARCHIVE_WARN, in DEFINE_TEST()
144 if (r > ARCHIVE_WARN) { in DEFINE_TEST()
162 assertEqualInt(ARCHIVE_WARN, archive_write_data(ad, data, 1)); in DEFINE_TEST()
191 if (r >= ARCHIVE_WARN) { in DEFINE_TEST()
192 assertEqualInt(ARCHIVE_WARN, in DEFINE_TEST()
206 if (r >= ARCHIVE_WARN) { in DEFINE_TEST()
207 assertEqualInt(ARCHIVE_WARN, in DEFINE_TEST()
[all...]
H A Dtest_write_filter_lz4.c48 assertEqualInt(ARCHIVE_WARN, r); in DEFINE_TEST()
52 assertEqualInt(ARCHIVE_WARN, r); in DEFINE_TEST()
72 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
99 if (r == ARCHIVE_WARN) { in DEFINE_TEST()
127 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
190 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
221 if (r == ARCHIVE_WARN) { in DEFINE_TEST()
243 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
248 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
255 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
[all …]
H A Dtest_filter_count.c37 if((ARCHIVE_WARN == r && !canBzip2()) || ARCHIVE_WARN > r) { in read_test()
63 if((ARCHIVE_WARN == r && !canBzip2()) || ARCHIVE_WARN > r) { in write_test()
H A Dtest_write_filter_lrzip.c60 assertEqualIntA(a, ARCHIVE_WARN, archive_write_add_filter_lrzip(a)); in DEFINE_TEST()
83 assertEqualIntA(a, ARCHIVE_WARN, archive_read_support_filter_lrzip(a)); in DEFINE_TEST()
104 assertEqualIntA(a, ARCHIVE_WARN, archive_write_add_filter_lrzip(a)); in DEFINE_TEST()
108 assertEqualIntA(a, ARCHIVE_WARN, archive_write_add_filter_lrzip(a)); in DEFINE_TEST()
114 assertEqualIntA(a, ARCHIVE_WARN, archive_write_add_filter_lrzip(a)); in DEFINE_TEST()
120 assertEqualIntA(a, ARCHIVE_WARN, archive_write_add_filter_lrzip(a)); in DEFINE_TEST()
H A Dtest_write_filter_lzop.c46 if (canLzop() && r == ARCHIVE_WARN) in DEFINE_TEST()
66 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
93 if (r == ARCHIVE_WARN && !use_prog) { in DEFINE_TEST()
119 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
182 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
213 if (r == ARCHIVE_WARN && !use_prog) { in DEFINE_TEST()
235 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
240 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
247 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
254 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
H A Dtest_write_filter_gzip.c67 if (canGzip() && r == ARCHIVE_WARN) in DEFINE_TEST()
108 if (r == ARCHIVE_WARN) { in DEFINE_TEST()
134 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
207 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
245 if (r == ARCHIVE_WARN) { in DEFINE_TEST()
267 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
272 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
279 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
286 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST()
H A Dtest_read_set_format.c115 assertA(archive_read_next_header(a, &ae) < (ARCHIVE_WARN)); in DEFINE_TEST()
161 if (r == ARCHIVE_WARN && !canXz()) { in DEFINE_TEST()
168 assertA(archive_read_next_header(a, &ae) < (ARCHIVE_WARN)); in DEFINE_TEST()
169 if (r == ARCHIVE_WARN && canXz()) { in DEFINE_TEST()
170 assertEqualIntA(a, ARCHIVE_WARN, archive_read_close(a)); in DEFINE_TEST()
232 assertA(archive_read_next_header(a, &ae) < (ARCHIVE_WARN)); in DEFINE_TEST()
233 assertEqualIntA(a, ARCHIVE_WARN, archive_read_close(a)); in DEFINE_TEST()
H A Dtest_write_filter_bzip2.c64 use_prog = (r == ARCHIVE_WARN && canBzip2()); in DEFINE_TEST()
119 assertEqualIntA(a, ARCHIVE_WARN, in DEFINE_TEST()
179 assertEqualIntA(a, ARCHIVE_WARN, in DEFINE_TEST()
229 assertEqualIntA(a, ARCHIVE_WARN, in DEFINE_TEST()
238 assertEqualIntA(a, ARCHIVE_WARN, in DEFINE_TEST()
249 assertEqualIntA(a, ARCHIVE_WARN, in DEFINE_TEST()
260 assertEqualIntA(a, ARCHIVE_WARN, in DEFINE_TEST()
H A Dtest_read_pax_truncated.c176 assertEqualIntA(a, ARCHIVE_WARN, archive_read_next_header(a, &ae)); in DEFINE_TEST()
187 assertEqualIntA(a, ARCHIVE_WARN, archive_read_next_header(a, &ae)); in DEFINE_TEST()
200 assertEqualIntA(a, ARCHIVE_WARN, archive_read_next_header(a, &ae)); in DEFINE_TEST()
214 assertEqualIntA(a, ARCHIVE_WARN, archive_read_next_header(a, &ae)); in DEFINE_TEST()
226 assertEqualIntA(a, ARCHIVE_WARN, archive_read_next_header(a, &ae)); in DEFINE_TEST()
237 assertEqualIntA(a, ARCHIVE_WARN, archive_read_next_header(a, &ae)); in DEFINE_TEST()
H A Dtest_pax_filename_encoding.c69 assertEqualInt(ARCHIVE_WARN, archive_read_next_header(a, &entry)); in test_pax_filename_encoding_1()
130 assertEqualInt(ARCHIVE_WARN, archive_write_header(a, entry)); in test_pax_filename_encoding_2()
141 assertEqualInt(ARCHIVE_WARN, archive_write_header(a, entry)); in test_pax_filename_encoding_2()
149 assertEqualInt(ARCHIVE_WARN, archive_write_header(a, entry)); in test_pax_filename_encoding_2()
292 assertEqualInt(ARCHIVE_WARN, archive_read_next_header(a, &entry));
298 assertEqualInt(ARCHIVE_WARN, archive_read_next_header(a, &entry));
304 assertEqualInt(ARCHIVE_WARN, archive_read_next_header(a, &entry));
310 assertEqualInt(ARCHIVE_WARN, archive_read_next_header(a, &entry));
316 assertEqualInt(ARCHIVE_WARN, archive_read_next_header(a, &entry));
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_zstd.c165 return (ARCHIVE_WARN); in archive_write_add_filter_zstd()
190 return (ARCHIVE_WARN); in string_to_number()
194 return (ARCHIVE_WARN); in string_to_number()
208 return (ARCHIVE_WARN); in string_to_size()
226 return (ARCHIVE_WARN); in string_to_size()
229 return (ARCHIVE_WARN); in string_to_size()
248 return (ARCHIVE_WARN); in archive_compressor_zstd_options()
266 return (ARCHIVE_WARN); in archive_compressor_zstd_options()
273 return (ARCHIVE_WARN); in archive_compressor_zstd_options()
289 return (ARCHIVE_WARN); in archive_compressor_zstd_options()
[all …]
H A Darchive_write_set_format_ar.c170 return (ARCHIVE_WARN); in archive_write_ar_header()
222 return (ARCHIVE_WARN); in archive_write_ar_header()
246 return (ARCHIVE_WARN); in archive_write_ar_header()
265 return (ARCHIVE_WARN); in archive_write_ar_header()
279 return (ARCHIVE_WARN); in archive_write_ar_header()
303 return (ARCHIVE_WARN); in archive_write_ar_header()
314 return (ARCHIVE_WARN); in archive_write_ar_header()
319 return (ARCHIVE_WARN); in archive_write_ar_header()
324 return (ARCHIVE_WARN); in archive_write_ar_header()
329 return (ARCHIVE_WARN); in archive_write_ar_header()
[all …]
H A Darchive_disk_acl_freebsd.c130 return (ARCHIVE_WARN); in translate_acl()
141 return (ARCHIVE_WARN); in translate_acl()
148 return (ARCHIVE_WARN); in translate_acl()
154 return (ARCHIVE_WARN); in translate_acl()
162 return (ARCHIVE_WARN); in translate_acl()
173 return (ARCHIVE_WARN); in translate_acl()
230 return (ARCHIVE_WARN); in translate_acl()
248 return (ARCHIVE_WARN); in translate_acl()
261 return (ARCHIVE_WARN); in translate_acl()
270 return (ARCHIVE_WARN); in translate_acl()
[all …]
H A Darchive_write_set_options.c80 return (m == NULL)?ARCHIVE_FAILED:ARCHIVE_WARN - 1; in archive_set_format_option()
84 return (ARCHIVE_WARN - 1); in archive_set_format_option()
86 return (ARCHIVE_WARN); in archive_set_format_option()
96 int r, rv = ARCHIVE_WARN; in archive_set_filter_option()
117 if (rv == ARCHIVE_WARN && m != NULL) in archive_set_filter_option()
118 rv = ARCHIVE_WARN - 1; in archive_set_filter_option()
H A Darchive_read_extract2.c92 if (r < ARCHIVE_WARN) in archive_read_extract2()
93 r = ARCHIVE_WARN; in archive_read_extract2()
101 if (r2 < ARCHIVE_WARN) in archive_read_extract2()
102 r2 = ARCHIVE_WARN; in archive_read_extract2()
143 if (r < ARCHIVE_WARN) in copy_data()
144 r = ARCHIVE_WARN; in copy_data()
H A Darchive_write_set_format_gnutar.c222 return (ARCHIVE_WARN); in archive_write_gnutar_options()
398 ret2 = ARCHIVE_WARN; in archive_write_gnutar_header()
414 ret2 = ARCHIVE_WARN; in archive_write_gnutar_header()
430 ret2 = ARCHIVE_WARN; in archive_write_gnutar_header()
448 ret2 = ARCHIVE_WARN; in archive_write_gnutar_header()
465 ret2 = ARCHIVE_WARN; in archive_write_gnutar_header()
481 if (ret < ARCHIVE_WARN) in archive_write_gnutar_header()
484 if (ret < ARCHIVE_WARN) in archive_write_gnutar_header()
488 if (ret < ARCHIVE_WARN) in archive_write_gnutar_header()
492 if (ret < ARCHIVE_WARN) in archive_write_gnutar_header()
[all …]
H A Darchive_options.c60 if (r == ARCHIVE_WARN - 1) { in _archive_set_option()
65 if (r == ARCHIVE_WARN) { in _archive_set_option()
93 if (r2 == ARCHIVE_WARN - 1) in _archive_set_either_option()
141 if (r == ARCHIVE_WARN - 1) { in _archive_set_options()
150 if (r == ARCHIVE_WARN) { in _archive_set_options()
165 return allok ? ARCHIVE_OK : anyok ? ARCHIVE_WARN : ARCHIVE_FAILED; in _archive_set_options()
H A Darchive_read_disk_entry_from_file.c348 return (ARCHIVE_WARN); in setup_mac_metadata()
355 return (ARCHIVE_WARN); in setup_mac_metadata()
372 ret = ARCHIVE_WARN; in setup_mac_metadata()
384 ret = ARCHIVE_WARN; in setup_mac_metadata()
390 ret = ARCHIVE_WARN; in setup_mac_metadata()
397 ret = ARCHIVE_WARN; in setup_mac_metadata()
403 ret = ARCHIVE_WARN; in setup_mac_metadata()
485 return (ARCHIVE_WARN); in setup_xattr()
524 return (ARCHIVE_WARN); in setup_xattr()
546 return (ARCHIVE_WARN); in setup_xattrs()
[all …]
H A Darchive_write_add_filter_lrzip.c90 return (ARCHIVE_WARN); in archive_write_add_filter_lrzip()
101 return (ARCHIVE_WARN); in archive_write_lrzip_options()
113 return (ARCHIVE_WARN); in archive_write_lrzip_options()
118 return (ARCHIVE_WARN); in archive_write_lrzip_options()
125 return (ARCHIVE_WARN); in archive_write_lrzip_options()
H A Darchive_read_support_format_tar.c462 return (ARCHIVE_WARN); in archive_read_format_tar_options()
882 if (err < ARCHIVE_WARN) { in tar_read_header()
901 if (err2 < ARCHIVE_WARN) { in tar_read_header()
916 return (ARCHIVE_WARN); in tar_read_header()
935 return (ARCHIVE_WARN); in tar_read_header()
1066 return(ARCHIVE_WARN); in header_Solaris_ACL()
1074 return (ARCHIVE_WARN); in header_Solaris_ACL()
1092 return (ARCHIVE_WARN); in header_Solaris_ACL()
1100 return(ARCHIVE_WARN); in header_Solaris_ACL()
1165 return (ARCHIVE_WARN); in set_conversion_failed_error()
[all …]
H A Darchive_read_set_options.c79 int r, rv = ARCHIVE_WARN, matched_modules = 0; in archive_set_format_option()
106 return ARCHIVE_WARN - 1; in archive_set_format_option()
121 return ARCHIVE_WARN - 1; in archive_set_filter_option()
122 return ARCHIVE_WARN; in archive_set_filter_option()
H A Darchive_write_disk_posix.c527 return (ARCHIVE_WARN); in lazy_stat()
631 return (ARCHIVE_WARN); in _archive_write_disk_header()
933 if (ret >= ARCHIVE_WARN) in _archive_write_disk_header()
972 return (ARCHIVE_WARN); in write_data_block()
1034 return (ARCHIVE_WARN); in write_data_block()
1065 return (ARCHIVE_WARN); in hfs_set_compressed_fflag()
1108 return (ARCHIVE_WARN); in hfs_write_decmpfs()
1163 return (ARCHIVE_WARN); in hfs_write_resource_fork()
1265 return (ARCHIVE_WARN); in hfs_decompress()
1280 return (ARCHIVE_WARN); in hfs_decompress()
[all …]
H A Darchive_acl.c233 return (ARCHIVE_WARN); in archive_acl_add_entry_len_l()
443 return (ARCHIVE_WARN); in archive_acl_next()
1271 ret = ARCHIVE_WARN; in archive_acl_from_text_w()
1288 ret = ARCHIVE_WARN; in archive_acl_from_text_w()
1299 ret = ARCHIVE_WARN; in archive_acl_from_text_w()
1332 ret = ARCHIVE_WARN; in archive_acl_from_text_w()
1345 ret = ARCHIVE_WARN; in archive_acl_from_text_w()
1351 ret = ARCHIVE_WARN; in archive_acl_from_text_w()
1370 ret = ARCHIVE_WARN; in archive_acl_from_text_w()
1379 if (r < ARCHIVE_WARN) in archive_acl_from_text_w()
[all …]
H A Darchive_write_set_format_ustar.c231 return (ARCHIVE_WARN); in archive_write_ustar_options()
357 if (ret < ARCHIVE_WARN) {
362 if (ret2 < ARCHIVE_WARN) {
420 ret = ARCHIVE_WARN;
474 ret = ARCHIVE_WARN;
490 ret = ARCHIVE_WARN;
514 ret = ARCHIVE_WARN;
539 ret = ARCHIVE_WARN;

123456