Home
last modified time | relevance | path

Searched refs:timeout_cb (Results 1 – 8 of 8) sorted by relevance

/external/libevent/sample/
Dtime-test.c43 timeout_cb(evutil_socket_t fd, short event, void *arg) in timeout_cb() function
95 event_assign(&timeout, base, -1, flags, timeout_cb, (void*) &timeout); in main()
/external/libcups/cups/
Dhttp.c1214 if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) in httpGets()
1243 if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) in httpGets()
1261 if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) in httpGets()
1263 else if (!http->timeout_cb && errno == EAGAIN) in httpGets()
1745 if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) in httpPeek()
2746 http->timeout_cb = cb; in httpSetTimeout()
4131 if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) in http_read()
4160 if (!http->timeout_cb || in http_read()
4161 !(*http->timeout_cb)(http, http->timeout_data)) in http_read()
4172 if (http->timeout_cb && !(*http->timeout_cb)(http, http->timeout_data)) in http_read()
[all …]
Dtls-boringssl.c248 if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) in http_bio_read()
Dhttp-private.h342 http_timeout_cb_t timeout_cb; /* Timeout callback */ member
Dtls-gnutls.c1104 if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) in http_gnutls_read()
1595 old_cb = http->timeout_cb; in _httpTLSStart()
Dtls-darwin.c1553 old_cb = http->timeout_cb; in _httpTLSStart()
2133 if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) in http_cdsa_read()
/external/libevent/test/
Dtest-changelist.c154 timeout_cb(evutil_socket_t fd, short event, void *arg) in timeout_cb() function
190 timeout = evtimer_new(base,timeout_cb,&timeout); in main()
Dregress.c234 timeout_cb(evutil_socket_t fd, short event, void *arg) in timeout_cb() function
575 evtimer_set(&ev, timeout_cb, NULL); in test_simpletimeout()
1960 evtimer_set(&ev, timeout_cb, NULL); in test_loopexit()
2802 t = evtimer_new(data->base, timeout_cb, NULL); in test_event_pending()
3120 if (event_get_callback(ev) != timeout_cb) in foreach_count_cb()
3136 if (event_get_callback(ev) != timeout_cb) in foreach_find_cb()
3159 ev[i] = event_new(base, -1, 0, timeout_cb, &visited[i]); in test_event_foreach()