Searched refs:_buffst (Results 1 – 2 of 2) sorted by relevance
/dports/sysutils/apcctrl/apcctrl-0.8.21/src/drivers/brazil/ |
H A D | brazildriver.c | 42 this->_buffst = 0; in BrazilUpsDriver() 568 …Dmsg(199, "Buffer! len: %03d; fst: %03d: nxt: %03d; data:%s.\n",this->bufferLen(),this->_buffst, t… in ReadData() 860 …(%u) >> buflen = %u, buffst = %u, bufnxt = %u\n",c,this->bufferLen(), this->_buffst,this->_bufnxt); in bufferAdd() 871 this->_buffst += len; in bufferDel() 872 this->_buffst = this->_buffst % BrazilModelAbstract::BUFFERLEN; in bufferDel() 873 …u) >> buflen = %u, buffst = %u, bufnxt = %u\n",len,this->bufferLen(), this->_buffst,this->_bufnxt); in bufferDel() 877 if(this->_buffst > this->_bufnxt){ in bufferLen() 878 ret = BrazilModelAbstract::BUFFERLEN - this->_buffst; in bufferLen() 881 ret = this->_bufnxt - this->_buffst; in bufferLen() 888 out[i] = this->_buffer[(this->_buffst + i) % BrazilModelAbstract::BUFFERLEN]; in bufferGet()
|
H A D | brazildriver.h | 73 unsigned int _buffst; // position off first char in buffer variable
|