Searched refs:tt_int_op (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-13-stable/contrib/libevent/test/
H A Dregress_et.c103 tt_int_op(send(pair[0], test, (int)strlen(test)+1, 0), >, 0);
136 tt_int_op(called, ==, 1);
139 tt_int_op(called, ==, 2);
178 tt_int_op(0, ==, event_add(ev_et, NULL));
179 tt_int_op(-1, ==, event_add(ev_lt, NULL));
180 tt_int_op(EV_READ, ==, event_pending(ev_et, EV_READ, NULL));
181 tt_int_op(0, ==, event_pending(ev_lt, EV_READ, NULL));
183 tt_int_op(0, ==, event_del(ev_et));
185 tt_int_op(0, ==, event_add(ev_lt, NULL));
186 tt_int_op(
[all...]
H A Dregress_buffer.c263 tt_int_op(r, ==, 1);
274 tt_int_op(evbuffer_commit_space(evb, v, 1), ==, 0);
347 tt_int_op(evbuffer_get_length(src), ==, 9);
348 tt_int_op(evbuffer_get_length(dst), ==, 9);
358 tt_int_op(evbuffer_get_length(src), ==, 1);
359 tt_int_op(evbuffer_get_length(dst), ==, 17);
388 tt_int_op(evbuffer_get_length(src), ==, 6);
389 tt_int_op(evbuffer_get_length(dst), ==, 6);
399 tt_int_op(evbuffer_get_length(src), ==, 1);
400 tt_int_op(evbuffer_get_lengt
[all...]
H A Dregress_util.c297 tt_int_op(r,==,0);
306 tt_int_op(r,==,0);
393 tt_int_op(r, ==, 6);
397 tt_int_op(r, ==, 18);
401 tt_int_op(r, ==, 12);
405 tt_int_op(r, ==, 13);
410 tt_int_op(r, ==, 10);
419 tt_int_op(evutil_ascii_strcasecmp("ABC", "ABC"), ==, 0);
420 tt_int_op(evutil_ascii_strcasecmp("ABC", "abc"), ==, 0);
421 tt_int_op(evutil_ascii_strcasecm
[all...]
H A Dregress_finalize.c94 tt_int_op(cb_called, ==, 100);
95 tt_int_op(ev_called, ==, 100);
109 tt_int_op(cb_called, ==, 1);
110 tt_int_op(ev_called, ==, 1);
123 tt_int_op(cb_called, ==, 100);
124 tt_int_op(ev_called, ==, 100);
137 tt_int_op(ev_called, ==, 100);
154 tt_int_op(ev_called, ==, 200);
215 tt_int_op(ev_called, ==, 100);
216 tt_int_op(ev2_calle
[all...]
H A Dregress_listener.c102 tt_int_op(evconnlistener_get_fd(listener1), >=, 0);
103 tt_int_op(evconnlistener_get_fd(listener2), >=, 0);
108 tt_int_op(ss1.ss_family, ==, AF_INET);
109 tt_int_op(ss2.ss_family, ==, AF_INET);
113 tt_int_op(ntohl(sin1->sin_addr.s_addr), ==, 0x7f000001);
114 tt_int_op(ntohl(sin2->sin_addr.s_addr), ==, 0x7f000001);
115 tt_int_op(sin1->sin_port, !=, sin2->sin_port);
130 tt_int_op(count1, ==, 0);
131 tt_int_op(count2, ==, 0);
168 tt_int_op(sen
[all...]
H A Dregress_dns.c157 tt_int_op(dns_ok, ==, DNS_IPv4_A);
174 tt_int_op(dns_ok, ==, DNS_IPv6_AAAA);
189 tt_int_op(dns_ok, ==, DNS_PTR);
214 tt_int_op(dns_ok, ==, DNS_PTR);
410 tt_int_op(evdns_base_count_nameservers(base), ==, 1);
418 tt_int_op(slen2, ==, slen);
419 tt_int_op(ss2.ss_family, ==, 0);
421 tt_int_op(slen2, ==, slen);
425 tt_int_op(-1, ==, slen2);
573 tt_int_op(
[all...]
H A Dregress.c451 tt_int_op(got_read_on_close, ==, EV_READ);
452 tt_int_op(got_write_on_close, ==, EV_WRITE);
453 tt_int_op(premature_event, ==, 0);
636 tt_int_op(count, ==, 1);
698 tt_int_op(res.n, ==, 3);
699 tt_int_op(res.events[0], ==, EV_READ);
700 tt_int_op(res.events[1], ==, EV_TIMEOUT);
701 tt_int_op(res.events[2], ==, EV_TIMEOUT);
753 tt_int_op(ms_100->tv_sec, ==, 0);
754 tt_int_op(ms_20
[all...]
H A Dregress_ssl.c237 tt_int_op(bufferevent_getfd(bev), !=, -1);
238 tt_int_op(bufferevent_setfd(bev, -1), ==, 0);
240 tt_int_op(bufferevent_getfd(bev), !=, -1);
242 tt_int_op(bufferevent_getfd(bev), ==, -1);
251 tt_int_op(event_pending(&bev->ev_read, EVLIST_ALL, NULL), ==, 0);
252 tt_int_op(event_pending(&bev->ev_write, EVLIST_ALL, NULL), ==, 0);
448 tt_int_op(bufferevent_getfd(bev1), ==, data->pair[0]);
482 tt_int_op(got_close, ==, 1);
483 tt_int_op(got_error, ==, 0);
485 tt_int_op(got_erro
[all...]
H A Dregress_bufferevent.c140 tt_int_op(bufferevent_getfd(bev1), ==, -1);
147 tt_int_op(bufferevent_getfd(bev1), ==, pair[0]);
168 tt_int_op(bufferevent_get_enabled(bev1), ==, EV_WRITE);
169 tt_int_op(bufferevent_get_enabled(bev2), ==, EV_WRITE|EV_READ);
176 tt_int_op(bufferevent_flush(bev1, EV_WRITE, flush), >=, 0);
419 tt_int_op(low, ==, 0);
421 tt_int_op(low, ==, 0);
430 tt_int_op(low, ==, 10);
431 tt_int_op(high, ==, 20);
438 tt_int_op(lo
[all...]
H A Dregress_iocp.c188 tt_int_op(count_wait_for(8, 2000), ==, 0);
192 tt_int_op(o1.call_count, ==, 4);
193 tt_int_op(o2.call_count, ==, 4);
274 tt_int_op(evbuffer_get_length(buf), ==, sizeof(junk));
276 tt_int_op(chain->flags & EVBUFFER_MEM_PINNED_ANY, ==, 0);
280 tt_int_op(count_wait_for(2, 2000), ==, 0);
282 tt_int_op(evbuffer_get_length(rbuf),==,512);
332 tt_int_op(got_readcb, ==, 1);
H A Dregress_http.c658 tt_int_op(fd, >=, 0);
711 tt_int_op(test_ok, ==, 2);
775 tt_int_op(fd, >=, 0);
798 tt_int_op(test_ok, ==, 2);
858 tt_int_op(fd, >=, 0);
879 tt_int_op(test_ok, ==, 4);
919 tt_int_op(fd1, >=, 0);
941 tt_int_op(fd2, >=, 0);
959 tt_int_op(fd3, >=, 0);
1309 tt_int_op(evhttp_request_get_response_cod
[all...]
H A Dregress_thread.c221 tt_int_op(notification_fd_used, ==, 0);
243 tt_int_op(count, ==, NUM_THREADS * NUM_ITERATIONS);
333 tt_int_op(event_add(&wake_one, &tv_signal), ==, 0);
334 tt_int_op(event_add(&wake_all, &tv_broadcast), ==, 0);
346 tt_int_op(n_timed_out, >=, 1);
347 tt_int_op(n_timed_out, <=, 2);
381 tt_int_op(n_broadcast + n_signal + n_timed_out, ==, NUM_THREADS);
382 tt_int_op(n_signal, ==, 1);
H A Dregress.h121 tt_int_op(labs(timeval_msec_diff((tv1), (tv2)) - diff), <=, tolerance)
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_et.c107 tt_int_op(send(pair[0], test, (int)strlen(test)+1, 0), >, 0);
140 tt_int_op(called, ==, 1);
143 tt_int_op(called, ==, 2);
182 tt_int_op(0, ==, event_add(ev_et, NULL));
183 tt_int_op(-1, ==, event_add(ev_lt, NULL));
184 tt_int_op(EV_READ, ==, event_pending(ev_et, EV_READ, NULL));
185 tt_int_op(0, ==, event_pending(ev_lt, EV_READ, NULL));
187 tt_int_op(0, ==, event_del(ev_et));
189 tt_int_op(0, ==, event_add(ev_lt, NULL));
190 tt_int_op(
[all...]
H A Dregress_listener.c99 tt_int_op(evconnlistener_get_fd(listener1), >=, 0);
100 tt_int_op(evconnlistener_get_fd(listener2), >=, 0);
105 tt_int_op(ss1.ss_family, ==, AF_INET);
106 tt_int_op(ss2.ss_family, ==, AF_INET);
110 tt_int_op(ntohl(sin1->sin_addr.s_addr), ==, 0x7f000001);
111 tt_int_op(ntohl(sin2->sin_addr.s_addr), ==, 0x7f000001);
112 tt_int_op(sin1->sin_port, !=, sin2->sin_port);
127 tt_int_op(count1, ==, 0);
128 tt_int_op(count2, ==, 0);
165 tt_int_op(sen
[all...]
H A Dregress_buffer.c263 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(
[all...]
H A Dregress_util.c297 tt_int_op(r,==,0);
306 tt_int_op(r,==,0);
393 tt_int_op(r, ==, 6);
397 tt_int_op(r, ==, 18);
401 tt_int_op(r, ==, 12);
405 tt_int_op(r, ==, 13);
410 tt_int_op(r, ==, 10);
419 tt_int_op(evutil_ascii_strcasecmp("ABC", "ABC"), ==, 0);
420 tt_int_op(evutil_ascii_strcasecmp("ABC", "abc"), ==, 0);
421 tt_int_op(evutil_ascii_strcasecm
[all...]
H A Dregress_finalize.c94 tt_int_op(cb_called, ==, 100);
95 tt_int_op(ev_called, ==, 100);
109 tt_int_op(cb_called, ==, 1);
110 tt_int_op(ev_called, ==, 1);
123 tt_int_op(cb_called, ==, 100);
124 tt_int_op(ev_called, ==, 100);
137 tt_int_op(ev_called, ==, 100);
154 tt_int_op(ev_called, ==, 200);
215 tt_int_op(ev_called, ==, 100);
216 tt_int_op(ev2_calle
[all...]
H A Dregress_dns.c155 tt_int_op(dns_ok, ==, DNS_IPv4_A);
172 tt_int_op(dns_ok, ==, DNS_IPv6_AAAA);
187 tt_int_op(dns_ok, ==, DNS_PTR);
212 tt_int_op(dns_ok, ==, DNS_PTR);
408 tt_int_op(evdns_base_count_nameservers(base), ==, 1);
416 tt_int_op(slen2, ==, slen);
417 tt_int_op(ss2.ss_family, ==, 0);
419 tt_int_op(slen2, ==, slen);
423 tt_int_op(-1, ==, slen2);
565 tt_int_op(
[all...]
H A Dregress.c451 tt_int_op(got_read_on_close, ==, EV_READ);
452 tt_int_op(got_write_on_close, ==, EV_WRITE);
453 tt_int_op(premature_event, ==, 0);
636 tt_int_op(count, ==, 1);
698 tt_int_op(res.n, ==, 3);
699 tt_int_op(res.events[0], ==, EV_READ);
700 tt_int_op(res.events[1], ==, EV_TIMEOUT);
701 tt_int_op(res.events[2], ==, EV_TIMEOUT);
753 tt_int_op(ms_100->tv_sec, ==, 0);
754 tt_int_op(ms_20
[all...]
H A Dregress_iocp.c188 tt_int_op(count_wait_for(8, 2000), ==, 0);
192 tt_int_op(o1.call_count, ==, 4);
193 tt_int_op(o2.call_count, ==, 4);
274 tt_int_op(evbuffer_get_length(buf), ==, sizeof(junk));
276 tt_int_op(chain->flags & EVBUFFER_MEM_PINNED_ANY, ==, 0);
280 tt_int_op(count_wait_for(2, 2000), ==, 0);
282 tt_int_op(evbuffer_get_length(rbuf),==,512);
332 tt_int_op(got_readcb, ==, 1);
H A Dregress_bufferevent.c139 tt_int_op(bufferevent_getfd(bev1), ==, -1);
146 tt_int_op(bufferevent_getfd(bev1), ==, pair[0]);
167 tt_int_op(bufferevent_get_enabled(bev1), ==, EV_WRITE);
168 tt_int_op(bufferevent_get_enabled(bev2), ==, EV_WRITE|EV_READ);
406 tt_int_op(low, ==, 0);
408 tt_int_op(low, ==, 0);
417 tt_int_op(low, ==, 10);
418 tt_int_op(high, ==, 20);
425 tt_int_op(low, ==, 100);
426 tt_int_op(hig
[all...]
H A Dregress_http.c611 tt_int_op(fd, >=, 0);
664 tt_int_op(test_ok, ==, 2);
728 tt_int_op(fd, >=, 0);
751 tt_int_op(test_ok, ==, 2);
811 tt_int_op(fd, >=, 0);
832 tt_int_op(test_ok, ==, 4);
873 tt_int_op(fd1, >=, 0);
895 tt_int_op(fd2, >=, 0);
913 tt_int_op(fd3, >=, 0);
1278 tt_int_op(evhttp_make_reques
[all...]
H A Dregress_thread.c221 tt_int_op(notification_fd_used, ==, 0);
243 tt_int_op(count, ==, NUM_THREADS * NUM_ITERATIONS);
333 tt_int_op(event_add(&wake_one, &tv_signal), ==, 0);
334 tt_int_op(event_add(&wake_all, &tv_broadcast), ==, 0);
346 tt_int_op(n_timed_out, >=, 1);
347 tt_int_op(n_timed_out, <=, 2);
381 tt_int_op(n_broadcast + n_signal + n_timed_out, ==, NUM_THREADS);
382 tt_int_op(n_signal, ==, 1);
H A Dregress.h121 tt_int_op(labs(timeval_msec_diff((tv1), (tv2)) - diff), <=, tolerance)

Completed in 212 milliseconds

12