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

12

/netbsd-current/external/bsd/libevent/dist/test/
H A Dregress_et.c101 tt_int_op(send(xpair[0], test, (int)strlen(test)+1, 0), >, 0);
102 tt_int_op(shutdown(xpair[0], EVUTIL_SHUT_WR), ==, 0);
112 tt_int_op(event_add(ev, NULL), ==, 0);
121 tt_int_op(event_base_loop(base,EVLOOP_NONBLOCK|EVLOOP_ONCE), ==, 0);
122 tt_int_op(event_base_loop(base,EVLOOP_NONBLOCK|EVLOOP_ONCE), ==, 0);
125 tt_int_op(called, ==, 1);
128 tt_int_op(called, ==, 2);
163 tt_int_op(0, ==, event_add(ev_et, NULL));
164 tt_int_op(-1, ==, event_add(ev_lt, NULL));
165 tt_int_op(EV_REA
[all...]
H A Dregress_util.c365 tt_int_op(r,==,0);
374 tt_int_op(r,==,0);
461 tt_int_op(r, ==, 6);
465 tt_int_op(r, ==, 18);
469 tt_int_op(r, ==, 12);
473 tt_int_op(r, ==, 13);
478 tt_int_op(r, ==, 10);
487 tt_int_op(evutil_ascii_strcasecmp("ABC", "ABC"), ==, 0);
488 tt_int_op(evutil_ascii_strcasecmp("ABC", "abc"), ==, 0);
489 tt_int_op(evutil_ascii_strcasecm
[all...]
H A Dregress_finalize.c97 tt_int_op(cb_called, ==, 100);
98 tt_int_op(ev_called, ==, 100);
112 tt_int_op(cb_called, ==, 1);
113 tt_int_op(ev_called, ==, 1);
126 tt_int_op(cb_called, ==, 100);
127 tt_int_op(ev_called, ==, 100);
140 tt_int_op(ev_called, ==, 100);
157 tt_int_op(ev_called, ==, 200);
218 tt_int_op(ev_called, ==, 100);
219 tt_int_op(ev2_calle
[all...]
H A Dregress_buffer.c269 tt_int_op(r, ==, 1);
280 tt_int_op(evbuffer_commit_space(evb, v, 1), ==, 0);
359 tt_int_op(evbuffer_get_length(src), ==, 9);
360 tt_int_op(evbuffer_get_length(dst), ==, 9);
373 tt_int_op(evbuffer_get_length(src), ==, 1);
374 tt_int_op(evbuffer_get_length(dst), ==, 17);
406 tt_int_op(evbuffer_get_length(src), ==, 6);
407 tt_int_op(evbuffer_get_length(dst), ==, 6);
420 tt_int_op(evbuffer_get_length(src), ==, 1);
421 tt_int_op(evbuffer_get_lengt
[all...]
H A Dregress.c453 tt_int_op(got_read_on_close, ==, EV_READ);
454 tt_int_op(got_write_on_close, ==, EV_WRITE);
455 tt_int_op(premature_event, ==, 0);
519 tt_int_op(event_base_loop(base, EVLOOP_NONBLOCK), ==, !persist);
520 tt_int_op(got_event, ==, (events & ~EV_PERSIST));
688 tt_int_op(count, ==, 1);
750 tt_int_op(res.n, ==, 3);
751 tt_int_op(res.events[0], ==, EV_READ);
752 tt_int_op(res.events[1], ==, EV_TIMEOUT);
753 tt_int_op(re
[all...]
H A Dregress_dns.c168 tt_int_op(dns_ok, ==, DNS_IPv4_A);
185 tt_int_op(dns_ok, ==, DNS_IPv6_AAAA);
200 tt_int_op(dns_ok, ==, DNS_PTR);
225 tt_int_op(dns_ok, ==, DNS_PTR);
421 tt_int_op(evdns_base_count_nameservers(base), ==, 1);
429 tt_int_op(slen2, ==, slen);
430 tt_int_op(ss2.ss_family, ==, 0);
432 tt_int_op(slen2, ==, slen);
436 tt_int_op(-1, ==, slen2);
584 tt_int_op(
[all...]
H A Dregress_listener.c111 tt_int_op(ss1.ss_family, ==, AF_INET);
112 tt_int_op(ss2.ss_family, ==, AF_INET);
116 tt_int_op(ntohl(sin1->sin_addr.s_addr), ==, 0x7f000001);
117 tt_int_op(ntohl(sin2->sin_addr.s_addr), ==, 0x7f000001);
118 tt_int_op(sin1->sin_port, !=, sin2->sin_port);
133 tt_int_op(count1, ==, 0);
134 tt_int_op(count2, ==, 0);
171 tt_int_op(send(data->pair[1], "hello", 5, 0), >, 0);
184 tt_int_op(count,==,1000); /* set by error cb */
267 tt_int_op(coun
[all...]
H A Dregress_iocp.c189 tt_int_op(count_wait_for(8, 2000), ==, 0);
193 tt_int_op(o1.call_count, ==, 4);
194 tt_int_op(o2.call_count, ==, 4);
275 tt_int_op(evbuffer_get_length(buf), ==, sizeof(junk));
277 tt_int_op(chain->flags & EVBUFFER_MEM_PINNED_ANY, ==, 0);
281 tt_int_op(count_wait_for(2, 2000), ==, 0);
283 tt_int_op(evbuffer_get_length(rbuf),==,512);
333 tt_int_op(got_readcb, ==, 1);
H A Dregress_bufferevent.c185 tt_int_op(bufferevent_get_enabled(bev1), ==, EV_WRITE);
186 tt_int_op(bufferevent_get_enabled(bev2), ==, EV_WRITE|EV_READ);
193 tt_int_op(bufferevent_flush(bev1, EV_WRITE, flush), >=, 0);
436 tt_int_op(low, ==, 0);
438 tt_int_op(low, ==, 0);
447 tt_int_op(low, ==, 10);
448 tt_int_op(high, ==, 20);
455 tt_int_op(low, ==, 100);
456 tt_int_op(high, ==, 2000);
460 tt_int_op(
[all...]
H A Dregress_http.c546 tt_int_op(test_ok, ==, 3);
567 tt_int_op(test_ok, ==, 2);
589 tt_int_op(test_ok, ==, 2);
762 tt_int_op(test_ok, ==, 2);
849 tt_int_op(test_ok, ==, 2);
930 tt_int_op(test_ok, ==, 4);
1357 tt_int_op(evhttp_request_get_response_code(req), !=, HTTP_OK);
1423 tt_int_op(evhttp_make_request(evcon[i], req, EVHTTP_REQ_GET, "/delay"), !=, -1);
1537 tt_int_op(evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/delay"),
1549 tt_int_op(test_o
[all...]
H A Dregress_ssl.c307 tt_int_op(event_pending(&bev->ev_read, EVLIST_ALL, NULL), ==, 0);
308 tt_int_op(event_pending(&bev->ev_write, EVLIST_ALL, NULL), ==, 0);
540 tt_int_op(got_close, ==, 1);
541 tt_int_op(got_error, ==, 0);
543 tt_int_op(got_error, ==, 1);
545 tt_int_op(got_timeout, ==, 0);
562 tt_int_op(got_close, ==, 0);
563 tt_int_op(got_error, ==, 0);
564 tt_int_op(got_timeout, ==, 1);
775 tt_int_op(((struc
[all...]
H A Dregress_thread.c227 tt_int_op(notification_fd_used, ==, 0);
249 tt_int_op(count, ==, NUM_THREADS * NUM_ITERATIONS);
340 tt_int_op(event_add(&wake_one, &tv_signal), ==, 0);
341 tt_int_op(event_add(&wake_all, &tv_broadcast), ==, 0);
353 tt_int_op(n_timed_out, >=, 1);
354 tt_int_op(n_timed_out, <=, 2);
388 tt_int_op(n_broadcast + n_signal + n_timed_out, ==, NUM_THREADS);
389 tt_int_op(n_signal, ==, 1);
H A Dregress.h125 tt_int_op(labs(timeval_msec_diff((tv1), (tv2)) - diff), <=, tolerance)
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/
H A Dregress_et.c99 tt_int_op(send(pair[0], test, (int)strlen(test)+1, 0), >, 0);
100 tt_int_op(shutdown(pair[0], EVUTIL_SHUT_WR), ==, 0);
110 tt_int_op(event_add(ev, NULL), ==, 0);
119 tt_int_op(event_base_loop(base,EVLOOP_NONBLOCK|EVLOOP_ONCE), ==, 0);
120 tt_int_op(event_base_loop(base,EVLOOP_NONBLOCK|EVLOOP_ONCE), ==, 0);
123 tt_int_op(called, ==, 1);
126 tt_int_op(called, ==, 2);
161 tt_int_op(0, ==, event_add(ev_et, NULL));
162 tt_int_op(-1, ==, event_add(ev_lt, NULL));
163 tt_int_op(EV_REA
[all...]
H A Dregress_util.c362 tt_int_op(r,==,0);
371 tt_int_op(r,==,0);
458 tt_int_op(r, ==, 6);
462 tt_int_op(r, ==, 18);
466 tt_int_op(r, ==, 12);
470 tt_int_op(r, ==, 13);
475 tt_int_op(r, ==, 10);
484 tt_int_op(evutil_ascii_strcasecmp("ABC", "ABC"), ==, 0);
485 tt_int_op(evutil_ascii_strcasecmp("ABC", "abc"), ==, 0);
486 tt_int_op(evutil_ascii_strcasecm
[all...]
H A Dregress_finalize.c96 tt_int_op(cb_called, ==, 100);
97 tt_int_op(ev_called, ==, 100);
111 tt_int_op(cb_called, ==, 1);
112 tt_int_op(ev_called, ==, 1);
125 tt_int_op(cb_called, ==, 100);
126 tt_int_op(ev_called, ==, 100);
139 tt_int_op(ev_called, ==, 100);
156 tt_int_op(ev_called, ==, 200);
217 tt_int_op(ev_called, ==, 100);
218 tt_int_op(ev2_calle
[all...]
H A Dregress_buffer.c267 tt_int_op(r, ==, 1);
278 tt_int_op(evbuffer_commit_space(evb, v, 1), ==, 0);
357 tt_int_op(evbuffer_get_length(src), ==, 9);
358 tt_int_op(evbuffer_get_length(dst), ==, 9);
371 tt_int_op(evbuffer_get_length(src), ==, 1);
372 tt_int_op(evbuffer_get_length(dst), ==, 17);
404 tt_int_op(evbuffer_get_length(src), ==, 6);
405 tt_int_op(evbuffer_get_length(dst), ==, 6);
418 tt_int_op(evbuffer_get_length(src), ==, 1);
419 tt_int_op(evbuffer_get_lengt
[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);
517 tt_int_op(event_base_loop(base, EVLOOP_NONBLOCK), ==, !persist);
518 tt_int_op(got_event, ==, (events & ~EV_PERSIST));
686 tt_int_op(count, ==, 1);
748 tt_int_op(res.n, ==, 3);
749 tt_int_op(res.events[0], ==, EV_READ);
750 tt_int_op(res.events[1], ==, EV_TIMEOUT);
751 tt_int_op(re
[all...]
H A Dregress_dns.c166 tt_int_op(dns_ok, ==, DNS_IPv4_A);
183 tt_int_op(dns_ok, ==, DNS_IPv6_AAAA);
198 tt_int_op(dns_ok, ==, DNS_PTR);
223 tt_int_op(dns_ok, ==, DNS_PTR);
419 tt_int_op(evdns_base_count_nameservers(base), ==, 1);
427 tt_int_op(slen2, ==, slen);
428 tt_int_op(ss2.ss_family, ==, 0);
430 tt_int_op(slen2, ==, slen);
434 tt_int_op(-1, ==, slen2);
582 tt_int_op(
[all...]
H A Dregress_listener.c111 tt_int_op(ss1.ss_family, ==, AF_INET);
112 tt_int_op(ss2.ss_family, ==, AF_INET);
116 tt_int_op(ntohl(sin1->sin_addr.s_addr), ==, 0x7f000001);
117 tt_int_op(ntohl(sin2->sin_addr.s_addr), ==, 0x7f000001);
118 tt_int_op(sin1->sin_port, !=, sin2->sin_port);
133 tt_int_op(count1, ==, 0);
134 tt_int_op(count2, ==, 0);
171 tt_int_op(send(data->pair[1], "hello", 5, 0), >, 0);
184 tt_int_op(count,==,1000); /* set by error cb */
267 tt_int_op(coun
[all...]
H A Dregress_iocp.c190 tt_int_op(count_wait_for(8, 2000), ==, 0);
194 tt_int_op(o1.call_count, ==, 4);
195 tt_int_op(o2.call_count, ==, 4);
276 tt_int_op(evbuffer_get_length(buf), ==, sizeof(junk));
278 tt_int_op(chain->flags & EVBUFFER_MEM_PINNED_ANY, ==, 0);
282 tt_int_op(count_wait_for(2, 2000), ==, 0);
284 tt_int_op(evbuffer_get_length(rbuf),==,512);
334 tt_int_op(got_readcb, ==, 1);
H A Dregress_bufferevent.c183 tt_int_op(bufferevent_get_enabled(bev1), ==, EV_WRITE);
184 tt_int_op(bufferevent_get_enabled(bev2), ==, EV_WRITE|EV_READ);
191 tt_int_op(bufferevent_flush(bev1, EV_WRITE, flush), >=, 0);
434 tt_int_op(low, ==, 0);
436 tt_int_op(low, ==, 0);
445 tt_int_op(low, ==, 10);
446 tt_int_op(high, ==, 20);
453 tt_int_op(low, ==, 100);
454 tt_int_op(high, ==, 2000);
458 tt_int_op(
[all...]
H A Dregress_http.c543 tt_int_op(test_ok, ==, 3);
564 tt_int_op(test_ok, ==, 2);
586 tt_int_op(test_ok, ==, 2);
759 tt_int_op(test_ok, ==, 2);
846 tt_int_op(test_ok, ==, 2);
927 tt_int_op(test_ok, ==, 4);
1354 tt_int_op(evhttp_request_get_response_code(req), !=, HTTP_OK);
1420 tt_int_op(evhttp_make_request(evcon[i], req, EVHTTP_REQ_GET, "/delay"), !=, -1);
1534 tt_int_op(evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/delay"),
1546 tt_int_op(test_o
[all...]
H A Dregress_ssl.c306 tt_int_op(event_pending(&bev->ev_read, EVLIST_ALL, NULL), ==, 0);
307 tt_int_op(event_pending(&bev->ev_write, EVLIST_ALL, NULL), ==, 0);
540 tt_int_op(got_close, ==, 1);
541 tt_int_op(got_error, ==, 0);
543 tt_int_op(got_error, ==, 1);
545 tt_int_op(got_timeout, ==, 0);
562 tt_int_op(got_close, ==, 0);
563 tt_int_op(got_error, ==, 0);
564 tt_int_op(got_timeout, ==, 1);
775 tt_int_op(((struc
[all...]
H A Dregress_thread.c223 tt_int_op(notification_fd_used, ==, 0);
245 tt_int_op(count, ==, NUM_THREADS * NUM_ITERATIONS);
335 tt_int_op(event_add(&wake_one, &tv_signal), ==, 0);
336 tt_int_op(event_add(&wake_all, &tv_broadcast), ==, 0);
348 tt_int_op(n_timed_out, >=, 1);
349 tt_int_op(n_timed_out, <=, 2);
383 tt_int_op(n_broadcast + n_signal + n_timed_out, ==, NUM_THREADS);
384 tt_int_op(n_signal, ==, 1);

Completed in 413 milliseconds

12