Home
last modified time | relevance | path

Searched refs:currentCount (Results 1 – 15 of 15) sorted by relevance

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletSpiVisitor.java50 int currentCount = 0; field in ServletSpiVisitor
84 return currentCount++; in visit()
90 return currentCount++; in visit()
96 return currentCount++; in visit()
102 return currentCount++; in visit()
111 return currentCount++; in visitOther()
DExtensionSpiTest.java75 assertEquals(48, visitor.currentCount - visitor.otherCount); in validateVisitor()
/external/cldr/tools/java/org/unicode/cldr/icu/
DPluralsMapper.java60 private String currentCount; field in PluralsMapper.PluralsHandler
84 currentCount = attr.getValue("count"); in startElement()
113 currentRules.add(new R2<String, String>(currentCount, in endElement()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRetriableStream.java959 int currentCount = tokenCount.get(); in onQualifiedFailureThenCheckIsAboveThreshold() local
960 if (currentCount == 0) { in onQualifiedFailureThenCheckIsAboveThreshold()
963 int decremented = currentCount - (1 * THREE_DECIMAL_PLACES_SCALE_UP); in onQualifiedFailureThenCheckIsAboveThreshold()
964 boolean updated = tokenCount.compareAndSet(currentCount, Math.max(decremented, 0)); in onQualifiedFailureThenCheckIsAboveThreshold()
974 int currentCount = tokenCount.get(); in onSuccess() local
975 if (currentCount == maxTokens) { in onSuccess()
978 int incremented = currentCount + tokenRatio; in onSuccess()
979 boolean updated = tokenCount.compareAndSet(currentCount, Math.min(incremented, maxTokens)); in onSuccess()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCompactCharArray.java263 int currentCount = BLOCKCOUNT; in FindOverlappingPosition() local
265 currentCount = tempCount - i; in FindOverlappingPosition()
267 if (arrayRegionMatches(values, start, tempValues, i, currentCount)) in FindOverlappingPosition()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCompactCharArray.java261 int currentCount = BLOCKCOUNT; in FindOverlappingPosition() local
263 currentCount = tempCount - i; in FindOverlappingPosition()
265 if (arrayRegionMatches(values, start, tempValues, i, currentCount)) in FindOverlappingPosition()
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DExtensionSpiTest.java216 private int currentCount = 0; field in ExtensionSpiTest.AssistedInjectSpiVisitor
223 return currentCount++; in visit()
231 return currentCount++; in visitOther()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberFormatter.java191 long currentCount = callCount.incrementAndGet(this); in computeCompiled() local
192 if (currentCount == macros.threshold.longValue()) { in computeCompiled()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DLocalizedNumberFormatter.java187 long currentCount = callCount.incrementAndGet(this); in computeCompiled() local
188 if (currentCount == macros.threshold.longValue()) { in computeCompiled()
/external/icu/icu4c/source/i18n/
Dnumber_fluent.cpp711 int32_t currentCount = umtx_loadAcquire(*callCount); in computeCompiled() local
712 if (0 <= currentCount && currentCount <= fMacros.threshold && fMacros.threshold > 0) { in computeCompiled()
713 currentCount = umtx_atomic_inc(callCount); in computeCompiled()
716 if (currentCount == fMacros.threshold && fMacros.threshold > 0) { in computeCompiled()
727 } else if (currentCount < 0) { in computeCompiled()
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp1242 int* currentCount, int rows, SpvId entry, in addColumnEntry() argument
1244 SkASSERT(*currentCount < rows); in addColumnEntry()
1245 ++(*currentCount); in addColumnEntry()
1247 if (*currentCount == rows) { in addColumnEntry()
1248 *currentCount = 0; in addColumnEntry()
1299 int currentCount = 0; in writeMatrixConstructor() local
1302 if (currentCount == 0 && c.fArguments[i]->fType.kind() == Type::kVector_Kind && in writeMatrixConstructor()
1309 &currentCount, rows, arguments[i], out); in writeMatrixConstructor()
1317 &currentCount, rows, swizzle, out); in writeMatrixConstructor()
DSkSLSPIRVCodeGenerator.h239 std::vector<SpvId>* columnIds, int* currentCount, int rows, SpvId entry,
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp1245 int currentCount = 0; in writeMatrixConstructor() local
1250 SkASSERT(currentCount == 0); in writeMatrixConstructor()
1264 currentCount += c.fArguments[i]->fType.columns(); in writeMatrixConstructor()
1265 if (currentCount == rows) { in writeMatrixConstructor()
1266 currentCount = 0; in writeMatrixConstructor()
1279 SkASSERT(currentCount < rows); in writeMatrixConstructor()
/external/sqlite/dist/orig/
Dsqlite3.c23010 u32 currentCount; /* Current number of distinct checkouts */ member
23168 mem5.currentCount++; in memsys5MallocUnsafe()
23170 if( mem5.maxCount<mem5.currentCount ) mem5.maxCount = mem5.currentCount; in memsys5MallocUnsafe()
23209 assert( mem5.currentCount>0 ); in memsys5FreeUnsafe()
23211 mem5.currentCount--; in memsys5FreeUnsafe()
23213 assert( mem5.currentOut>0 || mem5.currentCount==0 ); in memsys5FreeUnsafe()
23214 assert( mem5.currentCount>0 || mem5.currentOut==0 ); in memsys5FreeUnsafe()
23441 fprintf(out, "mem5.currentCount = %u\n", mem5.currentCount); in sqlite3Memsys5Dump()
/external/sqlite/dist/
Dsqlite3.c23010 u32 currentCount; /* Current number of distinct checkouts */ member
23168 mem5.currentCount++; in memsys5MallocUnsafe()
23170 if( mem5.maxCount<mem5.currentCount ) mem5.maxCount = mem5.currentCount; in memsys5MallocUnsafe()
23209 assert( mem5.currentCount>0 ); in memsys5FreeUnsafe()
23211 mem5.currentCount--; in memsys5FreeUnsafe()
23213 assert( mem5.currentOut>0 || mem5.currentCount==0 ); in memsys5FreeUnsafe()
23214 assert( mem5.currentCount>0 || mem5.currentOut==0 ); in memsys5FreeUnsafe()
23441 fprintf(out, "mem5.currentCount = %u\n", mem5.currentCount); in sqlite3Memsys5Dump()