Home
last modified time | relevance | path

Searched refs:newOffset (Results 1 – 6 of 6) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/io/
DPushbackInputStream.java209 int copiedBytes = 0, copyLength = 0, newOffset = offset; in read() local
214 System.arraycopy(buf, pos, buffer, newOffset, copyLength); in read()
215 newOffset += copyLength; in read()
224 int inCopied = in.read(buffer, newOffset, length - copiedBytes); in read()
DPushbackReader.java209 int newOffset = offset; in read() local
214 System.arraycopy(buf, pos, buffer, newOffset, copyLength); in read()
215 newOffset += copyLength; in read()
224 int inCopied = in.read(buffer, newOffset, count - copiedChars); in read()
/dalvik/libcore/text/src/main/java/java/text/
DCollationElementIterator.java210 public void setOffset(int newOffset) { in setOffset() argument
211 this.icuIterator.setOffset(newOffset); in setOffset()
/dalvik/vm/
DProfile.c586 int oldOffset, newOffset; in dvmMethodTraceAdd() local
607 newOffset = oldOffset + TRACE_REC_SIZE; in dvmMethodTraceAdd()
608 if (newOffset > state->bufferSize) { in dvmMethodTraceAdd()
612 } while (!ATOMIC_CMP_SWAP(&state->curOffset, oldOffset, newOffset)); in dvmMethodTraceAdd()
/dalvik/libdex/
DDexSwapVerify.c2334 u4 newOffset = (offset + alignmentMask) & ~alignmentMask; in iterateSectionWithOptionalUpdate() local
2335 u1* ptr = filePointer(state, newOffset); in iterateSectionWithOptionalUpdate()
2337 if (offset < newOffset) { in iterateSectionWithOptionalUpdate()
2339 if (offset < newOffset) { in iterateSectionWithOptionalUpdate()
2340 CHECK_OFFSET_RANGE(offset, newOffset); in iterateSectionWithOptionalUpdate()
2341 while (offset < newOffset) { in iterateSectionWithOptionalUpdate()
2353 newOffset = fileOffset(state, newPtr); in iterateSectionWithOptionalUpdate()
2360 if (newOffset > state->fileLen) { in iterateSectionWithOptionalUpdate()
2370 offset = newOffset; in iterateSectionWithOptionalUpdate()
/dalvik/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java468 int newOffset = getOffset(time + zoneOffset); in add() local
470 if (newOffset != offset) { in add()
471 time += offset - newOffset; in add()