Home
last modified time | relevance | path

Searched refs:bev (Results 1 – 23 of 23) sorted by relevance

/external/libevent/
Dbufferevent_async.c79 struct bufferevent_private bev; member
92 evutil_offsetof(struct bufferevent_async, bev.bev),
102 upcast(struct bufferevent *bev) in upcast() argument
105 if (bev->be_ops != &bufferevent_ops_async) in upcast()
107 bev_a = EVUTIL_UPCAST(bev, struct bufferevent_async, bev.bev); in upcast()
116 EVUTIL_ASSERT(BEV_IS_ASYNC(&bev_a->bev.bev)); in upcast_connect()
125 EVUTIL_ASSERT(BEV_IS_ASYNC(&bev_a->bev.bev)); in upcast_read()
134 EVUTIL_ASSERT(BEV_IS_ASYNC(&bev_a->bev.bev)); in upcast_write()
141 struct bufferevent *bev = &beva->bev.bev; in bev_async_del_write() local
145 event_base_del_virtual(bev->ev_base); in bev_async_del_write()
[all …]
Dbufferevent_ratelim.c113 bufferevent_update_buckets(struct bufferevent_private *bev) in bufferevent_update_buckets() argument
118 event_base_gettimeofday_cached(bev->bev.ev_base, &now); in bufferevent_update_buckets()
119 tick = ev_token_bucket_get_tick(&now, bev->rate_limiting->cfg); in bufferevent_update_buckets()
120 if (tick != bev->rate_limiting->limit.last_updated) in bufferevent_update_buckets()
121 ev_token_bucket_update(&bev->rate_limiting->limit, in bufferevent_update_buckets()
122 bev->rate_limiting->cfg, tick); in bufferevent_update_buckets()
200 _bufferevent_get_rlim_max(struct bufferevent_private *bev, int is_write) in _bufferevent_get_rlim_max() argument
218 if (!bev->rate_limiting) in _bufferevent_get_rlim_max()
226 if (bev->rate_limiting->cfg) { in _bufferevent_get_rlim_max()
227 bufferevent_update_buckets(bev); in _bufferevent_get_rlim_max()
[all …]
Dbufferevent_openssl.c287 struct bufferevent_private bev; member
336 evutil_offsetof(struct bufferevent_openssl, bev.bev),
348 upcast(struct bufferevent *bev) in upcast() argument
351 if (bev->be_ops != &bufferevent_ops_openssl) in upcast()
353 bev_o = (void*)( ((char*)bev) - in upcast()
354 evutil_offsetof(struct bufferevent_openssl, bev.bev)); in upcast()
355 EVUTIL_ASSERT(bev_o->bev.bev.be_ops == &bufferevent_ops_openssl); in upcast()
383 struct bufferevent *bev = &bev_ssl->bev.bev; in start_reading() local
385 r = _bufferevent_add_event(&bev->ev_read, &bev->timeout_read); in start_reading()
387 r = _bufferevent_add_event(&bev->ev_write, in start_reading()
[all …]
Dbufferevent_filter.c75 struct bufferevent_private bev; member
97 evutil_offsetof(struct bufferevent_filtered, bev.bev),
109 upcast(struct bufferevent *bev) in upcast() argument
112 if (bev->be_ops != &bufferevent_ops_filter) in upcast()
114 bev_f = (void*)( ((char*)bev) - in upcast()
115 evutil_offsetof(struct bufferevent_filtered, bev.bev)); in upcast()
116 EVUTIL_ASSERT(bev_f->bev.bev.be_ops == &bufferevent_ops_filter); in upcast()
120 #define downcast(bev_f) (&(bev_f)->bev.bev)
183 if (bufferevent_init_common(&bufev_f->bev, underlying->ev_base, in bufferevent_filter_new()
215 be_filter_destruct(struct bufferevent *bev) in be_filter_destruct() argument
[all …]
Dbufferevent.c62 static void _bufferevent_cancel_all(struct bufferevent *bev);
69 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_suspend_read()
81 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_unsuspend_read()
93 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_suspend_write()
105 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_unsuspend_write()
136 struct bufferevent *bufev = &bufev_private->bev; in bufferevent_run_deferred_callbacks_locked()
169 struct bufferevent *bufev = &bufev_private->bev; in bufferevent_run_deferred_callbacks_unlocked()
212 bufferevent_incref(&(bevp)->bev); \
214 event_base_get_deferred_cb_queue((bevp)->bev.ev_base), \
224 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in _bufferevent_run_readcb()
[all …]
Dbufferevent_sock.c89 evutil_offsetof(struct bufferevent_private, bev),
108 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_socket_outbuf_cb()
127 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_readcb()
206 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_writecb()
336 bufev = &bufev_p->bev; in bufferevent_socket_new()
353 bufferevent_socket_connect(struct bufferevent *bev, in bufferevent_socket_connect() argument
357 EVUTIL_UPCAST(bev, struct bufferevent_private, bev); in bufferevent_socket_connect()
364 _bufferevent_incref_and_lock(bev); in bufferevent_socket_connect()
369 fd = bufferevent_getfd(bev); in bufferevent_socket_connect()
382 if (bufferevent_async_can_connect(bev)) { in bufferevent_socket_connect()
[all …]
Dbufferevent_pair.c46 struct bufferevent_private bev; member
54 upcast(struct bufferevent *bev) in upcast() argument
57 if (bev->be_ops != &bufferevent_ops_pair) in upcast()
59 bev_p = EVUTIL_UPCAST(bev, struct bufferevent_pair, bev.bev); in upcast()
60 EVUTIL_ASSERT(bev_p->bev.bev.be_ops == &bufferevent_ops_pair); in upcast()
64 #define downcast(bev_pair) (&(bev_pair)->bev.bev)
97 if (bufferevent_init_common(&bufev->bev, base, &bufferevent_ops_pair, in bufferevent_pair_elt_new()
102 if (!evbuffer_add_cb(bufev->bev.bev.output, be_pair_outbuf_cb, bufev)) { in bufferevent_pair_elt_new()
107 _bufferevent_init_generic_timeout_cbs(&bufev->bev.bev); in bufferevent_pair_elt_new()
133 bufferevent_enable_locking(downcast(bufev2), bufev1->bev.lock); in bufferevent_pair_new()
[all …]
Dbufferevent-internal.h139 struct bufferevent bev; member
344 void _bufferevent_init_generic_timeout_cbs(struct bufferevent *bev);
347 int _bufferevent_del_generic_timeout_cbs(struct bufferevent *bev);
352 int _bufferevent_generic_adj_timeouts(struct bufferevent *bev);
356 #define BEV_RESET_GENERIC_READ_TIMEOUT(bev) \ argument
358 if (evutil_timerisset(&(bev)->timeout_read)) \
359 event_add(&(bev)->ev_read, &(bev)->timeout_read); \
363 #define BEV_RESET_GENERIC_WRITE_TIMEOUT(bev) \ argument
365 if (evutil_timerisset(&(bev)->timeout_write)) \
366 event_add(&(bev)->ev_write, &(bev)->timeout_write); \
[all …]
Diocp-internal.h192 void bufferevent_async_set_connected(struct bufferevent *bev);
193 int bufferevent_async_can_connect(struct bufferevent *bev);
194 int bufferevent_async_connect(struct bufferevent *bev, evutil_socket_t fd,
Dratelim-internal.h87 int bufferevent_remove_from_rate_limit_group_internal(struct bufferevent *bev,
Devbuffer-internal.h285 void evbuffer_set_parent(struct evbuffer *buf, struct bufferevent *bev);
Dbuffer.c434 evbuffer_set_parent(struct evbuffer *buf, struct bufferevent *bev) in evbuffer_set_parent() argument
437 buf->parent = bev; in evbuffer_set_parent()
DChangeLog276 …o clear read watermark on underlying bufferevent when creating filtering bev to fix potentially fa…
298 o Fix bug in SSL bufferevents backed by a bev with a write high-watermarks (e050703 Joachim Bauch)
/external/libevent/include/event2/
Dbufferevent.h133 typedef void (*bufferevent_data_cb)(struct bufferevent *bev, void *ctx);
149 typedef void (*bufferevent_event_cb)(struct bufferevent *bev, short what, void *ctx);
245 int bufferevent_socket_get_dns_error(struct bufferevent *bev);
263 struct event_base *bufferevent_get_base(struct bufferevent *bev);
598 struct bufferevent *bufferevent_pair_get_partner(struct bufferevent *bev);
654 int bufferevent_set_rate_limit(struct bufferevent *bev,
721 int bufferevent_add_to_rate_limit_group(struct bufferevent *bev,
725 int bufferevent_remove_from_rate_limit_group(struct bufferevent *bev);
738 ev_ssize_t bufferevent_get_read_limit(struct bufferevent *bev);
739 ev_ssize_t bufferevent_get_write_limit(struct bufferevent *bev);
[all …]
Dbufferevent_ssl.h96 int bufferevent_ssl_renegotiate(struct bufferevent *bev);
99 unsigned long bufferevent_get_openssl_error(struct bufferevent *bev);
/external/syslinux/gpxe/src/util/
Dmergerom.pl84 merge_entry_points ( $baserom_pnp->{bev}, $rom_pnp->{bev}, $offset );
Ddisrom.pl79 printf " %-16s 0x%04x\n", "BEV:", $pnp->{bev};
/external/syslinux/gpxe/src/util/Option/
DROM.pm453 bev => { offset => 0x1a, length => 0x02, pack => "S" },
/external/libexif/po/
Dda.po2755 "Indikerer enheden brugt til at udtrykke GPS-modtagerens bevægelseshastighed. "
2764 msgstr "Indikerer hastigheden på GPS-modtagerens bevægelse."
2768 msgstr "Reference for bevægelsesretning"
2775 "Indikerer referencen for retningen på GPS-modtagerens bevægelse. 'T' "
/external/hyphenation-patterns/de/
Dhyph-de-1901.pat.txt2470 3bev
Dhyph-de-1996.pat.txt2399 3bev
Dhyph-de-ch-1901.pat.txt2424 3bev
/external/hyphenation-patterns/hu/
Dhyph-hu.pat.txt40314bev