Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java448 private long endOffset; field in StrictJarFile.FDStream
451 public FDStream(FileDescriptor fd, long initialOffset, long endOffset) { in FDStream() argument
454 this.endOffset = endOffset; in FDStream()
458 return (offset < endOffset ? 1 : 0); in available()
467 final long length = endOffset - offset; in read()
487 if (byteCount > endOffset - offset) { in skip()
488 byteCount = endOffset - offset; in skip()
/frameworks/av/media/codec2/vndk/internal/
DC2ParamInternal.h32 uint32_t endOffset = fd._mFieldId._mOffset + fd._mExtent * fd._mFieldId._mSize; member
34 return fd._mExtent ? endOffset : std::max(endOffset, paramSize);
/frameworks/base/libs/hwui/canvas/
DOpBuffer.h43 size_t endOffset = 0; member
104 mBuffer->endOffset = mBuffer->used; in push_container()
107 void* allocateAt = reinterpret_cast<uint8_t*>(mBuffer) + mBuffer->endOffset; in push_container()
145 ItemHeader* last() const { return isEmpty() ? nullptr : itemAt(mBuffer->endOffset); } in last()
285 mBuffer->endOffset = 0; in clear()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java540 int endOffset; local
569 endOffset = mLayoutState.mOffset;
584 endOffset = mLayoutState.mOffset;
599 updateLayoutStateToFillEnd(lastElement, endOffset);
602 endOffset = mLayoutState.mOffset;
614 int fixOffset = fixLayoutEndGap(endOffset, recycler, state, true);
616 endOffset += fixOffset;
619 endOffset += fixOffset;
623 endOffset += fixOffset;
624 fixOffset = fixLayoutEndGap(endOffset, recycler, state, false);
[all …]
/frameworks/av/media/libshmem/
DShmemCompat.cpp38 const uint64_t endOffset = static_cast<uint64_t>(shmem.offset) + in convertSharedFileRegionToIMemory() local
44 const uint64_t heapEndOffset = (endOffset + pageSize - 1) & pageMask; in convertSharedFileRegionToIMemory()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp344 size_t endOffset = offset - 2; in getNextNALUnit() local
345 while (endOffset > startOffset + 1 && data[endOffset - 1] == 0x00) { in getNextNALUnit()
346 --endOffset; in getNextNALUnit()
350 *nalSize = endOffset - startOffset; in getNextNALUnit()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DXmpDepthDecode.java402 int endOffset = section.data.length; in parseExtendedXMPSections() local
406 xmpEndOffset.add(endOffset); in parseExtendedXMPSections()
419 int endOffset = xmpEndOffset.get(i); in parseExtendedXMPSections() local
420 int length = endOffset - startOffset; in parseExtendedXMPSections()
/frameworks/base/core/java/android/text/method/
DArrowKeyMovementMethod.java290 final int endOffset = widget.getOffsetForPosition(event.getX(), event.getY()); in onTouchEvent() local
291 Selection.setSelection(buffer, Math.min(startOffset, endOffset), in onTouchEvent()
292 Math.max(startOffset, endOffset)); in onTouchEvent()
/frameworks/av/media/codec2/hidl/1.0/utils/
DConfigurable.cpp133 for (size_t srcIx = request.offset(); srcIx < request.endOffset(); ++srcIx) { in querySupportedParams()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp209 static_assert(TestRange(&cap).endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
216 static_assert(range.endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
221 static_assert(TestRange(&cap, 20u, 30u).endOffset() == 50u, ""); in StaticLinearRangeAndCapacityTest()
226 static_assert(TestRange(&cap, 200u, 30u).endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h380 inline constexpr uint32_t endOffset() const { return mOffset + mSize; } in endOffset() function
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp2010 off64_t endOffset = std::max(mMdatEndOffset, mOffset); in truncatePreAllocation() local
2016 mMdatEndOffset, mPreAllocateFileEndOffset - endOffset); in truncatePreAllocation()
2017 if (ftruncate64(mFd, endOffset) == -1) { in truncatePreAllocation()
/frameworks/base/core/java/android/widget/
DEditor.java1239 private long getParagraphsRange(int startOffset, int endOffset) { in getParagraphsRange() argument
1254 int maxLine = layout.getLineForOffset(endOffset); in getParagraphsRange()