/freebsd/contrib/bc/tests/bc/scripts/ |
H A D | atan.txt | 2 a(.267) 3 a(1) 5 a(.267) 6 a(1) 8 a(.267) 9 a(1) 11 a(.267) 12 a(1) 14 a(.267) 15 a(1) [all …]
|
/freebsd/usr.bin/m4/tests/ |
H A D | regress.esyscmd.out | 4 hi there a 5 hi there a 7 hi there a 8 hi there a 10 hi there a 11 hi there a 13 hi there a 14 hi there a 16 hi there a 17 hi there a [all …]
|
/freebsd/contrib/bearssl/src/ec/ |
H A D | ec_c25519_m15.c | 173 mul20(uint32_t *d, const uint32_t *a, const uint32_t *b) in mul20() argument 252 memcpy(u, a, 20 * sizeof *a); in mul20() 253 ZADD(u, 4, a, 0, a, 1); in mul20() 254 ZADD(u, 5, a, 2, a, 3); in mul20() 255 ZADD(u, 6, a, 0, a, 2); in mul20() 256 ZADD(u, 7, a, 1, a, 3); in mul20() 399 square20(uint32_t *d, const uint32_t *a) in square20() argument 401 mul20(d, a, a); in square20() 407 mul20(uint32_t *d, const uint32_t *a, const uint32_t *b) in mul20() argument 411 t[ 0] = MUL15(a[ 0], b[ 0]); in mul20() [all …]
|
H A D | ec_p256_m15.c | 128 mul20(uint32_t *d, const uint32_t *a, const uint32_t *b) in mul20() argument 207 memcpy(u, a, 20 * sizeof *a); in mul20() 208 ZADD(u, 4, a, 0, a, 1); in mul20() 209 ZADD(u, 5, a, 2, a, 3); in mul20() 210 ZADD(u, 6, a, 0, a, 2); in mul20() 211 ZADD(u, 7, a, 1, a, 3); in mul20() 354 square20(uint32_t *d, const uint32_t *a) in square20() argument 356 mul20(d, a, a); in square20() 362 mul20(uint32_t *d, const uint32_t *a, const uint32_t *b) in mul20() argument 366 t[ 0] = MUL15(a[ 0], b[ 0]); in mul20() [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_zip.c | 32 int extract_one(struct archive* a, struct archive_entry* ae, uint32_t crc) 44 bytes_read = archive_read_data(a, buf, fsize); in extract_one() 60 int extract_one_using_blocks(struct archive* a, int block_size, uint32_t crc) 72 bytes_read = archive_read_data(a, buf, block_size); in extract_one_using_blocks() 104 verify_basic(struct archive *a, int seek_checks) 112 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in verify_basic() 113 assertEqualString("ZIP 1.0 (uncompressed)", archive_format_name(a)); in verify_basic() 120 assertEqualIntA(a, archive_read_has_encrypted_entries(a), in verify_basic() 33 extract_one(struct archive * a,struct archive_entry * ae,uint32_t crc) extract_one() argument 61 extract_one_using_blocks(struct archive * a,int block_size,uint32_t crc) extract_one_using_blocks() argument 105 verify_basic(struct archive * a,int seek_checks) verify_basic() argument 183 struct archive *a; test_basic() local 211 verify_info_zip_ux(struct archive * a,int seek_checks) verify_info_zip_ux() argument 253 struct archive *a; test_info_zip_ux() local 281 verify_extract_length_at_end(struct archive * a,int seek_checks) verify_extract_length_at_end() argument 319 struct archive *a; test_extract_length_at_end() local 346 struct archive *a; test_symlink() local 389 struct archive *a; DEFINE_TEST() local 409 struct archive *a; DEFINE_TEST() local 429 struct archive *a; DEFINE_TEST() local 461 struct archive *a; DEFINE_TEST() local 493 struct archive *a; DEFINE_TEST() local 518 struct archive *a; DEFINE_TEST() local 543 struct archive *a; DEFINE_TEST() local 580 struct archive *a; DEFINE_TEST() local 618 struct archive *a; DEFINE_TEST() local 643 struct archive *a; DEFINE_TEST() local 668 struct archive *a; DEFINE_TEST() local 705 struct archive *a; DEFINE_TEST() local 742 struct archive *a; DEFINE_TEST() local 768 struct archive *a; DEFINE_TEST() local 794 struct archive *a; DEFINE_TEST() local 832 struct archive *a; DEFINE_TEST() local 870 struct archive *a; DEFINE_TEST() local 907 struct archive *a; DEFINE_TEST() local 944 struct archive *a; DEFINE_TEST() local 966 struct archive *a; DEFINE_TEST() local 992 struct archive *a; DEFINE_TEST() local 1013 struct archive *a; DEFINE_TEST() local 1052 struct archive *a; DEFINE_TEST() local 1077 struct archive *a; DEFINE_TEST() local 1103 struct archive *a; DEFINE_TEST() local 1135 struct archive *a; DEFINE_TEST() local [all...] |
H A D | test_read_format_zip_filename.c | 32 struct archive *a; in DEFINE_TEST() 44 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 45 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 46 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 47 if (ARCHIVE_OK != archive_read_set_options(a, "hdrcharset=CP932")) { in DEFINE_TEST() 52 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 53 archive_read_open_filename(a, refname, 10240)); in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_O in DEFINE_TEST() 33 struct archive *a; DEFINE_TEST() local 93 struct archive *a; DEFINE_TEST() local 171 struct archive *a; DEFINE_TEST() local 246 struct archive *a; DEFINE_TEST() local 340 struct archive *a; DEFINE_TEST() local 397 struct archive *a; DEFINE_TEST() local 453 struct archive *a; DEFINE_TEST() local 510 struct archive *a; DEFINE_TEST() local 566 struct archive *a; DEFINE_TEST() local 628 struct archive *a; DEFINE_TEST() local 693 struct archive *a; DEFINE_TEST() local 745 struct archive *a; DEFINE_TEST() local 804 struct archive *a; DEFINE_TEST() local 881 struct archive *a; DEFINE_TEST() local 944 struct archive *a; DEFINE_TEST() local 994 struct archive *a; DEFINE_TEST() local 1051 struct archive *a; DEFINE_TEST() local 1125 struct archive *a; DEFINE_TEST() local [all...] |
H A D | test_read_format_rar.c | 33 struct archive *a; in DEFINE_TEST() local 38 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 39 assertA(0 == archive_read_support_filter_all(a)); in DEFINE_TEST() 40 assertA(0 == archive_read_set_format(a, ARCHIVE_FORMAT_RAR)); in DEFINE_TEST() 41 assertA(0 == archive_read_open_filename(a, reffile, 10240)); in DEFINE_TEST() 42 assertA(0 == archive_read_next_header(a, &ae)); in DEFINE_TEST() 43 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 44 assertEqualInt(ARCHIVE_OK, archive_read_free(a)); in DEFINE_TEST() 54 struct archive *a; in DEFINE_TEST() local 137 struct archive *a; DEFINE_TEST() local 172 struct archive *a; DEFINE_TEST() local 206 struct archive *a; DEFINE_TEST() local 337 struct archive *a; DEFINE_TEST() local 451 struct archive *a; DEFINE_TEST() local 554 struct archive *a; DEFINE_TEST() local 600 struct archive *a; DEFINE_TEST() local 703 struct archive *a; DEFINE_TEST() local 755 struct archive *a; DEFINE_TEST() local 807 struct archive *a; DEFINE_TEST() local 906 struct archive *a; DEFINE_TEST() local 1033 struct archive *a; DEFINE_TEST() local 1135 struct archive *a; DEFINE_TEST() local 1226 struct archive *a; DEFINE_TEST() local 1266 struct archive *a; DEFINE_TEST() local 1314 struct archive *a; DEFINE_TEST() local 1454 struct archive *a; DEFINE_TEST() local 1574 test_read_format_rar_multivolume_uncompressed_files_helper(struct archive * a) test_read_format_rar_multivolume_uncompressed_files_helper() argument 1645 struct archive *a; DEFINE_TEST() local 3766 struct archive *a; DEFINE_TEST() local 3792 struct archive *a; DEFINE_TEST() local [all...] |
H A D | test_write_filter_zstd.c | 32 struct archive *a; in DEFINE_TEST() local 55 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 57 r = archive_write_add_filter_zstd(a); in DEFINE_TEST() 60 assertEqualInt(ARCHIVE_OK, archive_write_free(a)); in DEFINE_TEST() 65 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 66 archive_write_set_bytes_per_block(a, 10)); in DEFINE_TEST() 67 assertEqualInt(ARCHIVE_FILTER_ZSTD, archive_filter_code(a, 0)); in DEFINE_TEST() 68 assertEqualString("zstd", archive_filter_name(a, 0)); in DEFINE_TEST() 69 assertEqualIntA(a, ARCHIVE_OK, archive_write_open_memory(a, buff, buffsize, &used1)); in DEFINE_TEST() [all …]
|
H A D | test_read_format_cpio_filename.c | 32 struct archive *a; in DEFINE_TEST() 44 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 45 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 46 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 47 if (ARCHIVE_OK != archive_read_set_options(a, "hdrcharset=eucJP")) { in DEFINE_TEST() 52 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 53 archive_read_open_filename(a, refname, 10240)); in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_O in DEFINE_TEST() 33 struct archive *a; DEFINE_TEST() local 88 struct archive *a; DEFINE_TEST() local 141 struct archive *a; DEFINE_TEST() local 188 struct archive *a; DEFINE_TEST() local 241 struct archive *a; DEFINE_TEST() local 293 struct archive *a; DEFINE_TEST() local 346 struct archive *a; DEFINE_TEST() local 398 struct archive *a; DEFINE_TEST() local 451 struct archive *a; DEFINE_TEST() local 504 struct archive *a; DEFINE_TEST() local 550 struct archive *a; DEFINE_TEST() local 601 struct archive *a; DEFINE_TEST() local 653 struct archive *a; DEFINE_TEST() local 712 struct archive *a; DEFINE_TEST() local 758 struct archive *a; DEFINE_TEST() local 811 struct archive *a; DEFINE_TEST() local [all...] |
H A D | test_read_format_7zip.c | 44 struct archive *a; in test_copy() local 49 assert((a = archive_read_new()) != NULL); in test_copy() 50 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in test_copy() 51 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in test_copy() 54 assertEqualIntA(a, ARCHIVE_OK, in test_copy() 55 archive_read_open_fd(a, fd, 10240)); in test_copy() 57 assertEqualIntA(a, ARCHIVE_OK, in test_copy() 58 archive_read_open_filename(a, refname, 10240)); in test_copy() 62 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_copy() 68 assert(archive_read_has_encrypted_entries(a) > ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED); in test_copy() [all …]
|
H A D | test_read_format_mtree.c | 34 struct archive *a; in test_read_format_mtree1() local 54 assert((a = archive_read_new()) != NULL); in test_read_format_mtree1() 55 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_mtree1() 56 archive_read_support_filter_all(a)); in test_read_format_mtree1() 57 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_mtree1() 58 archive_read_support_format_all(a)); in test_read_format_mtree1() 59 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_mtree1() 60 archive_read_set_options(a, "mtree:checkfs")); in test_read_format_mtree1() 61 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_mtree1() 62 archive_read_open_filename(a, reffile, 11)); in test_read_format_mtree1() [all …]
|
H A D | test_read_format_ustar_filename.c | 32 struct archive *a; in test_read_format_ustar_filename_eucJP_UTF8() 43 assert((a = archive_read_new()) != NULL); in test_read_format_ustar_filename_eucJP_UTF8() 44 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in test_read_format_ustar_filename_eucJP_UTF8() 45 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in test_read_format_ustar_filename_eucJP_UTF8() 46 if (ARCHIVE_OK != archive_read_set_options(a, "hdrcharset=eucJP")) { in test_read_format_ustar_filename_eucJP_UTF8() 51 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_ustar_filename_eucJP_UTF8() 52 archive_read_open_filename(a, refname, 10240)); in test_read_format_ustar_filename_eucJP_UTF8() 55 assertEqualIntA(a, ARCHIVE_O in test_read_format_ustar_filename_eucJP_UTF8() 33 struct archive *a; test_read_format_ustar_filename_eucJP_UTF8() local 87 struct archive *a; test_read_format_ustar_filename_CP866_KOI8R() local 142 struct archive *a; test_read_format_ustar_filename_CP866_UTF8() local 197 struct archive *a; test_read_format_ustar_filename_KOI8R_CP866() local 253 struct archive *a; test_read_format_ustar_filename_KOI8R_UTF8() local 308 struct archive *a; test_read_format_ustar_filename_eucJP_CP932() local 362 struct archive *a; test_read_format_ustar_filename_CP866_CP1251() local 424 struct archive *a; test_read_format_ustar_filename_CP866_CP1251_win() local 473 struct archive *a; test_read_format_ustar_filename_KOI8R_CP1251() local [all...] |
H A D | test_read_format_tar_filename.c | 42 struct archive *a; in test_read_format_tar_filename_KOI8R_CP866() 56 assert((a = archive_read_new()) != NULL); in test_read_format_tar_filename_KOI8R_CP866() 57 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_tar(a)); in test_read_format_tar_filename_KOI8R_CP866() 58 if (ARCHIVE_OK != archive_read_set_options(a, "hdrcharset=UTF-8")) { in test_read_format_tar_filename_KOI8R_CP866() 59 assertEqualInt(ARCHIVE_OK, archive_read_free(a)); in test_read_format_tar_filename_KOI8R_CP866() 64 assertEqualInt(ARCHIVE_OK, archive_read_free(a)); in test_read_format_tar_filename_KOI8R_CP866() 66 assert((a = archive_read_new()) != NULL); in test_read_format_tar_filename_KOI8R_CP866() 67 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in test_read_format_tar_filename_KOI8R_CP866() 43 struct archive *a; test_read_format_tar_filename_KOI8R_CP866() local 161 struct archive *a; test_read_format_tar_filename_KOI8R_UTF8() local 272 struct archive *a; test_read_format_tar_filename_KOI8R_CP1251() local [all...] |
H A D | test_read_pax_truncated.c | 30 struct archive *a; in DEFINE_TEST() 37 /* Create a new archive in memory. */ in DEFINE_TEST() 38 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 39 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_pax(a)); in DEFINE_TEST() 40 assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a)); in DEFINE_TEST() 41 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 42 archive_write_open_memory(a, buff, buff_size, &used)); in DEFINE_TEST() 45 * Write a fil in DEFINE_TEST() 31 struct archive *a; DEFINE_TEST() local [all...] |
H A D | test_write_format_zip.c | 45 write_contents(struct archive *a) in write_contents() argument 63 assertEqualInt(0, archive_write_header(a, ae)); in write_contents() 65 assertEqualInt(8, archive_write_data(a, "12345678", 9)); in write_contents() 66 assertEqualInt(0, archive_write_data(a, "1", 1)); in write_contents() 76 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 78 assertEqualInt(4, archive_write_data(a, "1234", 4)); in write_contents() 88 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 90 assertEqualInt(5, archive_write_data(a, "mnopq", 5)); in write_contents() 107 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 118 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() [all …]
|
H A D | test_read_format_gtar_filename.c | 32 struct archive *a; in DEFINE_TEST() 44 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 45 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 46 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 47 if (ARCHIVE_OK != archive_read_set_options(a, "hdrcharset=eucJP")) { in DEFINE_TEST() 52 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 53 archive_read_open_filename(a, refname, 10240)); in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_O in DEFINE_TEST() 33 struct archive *a; DEFINE_TEST() local 86 struct archive *a; DEFINE_TEST() local 139 struct archive *a; DEFINE_TEST() local 191 struct archive *a; DEFINE_TEST() local 244 struct archive *a; DEFINE_TEST() local 296 struct archive *a; DEFINE_TEST() local 347 struct archive *a; DEFINE_TEST() local 406 struct archive *a; DEFINE_TEST() local 452 struct archive *a; DEFINE_TEST() local [all...] |
H A D | test_compat_zip.c | 32 struct archive *a; in DEFINE_TEST() 35 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 36 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 37 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_zip(a)); in DEFINE_TEST() 39 assertEqualIntA(a, ARCHIVE_OK, archive_read_open_filename(a, name, 10240)); in DEFINE_TEST() 42 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, in DEFINE_TEST() 33 struct archive *a; DEFINE_TEST() local 76 struct archive *a; DEFINE_TEST() local 105 struct archive *a; DEFINE_TEST() local 154 struct archive *a; DEFINE_TEST() local 212 struct archive *a; DEFINE_TEST() local 344 compat_zip_6_verify(struct archive * a) compat_zip_6_verify() argument 368 struct archive *a; DEFINE_TEST() local 398 struct archive *a; DEFINE_TEST() local 433 struct archive *a; DEFINE_TEST() local [all...] |
H A D | test_read_format_iso_Z.c | 31 struct archive *a; in test1() local 36 assert((a = archive_read_new()) != NULL); in test1() 37 assertEqualIntA(a, ARCHIVE_OK, in test1() 38 archive_read_support_filter_all(a)); in test1() 39 assertEqualIntA(a, ARCHIVE_OK, in test1() 40 archive_read_support_format_all(a)); in test1() 41 assertEqualIntA(a, ARCHIVE_OK, in test1() 42 archive_read_open_filename(a, name, 512)); in test1() 45 assertEqualIntA(a, ARCHIVE_OK, in test1() 46 archive_read_next_header(a, &ae)); in test1() [all …]
|
H A D | test_write_filter_bzip2.c | 38 struct archive* a; in DEFINE_TEST() local 61 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 62 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 63 r = archive_write_add_filter_bzip2(a); in DEFINE_TEST() 67 assertEqualInt(ARCHIVE_OK, archive_write_free(a)); in DEFINE_TEST() 73 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 74 archive_write_set_bytes_per_block(a, 10)); in DEFINE_TEST() 75 assertEqualInt(ARCHIVE_FILTER_BZIP2, archive_filter_code(a, 0)); in DEFINE_TEST() 76 assertEqualString("bzip2", archive_filter_name(a, 0)); in DEFINE_TEST() 77 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() [all …]
|
H A D | test_write_filter_lz4.c | 36 struct archive* a; in DEFINE_TEST() local 43 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 44 r = archive_write_add_filter_lz4(a); in DEFINE_TEST() 49 assertEqualInt(ARCHIVE_OK, archive_write_free(a)); in DEFINE_TEST() 58 assertEqualInt(ARCHIVE_OK, archive_write_free(a)); in DEFINE_TEST() 70 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 71 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 72 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST() 73 archive_write_add_filter_lz4(a)); in DEFINE_TEST() 74 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() [all …]
|
H A D | test_write_filter_xz.c | 38 struct archive* a; in DEFINE_TEST() local 61 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 62 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 63 r = archive_write_add_filter_xz(a); in DEFINE_TEST() 66 assertEqualInt(ARCHIVE_OK, archive_write_free(a)); in DEFINE_TEST() 71 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 72 archive_write_set_bytes_per_block(a, 10)); in DEFINE_TEST() 73 assertEqualInt(ARCHIVE_FILTER_XZ, archive_filter_code(a, 0)); in DEFINE_TEST() 74 assertEqualString("xz", archive_filter_name(a, 0)); in DEFINE_TEST() 75 assertEqualIntA(a, ARCHIVE_OK, archive_write_open_memory(a, buff, buffsize, &used1)); in DEFINE_TEST() [all …]
|
H A D | test_write_filter_lzip.c | 38 struct archive* a; in DEFINE_TEST() local 61 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 62 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 63 r = archive_write_add_filter_lzip(a); in DEFINE_TEST() 66 assertEqualInt(ARCHIVE_OK, archive_write_free(a)); in DEFINE_TEST() 71 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 72 archive_write_set_bytes_per_block(a, 10)); in DEFINE_TEST() 73 assertEqualInt(ARCHIVE_FILTER_LZIP, archive_filter_code(a, 0)); in DEFINE_TEST() 74 assertEqualString("lzip", archive_filter_name(a, 0)); in DEFINE_TEST() 75 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() [all …]
|
/freebsd/contrib/elftoolchain/common/ |
H A D | utarray.h | 64 #define utarray_init(a,_icd) do { \ argument 65 memset(a,0,sizeof(UT_array)); \ 66 (a)->icd=*_icd; \ 69 #define utarray_done(a) do { \ argument 70 if ((a)->n) { \ 71 if ((a)->icd.dtor) { \ 73 for(_ut_i=0; _ut_i < (a)->i; _ut_i++) { \ 74 (a)->icd.dtor(utarray_eltptr(a,_ut_i)); \ 77 free((a)->d); \ 79 (a)->n=0; \ [all …]
|
/freebsd/sys/powerpc/include/ |
H A D | pio.h | 51 __outb(volatile u_int8_t *a, u_int8_t v) in __outb() argument 53 *a = v; in __outb() 58 __outw(volatile u_int16_t *a, u_int16_t v) in __outw() argument 60 *a = v; in __outw() 65 __outl(volatile u_int32_t *a, u_int32_t v) in __outl() argument 67 *a = v; in __outl() 72 __outll(volatile u_int64_t *a, u_int64_t v) in __outll() argument 74 *a = v; in __outll() 79 __outwrb(volatile u_int16_t *a, u_int16_t v) in __outwrb() argument 81 __asm__ volatile("sthbrx %0, 0, %1" :: "r"(v), "r"(a)); in __outwrb() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | testutil.h | 289 # define PRINTF_FORMAT(a, b) argument 299 # define PRINTF_FORMAT(a, b) __attribute__ ((format(printf, a, b))) argument 357 const char *a, size_t an, const char *b, size_t bn); 359 const char *a, size_t an, const char *b, size_t bn); 388 int test_BN_eq_zero(const char *file, int line, const char *s, const BIGNUM *a); 389 int test_BN_ne_zero(const char *file, int line, const char *s, const BIGNUM *a); 390 int test_BN_lt_zero(const char *file, int line, const char *s, const BIGNUM *a); 391 int test_BN_le_zero(const char *file, int line, const char *s, const BIGNUM *a); 392 int test_BN_gt_zero(const char *file, int line, const char *s, const BIGNUM *a); 393 int test_BN_ge_zero(const char *file, int line, const char *s, const BIGNUM *a); [all …]
|