/frameworks/minikin/include/minikin/ |
D | Range.h | 32 Range(uint32_t start, uint32_t end) : mStart(start), mEnd(end) {} in Range() 39 inline bool isValid() const { return mStart != NOWHERE && mEnd != NOWHERE; } in isValid() 44 inline uint32_t getEnd() const { return mEnd; } // exclusive in getEnd() 45 inline void setEnd(uint32_t end) { mEnd = end; } // exclusive in setEnd() 47 inline uint32_t getLength() const { return mEnd - mStart; } in getLength() 49 inline bool isEmpty() const { return mStart == mEnd; } in isEmpty() 56 return std::make_pair(Range(mStart, pos), Range(pos, mEnd)); in split() 60 return mStart <= other.mStart && other.mEnd <= mEnd; in contains() 69 inline bool contains(uint32_t pos) const { return mStart <= pos && pos < mEnd; } in contains() 73 return left.isValid() && right.isValid() && left.mStart < right.mEnd && in intersects() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/ |
D | ByteRange.java | 24 private final long mEnd; field in ByteRange 31 mEnd = end; in ByteRange() 41 return mEnd; in getEnd() 46 return (int) (mEnd - mStart + 1); in getLength() 52 return new ByteRange(mStart, mEnd + length); in extend() 65 return (mEnd == byteRange.mEnd && mStart == byteRange.mStart); in equals() 72 result = 31 * result + (int) (mEnd ^ (mEnd >>> 32)); in hashCode() 78 return String.format("ByteRange{mStart=%d, mEnd=%d}", mStart, mEnd); in toString()
|
/frameworks/base/core/java/android/print/ |
D | PageRange.java | 39 private final int mEnd; field in PageRange 61 mEnd = end; in PageRange() 83 return mEnd; in getEnd() 95 return (pageIndex >= mStart) && (pageIndex <= mEnd); in contains() 107 return mEnd - mStart + 1; in getSize() 118 parcel.writeInt(mEnd); in writeToParcel() 125 result = prime * result + mEnd; in hashCode() 142 if (mEnd != other.mEnd) { in equals() 153 if (mStart == 0 && mEnd == Integer.MAX_VALUE) { in toString() 160 .append(mEnd) in toString()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Decoder.java | 32 private final int mEnd; field in Asn1Decoder 62 mEnd = offset + length; in Asn1Decoder() 72 return mPosition < mEnd; in hasNextNode() 85 if (mPosition >= mEnd) { in nextNode() 96 while (offset < mEnd && (mSrc[offset++] & 0x80) != 0) { in nextNode() 100 if (offset >= mEnd) { in nextNode() 121 if (offset + lenLen > mEnd) { in nextNode() 135 if (offset + dataLen > mEnd) { in nextNode() 144 + (mEnd - offset)); in nextNode()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BitwiseInputStream.java | 38 private int mEnd; field in BitwiseInputStream 57 mEnd = buf.length << 3; in BitwiseInputStream() 66 return mEnd - mPos; in available() 82 if ((bits < 0) || (bits > 8) || ((mPos + bits) > mEnd)) { in read() 84 "(pos " + mPos + ", end " + mEnd + ", bits " + bits + ")"); in read() 118 if ((mPos + bits) > mEnd) { in skip() 120 "(pos " + mPos + ", end " + mEnd + ", bits " + bits + ")"); in skip()
|
D | BitwiseOutputStream.java | 38 private int mEnd; field in BitwiseOutputStream 57 mEnd = startingLength << 3; in BitwiseOutputStream() 80 if ((mPos + bits) < mEnd) return; in possExpand() 82 System.arraycopy(mBuf, 0, newBuf, 0, mEnd >>> 3); in possExpand() 84 mEnd = newBuf.length << 3; in possExpand()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | KeyEntryMap.h | 90 const_iterator mapping, mEnd = m_Pool.end(); in lookUp() local 91 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUp() 102 iterator mapping, mEnd = m_Pool.end(); in lookUp() local 103 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUp() 115 const_iterator mapping, mEnd = m_Pool.end(); in lookUpFirstEntry() local 116 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUpFirstEntry() 128 const_iterator mapping, mEnd = m_Pool.end(); in lookUpFirstEntry() local 129 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUpFirstEntry() 141 const_iterator mapping, mEnd = m_Pool.end(); in lookUpSecondEntry() local 142 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUpSecondEntry() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/utils/ |
D | History.java | 32 private int mEnd; field in History 57 mEnd = 0; in History() 70 mTimes[mEnd] = mClock.millis(); in add() 71 mValues[mEnd] = value; in add() 77 mEnd = (mEnd + 1) % mSize; in add()
|
D | RollingBuffer.java | 29 private int mEnd; field in RollingBuffer 53 mTimes[mEnd] = time; in add() 54 mValues[mEnd] = value; in add() 55 mEnd = (mEnd + 1) % mSize; in add() 130 mEnd = 0; in clear() 170 mEnd = mCount; in expandBuffer()
|
/frameworks/base/core/java/android/content/pm/ |
D | LimitedLengthInputStream.java | 20 private final long mEnd; field in LimitedLengthInputStream 52 mEnd = offset + length; in LimitedLengthInputStream() 60 if (mOffset >= mEnd) { in read() 70 if (mOffset >= mEnd) { in read() 81 if (mOffset + byteCount > mEnd) { in read() 82 byteCount = (int) (mEnd - mOffset); in read()
|
/frameworks/base/core/java/android/widget/ |
D | RtlSpacingHelper.java | 31 private int mEnd = UNDEFINED; field in RtlSpacingHelper 56 mEnd = end; in setRelative() 80 mLeft = mEnd != UNDEFINED ? mEnd : mExplicitLeft; in setDirection() 84 mRight = mEnd != UNDEFINED ? mEnd : mExplicitRight; in setDirection()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoInputStream.java | 136 private int mEnd = 0; field in ProtoInputStream 176 mEnd = buffer.length; in ProtoInputStream() 558 if (mOffset >= mEnd) { in readTag() 601 final int fragment = mEnd - mOffset; in readVarint() 629 if (mOffset + 4 <= mEnd) { in readFixed32() 646 int fragment = (mEnd - mOffset) < bytesLeft ? (mEnd - mOffset) : bytesLeft; in readFixed32() 665 if (mOffset + 8 <= mEnd) { in readFixed64() 686 int fragment = (mEnd - mOffset) < bytesLeft ? (mEnd - mOffset) : bytesLeft; in readFixed64() 707 while (mOffset + n - pos > mEnd) { in readRawBytes() 708 int fragment = mEnd - mOffset; in readRawBytes() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | NetworkStatsSummaryLoader.java | 36 private final long mEnd; field in NetworkStatsSummaryLoader 42 mEnd = builder.mEnd; in NetworkStatsSummaryLoader() 57 return mNetworkStatsManager.querySummary(mNetworkTemplate, mStart, mEnd); in loadInBackground() 79 private long mEnd; field in NetworkStatsSummaryLoader.Builder 92 mEnd = end; in setEndTime()
|
/frameworks/base/core/java/android/text/method/ |
D | WordIterator.java | 41 private int mStart, mEnd; field in WordIterator 66 mEnd = Math.min(charSequence.length(), end + WINDOW_WIDTH); in setCharSequence() 67 mIterator.setText(new CharSequenceCharacterIterator(charSequence, mStart, mEnd)); in setCharSequence() 319 if (mStart < offset && offset <= mEnd) { in isAfterPunctuation() 335 if (mStart <= offset && offset < mEnd) { in isOnPunctuation() 383 if (mStart < offset && offset <= mEnd) { in isAfterLetterOrDigit() 391 if (mStart <= offset && offset < mEnd) { in isOnLetterOrDigit() 399 if (!(mStart <= offset && offset <= mEnd)) { in checkOffsetIsValid() 401 ". Valid range is [" + mStart + ", " + mEnd + "]"); in checkOffsetIsValid()
|
/frameworks/base/core/java/android/text/ |
D | AlteredCharSequence.java | 49 mEnd = subend; in AlteredCharSequence() 55 mEnd = subend; in update() 92 if (off >= mStart && off < mEnd) in charAt() 104 mChars, mStart - start, mEnd - start); in subSequence() 111 end = Math.min(mEnd, end); in getChars() 126 private int mEnd; field in AlteredCharSequence
|
D | InputFilter.java | 108 private final int mStart, mEnd; field in InputFilter.AllCaps.CharSequenceWrapper 114 mEnd = end; in CharSequenceWrapper() 137 return mSource.subSequence(mStart, mEnd).toString(); in toString()
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffEntryImpl.h | 58 Endianness mEnd; variable 66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) { in TiffEntryImpl() 114 return mEnd; in getEndianness() 155 if (mEnd != UNDEFINED_ENDIAN) { in writeData() 157 out->setEndianness(mEnd); in writeData() 172 if (mEnd != UNDEFINED_ENDIAN) { in writeData()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SelectionEvent.java | 140 private int mEnd; field in SelectionEvent 174 mEnd = in.readInt(); in SelectionEvent() 203 dest.writeInt(mEnd); in writeToParcel() 571 return mEnd; in getEnd() 577 mEnd = end; in setEnd() 641 mEventIndex, mSessionId, mStart, mEnd, mSmartStart, mSmartEnd); in hashCode() 670 && mEnd == other.mEnd in equals() 687 mSessionId, mStart, mEnd, mSmartStart, mSmartEnd); in toString()
|
D | TextLinks.java | 208 private final int mEnd; field in TextLinks.TextLink 231 mEnd = end; in TextLink() 252 return mEnd; in getEnd() 295 mStart, mEnd, mEntityScores, mUrlSpan); in toString() 307 dest.writeInt(mEnd); in writeToParcel()
|
/frameworks/base/core/java/android/app/admin/ |
D | FreezePeriod.java | 46 private final MonthDay mEnd; field in FreezePeriod 64 mEnd = end; in FreezePeriod() 65 mEndDay = mEnd.atYear(DUMMY_YEAR).getDayOfYear(); in FreezePeriod() 79 return mEnd; in getEnd() 89 mEnd = dayOfYearToMonthDay(endDay); in FreezePeriod()
|
/frameworks/base/core/java/android/view/textclassifier/logging/ |
D | SmartSelectionEventTracker.java | 136 Preconditions.checkArgument(event.mEnd == event.mStart + 1); in logEvent() 145 mSmartIndices[1] = event.mEnd; in logEvent() 149 if (mPrevIndices[0] == event.mStart && mPrevIndices[1] == event.mEnd) { in logEvent() 177 .addTaggedData(EVENT_END, getRangeDelta(event.mEnd)) in writeEvent() 183 mPrevIndices[1] = event.mEnd; in writeEvent() 425 private final int mEnd; field in SmartSelectionEventTracker.SelectionEvent 435 mEnd = end; in SelectionEvent()
|
/frameworks/av/media/libnblog/ |
D | Reader.cpp | 129 snapshot->mEnd = snapshot->mBegin = EntryIterator(front); in getSnapshot() 132 snapshot->mEnd = EntryIterator(lastEnd).next(); in getSnapshot() 135 const uint8_t *firstStartTmp = snapshot->mEnd; in getSnapshot() 142 snapshot->mBegin = snapshot->mEnd; in getSnapshot() 150 mFifoReader->release(snapshot->mEnd - front); in getSnapshot()
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | Reader.h | 97 EntryIterator end() const { return mEnd; } in end() 107 EntryIterator mEnd; variable
|
/frameworks/layoutlib/bridge/src/android/graphics/text/ |
D | MeasuredText_Builder_Delegate.java | 127 measureText(mNativePaint, builder.mText, mStart, mEnd - mStart, builder.mWidths, in addTo() 143 Arrays.fill(builder.mWidths, mStart + 1, mEnd, 0.0f); in addTo()
|
/frameworks/base/core/java/android/util/ |
D | MapCollections.java | 75 int mEnd; field in MapCollections.MapIterator 80 mEnd = colGetSize() - 1; in MapIterator() 86 return mIndex < mEnd; in hasNext() 104 mEnd--; in remove()
|