Home
last modified time | relevance | path

Searched refs:currPos (Results 1 – 17 of 17) sorted by relevance

/external/aac/libSACenc/src/
Dsacenc_onsetdetect.cpp274 int i, ts, trCnt, currPos; in fdk_sacenc_onsetDetect_Apply() local
299 currPos = FDKmax(nTimeSlots, in fdk_sacenc_onsetDetect_Apply()
302 currPos = nTimeSlots; in fdk_sacenc_onsetDetect_Apply()
338 int currPosPrev = currPos; in fdk_sacenc_onsetDetect_Apply()
341 for (; (currPos < (nTimeSlots << 1)) && (trCnt < MAX_NUM_TRANS); in fdk_sacenc_onsetDetect_Apply()
342 currPos++) { in fdk_sacenc_onsetDetect_Apply()
343 p1 = fMultDiv2(envs[currPos - nTimeSlots + M], threshold_square) >> in fdk_sacenc_onsetDetect_Apply()
347 if (currPosPrev == (currPos - 1)) { in fdk_sacenc_onsetDetect_Apply()
351 p2 += (envs[currPos - nTimeSlots + M - 1] >> in fdk_sacenc_onsetDetect_Apply()
357 p2 += (envs[currPos - nTimeSlots + ts] >> in fdk_sacenc_onsetDetect_Apply()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DFastStringBuffer.java1136 int currPos = start; in sendNormalizedSAXcharacters() local
1141 for (; currPos < limit in sendNormalizedSAXcharacters()
1142 && XMLCharacterRecognizer.isWhiteSpace(ch[currPos]); in sendNormalizedSAXcharacters()
1143 currPos++) { } in sendNormalizedSAXcharacters()
1147 if (currPos == limit) { in sendNormalizedSAXcharacters()
1153 while (currPos < limit) { in sendNormalizedSAXcharacters()
1154 int startNonWhitespace = currPos; in sendNormalizedSAXcharacters()
1157 for (; currPos < limit in sendNormalizedSAXcharacters()
1158 && !XMLCharacterRecognizer.isWhiteSpace(ch[currPos]); in sendNormalizedSAXcharacters()
1159 currPos++) { } in sendNormalizedSAXcharacters()
[all …]
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DDebugSink.h21 if (needle[currPos] == c) in observe()
23 ++currPos; in observe()
24 if (currPos == needle.size()) in observe()
39 void reset() { currPos = 0; } in reset()
43 size_t currPos = 0; variable
/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp55 const SkScalar currPos = fShader.fOrigPos[curr]; in iterate() local
56 if (currPos != prevPos) { in iterate()
57 SkASSERT((currPos - prevPos > 0) == (fAdvance > 0)); in iterate()
58 func(colors[prev], colors[curr], prevPos, currPos); in iterate()
62 prevPos = currPos; in iterate()
82 const SkScalar currPos = prevPos + dt; in iterateImplicitPos() local
83 func(colors[prev], colors[curr], prevPos, currPos); in iterateImplicitPos()
85 prevPos = currPos; in iterateImplicitPos()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp55 const SkScalar currPos = fShader.fOrigPos[curr]; in iterate() local
56 if (currPos != prevPos) { in iterate()
57 SkASSERT((currPos - prevPos > 0) == (fAdvance > 0)); in iterate()
58 func(colors[prev], colors[curr], prevPos, currPos); in iterate()
62 prevPos = currPos; in iterate()
82 const SkScalar currPos = prevPos + dt; in iterateImplicitPos() local
83 func(colors[prev], colors[curr], prevPos, currPos); in iterateImplicitPos()
85 prevPos = currPos; in iterateImplicitPos()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DKhmerBreakEngine.java205 int currPos; in divideUpDictionaryRange() local
206 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange()
208 wordLength += fIter.getIndex() - currPos; in divideUpDictionaryRange()
DBurmeseBreakEngine.java201 int currPos; in divideUpDictionaryRange() local
202 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange()
204 wordLength += fIter.getIndex() - currPos; in divideUpDictionaryRange()
DLaoBreakEngine.java204 int currPos; in divideUpDictionaryRange() local
205 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange()
207 wordLength += fIter.getIndex() - currPos; in divideUpDictionaryRange()
DThaiBreakEngine.java220 int currPos; in divideUpDictionaryRange() local
221 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange()
223 wordLength += fIter.getIndex() - currPos; in divideUpDictionaryRange()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBurmeseBreakEngine.java200 int currPos; in divideUpDictionaryRange() local
201 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange()
203 wordLength += fIter.getIndex() - currPos; in divideUpDictionaryRange()
DLaoBreakEngine.java203 int currPos; in divideUpDictionaryRange() local
204 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange()
206 wordLength += fIter.getIndex() - currPos; in divideUpDictionaryRange()
DKhmerBreakEngine.java204 int currPos; in divideUpDictionaryRange() local
205 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange()
207 wordLength += fIter.getIndex() - currPos; in divideUpDictionaryRange()
DThaiBreakEngine.java219 int currPos; in divideUpDictionaryRange() local
220 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange()
222 wordLength += fIter.getIndex() - currPos; in divideUpDictionaryRange()
/external/icu/icu4c/source/common/
Ddictbe.cpp357 int32_t currPos; in divideUpDictionaryRange() local
358 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
360 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
590 int32_t currPos; in divideUpDictionaryRange() local
591 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
593 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
786 int32_t currPos; in divideUpDictionaryRange() local
787 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
789 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
994 int32_t currPos; in divideUpDictionaryRange() local
[all …]
/external/zstd/lib/compress/
Dzstd_ldm.c581 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_ldm_skipRawSeqStoreBytes() local
582 while (currPos && rawSeqStore->pos < rawSeqStore->size) { in ZSTD_ldm_skipRawSeqStoreBytes()
584 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_ldm_skipRawSeqStoreBytes()
585 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_ldm_skipRawSeqStoreBytes()
588 rawSeqStore->posInSequence = currPos; in ZSTD_ldm_skipRawSeqStoreBytes()
592 if (currPos == 0 || rawSeqStore->pos == rawSeqStore->size) { in ZSTD_ldm_skipRawSeqStoreBytes()
Dzstd_opt.c783 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_optLdm_skipRawSeqStoreBytes() local
784 while (currPos && rawSeqStore->pos < rawSeqStore->size) { in ZSTD_optLdm_skipRawSeqStoreBytes()
786 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_optLdm_skipRawSeqStoreBytes()
787 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_optLdm_skipRawSeqStoreBytes()
790 rawSeqStore->posInSequence = currPos; in ZSTD_optLdm_skipRawSeqStoreBytes()
794 if (currPos == 0 || rawSeqStore->pos == rawSeqStore->size) { in ZSTD_optLdm_skipRawSeqStoreBytes()
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorTransforms.cpp580 int currPos = static_cast<int>(expr.getPosition()); in isIdentitySuffix() local
581 if (lastPos.hasValue() && currPos != lastPos.getValue() + 1) in isIdentitySuffix()
583 lastPos = currPos; in isIdentitySuffix()