Lines Matching refs:bytes
154 size_t bytes = inByteCount;
156 if (!BytesReady(&bytes))
159 if (fPlayPos + bytes > fBufferSize) {
170 bytes -= remainder;
171 if (BytesReady(&bytes)) {
172 memcpy(&buffer[remainder], fBuffer, bytes);
173 fPlayPos += bytes;
176 memcpy(inBuffer, &fBuffer[fPlayPos], bytes);
177 fPlayPos += bytes;
185 BPushGameSound::BytesReady(size_t * bytes)
198 while (ready < *bytes) {
204 *bytes = ready - start - (ready - page * fPageSize);
209 // all of the bytes are ready