Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DCursorWindow.cpp291 int32_t newOffset = mSlotsOffset - size; in allocRow() local
292 if (newOffset < (int32_t) mAllocOffset) { in allocRow()
294 newOffset = mSlotsOffset - size; in allocRow()
295 if (newOffset < (int32_t) mAllocOffset) { in allocRow()
299 memset(offsetToPtr(newOffset), 0, size); in allocRow()
300 mSlotsOffset = newOffset; in allocRow()
311 size_t newOffset = mSlotsOffset + size; in freeLastRow() local
312 if (newOffset > mSize) { in freeLastRow()
315 mSlotsOffset = newOffset; in freeLastRow()
326 size_t newOffset = mAllocOffset + alignedSize; in alloc() local
[all …]
DAsset.cpp345 off64_t newOffset; in handleSeek() local
349 newOffset = offset; in handleSeek()
352 newOffset = curPosn + offset; in handleSeek()
355 newOffset = maxPosn + offset; in handleSeek()
364 if (newOffset < 0 || newOffset > maxPosn) { in handleSeek()
366 (long) newOffset, (long) maxPosn); in handleSeek()
370 return newOffset; in handleSeek()
/frameworks/base/native/graphics/jni/
Daassetstreamadaptor.cpp98 const off64_t newOffset = AAsset_seek64(mAAsset, size, SEEK_CUR); in read() local
99 if (-1 == newOffset) { in read()
103 amount = newOffset - oldOffset; in read()
/frameworks/base/libs/hwui/jni/
DUtils.cpp103 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read() local
104 if (-1 == newOffset) { in read()
108 amount = newOffset - oldOffset; in read()
/frameworks/base/tools/aapt/
DStringPool.cpp314 size_t newOffset; in sortByConfig() local
318 newOffset = newEntries.add(oldEnt); in sortByConfig()
319 newEntries.editItemAt(newOffset).indices.clear(); in sortByConfig()
323 newOffset = origOffsetToNewOffset.valueAt(newIndexOfOffset); in sortByConfig()
326 newEntries.editItemAt(newOffset).indices.add(i); in sortByConfig()
328 newEntryArray.add(newOffset); in sortByConfig()
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp64 size_t newOffset = mOffset + amt; in move() local
65 mIndex += newOffset / mChunkSize; in move()
66 mOffset = newOffset % mChunkSize; in move()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java433 final int newOffset = layout.getOffsetToRightOf(state.mSelectionStart); in moveCursorToRightCursorableOffset() local
434 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToRightCursorableOffset()
440 final int newOffset = layout.getOffsetToLeftOf(state.mSelectionStart); in moveCursorToLeftCursorableOffset() local
441 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToLeftCursorableOffset()
/frameworks/av/media/module/extractors/mp4/
DItemTable.cpp1155 off64_t newOffset = *offset; in parseNullTerminatedString() local
1157 while (newOffset < stopOffset) { in parseNullTerminatedString()
1158 if (!source()->readAt(newOffset++, &tmp, 1)) { in parseNullTerminatedString()
1165 *offset = newOffset; in parseNullTerminatedString()
1166 *size = stopOffset - newOffset; in parseNullTerminatedString()
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java954 final int newOffset = subTextStart + selStart - newSelHead; in trimLongSurroundingText() local
957 newOffset); in trimLongSurroundingText()
/frameworks/base/media/java/android/media/
DMediaCodec.java1668 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) { in set() argument
1669 offset = newOffset; in set()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...