Home
last modified time | relevance | path

Searched refs:currPos (Results 1 – 13 of 13) 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/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/icu4c/source/common/
Ddictbe.cpp351 int32_t currPos; in divideUpDictionaryRange() local
352 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
354 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
581 int32_t currPos; in divideUpDictionaryRange() local
582 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
584 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
774 int32_t currPos; in divideUpDictionaryRange() local
775 …while ((currPos = (int32_t)utext_getNativeIndex(text)) < rangeEnd && fMarkSet.contains(utext_curre… in divideUpDictionaryRange()
777 cuWordLength += (int32_t)utext_getNativeIndex(text) - currPos; in divideUpDictionaryRange()
979 int32_t currPos; in divideUpDictionaryRange() local
[all …]
/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/android_icu4j/src/main/java/android/icu/text/
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()
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()
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()