Searched refs:readCounter (Results 1 – 9 of 9) sorted by relevance
75 val = buffer[mask(readCounter)]; in pop()76 ++readCounter; in pop()107 item = buffer[mask(readCounter)]; in peek()137 return writeCounter - readCounter; in size()142 bool isEmpty() const { return readCounter == writeCounter; } in isEmpty()150 std::atomic<INDEX_TYPE> readCounter { 0 };
34 uint64_t readCounter = getReadCounter(); in getFullFramesAvailable() local35 if (readCounter > writeCounter) { in getFullFramesAvailable()38 uint64_t delta = writeCounter - readCounter; in getFullFramesAvailable()
156 int64_t readCounter = getFramesRead(); in getAvailableFrames() local157 if (readCounter < 0) return ResultWithValue<int32_t>::createBasedOnSign(readCounter); in getAvailableFrames()160 int32_t framesAvailable = writeCounter - readCounter; in getAvailableFrames()
142 Error readCounter(Counter &C);
123 Error RawCoverageMappingReader::readCounter(Counter &C) { in readCounter() function in RawCoverageMappingReader258 if (auto Err = readCounter(Expressions[I].LHS)) in read()260 if (auto Err = readCounter(Expressions[I].RHS)) in read()
165 Error readCounter(Counter &C);
151 Error readCounter(Counter &C);
137 Error RawCoverageMappingReader::readCounter(Counter &C) { in readCounter() function in RawCoverageMappingReader281 if (auto Err = readCounter(Expressions[I].LHS)) in read()283 if (auto Err = readCounter(Expressions[I].RHS)) in read()
192 Error RawCoverageMappingReader::readCounter(Counter &C) { in readCounter() function in RawCoverageMappingReader336 if (auto Err = readCounter(Expressions[I].LHS)) in read()338 if (auto Err = readCounter(Expressions[I].RHS)) in read()