Searched refs:wrapgap (Results 1 – 2 of 2) sorted by relevance
2004 int wrapgap; in receive_data() local2055 wrapgap = (head >= tail) ? head - tail : ch->rxbufsize - tail; in receive_data()2056 piece = (wrapgap < n) ? wrapgap : n; in receive_data()
2833 register int dataToRead, wrapgap, bytesAvailable; in receive_data() local2903 wrapgap = (head >= tail) ? head - tail : ch->rxbufsize - tail; in receive_data()2911 dataToRead = (wrapgap < bytesAvailable) ? wrapgap : bytesAvailable; in receive_data()