Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 13 of 13) sorted by relevance

/libevent-2.1.12/
H A Devent_iocp.c76 DWORD bytes=0; in loop() local
77 int ok = GetQueuedCompletionStatus(p, &bytes, &key, in loop()
90 handle_entry(overlapped, key, bytes, ok); in loop()
116 DWORD bytes=0; in get_extension_function() local
120 &bytes, NULL, NULL); in get_extension_function()
H A Darc4random.c257 int bytes, n, i, nybbles; in arc4_seed_proc_sys_kernel_random_uuid() local
258 for (bytes = 0; bytes<ADD_ENTROPY; ) { in arc4_seed_proc_sys_kernel_random_uuid()
281 bytes += nybbles/2; in arc4_seed_proc_sys_kernel_random_uuid()
H A Devent_tagging.c180 int bytes = 0; in evtag_encode_tag() local
191 data[bytes++] = lower; in evtag_encode_tag()
195 evbuffer_add(evbuf, data, bytes); in evtag_encode_tag()
197 return (bytes); in evtag_encode_tag()
H A Dbufferevent_ratelim.c273 bufferevent_decrement_read_buckets_(struct bufferevent_private *bev, ev_ssize_t bytes) in bufferevent_decrement_read_buckets_() argument
282 bev->rate_limiting->limit.read_limit -= bytes; in bufferevent_decrement_read_buckets_()
297 bev->rate_limiting->group->rate_limit.read_limit -= bytes; in bufferevent_decrement_read_buckets_()
298 bev->rate_limiting->group->total_read += bytes; in bufferevent_decrement_read_buckets_()
311 bufferevent_decrement_write_buckets_(struct bufferevent_private *bev, ev_ssize_t bytes) in bufferevent_decrement_write_buckets_() argument
320 bev->rate_limiting->limit.write_limit -= bytes; in bufferevent_decrement_write_buckets_()
335 bev->rate_limiting->group->rate_limit.write_limit -= bytes; in bufferevent_decrement_write_buckets_()
336 bev->rate_limiting->group->total_written += bytes; in bufferevent_decrement_write_buckets_()
H A Dbufferevent-internal.h502 ev_ssize_t bytes);
505 ev_ssize_t bytes);
H A Dbufferevent_async.c418 DWORD bytes, flags; in bev_async_set_wsa_error() local
422 WSAGetOverlappedResult(fd, &eo->overlapped, &bytes, FALSE, &flags); in bev_async_set_wsa_error()
H A Dwhatsnew-2.0.txt418 pointer to a struct holding the total number of bytes drained read and the
419 total number of bytes written. See event2/buffer.h for full details.
423 You can use evbuffer_remove() to move a given number of bytes from one
513 If you need to limit the number of bytes read/written by a single
572 random stream of bytes.
H A DChangeLog-2.0209 o Fix handling of group rate limits under 64 bytes of burst (6d5440e)
710 o Drain th_notify_fd[0] more bytes at a time. (a5bc15b)
737 o Functions to track the total bytes sent over a rate limit group. (fb366c1)
1041 …o If the kernel tells us that there are a negative number of bytes to read from a socket, do not b…
1107 …o Shave 22 bytes off struct event on 32-bit platforms by shrinking and re-ordering fields. The sa…
1268 o Add an evbuffer_write_atmost() function to write a limited number of bytes to an fd.
H A DChangeLog-1.432 …o If the kernel tells us that there are a negative number of bytes to read from a socket, do not b…
H A Dwhatsnew-2.1.txt163 closed without having to read all the bytes until receiving an EOF.
H A DChangeLog241 o don't fail be_null_filter if bytes are copied (b92b0792)
1638 o Fix handling of group rate limits under 64 bytes of burst (6d5440e)
/libevent-2.1.12/test/
H A Dregress.rpc18 optional bytes some_bytes = 2;
20 bytes fixed_bytes[24] = 3;
/libevent-2.1.12/sample/
H A Dhttps-client.c482 size_t bytes = 0; in main() local
492 bytes += s; in main()
494 evutil_snprintf(buf, sizeof(buf)-1, "%lu", (unsigned long)bytes); in main()