Searched refs:cbRead (Results 1 – 2 of 2) sorted by relevance
271 int cbRead; in ossread() local276 cbRead = read(pPriv->device, pbOutput, cbOutputLeft); in ossread()277 if (cbRead <= 0) { in ossread()278 if (cbRead < 0) { in ossread()284 cbOutputLeft -= cbRead; in ossread()285 pbOutput += cbRead; in ossread()
369 int cbRead; in sunread() local374 cbRead = read(pPriv->device, pbOutput, cbOutputLeft); in sunread()375 if (cbRead <= 0) { in sunread()376 if (cbRead < 0) { in sunread()382 cbOutputLeft -= cbRead; in sunread()383 pbOutput += cbRead; in sunread()