Home
last modified time | relevance | path

Searched refs:prevPos (Results 1 – 13 of 13) sorted by relevance

/external/xz-java/src/org/tukaani/xz/simple/
DX86.java34 int prevPos = off - 1; in code() local
42 prevPos = i - prevPos; in code()
43 if ((prevPos & ~3) != 0) { // (unsigned)prevPos > 3 in code()
46 prevMask = (prevMask << (prevPos - 1)) & 7; in code()
50 prevPos = i; in code()
57 prevPos = i; in code()
91 prevPos = i - prevPos; in code()
92 prevMask = ((prevPos & ~3) != 0) ? 0 : prevMask << (prevPos - 1); in code()
/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp49 SkScalar prevPos = fFirstPos; 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()
76 SkScalar prevPos = fFirstPos; in iterateImplicitPos() local
82 const SkScalar currPos = prevPos + dt; in iterateImplicitPos()
83 func(colors[prev], colors[curr], prevPos, currPos); in iterateImplicitPos()
85 prevPos = currPos; in iterateImplicitPos()
89 func(colors[prev], colors[prev + fAdvance], prevPos, 1 - fFirstPos); in iterateImplicitPos()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp49 SkScalar prevPos = fFirstPos; 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()
76 SkScalar prevPos = fFirstPos; in iterateImplicitPos() local
82 const SkScalar currPos = prevPos + dt; in iterateImplicitPos()
83 func(colors[prev], colors[curr], prevPos, currPos); in iterateImplicitPos()
85 prevPos = currPos; in iterateImplicitPos()
89 func(colors[prev], colors[prev + fAdvance], prevPos, 1 - fFirstPos); in iterateImplicitPos()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DNettyTsiHandshaker.java56 int prevPos = nioBuffer.position(); in getBytesToSendToPeer() local
58 bytesWritten += nioBuffer.position() - prevPos; in getBytesToSendToPeer()
62 if (nioBuffer.position() == prevPos) { in getBytesToSendToPeer()
88 int prevPos = nioBuffer.position(); in processBytesFromPeer() local
90 bytesRead += nioBuffer.position() - prevPos; in processBytesFromPeer()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestMonkey.java155 int next(int prevPos) { in next() argument
166 if (prevPos >= fText.length()) { in next()
169 /* p0 = */ p1 = p2 = p3 = prevPos; in next()
170 c3 = UTF16.charAt(fText, prevPos); in next()
411 int next(int prevPos) { in next() argument
420 if (prevPos >= fText.length()) { in next()
423 /*p0 =*/ p1 = p2 = p3 = prevPos; in next()
424 c3 = UTF16.charAt(fText, prevPos); in next()
792 int prevPos; // Index of the char preceding a potential break position in next() local
814 …pos = prevPos = prevPosX2 = -1; // Invalid value, serves as flag for initial loop itera… in next()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITestMonkey.java158 int next(int prevPos) { in next() argument
169 if (prevPos >= fText.length()) { in next()
172 /* p0 = */ p1 = p2 = p3 = prevPos; in next()
173 c3 = UTF16.charAt(fText, prevPos); in next()
414 int next(int prevPos) { in next() argument
423 if (prevPos >= fText.length()) { in next()
426 /*p0 =*/ p1 = p2 = p3 = prevPos; in next()
427 c3 = UTF16.charAt(fText, prevPos); in next()
795 int prevPos; // Index of the char preceding a potential break position in next() local
817 …pos = prevPos = prevPosX2 = -1; // Invalid value, serves as flag for initial loop itera… in next()
[all …]
/external/aac/libSACenc/src/
Dsacenc_onsetdetect.cpp264 const INT prevPos, INT pTransientPos[MAX_NUM_TRANS]) { in fdk_sacenc_onsetDetect_Apply() argument
298 if (prevPos > 0) { in fdk_sacenc_onsetDetect_Apply()
300 prevPos - nTimeSlots + hOnset->minTransientDistance); in fdk_sacenc_onsetDetect_Apply()
Dsacenc_onsetdetect.h152 const INT prevPos, INT pTransientPos[MAX_NUM_TRANS]);
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp1656 int32_t RBBICharMonkey::next(int32_t prevPos) { in next() argument
1671 if (prevPos >= fText->length()) { in next()
1674 p0 = p1 = p2 = p3 = prevPos; in next()
1675 c3 = fText->char32At(prevPos); in next()
1954 int32_t RBBIWordMonkey::next(int32_t prevPos) { in next() argument
1968 if (prevPos >= fText->length()) { in next()
1971 p0 = p1 = p2 = p3 = prevPos; in next()
1972 c3 = fText->char32At(prevPos); in next()
2326 int32_t RBBISentMonkey::next(int32_t prevPos) { in next() argument
2341 if (prevPos >= fText->length()) { in next()
[all …]
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptEngineTest.java464 int prevPos = decryptedBuffer.position(); in unwrap() local
476 assertEquals(bytesProduced, newPos - prevPos); in unwrap()
485 decryptedBuffer.position(prevPos); in unwrap()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptEngineTest.java471 int prevPos = decryptedBuffer.position(); in unwrap() local
483 assertEquals(bytesProduced, newPos - prevPos); in unwrap()
492 decryptedBuffer.position(prevPos); in unwrap()
/external/v8/benchmarks/
Dnavier-stokes.js261 var prevPos = j * rowSize - 1;
269 u[++currentPos] -= wScale * (p[++nextPos] - p[++prevPos]);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaPlayerTest.java1060 int prevPos = 0; in testSeekManualCallback() local
1067 .isEqualTo(prevPos); in testSeekManualCallback()
1073 prevPos = position; in testSeekManualCallback()