Home
last modified time | relevance | path

Searched refs:current_base (Results 1 – 5 of 5) sorted by relevance

/external/libevent/
Devdns.c380 static struct evdns_base *current_base = NULL; variable
385 return current_base; in evdns_get_global_base()
2408 return evdns_base_count_nameservers(current_base); in evdns_count_nameservers()
2480 return evdns_base_clear_nameservers_and_suspend(current_base); in evdns_clear_nameservers_and_suspend()
2498 return evdns_base_resume(current_base); in evdns_resume()
2618 if (!current_base) in evdns_nameserver_add()
2619 current_base = evdns_base_new(NULL, 0); in evdns_nameserver_add()
2620 return evdns_base_nameserver_add(current_base, address); in evdns_nameserver_add()
2670 if (!current_base) in evdns_nameserver_ip_add()
2671 current_base = evdns_base_new(NULL, 0); in evdns_nameserver_ip_add()
[all …]
Devent.c131 #define current_base event_global_current_base_ macro
442 base = current_base; in event_base_gettimeofday_cached()
443 if (!current_base) in event_base_gettimeofday_cached()
479 base = current_base; in event_base_update_cache_time()
480 if (!current_base) in event_base_update_cache_time()
514 current_base = base; in event_init()
847 if (base == NULL && current_base) in event_base_free_()
848 base = current_base; in event_base_free_()
943 if (base == current_base) in event_base_free_()
944 current_base = NULL; in event_base_free_()
[all …]
DChangeLog-1.4161 o provide event_base_new() that does not set the current_base global
DChangeLog-2.0849 o Rename current_base symbol to event_global_current_base_ (c16e684)
1134 o provide event_base_new() that does not set the current_base global
/external/libevent/test/
Dregress.c869 #define current_base event_global_current_base_ macro
870 extern struct event_base *current_base;
944 tt_assert(current_base); in test_fork()
945 evthread_make_base_notifiable(current_base); in test_fork()
961 event_base_assert_ok_(current_base); in test_fork()
966 event_base_assert_ok_(current_base); in test_fork()
967 if (event_reinit(current_base) == -1) { in test_fork()
972 event_base_assert_ok_(current_base); in test_fork()
986 event_base_free(current_base); in test_fork()