Lines Matching refs:count
318 cmd.start_id() + cmd.count() > NUM_STREAMS) { in StreamsInfo()
323 &STREAMS[cmd.start_id()], &STREAMS[0] + cmd.start_id() + cmd.count()); in StreamsInfo()
389 cmd.start_id() + cmd.count() > NUM_CHMAPS) { in ChmapsInfo()
394 &CHMAPS[cmd.start_id()], &CHMAPS[cmd.start_id()] + cmd.count()); in ChmapsInfo()
400 cmd.start_id() + cmd.count() > NUM_JACKS) { in JacksInfo()
405 &JACKS[cmd.start_id()], &JACKS[cmd.start_id()] + cmd.count()); in JacksInfo()
460 holding_buffer.count = 0; in OnPlaybackBuffer()
543 holding_buffer.count += bytes_received; in OnCaptureBuffer()
557 count = 0; in Reset()
562 auto added_len = std::min(max_len, buffer.size() - count); in Add()
563 std::copy(data, data + added_len, &buffer[count]); in Add()
564 count += added_len; in Add()
569 auto n = std::min(len, count); in Take()
571 std::copy(buffer.begin() + n, buffer.begin() + count, buffer.begin()); in Take()
572 count -= n; in Take()
576 bool AudioHandler::HoldingBuffer::empty() const { return count == 0; } in empty()
579 return count == buffer.size(); in full()
583 return buffer.size() - count; in freeCapacity()