Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp49 size_t currentCount = 1; in findMode() local
54 ++currentCount; in findMode()
56 if (currentCount > currentModeCount) { in findMode()
58 currentModeCount = currentCount; in findMode()
61 currentCount = 1; in findMode()
65 return currentCount > currentModeCount ? previousAdvance : currentModeAdvance; in findMode()
/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/deqp/external/vulkancts/vkscserver/
DvksStructsVKSC.hpp50 : currentCount (0u) in VulkanJsonPipelineDescription()
64 , currentCount (1u) in VulkanJsonPipelineDescription()
75 currentCount++; in add()
76 maxCount = de::max(maxCount, currentCount); in add()
81 currentCount--; in remove()
88 deUint32 currentCount; member
96 …ize(v.id, v.pipelineContents, v.deviceFeatures, v.deviceExtensions, v.currentCount, v.maxCount, v.… in SerializeItem()
101 …ize(v.id, v.pipelineContents, v.deviceFeatures, v.deviceExtensions, v.currentCount, v.maxCount, v.… in SerializeItem()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccMain.c304 UINT64 currentCount = gr.commitCounter; in CryptGenerateR() local
323 t1 = (UINT16)currentCount; in CryptGenerateR()
330 currentCount = currentCount - (COMMIT_INDEX_MASK + 1); in CryptGenerateR()
332 t1 = (UINT16)currentCount; in CryptGenerateR()
337 currentCount = (currentCount & 0xffffffffffff0000) | *c; in CryptGenerateR()
340 cntr.t.size = sizeof(currentCount); in CryptGenerateR()
341 UINT64_TO_BYTE_ARRAY(currentCount, cntr.t.buffer); in CryptGenerateR()
/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/icu4c/source/i18n/
Dnumber_fluent.cpp691 int32_t currentCount = umtx_loadAcquire(*callCount); in computeCompiled() local
692 if (0 <= currentCount && currentCount <= fMacros.threshold && fMacros.threshold > 0) { in computeCompiled()
693 currentCount = umtx_atomic_inc(callCount); in computeCompiled()
696 if (currentCount == fMacros.threshold && fMacros.threshold > 0) { in computeCompiled()
707 } else if (currentCount < 0) { in computeCompiled()
/external/cronet/third_party/icu/source/i18n/
Dnumber_fluent.cpp691 int32_t currentCount = umtx_loadAcquire(*callCount); in computeCompiled() local
692 if (0 <= currentCount && currentCount <= fMacros.threshold && fMacros.threshold > 0) { in computeCompiled()
693 currentCount = umtx_atomic_inc(callCount); in computeCompiled()
696 if (currentCount == fMacros.threshold && fMacros.threshold > 0) { in computeCompiled()
707 } else if (currentCount < 0) { in computeCompiled()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberFormatter.java209 long currentCount = callCount.incrementAndGet(this); in computeCompiled() local
210 if (currentCount == macros.threshold.longValue()) { in computeCompiled()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DLocalizedNumberFormatter.java204 long currentCount = callCount.incrementAndGet(this); in computeCompiled() local
205 if (currentCount == macros.threshold.longValue()) { in computeCompiled()
/external/zstd/lib/dictBuilder/
Dzdict.c315 U32 currentCount = 0; in ZDICT_analyzePos() local
322 if (currentCount > selectedCount) { in ZDICT_analyzePos()
323 selectedCount = currentCount; in ZDICT_analyzePos()
328 currentCount = 0; in ZDICT_analyzePos()
330 currentCount ++; in ZDICT_analyzePos()
332 if (currentCount > selectedCount) { /* for last */ in ZDICT_analyzePos()
333 selectedCount = currentCount; in ZDICT_analyzePos()
/external/skia/vma_android/include/
Dvk_mem_alloc.h13129 size_t prevCount = 0, currentCount = 0; in DefragmentPassEnd() local
13178 currentCount = vector->GetBlockCount(); in DefragmentPassEnd()
13217 currentCount = vector->GetBlockCount(); in DefragmentPassEnd()
13219 freedBlockSize *= prevCount - currentCount; in DefragmentPassEnd()
13229 freedBlockSize += dstBlockSize * (currentCount - vector->GetBlockCount()); in DefragmentPassEnd()
13230 currentCount = vector->GetBlockCount(); in DefragmentPassEnd()
13240 if (prevCount > currentCount) in DefragmentPassEnd()
13242 size_t freedBlocks = prevCount - currentCount; in DefragmentPassEnd()
13257 const size_t diff = prevCount - currentCount; in DefragmentPassEnd()
/external/sqlite/dist/orig/
Dsqlite3.c26843 u32 currentCount; /* Current number of distinct checkouts */
27001 mem5.currentCount++;
27003 if( mem5.maxCount<mem5.currentCount ) mem5.maxCount = mem5.currentCount;
27042 assert( mem5.currentCount>0 );
27044 mem5.currentCount--;
27046 assert( mem5.currentOut>0 || mem5.currentCount==0 );
27047 assert( mem5.currentCount>0 || mem5.currentOut==0 );
27279 fprintf(out, "mem5.currentCount = %u\n", mem5.currentCount);
/external/sqlite/dist/
Dsqlite3.c26843 u32 currentCount; /* Current number of distinct checkouts */
27001 mem5.currentCount++;
27003 if( mem5.maxCount<mem5.currentCount ) mem5.maxCount = mem5.currentCount;
27042 assert( mem5.currentCount>0 );
27044 mem5.currentCount--;
27046 assert( mem5.currentOut>0 || mem5.currentCount==0 );
27047 assert( mem5.currentCount>0 || mem5.currentOut==0 );
27279 fprintf(out, "mem5.currentCount = %u\n", mem5.currentCount);
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c25466 u32 currentCount; /* Current number of distinct checkouts */ member
25624 mem5.currentCount++; in memsys5MallocUnsafe()
25626 if( mem5.maxCount<mem5.currentCount ) mem5.maxCount = mem5.currentCount; in memsys5MallocUnsafe()
25665 assert( mem5.currentCount>0 ); in memsys5FreeUnsafe()
25667 mem5.currentCount--; in memsys5FreeUnsafe()
25669 assert( mem5.currentOut>0 || mem5.currentCount==0 ); in memsys5FreeUnsafe()
25670 assert( mem5.currentCount>0 || mem5.currentOut==0 ); in memsys5FreeUnsafe()
25897 fprintf(out, "mem5.currentCount = %u\n", mem5.currentCount); in sqlite3Memsys5Dump()