Searched refs:currentPosition (Results 1 – 7 of 7) sorted by relevance
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
D | MemoryDeferredOutputStream.java | 18 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/skia/tests/ |
D | FrontBufferedStreamTest.cpp | 227 size_t currentPosition = 0; in test_initial_offset() local 232 while (currentPosition < bufferedLength) { in test_initial_offset() 234 test_read(reporter, bufferedStream.get(), gAbcs + arbitraryOffset + currentPosition, in test_initial_offset() 236 currentPosition = SkTMin(currentPosition + amountToRead, bufferedLength); in test_initial_offset() 237 REPORTER_ASSERT(reporter, memStream->getPosition() - arbitraryOffset == currentPosition); in test_initial_offset() 240 REPORTER_ASSERT(reporter, bufferedLength == currentPosition); in test_initial_offset()
|
/external/easymock/src/org/easymock/internal/ |
D | Results.java | 46 int currentPosition = 0; in next() local 53 currentPosition += interval.getMaximum(); in next() 54 if (currentPosition > callCount) { in next()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SelectDialogComponent.java | 43 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()
|
D | BackgroundCollisionComponent.java | 324 …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/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMediaPlayer.java | 23 private int currentPosition; field in ShadowMediaPlayer 119 return currentPosition; in getCurrentPosition() 123 currentPosition = position; in setCurrentPosition()
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemNumber.java | 2011 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 …]
|