Searched refs:at_most (Results 1 – 4 of 4) sorted by relevance
/external/libevent/ |
D | buffer_iocp.c | 170 evbuffer_launch_write(struct evbuffer *buf, ev_ssize_t at_most, in evbuffer_launch_write() argument 192 } else if (at_most < 0 || (size_t)at_most > buf->total_len) { in evbuffer_launch_write() 193 at_most = buf->total_len; in evbuffer_launch_write() 208 if ((size_t)at_most > chain->off) { in evbuffer_launch_write() 214 at_most -= chain->off; in evbuffer_launch_write() 216 b->len = (unsigned long)at_most; in evbuffer_launch_write() 244 evbuffer_launch_read(struct evbuffer *buf, size_t at_most, in evbuffer_launch_read() argument 267 if (_evbuffer_expand_fast(buf, at_most, MAX_WSABUFS) == -1) in evbuffer_launch_read() 271 nvecs = _evbuffer_read_setup_vecs(buf, at_most, in evbuffer_launch_read()
|
D | bufferevent_async.c | 185 size_t at_most; in bev_async_consider_writing() local 199 at_most = evbuffer_get_length(bev->output); in bev_async_consider_writing() 204 if (at_most >= (size_t)limit && limit >= 0) in bev_async_consider_writing() 205 at_most = limit; in bev_async_consider_writing() 214 if (evbuffer_launch_write(bev->output, at_most, in bev_async_consider_writing() 220 beva->write_in_progress = at_most; in bev_async_consider_writing() 221 _bufferevent_decrement_write_buckets(&beva->bev, at_most); in bev_async_consider_writing() 231 size_t at_most; in bev_async_consider_reading() local 252 at_most = read_high - cur_size; in bev_async_consider_reading() 254 at_most = 16384; /* FIXME totally magic. */ in bev_async_consider_reading() [all …]
|
/external/antlr/antlr-3.4/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 )
|