Lines Matching defs:test_sbuf_len
63 ssize_t test_sbuf_len;
79 test_sbuf_len = sbuf_len(sb);
80 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)sizeof(test_buffer),
82 test_sbuf_len, sizeof(test_buffer));
87 test_sbuf_len = sbuf_len(sb);
88 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)(2 * sizeof(test_buffer)),
90 test_sbuf_len, 2 * sizeof(test_buffer));
96 (size_t)test_sbuf_len);
107 ssize_t test_sbuf_len;
116 test_sbuf_len = sbuf_len(sb);
117 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)sizeof(test_buffer),
119 test_sbuf_len, sizeof(test_buffer));
124 test_sbuf_len = sbuf_len(sb);
125 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)sizeof(test_buffer),
127 test_sbuf_len, sizeof(test_buffer));
132 check_buffers_equal(sbuf_data(sb), test_buffer, (size_t)test_sbuf_len);
142 ssize_t test_sbuf_len;
153 test_sbuf_len = sbuf_len(sb);
154 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string),
156 test_sbuf_len, sizeof(test_string));
160 test_sbuf_len = sbuf_len(sb);
161 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string_tmp),
163 test_sbuf_len, strlen(test_string_tmp));
181 ssize_t test_sbuf_len;
189 test_sbuf_len = sbuf_len(sb);
190 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string),
192 test_sbuf_len, strlen(test_string));
196 test_sbuf_len = sbuf_len(sb);
197 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string),
199 test_sbuf_len, strlen(test_string));
215 ssize_t test_sbuf_len;
227 test_sbuf_len = sbuf_len(sb);
228 ATF_REQUIRE_MSG((ssize_t)(i + 1) == test_sbuf_len,
230 test_sbuf_len, i + 1);
247 ssize_t exp_sbuf_len, test_sbuf_len;
260 test_sbuf_len = sbuf_len(sb);
261 ATF_REQUIRE_MSG(exp_sbuf_len == test_sbuf_len,
263 test_sbuf_len, exp_sbuf_len);