Home
last modified time | relevance | path

Searched refs:EVBUFFER_DATA (Results 1 – 7 of 7) sorted by relevance

/external/chromium/third_party/libevent/
Devent_tagging.c148 ev_uint8_t *data = EVBUFFER_DATA(evbuf); in decode_tag_internal()
222 evtag_marshal(evbuf, tag, EVBUFFER_DATA(_buf), in evtag_marshal_timeval()
230 ev_uint8_t *data = EVBUFFER_DATA(evbuf); in decode_int_internal()
345 if (evbuffer_add(dst, EVBUFFER_DATA(src), len) == -1) in evtag_unmarshal()
375 if (evbuffer_add(_buf, EVBUFFER_DATA(evbuf), len) == -1) in evtag_unmarshal_int()
401 memcpy(data, EVBUFFER_DATA(_buf), len); in evtag_unmarshal_fixed()
Devent.h965 #define EVBUFFER_DATA(x) (x)->buffer macro
Dbuffer.c213 u_char *data = EVBUFFER_DATA(buffer); in evbuffer_readline()
Dhttp.c825 EVBUFFER_DATA(buf), (size_t)req->ntoread); in evhttp_handle_chunked_read()
889 evbuffer_add(req->input_buffer, EVBUFFER_DATA(buf), in evhttp_read_body()
2058 p = strdup((char *)EVBUFFER_DATA(buf)); in evhttp_encode_uri()
/external/chromium/third_party/libevent/test/
Dregress_http.c165 event_debug(("%s: %s\n", __func__, EVBUFFER_DATA(bev->input))); in http_readcb()
520 if (memcmp(EVBUFFER_DATA(req->input_buffer), what, strlen(what)) != 0) { in http_request_done()
603 if (memcmp(EVBUFFER_DATA(req->input_buffer), what, strlen(what)) != 0) { in http_dispatcher_test_done()
742 if (memcmp(EVBUFFER_DATA(req->input_buffer), POST_DATA, in http_post_cb()
745 fprintf(stdout, "Got :%s\n", EVBUFFER_DATA(req->input_buffer)); in http_post_cb()
785 if (memcmp(EVBUFFER_DATA(req->input_buffer), what, strlen(what)) != 0) { in http_postrequest_done()
1177 if (strncmp((char *)EVBUFFER_DATA(EVBUFFER_INPUT(bev)), in http_chunked_errorcb()
1191 if (strncmp((char *)EVBUFFER_DATA(EVBUFFER_INPUT(bev)), in http_chunked_errorcb()
1205 if (strncmp((char *)EVBUFFER_DATA(EVBUFFER_INPUT(bev)), in http_chunked_errorcb()
1255 if (strncmp((char *)EVBUFFER_DATA(req->input_buffer), in http_chunked_request_done()
Dregress.gen.c411 evtag_marshal(evbuf, tag, EVBUFFER_DATA(_buf), EVBUFFER_LENGTH(_buf)); in evtag_marshal_msg()
637 evtag_marshal(evbuf, tag, EVBUFFER_DATA(_buf), EVBUFFER_LENGTH(_buf)); in evtag_marshal_kill()
875 evtag_marshal(evbuf, tag, EVBUFFER_DATA(_buf), EVBUFFER_LENGTH(_buf)); in evtag_marshal_run()
Dregress.c1014 strcmp((char*)EVBUFFER_DATA(evb), "hello/1") == 0) in test_evbuffer()
1431 EVBUFFER_DATA(tmp)[1] = 0xff; in evtag_fuzz()