Searched refs:r_pos (Results 1 – 2 of 2) sorted by relevance
65 r_pos: usize, field76 r_pos: 0, in default()103 self.r_pos = 0; in reset()123 let pos: usize = self.r_pos + n; in seek_read_pos()129 self.r_pos = pos; in seek_read_pos()134 if self.w_pos <= self.r_pos { in unread_size()137 self.w_pos - self.r_pos in unread_size()141 self.r_pos == self.w_pos in is_empty()174 &(self.sz_buff[self.r_pos]) as *const c_char in read_buf()214 if buffer_size > avail_size && self.r_pos > 0 { in check_write()[all …]
340 obj.r_pos() as i32 in StreamBufferGetRpos()381 pub unsafe extern "C" fn StreamBufferSetRpos(object: *mut StreamBuffer, r_pos: i32) -> i32 { in StreamBufferSetRpos()383 obj.set_r_pos(r_pos as usize); in StreamBufferSetRpos()