Home
last modified time | relevance | path

Searched refs:evbuf (Results 1 – 6 of 6) sorted by relevance

/external/libevent/
Devent_tagging.c94 int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf);
95 int evtag_decode_int64(ev_uint64_t *pnumber, struct evbuffer *evbuf);
96 int evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t tag);
97 int evtag_decode_tag(ev_uint32_t *ptag, struct evbuffer *evbuf);
151 evtag_encode_int(struct evbuffer *evbuf, ev_uint32_t number) in evtag_encode_int() argument
155 evbuffer_add(evbuf, data, len); in evtag_encode_int()
159 evtag_encode_int64(struct evbuffer *evbuf, ev_uint64_t number) in evtag_encode_int64() argument
163 evbuffer_add(evbuf, data, len); in evtag_encode_int64()
172 evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t tag) in evtag_encode_tag() argument
188 if (evbuf != NULL) in evtag_encode_tag()
[all …]
Dbuffer_iocp.c96 evbuffer_commit_read(struct evbuffer *evbuf, ev_ssize_t nBytes) in evbuffer_commit_read() argument
98 struct evbuffer_overlapped *buf = upcast_evbuffer(evbuf); in evbuffer_commit_read()
103 EVBUFFER_LOCK(evbuf); in evbuffer_commit_read()
107 evbuffer_unfreeze(evbuf, 0); in evbuffer_commit_read()
109 chainp = evbuf->last_with_datap; in evbuffer_commit_read()
119 evbuf->last_with_datap = chainp; in evbuffer_commit_read()
128 evbuf->total_len += nBytes; in evbuffer_commit_read()
129 evbuf->n_add_for_cb += nBytes; in evbuffer_commit_read()
131 evbuffer_invoke_callbacks(evbuf); in evbuffer_commit_read()
133 _evbuffer_decref_and_unlock(evbuf); in evbuffer_commit_read()
[all …]
Devrpc.c188 struct evhttp_request *req, struct evbuffer *evbuf) in evrpc_process_hooks() argument
192 int res = hook->process(ctx, req, evbuf, hook->process_arg); in evrpc_process_hooks()
/external/libevent/include/event2/
Dtag.h68 int evtag_unmarshal_header(struct evbuffer *evbuf, ev_uint32_t *ptag);
70 void evtag_marshal(struct evbuffer *evbuf, ev_uint32_t tag, const void *data,
72 void evtag_marshal_buffer(struct evbuffer *evbuf, ev_uint32_t tag,
85 void evtag_encode_int(struct evbuffer *evbuf, ev_uint32_t number);
86 void evtag_encode_int64(struct evbuffer *evbuf, ev_uint64_t number);
88 void evtag_marshal_int(struct evbuffer *evbuf, ev_uint32_t tag,
90 void evtag_marshal_int64(struct evbuffer *evbuf, ev_uint32_t tag,
96 void evtag_marshal_timeval(struct evbuffer *evbuf, ev_uint32_t tag,
101 int evtag_peek(struct evbuffer *evbuf, ev_uint32_t *ptag);
102 int evtag_peek_length(struct evbuffer *evbuf, ev_uint32_t *plength);
[all …]
Dtag_compat.h45 #define encode_int(evbuf, number) evtag_encode_int((evbuf), (number)) argument
46 #define encode_int64(evbuf, number) evtag_encode_int64((evbuf), (number)) argument
/external/strace/
Dstrace.c1842 char evbuf[sizeof(",EVENT_VFORK_DONE (%u)") + sizeof(int)*3 /*paranoia:*/ + 16]; in print_debug_info() local
1863 evbuf[0] = '\0'; in print_debug_info()
1879 sprintf(evbuf, ",EVENT_%s (%u)", e, event); in print_debug_info()
1881 error_msg("[wait(0x%06x) = %u] %s%s", status, pid, buf, evbuf); in print_debug_info()