Lines Matching refs:test_sbuf_len
65 ssize_t test_sbuf_len; in ATF_TC_BODY() local
81 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
82 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)sizeof(test_buffer), in ATF_TC_BODY()
83 "sbuf_len(..) => %zd (actual) != %zu (expected)", test_sbuf_len, in ATF_TC_BODY()
89 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
90 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)(2 * sizeof(test_buffer)), in ATF_TC_BODY()
91 "sbuf_len(..) => %zd (actual) != %zu (expected)", test_sbuf_len, in ATF_TC_BODY()
98 (size_t)test_sbuf_len); in ATF_TC_BODY()
109 ssize_t test_sbuf_len; in ATF_TC_BODY() local
118 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
119 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)sizeof(test_buffer), in ATF_TC_BODY()
120 "sbuf_len(..) => %zd (actual) != %zu (expected)", test_sbuf_len, in ATF_TC_BODY()
126 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
127 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)sizeof(test_buffer), in ATF_TC_BODY()
128 "sbuf_len(..) => %zd (actual) != %zu (expected)", test_sbuf_len, in ATF_TC_BODY()
134 check_buffers_equal(sbuf_data(sb), test_buffer, (size_t)test_sbuf_len); in ATF_TC_BODY()
144 ssize_t test_sbuf_len; in ATF_TC_BODY() local
155 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
156 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string), in ATF_TC_BODY()
157 "sbuf_len(..) => %zd (actual) != %zu (expected)", test_sbuf_len, in ATF_TC_BODY()
162 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
163 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string_tmp), in ATF_TC_BODY()
164 "sbuf_len(..) => %zd (actual) != %zu (expected)", test_sbuf_len, in ATF_TC_BODY()
183 ssize_t test_sbuf_len; in ATF_TC_BODY() local
191 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
192 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string), in ATF_TC_BODY()
193 "sbuf_len(..) => %zd (actual) != %zu (expected)", test_sbuf_len, in ATF_TC_BODY()
198 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
199 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string), in ATF_TC_BODY()
200 "sbuf_len(..) => %zd (actual) != %zu (expected)", test_sbuf_len, in ATF_TC_BODY()
217 ssize_t test_sbuf_len; in ATF_TC_BODY() local
229 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
230 ATF_REQUIRE_MSG((ssize_t)(i + 1) == test_sbuf_len, in ATF_TC_BODY()
232 test_sbuf_len, i + 1); in ATF_TC_BODY()
249 ssize_t exp_sbuf_len, test_sbuf_len; in ATF_TC_BODY() local
262 test_sbuf_len = sbuf_len(sb); in ATF_TC_BODY()
263 ATF_REQUIRE_MSG(exp_sbuf_len == test_sbuf_len, in ATF_TC_BODY()
264 "sbuf_len(..) => %zd (actual) != %zu (expected)", test_sbuf_len, in ATF_TC_BODY()