Searched refs:at_most (Results 1 – 4 of 4) sorted by relevance
/external/libevent/ |
D | buffer_iocp.c | 171 evbuffer_launch_write_(struct evbuffer *buf, ev_ssize_t at_most, in evbuffer_launch_write_() argument 193 } else if (at_most < 0 || (size_t)at_most > buf->total_len) { in evbuffer_launch_write_() 194 at_most = buf->total_len; in evbuffer_launch_write_() 209 if ((size_t)at_most > chain->off) { in evbuffer_launch_write_() 215 at_most -= chain->off; in evbuffer_launch_write_() 217 b->len = (unsigned long)at_most; in evbuffer_launch_write_() 245 evbuffer_launch_read_(struct evbuffer *buf, size_t at_most, in evbuffer_launch_read_() argument 268 if (evbuffer_expand_fast_(buf, at_most, MAX_WSABUFS) == -1) in evbuffer_launch_read_() 272 nvecs = evbuffer_read_setup_vecs_(buf, at_most, in evbuffer_launch_read_()
|
D | bufferevent_async.c | 187 size_t at_most; in bev_async_consider_writing() local 201 at_most = evbuffer_get_length(bev->output); in bev_async_consider_writing() 206 if (at_most >= (size_t)limit && limit >= 0) in bev_async_consider_writing() 207 at_most = limit; in bev_async_consider_writing() 216 if (evbuffer_launch_write_(bev->output, at_most, in bev_async_consider_writing() 222 beva->write_in_progress = at_most; in bev_async_consider_writing() 223 bufferevent_decrement_write_buckets_(&beva->bev, at_most); in bev_async_consider_writing() 233 size_t at_most; in bev_async_consider_reading() local 254 at_most = read_high - cur_size; in bev_async_consider_reading() 256 at_most = 16384; /* FIXME totally magic. */ in bev_async_consider_reading() [all …]
|
/external/antlr/runtime/Ruby/lib/antlr3/ |
D | util.rb | 123 def at_most( x ) method in Integer
|
D | streams.rb | 1083 stop = stop.to_i.at_most( @tokens.length )
|