/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/test/ |
H A D | regress_et.c | 107 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); 181 tt_int_op(0, ==, event_add(ev_et, NULL)); 182 tt_int_op(-1, ==, event_add(ev_lt, NULL)); 183 tt_int_op(EV_READ, ==, event_pending(ev_et, EV_READ, NULL)); 184 tt_int_op(0, ==, event_pending(ev_lt, EV_READ, NULL)); 186 tt_int_op(0, ==, event_del(ev_et)); 188 tt_int_op(0, ==, event_add(ev_lt, NULL)); 189 tt_int_op( [all...] |
H A D | regress_listener.c | 99 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 D | regress_util.c | 294 tt_int_op(r,==,0); 303 tt_int_op(r,==,0); 390 tt_int_op(r, ==, 6); 394 tt_int_op(r, ==, 18); 398 tt_int_op(r, ==, 12); 402 tt_int_op(r, ==, 13); 407 tt_int_op(r, ==, 10); 416 tt_int_op(evutil_ascii_strcasecmp("ABC", "ABC"), ==, 0); 417 tt_int_op(evutil_ascii_strcasecmp("ABC", "abc"), ==, 0); 418 tt_int_op(evutil_ascii_strcasecm [all...] |
H A D | regress_buffer.c | 261 tt_int_op(r, ==, 1); 272 tt_int_op(evbuffer_commit_space(evb, v, 1), ==, 0); 336 tt_int_op(n, ==, 1); 337 tt_int_op(evbuffer_get_length(buf), ==, 0); 339 tt_int_op(v[0].iov_len, >=, 1024); 345 tt_int_op(0, ==, evbuffer_commit_space(buf, v, 1)); 346 tt_int_op(evbuffer_get_length(buf), ==, 512); 352 tt_int_op(n, ==, 1); 354 tt_int_op(remaining, ==, v[0].iov_len); 357 tt_int_op( [all...] |
H A D | regress_dns.c | 156 tt_int_op(dns_ok, ==, DNS_IPv4_A); 173 tt_int_op(dns_ok, ==, DNS_IPv6_AAAA); 188 tt_int_op(dns_ok, ==, DNS_PTR); 213 tt_int_op(dns_ok, ==, DNS_PTR); 409 tt_int_op(evdns_base_count_nameservers(base), ==, 1); 543 tt_int_op(r[0].type, ==, DNS_IPv4_A); 544 tt_int_op(r[0].count, ==, 1); 545 tt_int_op(((ev_uint32_t*)r[0].addrs)[0], ==, htonl(0x0b16212c)); 546 tt_int_op(r[1].type, ==, DNS_IPv4_A); 547 tt_int_op( [all...] |
H A D | regress.c | 465 tt_int_op(got_read_on_close, ==, EV_READ); 466 tt_int_op(got_write_on_close, ==, EV_WRITE); 467 tt_int_op(premature_event, ==, 0); 649 tt_int_op(count, ==, 1); 711 tt_int_op(res.n, ==, 3); 712 tt_int_op(res.events[0], ==, EV_READ); 713 tt_int_op(res.events[1], ==, EV_TIMEOUT); 714 tt_int_op(res.events[2], ==, EV_TIMEOUT); 760 tt_int_op(ms_100->tv_sec, ==, 0); 761 tt_int_op(ms_20 [all...] |
H A D | regress_iocp.c | 188 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 D | regress_thread.c | 236 tt_int_op(notification_fd_used, ==, 0); 258 tt_int_op(count, ==, NUM_THREADS * NUM_ITERATIONS); 348 tt_int_op(event_add(&wake_one, &tv_signal), ==, 0); 349 tt_int_op(event_add(&wake_all, &tv_broadcast), ==, 0); 361 tt_int_op(n_timed_out, >=, 1); 362 tt_int_op(n_timed_out, <=, 2); 396 tt_int_op(n_broadcast + n_signal + n_timed_out, ==, NUM_THREADS); 397 tt_int_op(n_signal, ==, 1);
|
H A D | regress.h | 114 tt_int_op(abs(timeval_msec_diff((tv1), (tv2)) - diff), <=, tolerance)
|
H A D | regress_http.c | 616 tt_int_op(test_ok, ==, 2); 698 tt_int_op(test_ok, ==, 2); 1071 tt_int_op(evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/delay"), 1082 tt_int_op(test_ok, ==, 2); 1093 tt_int_op(evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test"), 1107 tt_int_op(evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test"), 1310 tt_int_op(test_ok, ==, 2); 1491 tt_int_op(test_ok, ==, 1); 1511 tt_int_op(test_ok, ==, 1); 1633 tt_int_op(test_o [all...] |
H A D | regress_bufferevent.c | 136 tt_int_op(bufferevent_getfd(bev1), ==, -1); 143 tt_int_op(bufferevent_getfd(bev1), ==, pair[0]); 152 tt_int_op(bufferevent_get_enabled(bev1), ==, EV_WRITE); 153 tt_int_op(bufferevent_get_enabled(bev2), ==, EV_WRITE|EV_READ); 265 tt_int_op(test_ok, ==, 2); 370 tt_int_op(bufferevent_getfd(bev1), ==, -1); 371 tt_int_op(bufferevent_getfd(bev2), ==, -1); 537 tt_int_op(n_strings_read, ==, 2); 538 tt_int_op(n_reads_invoked, >=, 2); 625 tt_int_op(test_o [all...] |
H A D | regress_ssl.c | 309 tt_int_op(bufferevent_getfd(bev1), ==, data->pair[0]); 340 tt_int_op(got_close, ==, 1); 341 tt_int_op(got_error, ==, 0); 415 tt_int_op(((struct sockaddr*)&ss)->sa_family, ==, AF_INET); 416 tt_int_op(((struct sockaddr*)&ss)->sa_family, ==, AF_INET);
|
H A D | regress_zlib.c | 297 tt_int_op(r, ==, Z_OK); 300 tt_int_op(r, ==, Z_OK);
|
H A D | tinytest_macros.h | 153 #define tt_int_op(a,op,b) \ macro
|
H A D | regress_rpc.c | 660 tt_int_op(test_ok, ==, 1); 661 tt_int_op(hook_pause_cb_called, ==, 4); 854 tt_int_op(EVTAG_ARRAY_LEN(attack, how_often), ==, 3);
|