Home
last modified time | relevance | path

Searched refs:writeCounter (Results 1 – 7 of 7) sorted by relevance

/external/oboe/samples/RhythmGame/src/main/cpp/utils/
DLockFreeQueue.h91 buffer[mask(writeCounter)] = item; in push()
92 ++writeCounter; in push()
137 return writeCounter - readCounter; in size()
142 bool isEmpty() const { return readCounter == writeCounter; } in isEmpty()
149 std::atomic<INDEX_TYPE> writeCounter { 0 };
/external/oboe/src/fifo/
DFifoControllerBase.cpp33 uint64_t writeCounter = getWriteCounter(); in getFullFramesAvailable() local
35 if (readCounter > writeCounter) { in getFullFramesAvailable()
38 uint64_t delta = writeCounter - readCounter; in getFullFramesAvailable()
/external/oboe/src/common/
DAudioStream.cpp158 int64_t writeCounter = getFramesWritten(); in getAvailableFrames() local
159 if (writeCounter < 0) return ResultWithValue<int32_t>::createBasedOnSign(writeCounter); in getAvailableFrames()
160 int32_t framesAvailable = writeCounter - readCounter; in getAvailableFrames()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingWriter.cpp104 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter() function
124 writeCounter(MinExpressions, Minimizer.adjust(E.LHS), OS); in write()
125 writeCounter(MinExpressions, Minimizer.adjust(E.RHS), OS); in write()
150 writeCounter(MinExpressions, Count, OS); in write()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingWriter.cpp122 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter() function
156 writeCounter(MinExpressions, Minimizer.adjust(E.LHS), OS); in write()
157 writeCounter(MinExpressions, Minimizer.adjust(E.RHS), OS); in write()
183 writeCounter(MinExpressions, Count, OS); in write()
/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMappingWriter.cpp146 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter() function
180 writeCounter(MinExpressions, Minimizer.adjust(E.LHS), OS); in write()
181 writeCounter(MinExpressions, Minimizer.adjust(E.RHS), OS); in write()
207 writeCounter(MinExpressions, Count, OS); in write()
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartDelta.java467 writeCounter(tsvCountFile, "Count", counts); in writeLdml()
976 writeCounter(tsvCountFile, "CountSame", countSame); in writeNonLdmlPlain()
978 writeCounter(tsvCountFile, "CountAdded", countAdded); in writeNonLdmlPlain()
980 writeCounter(tsvCountFile, "CountDeleted", countDeleted); in writeNonLdmlPlain()
987 private void writeCounter(PrintWriter tsvFile, String title, Counter<PathHeader> countDeleted) { in writeCounter() method in ChartDelta