Home
last modified time | relevance | path

Searched refs:currentPosition (Results 1 – 25 of 28) sorted by relevance

12

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
DLZ77Compressor.java235 private int currentPosition; field in LZ77Compressor
317 if (blockStart != currentPosition || lookahead > 0) { in finish()
318 currentPosition += lookahead; in finish()
336 if (currentPosition != 0 || lookahead != 0) { in prefill()
354 blockStart = currentPosition = len; in prefill()
377 int spaceLeft = window.length - currentPosition - lookahead; in doCompress()
381 System.arraycopy(data, off, window, currentPosition + lookahead, len); in doCompress()
393 if (blockStart != currentPosition && blockStart < wSize) { in slide()
395 blockStart = currentPosition; in slide()
398 currentPosition -= wSize; in slide()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DMemoryDeferredOutputStream.java18 private int currentPosition; field in MemoryDeferredOutputStream
32 if (currentPosition > 0) { in writeTo()
33 output.write(currentBuffer, 0, currentPosition); in writeTo()
36 currentPosition = 0; in writeTo()
43 currentPosition = 0; in write()
45 currentBuffer[currentPosition++] = (byte)i; in write()
57 System.arraycopy(bytes, offset + written, currentBuffer, currentPosition, toWrite); in write()
59 currentPosition += toWrite; in write()
65 currentPosition = 0; in write()
72 return currentBuffer.length - currentPosition; in remaining()
/external/angle/src/tests/gl_tests/
DClipDistanceTest.cpp657 const int currentPosition = y * getWindowHeight() + x; in TEST_P() local
662 EXPECT_EQ(GLColor::red, actualColors[currentPosition]); in TEST_P()
667 EXPECT_EQ(GLColor::blue, actualColors[currentPosition]); in TEST_P()
707 const int currentPosition = y * getWindowHeight() + x; in TEST_P() local
712 EXPECT_EQ(GLColor::red, actualColors[currentPosition]); in TEST_P()
717 EXPECT_EQ(GLColor::green, actualColors[currentPosition]); in TEST_P()
800 const int currentPosition = y * getWindowHeight() + x; in TEST_P() local
805 EXPECT_EQ(GLColor::red, actualColors[currentPosition]); in TEST_P()
810 EXPECT_EQ(GLColor::blue, actualColors[currentPosition]); in TEST_P()
875 const int currentPosition = y * getWindowHeight() + x; in TEST_P() local
[all …]
/external/skia/tests/
DFrontBufferedStreamTest.cpp238 size_t currentPosition = 0; in test_initial_offset() local
243 while (currentPosition < bufferedLength) { in test_initial_offset()
245 test_read(reporter, bufferedStream.get(), gAbcs + arbitraryOffset + currentPosition, in test_initial_offset()
247 currentPosition = std::min(currentPosition + amountToRead, bufferedLength); in test_initial_offset()
248 REPORTER_ASSERT(reporter, memStream->getPosition() - arbitraryOffset == currentPosition); in test_initial_offset()
251 REPORTER_ASSERT(reporter, bufferedLength == currentPosition); in test_initial_offset()
/external/skqp/tests/
DFrontBufferedStreamTest.cpp233 size_t currentPosition = 0; in test_initial_offset() local
238 while (currentPosition < bufferedLength) { in test_initial_offset()
240 test_read(reporter, bufferedStream.get(), gAbcs + arbitraryOffset + currentPosition, in test_initial_offset()
242 currentPosition = SkTMin(currentPosition + amountToRead, bufferedLength); in test_initial_offset()
243 REPORTER_ASSERT(reporter, memStream->getPosition() - arbitraryOffset == currentPosition); in test_initial_offset()
246 REPORTER_ASSERT(reporter, bufferedLength == currentPosition); in test_initial_offset()
/external/easymock/src/org/easymock/internal/
DResults.java46 int currentPosition = 0; in next() local
53 currentPosition += interval.getMaximum(); in next()
54 if (currentPosition > callCount) { in next()
/external/replicaisland/src/com/replica/replicaisland/
DSelectDialogComponent.java43 final Vector2 currentPosition = parentObject.getPosition(); in update() local
45 mLastPosition.set(currentPosition); in update()
47 …final int hitSpot = hotSpot.getHotSpot(parentObject.getCenteredPositionX(), currentPosition.y + 10… in update()
DBackgroundCollisionComponent.java324 …protected boolean sweepHorizontal(Vector2 previousPosition, Vector2 currentPosition, Vector2 delta… in sweepHorizontal() argument
346 mTestPointEnd.set(currentPosition); in sweepHorizontal()
351 currentPosition.x = (hitPoint.x + offset); in sweepHorizontal()
359 … protected boolean sweepVertical(Vector2 previousPosition, Vector2 currentPosition, Vector2 delta, in sweepVertical() argument
378 mTestPointEnd.set(currentPosition); in sweepVertical()
384 currentPosition.y = (hitPoint.y + offset); in sweepVertical()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVideoView.java28 private int currentPosition; field in ShadowVideoView
99 currentPosition = msec; in seekTo()
104 return currentPosition; in getCurrentPosition()
DShadowMediaPlayer.java894 final int currentPosition = getCurrentPositionRaw();
896 Entry<Integer, RunList> event = info.events.higherEntry(currentPosition);
905 postEventDelayed(nextPlaybackEvent, runListOffset - currentPosition);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java2011 private int currentPosition; field in ElemNumber.NumberFormatStringTokenizer
2035 currentPosition = 0; in reset()
2048 if (currentPosition >= maxPosition) in nextToken()
2053 int start = currentPosition; in nextToken()
2055 while ((currentPosition < maxPosition) in nextToken()
2056 && Character.isLetterOrDigit(str.charAt(currentPosition))) in nextToken()
2058 currentPosition++; in nextToken()
2061 if ((start == currentPosition) in nextToken()
2062 && (!Character.isLetterOrDigit(str.charAt(currentPosition)))) in nextToken()
2064 currentPosition++; in nextToken()
[all …]
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ogg/
DDefaultOggSeekerTest.java106 int currentPosition = (int) input.getPosition(); in seeking() local
108 assertThat(currentPosition).isEqualTo(0); in seeking()
110 int previousPageStart = findPreviousPageStart(data, currentPosition); in seeking()
116 input.setPosition(currentPosition); in seeking()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DDefaultOggSeeker.java157 long currentPosition = input.getPosition(); in getNextSeekPosition() local
159 if (start == currentPosition) { in getNextSeekPosition()
175 end = currentPosition; in getNextSeekPosition()
/external/skia/src/ports/
DSkFontHost_FreeType_common.h81 const SkFontArguments::VariationPosition::Coordinate* currentPosition = nullptr);
DSkFontHost_FreeType.cpp823 SkAutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate> currentPosition(axisCount); in cloneFontData() local
824 int currentAxisCount = GetVariationDesignPosition(fta, currentPosition, axisCount); in cloneFontData()
829 currentAxisCount == axisCount ? currentPosition.get() : nullptr); in cloneFontData()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java606 long currentPosition = getCurrentPosition(); in getTotalBufferedDuration() local
607 return bufferedPosition == C.TIME_UNSET || currentPosition == C.TIME_UNSET in getTotalBufferedDuration()
609 : bufferedPosition - currentPosition; in getTotalBufferedDuration()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipFile.java1011 long currentPosition = archive.position();
1012 long newPosition = currentPosition + count;
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DMatroskaExtractor.java1680 private boolean maybeSeekForCues(PositionHolder seekPosition, long currentPosition) { in maybeSeekForCues() argument
1682 seekPositionAfterBuildingCues = currentPosition; in maybeSeekForCues()
/external/guice/lib/build/
Deasymock.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/easymock/ org/ ...
/external/guice/extensions/persist/lib/
Deasymock.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/easymock/ org/ ...
Djaxen-1.1-beta-7.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jaxen/ org/ ...
/external/pdfium/third_party/lcms/src/
Dcmstypes.c181 cmsUInt32Number currentPosition; in ReadPositionTable() local
183 currentPosition = io->Tell(io); in ReadPositionTable()
186 if (((io->ReportedSize - currentPosition) / (2 * sizeof(cmsUInt32Number))) < Count) in ReadPositionTable()
/external/antlr/runtime/ActionScript/project/lib/
DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/ ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...

12