Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/tar/test/
H A Dtest_option_r.c17 size_t s, buff_size_rounded; in DEFINE_TEST() local
63 buff_size_rounded = ((buff_size + 511) / 512) * 512; in DEFINE_TEST()
64 assert(s >= 2560 + buff_size_rounded); in DEFINE_TEST()
71 assertEqualMem(p1 + 1536 + buff_size_rounded, "\0\0\0\0\0\0\0\0", 8); in DEFINE_TEST()
72 assertEqualMem(p1 + 2048 + buff_size_rounded, "\0\0\0\0\0\0\0\0", 8); in DEFINE_TEST()
89 assert(s >= 3584 + buff_size_rounded); in DEFINE_TEST()
91 assertEqualMem(p0, p1, 1536 + buff_size_rounded); in DEFINE_TEST()
93 assertEqualMem(p1 + 1536 + buff_size_rounded, "f2", 3); in DEFINE_TEST()
94 assertEqualMem(p1 + 2048 + buff_size_rounded, "f2", 3); in DEFINE_TEST()
96 assertEqualMem(p1 + 2560 + buff_size_rounded, "\0\0\0\0\0\0\0\0", 8); in DEFINE_TEST()
[all …]