Home
last modified time | relevance | path

Searched refs:TAILQ_FIRST (Results 1 – 25 of 25) sorted by relevance

/external/chromium/third_party/libevent/
Devrpc.c87 while ((rpc = TAILQ_FIRST(&base->registered_rpcs)) != NULL) { in evrpc_free()
90 while ((hook = TAILQ_FIRST(&base->input_hooks)) != NULL) { in evrpc_free()
93 while ((hook = TAILQ_FIRST(&base->output_hooks)) != NULL) { in evrpc_free()
415 while ((request = TAILQ_FIRST(&pool->requests)) != NULL) { in evrpc_pool_free()
421 while ((connection = TAILQ_FIRST(&pool->connections)) != NULL) { in evrpc_pool_free()
426 while ((hook = TAILQ_FIRST(&pool->input_hooks)) != NULL) { in evrpc_pool_free()
430 while ((hook = TAILQ_FIRST(&pool->output_hooks)) != NULL) { in evrpc_pool_free()
466 if (TAILQ_FIRST(&pool->requests) != NULL) { in evrpc_pool_add_connection()
468 TAILQ_FIRST(&pool->requests); in evrpc_pool_add_connection()
497 if (TAILQ_FIRST(&connection->requests) == NULL) in evrpc_pool_find_connection()
[all …]
Devent-internal.h75 #define TAILQ_FIRST(head) ((head)->tqh_first) macro
79 for((var) = TAILQ_FIRST(head); \
Dhttp.c634 struct evhttp_request* req = TAILQ_FIRST(&evcon->requests); in evhttp_connection_fail()
666 if (TAILQ_FIRST(&evcon->requests) != NULL) in evhttp_connection_fail()
719 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); in evhttp_connection_done()
738 if (TAILQ_FIRST(&evcon->requests) != NULL) { in evhttp_connection_done()
913 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); in evhttp_read()
967 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); in evhttp_write_connectioncb()
994 while ((req = TAILQ_FIRST(&evcon->requests)) != NULL) { in evhttp_connection_free()
1050 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); in evhttp_request_dispatch()
1185 while (TAILQ_FIRST(&evcon->requests) != NULL) { in evhttp_connectioncb()
1186 struct evhttp_request *request = TAILQ_FIRST(&evcon->requests); in evhttp_connectioncb()
[all …]
Devent.c220 for (ev = TAILQ_FIRST(&base->eventqueue); ev; ) { in event_base_free()
234 for (ev = TAILQ_FIRST(base->activequeues[i]); ev; ) { in event_base_free()
365 if (TAILQ_FIRST(base->activequeues[i]) != NULL) { in event_process_active()
373 for (ev = TAILQ_FIRST(activeq); ev; ev = TAILQ_FIRST(activeq)) { in event_process_active()
Dsignal.c325 for (ev = TAILQ_FIRST(&sig->evsigevents[i]); in evsignal_process()
/external/ipsec-tools/src/include-glibc/sys/
Dqueue.h340 #define TAILQ_FIRST(head) ((head)->tqh_first) macro
343 for ((var) = TAILQ_FIRST((head)); \
353 TAILQ_FIRST((head)) = NULL; \
354 (head)->tqh_last = &TAILQ_FIRST((head)); \
375 if ((TAILQ_NEXT((elm), field) = TAILQ_FIRST((head))) != NULL) \
376 TAILQ_FIRST((head))->field.tqe_prev = \
380 TAILQ_FIRST((head)) = (elm); \
381 (elm)->field.tqe_prev = &TAILQ_FIRST((head)); \
/external/ipsec-tools/src/racoon/
Dschedule.c58 for (elm = TAILQ_FIRST(head); elm; elm = TAILQ_NEXT(elm, field))
88 for (p = TAILQ_FIRST(&sctree); p; p = next) { in schedular()
110 p = TAILQ_FIRST(&sctree); in schedular()
255 p = TAILQ_FIRST(&sctree);
Dpolicy.c74 for (p = TAILQ_FIRST(&sptree); p; p = TAILQ_NEXT(p, chain)) {
95 for (p = TAILQ_FIRST(&sptree); p; p = TAILQ_NEXT(p, chain)) {
154 for (p = TAILQ_FIRST(&sptree); p; p = TAILQ_NEXT(p, chain)) {
169 for (p = TAILQ_FIRST(&sptree); p; p = TAILQ_NEXT(p, chain)) {
412 for (p = TAILQ_FIRST(&sptree); p; p = next) { in flushsp()
Devt.c129 if ((evt = TAILQ_FIRST(&evtlist)) == NULL) in evt_pop()
Dgenlist.c87 p = TAILQ_FIRST(head); in genlist_next()
Dnattraversal.c340 for (ka = TAILQ_FIRST(&ka_tree); ka; ka = next) { in natt_keepalive_send()
434 for (ka = TAILQ_FIRST(&ka_tree); ka; ka = next) { in natt_keepalive_remove()
Dremoteconf.c386 for (p = TAILQ_FIRST(&rmtree); p; p = next) { in flushrmconf()
Disakmp_agg.c514 while ((natd = TAILQ_FIRST(&natd_tree)) != NULL) {
/external/openssh/openbsd-compat/
Dsys-queue.h89 #undef TAILQ_FIRST
409 #define TAILQ_FIRST(head) ((head)->tqh_first) macro
418 (TAILQ_FIRST(head) == TAILQ_END(head))
421 for((var) = TAILQ_FIRST(head); \
/external/chromium/third_party/libevent/compat/sys/
Dqueue.h293 #define TAILQ_FIRST(head) ((head)->tqh_first) macro
302 (TAILQ_FIRST(head) == TAILQ_END(head))
305 for((var) = TAILQ_FIRST(head); \
/external/openssh/
Dsshconnect2.c1414 for (id = TAILQ_FIRST(&agent); id; id = TAILQ_FIRST(&agent)) { in pubkey_prepare()
1421 for (id = TAILQ_FIRST(&files); id; id = TAILQ_FIRST(&files)) { in pubkey_prepare()
1437 for (id = TAILQ_FIRST(&authctxt->keys); id; in pubkey_cleanup()
1438 id = TAILQ_FIRST(&authctxt->keys)) { in pubkey_cleanup()
1454 while ((id = TAILQ_FIRST(&authctxt->keys))) { in userauth_pubkey()
Dssh-agent.c418 for (id = TAILQ_FIRST(&tab->idlist); id; in process_remove_all_identities()
419 id = TAILQ_FIRST(&tab->idlist)) { in process_remove_all_identities()
443 for (id = TAILQ_FIRST(&tab->idlist); id; id = nxt) { in reaper()
775 for (id = TAILQ_FIRST(&tab->idlist); id; id = nxt) { in process_remove_smartcard_key()
Dssh-keyscan.c526 c = TAILQ_FIRST(&tq); in conloop()
559 c = TAILQ_FIRST(&tq); in conloop()
Dsftp-client.c1107 for (req = TAILQ_FIRST(&requests); in do_download()
1185 if (TAILQ_FIRST(&requests) != NULL) in do_download()
1448 } else if (TAILQ_FIRST(&acks) == NULL) in do_upload()
1471 for (ack = TAILQ_FIRST(&acks); in do_upload()
Dssh-pkcs11-helper.c78 for (ki = TAILQ_FIRST(&pkcs11_keylist); ki; ki = nxt) { in del_keys_by_name()
Dssh-pkcs11.c135 while ((p = TAILQ_FIRST(&pkcs11_providers)) != NULL) { in pkcs11_terminate()
Dclientloop.c528 if ((gc = TAILQ_FIRST(&global_confirms)) == NULL) in client_global_request_reply()
Dchannels.c414 while ((cc = TAILQ_FIRST(&c->status_confirms)) != NULL) { in channel_free()
2621 if ((cc = TAILQ_FIRST(&c->status_confirms)) == NULL)
Dpacket.c997 while ((p = TAILQ_FIRST(&active_state->outgoing))) { in packet_send2()
/external/chromium/third_party/libevent/test/
Dregress_http.c951 if (TAILQ_FIRST(&http->connections) != NULL) { in http_close_detection()