Home
last modified time | relevance | path

Searched refs:val (Results 1 – 15 of 15) sorted by relevance

/libevent-2.1.12/
H A Dopenssl-compat.h28 #define BIO_set_init(b, val) (b)->init = (val) argument
29 #define BIO_set_data(b, val) (b)->ptr = (val) argument
30 #define BIO_set_shutdown(b, val) (b)->shutdown = (val) argument
H A Darc4random.c432 unsigned int val; in arc4_getword() local
434 val = arc4_getbyte() << 24; in arc4_getword()
436 val |= arc4_getbyte() << 8; in arc4_getword()
437 val |= arc4_getbyte(); in arc4_getword()
439 return val; in arc4_getword()
446 int val; in arc4random_stir() local
448 val = arc4_stir(); in arc4random_stir()
450 return val; in arc4random_stir()
477 ARC4RANDOM_UINT32 val; in arc4random() local
481 val = arc4_getword(); in arc4random()
[all …]
H A Devutil_rand.c171 int val; in evutil_secure_rng_init() local
174 val = (!arc4_stir()) ? 0 : -1; in evutil_secure_rng_init()
176 return val; in evutil_secure_rng_init()
H A Devdns.c3459 const char *option, const char *val) in evdns_base_set_option() argument
3490 const int ndots = strtoint(val); in evdns_base_set_option_impl()
3508 val); in evdns_base_set_option_impl()
3526 int retries = strtoint(val); in evdns_base_set_option_impl()
3533 int randcase = strtoint(val); in evdns_base_set_option_impl()
3542 if (evutil_parse_sockaddr_port(val, in evdns_base_set_option_impl()
3553 val); in evdns_base_set_option_impl()
3557 int buf = strtoint(val); in evdns_base_set_option_impl()
3563 int buf = strtoint(val); in evdns_base_set_option_impl()
3613 const char *val = strchr(option, ':'); in resolv_conf_parse_line() local
[all …]
H A Dht-internal.h107 #define HT_SET_HASHVAL_(elm, field, val) \ argument
108 do { (elm)->field.hte_hash = (val); } while (0)
116 #define HT_SET_HASHVAL_(elm, field, val) \ argument
H A Dbufferevent_openssl.c91 print_err(int val)
94 printf("Error was %d\n", val);
/libevent-2.1.12/test/
H A Dtest-ratelim.c583 long val; in handle_option() local
593 val = strtol(argv[*i+1], &endptr, 10); in handle_option()
599 if (val < opt->min || val > 0x7fffffff) { in handle_option()
604 *opt->ptr = (int)val; in handle_option()
H A Dtinytest.c595 const unsigned char *val = val_; local
599 if (!val)
605 *cp++ = "0123456789ABCDEF"[val[i] >> 4];
606 *cp++ = "0123456789ABCDEF"[val[i] & 0x0f];
H A Dregress_http.c853 ev_uintptr_t val = (ev_uintptr_t)arg; in http_sent_cb() local
856 if (val != 0xDEADBEEF) { in http_sent_cb()
/libevent-2.1.12/WIN32-Code/
H A Dgetopt_long.c226 *long_options[match].flag = long_options[match].val;
229 retval = long_options[match].val;
H A Dgetopt.h19 int val; member
H A Dtree.h147 name##_SPLAY_MIN_MAX(struct name *head, int val) \
149 name##_SPLAY_MINMAX(head, val); \
648 name##_RB_MINMAX(struct name *head, int val) \
654 if (val < 0) \
/libevent-2.1.12/cmake/
H A DAddEventLibrary.cmake96 "VERSION" # One val
97 "SOURCES;LIBRARIES;INNER_LIBRARIES;OUTER_INCLUDES" # Multi val
/libevent-2.1.12/include/event2/
H A Ddns_compat.h268 int evdns_set_option(const char *option, const char *val, int flags);
H A Ddns.h470 int evdns_base_set_option(struct evdns_base *base, const char *option, const char *val);