Lines Matching refs:limit_
18 limit_: u64,
24 Self { inner, limit_: limit } in new()
51 self.limit_ in limit()
81 self.limit_ = limit in set_limit()
95 if *this.limit_ == 0 { in poll_read()
99 let max = cmp::min(buf.len() as u64, *this.limit_) as usize; in poll_read()
101 *this.limit_ -= n as u64; in poll_read()
116 if *this.limit_ == 0 { in poll_fill_buf()
121 let cap = cmp::min(buf.len() as u64, *this.limit_) as usize; in poll_fill_buf()
129 let amt = cmp::min(amt as u64, *this.limit_) as usize; in consume()
130 *this.limit_ -= amt as u64; in consume()