• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/ntp/sntp/libevent/test/

Lines Matching refs:tt_int_op

263 			tt_int_op(r, ==, 1);
274 tt_int_op(evbuffer_commit_space(evb, v, 1), ==, 0);
338 tt_int_op(n, ==, 1);
339 tt_int_op(evbuffer_get_length(buf), ==, 0);
341 tt_int_op(v[0].iov_len, >=, 1024);
347 tt_int_op(0, ==, evbuffer_commit_space(buf, v, 1));
348 tt_int_op(evbuffer_get_length(buf), ==, 512);
354 tt_int_op(n, ==, 1);
356 tt_int_op(remaining, ==, v[0].iov_len);
359 tt_int_op(0, ==, evbuffer_commit_space(buf, v, 1));
360 tt_int_op(evbuffer_get_length(buf), ==, 520);
367 tt_int_op(n, ==, 2);
369 tt_int_op(remaining, ==, v[0].iov_len);
375 tt_int_op(0, ==, evbuffer_commit_space(buf, v, 1));
376 tt_int_op(evbuffer_get_length(buf), ==, 521);
384 tt_int_op(n, ==, 2);
386 tt_int_op(remaining, ==, v[0].iov_len);
393 tt_int_op(0, ==, evbuffer_commit_space(buf, v, 2));
394 tt_int_op(evbuffer_get_length(buf), ==, 981);
400 tt_int_op(n, ==, 2);
401 tt_int_op(v[0].iov_len, ==, 921);
402 tt_int_op(v[1].iov_len, ==, 60);
406 tt_int_op(cp[i], ==, 'X');
408 tt_int_op(cp[i], ==, 'Y');
410 tt_int_op(cp[i], ==, 'Z');
412 tt_int_op(cp[i], ==, 'W');
416 tt_int_op(cp[i], ==, 'x');
438 tt_int_op(n, ==, 1);
446 tt_int_op(n, ==, 0);
450 tt_int_op(n, ==, 0);
452 tt_int_op(n, ==, 1);
461 tt_int_op(n, ==, 2);
463 tt_int_op(sz, >=, v[0].iov_len+128);
475 tt_int_op(n, ==, 3);
485 tt_int_op(n, ==, 2);
488 tt_int_op(n, ==, 1);
507 tt_int_op(evbuffer_expand(buf, 20000), ==, 0);
523 tt_int_op(evbuffer_expand(buf, 1024), ==, 0);
575 tt_int_op(len, ==, strlen(data));
614 tt_int_op(reference_cb_called, ==, 1);
843 tt_int_op(addfile_test_total_written, ==, expect_len);
844 tt_int_op(addfile_test_total_read, ==, expect_len);
899 tt_int_op(fd, >=, 0);
916 tt_int_op(file_segment_cleanup_cb_called_count, ==, 0);
920 tt_int_op(file_segment_cleanup_cb_called_count, ==, 0);
924 tt_int_op(file_segment_cleanup_cb_called_count, ==, 1);
1094 tt_int_op(evbuffer_get_length(evb), ==, 0);
1203 tt_int_op(ptr1.pos, ==, 8);
1204 tt_int_op(eol_len, ==, 2);
1208 tt_int_op(ptr2.pos, ==, 8);
1209 tt_int_op(eol_len, ==, 2);
1214 tt_int_op(ptr2.pos, ==, 9);
1215 tt_int_op(eol_len, ==, 1);
1219 tt_int_op(ptr2.pos, ==, 10);
1220 tt_int_op(eol_len, ==, 2);
1224 tt_int_op(ptr1.pos, ==, 9);
1225 tt_int_op(eol_len, ==, 1);
1229 tt_int_op(ptr2.pos, ==, 9);
1230 tt_int_op(eol_len, ==, 1);
1235 tt_int_op(ptr2.pos, ==, 11);
1236 tt_int_op(eol_len, ==, 1);
1241 tt_int_op(ptr2.pos, ==, -1);
1242 tt_int_op(eol_len, ==, 0);
1348 tt_int_op(evbuffer_get_length(buf), ==, 0);
1375 tt_int_op(evbuffer_get_length(buf), ==, 12000);
1410 tt_int_op(pos.pos, ==, -1);
1413 tt_int_op(pos.pos, ==, -1);
1416 tt_int_op(pos.pos, ==, -1);
1419 tt_int_op(pos.pos, ==, -1);
1432 tt_int_op(pos.pos, ==, 11);
1434 tt_int_op(pos.pos, ==, -1);
1438 tt_int_op(pos.pos, ==, 7);
1440 tt_int_op(pos.pos, ==, 8);
1442 tt_int_op(pos.pos, ==, -1);
1446 tt_int_op(pos.pos, ==, 5);
1450 tt_int_op(pos.pos, ==, 10);
1456 tt_int_op(pos.pos, ==, 5);
1458 tt_int_op(pos.pos, ==, 5);
1460 tt_int_op(pos.pos, ==, -1);
1462 tt_int_op(pos.pos, ==, -1);
1468 tt_int_op(pos.pos, ==, 11);
1471 tt_int_op(pos.pos, ==, 11);
1474 tt_int_op(pos.pos, ==, -1);
1477 tt_int_op(pos.pos, ==, -1);
1621 tt_int_op(evbuffer_get_length(buf1), ==, len1+len2+2);
1624 tt_int_op(evbuffer_remove(buf1, tmp, 6), ==, 6);
1625 tt_int_op(memcmp(tmp, "If you", 6), ==, 0);
1626 tt_int_op(evbuffer_remove(buf1, tmp, 5), ==, 5);
1627 tt_int_op(memcmp(tmp, " have", 5), ==, 0);
1630 tt_int_op(evbuffer_prepend(buf1, "I have ", 7), ==, 0);
1631 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
1637 tt_int_op(ref_done_cb_called_count, ==, 0);
1639 tt_int_op(tmp[0], ==, 'm');
1643 tt_int_op(ref_done_cb_called_count, ==, 1);
1650 tt_int_op(ref_done_cb_called_count, ==, 1);
1654 tt_int_op(ref_done_cb_called_count, ==, 1);
1656 tt_int_op(memcmp("I ought to write", tmp, 16), ==, 0);
1658 tt_int_op(ref_done_cb_called_count, ==, 2);
1670 tt_int_op(ref_done_cb_called_count, ==, 3);
1697 tt_int_op(evbuffer_get_length(buf1), ==, len1+len2+2);
1702 tt_int_op(evbuffer_add_buffer_reference(buf2, buf1), ==, 0);
1704 tt_int_op(evbuffer_add_buffer_reference(buf2, buf2), ==, -1);
1705 tt_int_op(evbuffer_add_buffer_reference(buf1, buf2), ==, -1);
1708 tt_int_op(evbuffer_get_length(buf1), ==, evbuffer_get_length(buf1));
1711 tt_int_op(evbuffer_remove(buf1, tmp, 6), ==, 6);
1712 tt_int_op(memcmp(tmp, "If you", 6), ==, 0);
1713 tt_int_op(evbuffer_remove(buf1, tmp, 5), ==, 5);
1714 tt_int_op(memcmp(tmp, " have", 5), ==, 0);
1717 tt_int_op(evbuffer_prepend(buf1, "I have ", 7), ==, 0);
1718 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
1722 tt_int_op(evbuffer_remove(buf2, tmp, 6), ==, 6);
1723 tt_int_op(memcmp(tmp, "If you", 6), ==, 0);
1724 tt_int_op(evbuffer_remove(buf2, tmp, 5), ==, 5);
1725 tt_int_op(memcmp(tmp, " have", 5), ==, 0);
1728 tt_int_op(evbuffer_prepend(buf2, "I have ", 7), ==, 0);
1729 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
1736 tt_int_op(evbuffer_remove(buf2, tmp, 6), ==, 6);
1737 tt_int_op(memcmp(tmp, "I have", 6), ==, 0);
1739 tt_int_op(evbuffer_remove(buf2, tmp, 6), ==, 6);
1740 tt_int_op(memcmp(tmp, " foun", 6), ==, 0);
1765 tt_int_op(evbuffer_get_length(buf1), ==, len1+len2+2);
1770 tt_int_op(evbuffer_add_buffer_reference(buf2, buf1), ==, 0);
1771 tt_int_op(evbuffer_get_length(buf2), ==, len1+len2+2);
1772 tt_int_op(evbuffer_drain(buf1, evbuffer_get_length(buf1)), ==, 0);
1773 tt_int_op(evbuffer_get_length(buf2), ==, len1+len2+2);
1774 tt_int_op(evbuffer_drain(buf2, evbuffer_get_length(buf2)), ==, 0);
1815 tt_int_op(n, >=, 0);
1834 tt_int_op(n, >=, 0);
1863 tt_int_op(evbuffer_peek(buf, -1, &ptr, NULL, 0), ==, 2);
1865 tt_int_op(evbuffer_peek(buf, -1, &ptr, v, 2), ==, 2);
1868 tt_int_op(evbuffer_peek(buf, -1, &ptr, NULL, 0), ==, 2);
1869 tt_int_op(evbuffer_peek(buf, -1, &ptr, v, 2), ==, 2);
1870 tt_int_op(evbuffer_peek(buf, 2, &ptr, NULL, 0), ==, 1);
1871 tt_int_op(evbuffer_peek(buf, 2, &ptr, v, 2), ==, 1);
1872 tt_int_op(evbuffer_peek(buf, 3, &ptr, NULL, 0), ==, 2);
1873 tt_int_op(evbuffer_peek(buf, 3, &ptr, v, 2), ==, 2);
1891 tt_int_op((v)->iov_len, ==, strlen(s)); \
1904 tt_int_op(i, ==, 16);
1908 tt_int_op(i, ==, 16); /* we used only 16 chunks. */
1917 tt_int_op(i, ==, 1);
1924 tt_int_op(i, ==, 2);
1932 tt_int_op(i, ==, 5);
1938 tt_int_op(i, ==, 3);
1945 tt_int_op(i, ==, 16); /* we used only 16 chunks. */
1955 tt_int_op(i, ==, 0);
1959 tt_int_op(i, ==, 0);
1966 tt_int_op(i, ==, 3);
1975 tt_int_op(i, ==, 2);
1983 tt_int_op(i, ==, 0);
2029 tt_int_op((a), ==, (startcase)); \
2031 tt_int_op((a), ==, (endcase)); \
2056 tt_int_op(orig_length, ==, evbuffer_get_length(buf));
2074 tt_int_op(orig_length, ==, evbuffer_get_length(buf));
2112 tt_int_op(returned_length, ==, evbuffer_get_length(buf));
2113 tt_int_op(evbuffer_get_length(buf), ==, expected_length);
2148 tt_int_op(strlen(string), ==, 206);
2155 tt_int_op(206, ==, evbuffer_get_length(buf));
2160 tt_int_op(10, ==, evbuffer_copyout(buf, tmp, 10));
2161 tt_int_op(0, ==, memcmp(tmp, "Still they", 10));
2165 tt_int_op(100, ==, evbuffer_copyout(buf, tmp, 100));
2166 tt_int_op(0, ==, memcmp(tmp, string, 100));
2170 tt_int_op(206, ==, evbuffer_copyout(buf, tmp, 230));
2171 tt_int_op(0, ==, memcmp(tmp, string, 206));
2174 tt_int_op(206, ==, evbuffer_get_length(buf));
2180 tt_int_op(10, ==, evbuffer_copyout_from(buf, &ptr, tmp, 10));
2181 tt_int_op(0, ==, memcmp(tmp, "mish to an", 10));
2185 tt_int_op(65, ==, evbuffer_copyout_from(buf, &ptr, tmp, 65));
2186 tt_int_op(0, ==, memcmp(tmp, string+15, 65));
2190 tt_int_op(90, ==, evbuffer_copyout_from(buf, &ptr, tmp, 90));
2191 tt_int_op(0, ==, memcmp(tmp, string+15, 90));
2195 tt_int_op(160, ==, evbuffer_copyout_from(buf, &ptr, tmp, 160));
2196 tt_int_op(0, ==, memcmp(tmp, string+15, 160));
2200 tt_int_op(206-15, ==, evbuffer_copyout_from(buf, &ptr, tmp, 999));
2201 tt_int_op(0, ==, memcmp(tmp, string+15, 206-15));
2204 tt_int_op(206, ==, evbuffer_get_length(buf));