Searched refs:bev (Results 1 – 2 of 2) sorted by relevance
/external/chromium/third_party/libevent/test/ |
D | regress_http.c | 161 http_readcb(struct bufferevent *bev, void *arg) in http_readcb() argument 165 event_debug(("%s: %s\n", __func__, EVBUFFER_DATA(bev->input))); in http_readcb() 167 if (evbuffer_find(bev->input, in http_readcb() 173 done = evhttp_parse_firstline(req, bev->input); in http_readcb() 177 done = evhttp_parse_headers(req, bev->input); in http_readcb() 188 bufferevent_disable(bev, EV_READ); in http_readcb() 197 http_writecb(struct bufferevent *bev, void *arg) in http_writecb() argument 199 if (EVBUFFER_LENGTH(bev->output) == 0) { in http_writecb() 201 bufferevent_enable(bev, EV_READ); in http_writecb() 207 http_errorcb(struct bufferevent *bev, short what, void *arg) in http_errorcb() argument [all …]
|
D | regress.c | 1082 readcb(struct bufferevent *bev, void *arg) in readcb() argument 1084 if (EVBUFFER_LENGTH(bev->input) == 8333) { in readcb() 1085 bufferevent_disable(bev, EV_READ); in readcb() 1091 writecb(struct bufferevent *bev, void *arg) in writecb() argument 1093 if (EVBUFFER_LENGTH(bev->output) == 0) in writecb() 1098 errorcb(struct bufferevent *bev, short what, void *arg) in errorcb() argument 1139 wm_readcb(struct bufferevent *bev, void *arg) in wm_readcb() argument 1141 int len = EVBUFFER_LENGTH(bev->input); in wm_readcb() 1146 evbuffer_drain(bev->input, len); in wm_readcb() 1150 bufferevent_disable(bev, EV_READ); in wm_readcb() [all …]
|