Home
last modified time | relevance | path

Searched refs:options (Results 1 – 20 of 20) sorted by relevance

/libevent-2.1.12/
H A Dcheckpatch.sh82 options[patch]=0
83 options[file]=0
84 options[file_diff]=0
85 options[ref]=1
86 options[clang]=1
87 options[uncrustify]=0
88 options[cfg]=
95 options[ref]=0
101 options[ref]=0
137 options[cfg]="$(cfg)"
[all …]
H A Dbufferevent-internal.h200 enum bufferevent_options options; member
325 …_private *, struct event_base *, const struct bufferevent_ops *, enum bufferevent_options options);
387 void bufferevent_run_readcb_(struct bufferevent *bufev, int options);
391 void bufferevent_run_writecb_(struct bufferevent *bufev, int options);
396 void bufferevent_run_eventcb_(struct bufferevent *bufev, short what, int options);
402 static inline void bufferevent_trigger_nolock_(struct bufferevent *bufev, short iotype, int options…
407 bufferevent_trigger_nolock_(struct bufferevent *bufev, short iotype, int options) in bufferevent_trigger_nolock_() argument
409 if ((iotype & EV_READ) && ((options & BEV_TRIG_IGNORE_WATERMARKS) || in bufferevent_trigger_nolock_()
411 bufferevent_run_readcb_(bufev, options); in bufferevent_trigger_nolock_()
412 if ((iotype & EV_WRITE) && ((options & BEV_TRIG_IGNORE_WATERMARKS) || in bufferevent_trigger_nolock_()
[all …]
H A Dbufferevent.c241 bufferevent_run_readcb_(struct bufferevent *bufev, int options) in bufferevent_run_readcb_() argument
247 if ((p->options|options) & BEV_OPT_DEFER_CALLBACKS) { in bufferevent_run_readcb_()
263 if ((p->options|options) & BEV_OPT_DEFER_CALLBACKS) { in bufferevent_run_writecb_()
291 if ((p->options|options) & BEV_OPT_DEFER_CALLBACKS) { in bufferevent_run_eventcb_()
312 enum bufferevent_options options) in bufferevent_init_common_() argument
346 if (options & BEV_OPT_THREADSAFE) { in bufferevent_init_common_()
356 if (options & BEV_OPT_UNLOCK_CALLBACKS) in bufferevent_init_common_()
369 bufev_private->options = options; in bufferevent_init_common_()
898 enum bufferevent_options options; in bufferevent_get_options_() local
901 options = bev_p->options; in bufferevent_get_options_()
[all …]
H A Dbufferevent_pair.c94 int options) in bufferevent_pair_elt_new() argument
100 options)) { in bufferevent_pair_elt_new()
115 bufferevent_pair_new(struct event_base *base, int options, in bufferevent_pair_new() argument
121 options |= BEV_OPT_DEFER_CALLBACKS; in bufferevent_pair_new()
122 tmp_options = options & ~BEV_OPT_THREADSAFE; in bufferevent_pair_new()
124 bufev1 = bufferevent_pair_elt_new(base, options); in bufferevent_pair_new()
133 if (options & BEV_OPT_THREADSAFE) { in bufferevent_pair_new()
H A Dbufferevent_async.c105 be_async_run_eventcb(struct bufferevent *bev, short what, int options) in be_async_run_eventcb() argument
106 { bufferevent_run_eventcb_(bev, what, options|BEV_TRIG_DEFER_CALLBACKS); } in be_async_run_eventcb()
109 be_async_trigger_nolock(struct bufferevent *bev, short what, int options) in be_async_trigger_nolock() argument
110 { bufferevent_trigger_nolock_(bev, what, options|BEV_TRIG_DEFER_CALLBACKS); } in be_async_trigger_nolock()
407 (bev_p->options & BEV_OPT_CLOSE_ON_FREE)) { in be_async_destruct()
544 evutil_socket_t fd, int options) in bufferevent_async_new_() argument
550 options |= BEV_OPT_THREADSAFE; in bufferevent_async_new_()
575 options)<0) in bufferevent_async_new_()
693 (bev_a->bev.options & BEV_OPT_CLOSE_ON_FREE)) { in be_async_ctrl()
H A Dbufferevent_openssl.c1205 if (bev_ssl->bev.options & BEV_OPT_CLOSE_ON_FREE) { in be_openssl_unlink()
1348 int options) in bufferevent_openssl_new_impl() argument
1352 int tmp_options = options & ~BEV_OPT_THREADSAFE; in bufferevent_openssl_new_impl()
1377 if (options & BEV_OPT_THREADSAFE) in bufferevent_openssl_new_impl()
1404 if (options & BEV_OPT_CLOSE_ON_FREE) in bufferevent_openssl_new_impl()
1418 int options) in bufferevent_openssl_filter_new() argument
1431 base, underlying, -1, ssl, state, options); in bufferevent_openssl_filter_new()
1435 if (options & BEV_OPT_CLOSE_ON_FREE) in bufferevent_openssl_filter_new()
1445 int options) in bufferevent_openssl_socket_new() argument
1479 base, NULL, fd, ssl, state, options); in bufferevent_openssl_socket_new()
[all …]
H A DDoxyfile14 # Project related configuration options
58 # configuration options related to the input files
87 # configuration options related to the HTML output
96 # configuration options related to the LaTeX output
172 # configuration options related to the man page output
194 # Configuration options related to the preprocessor
H A Dbufferevent_filter.c173 int options, in bufferevent_filter_new() argument
178 int tmp_options = options & ~BEV_OPT_THREADSAFE; in bufferevent_filter_new()
197 if (options & BEV_OPT_THREADSAFE) { in bufferevent_filter_new()
234 if (bevf->bev.options & BEV_OPT_CLOSE_ON_FREE) { in be_filter_unlink()
H A Dbufferevent_sock.c345 int options) in bufferevent_socket_new() argument
352 return bufferevent_async_new_(base, fd, options); in bufferevent_socket_new()
359 options) < 0) { in bufferevent_socket_new()
604 if ((bufev_p->options & BEV_OPT_CLOSE_ON_FREE) && fd >= 0) in be_socket_destruct()
H A Diocp-internal.h203 evutil_socket_t fd, int options);
H A DChangeLog31 o evdns: Add additional validation for values of dns options (c2972453 ayuseleznev)
102 o evdns: add new options -- so-rcvbuf/so-sndbuf (546a366c Azat Khuzhin)
736 …fferent compiler flags. Add a batch file that builds it for the M[DT][d] options and performs a hu…
892 o Minor optimizations on bufferevent_trigger options (a3172a4)
919 o Added some GCC specific options. (19222e5 Joakim Soderberg)
H A DChangeLog-2.0378 o Add configure options to disable installation, regression tests (49e9bb7 Dave Hart)
686 o Add options to test-ratelim.c to check its results (2b44dcc)
931 o Fix the code that allowed DNS options to not end with : (ee4953f)
1126 …pported_methods() now lists methods that have been disabled with the EVENT_NO* environment options.
H A DCMakeLists.txt264 # GNUC specific options.
/libevent-2.1.12/WIN32-Code/
H A Dgetopt_long.c160 getopt_long(nargc, nargv, options, long_options, index) in getopt_long() argument
163 const char * options;
170 _DIAGASSERT(options != NULL);
174 if ((retval = getopt_internal(nargc, nargv, options)) == -2) {
213 if ((opterr) && (*options != ':'))
220 if ((opterr) && (*options != ':'))
/libevent-2.1.12/include/event2/
H A Dbufferevent.h190 struct bufferevent *bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, int options…
650 int options);
663 int options);
725 int options,
741 int bufferevent_pair_new(struct event_base *base, int options,
H A Dbufferevent_ssl.h73 int options);
91 int options);
/libevent-2.1.12/sample/
H A Dhttp-server.c102 struct options { struct
185 struct options *o = arg; in send_document_cb()
358 static struct options
361 struct options o; in parse_opts()
454 struct options o = parse_opts(argc, argv); in main()
H A Ddns-example.c154 struct options { in main() struct
161 struct options o; in main()
/libevent-2.1.12/test/
H A Dtest-ratelim.c561 } options[] = { variable
647 for (j = 0; options[j].name; ++j) { in main()
648 if (!strcmp(argv[i],options[j].name)) { in main()
649 if (handle_option(argc,argv,&i,&options[j])<0) in main()
H A Dregress_bufferevent.c1313 int options = BEV_OPT_CLOSE_ON_FREE | BEV_OPT_DEFER_CALLBACKS; in test_bufferevent_filter_data_stuck() local
1321 tt_assert(bufferevent_pair_new(data->base, options, pair) == 0); in test_bufferevent_filter_data_stuck()
1331 options, in test_bufferevent_filter_data_stuck()