Home
last modified time | relevance | path

Searched refs:mLength (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DImmutableString.h46 explicit constexpr ImmutableString(const char *data) : mData(data), mLength(constStrlen(data)) in ImmutableString()
49 constexpr ImmutableString(const char *data, size_t length) : mData(data), mLength(length) {} in ImmutableString()
52 : mData(AllocatePoolCharArray(str.c_str(), str.size())), mLength(str.size()) in ImmutableString()
60 constexpr size_t length() const { return mLength; } in length()
64 constexpr bool empty() const { return mLength == 0; } in empty()
68 return mLength >= prefix.length() && memcmp(data(), prefix.data(), prefix.length()) == 0; in beginsWith()
74 if (mLength != b.mLength)
78 return memcmp(data(), b.data(), mLength) == 0;
92 return mLength == b.length() && memcmp(data(), b.c_str(), mLength) == 0;
98 if (mLength < b.mLength)
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
DInput.cpp27 mLength.reserve(mCount); in Input()
31 mLength.push_back(len < 0 ? std::strlen(mString[i]) : len); in Input()
38 ASSERT(mReadLoc.cIndex < mLength[mReadLoc.sIndex]); in skipChar()
40 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in skipChar()
101 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex; in read()
119 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in read()
DInput.h29 size_t length(size_t index) const { return mLength[index]; } in length()
50 std::vector<size_t> mLength; variable
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DInput.cpp35 mLength.reserve(mCount); in Input()
39 mLength.push_back(len < 0 ? std::strlen(mString[i]) : len); in Input()
46 assert(mReadLoc.cIndex < mLength[mReadLoc.sIndex]); in skipChar()
48 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in skipChar()
109 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex; in read()
127 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in read()
DInput.h35 size_t length(size_t index) const { return mLength[index]; } in length()
56 std::vector<size_t> mLength; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DBinaryStream.h39 mLength = length; in BinaryInputStream()
114 if (!checkedOffset.IsValid() || mOffset + length > mLength) in readString()
136 if (!checkedOffset.IsValid() || mOffset + length > mLength) in skip()
148 ASSERT(mLength >= mOffset); in remainingSize()
149 return mLength - mOffset; in remainingSize()
154 bool endOfStream() const { return mOffset == mLength; } in endOfStream()
162 size_t mLength; variable
180 if (!checkedOffset.IsValid() || checkedOffset.ValueOrDie() > mLength) in read()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DBuffer.cpp35 mLength = 0; in Buffer()
93 mLength = length; in mapRange()
108 mLength = 0; in unmap()
DBuffer.h47 GLsizeiptr length() const { return mLength; } in length()
62 GLsizeiptr mLength; variable
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java841 int mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition() local
851 StringBuilder buffer=new StringBuilder(mLength-1).append(rm0); in getRawDecomposition()
853 return buffer.append(extraData, mapping, mapping+mLength-2).toString(); in getRawDecomposition()
857 return extraData.substring(mapping, mapping+mLength); in getRawDecomposition()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DNormalizer2Impl.java850 int mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition() local
860 StringBuilder buffer=new StringBuilder(mLength-1).append(rm0); in getRawDecomposition()
862 return buffer.append(extraData, mapping, mapping+mLength-2).toString(); in getRawDecomposition()
866 return extraData.substring(mapping, mapping+mLength); in getRawDecomposition()
/third_party/skia/third_party/externals/icu/source/common/
Dnormalizer2impl.cpp1000 int32_t mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition() local
1012 u_memcpy(buffer+1, (const UChar *)mapping+1+2, mLength-2); in getRawDecomposition()
1013 length=mLength-1; in getRawDecomposition()
1017 length=mLength; in getRawDecomposition()
/third_party/node/deps/icu-small/source/common/
Dnormalizer2impl.cpp1000 int32_t mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition() local
1012 u_memcpy(buffer+1, (const char16_t *)mapping+1+2, mLength-2); in getRawDecomposition()
1013 length=mLength-1; in getRawDecomposition()
1017 length=mLength; in getRawDecomposition()
/third_party/icu/icu4c/source/common/
Dnormalizer2impl.cpp1000 int32_t mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition() local
1012 u_memcpy(buffer+1, (const UChar *)mapping+1+2, mLength-2); in getRawDecomposition()
1013 length=mLength-1; in getRawDecomposition()
1017 length=mLength; in getRawDecomposition()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp56452 uint32_t mLength; member
56595 size_type Length() const { return mHdr->mLength; } in Length()
56644 mHdr->mLength += aNum; in IncrementLength()
57379 base_type::mHdr->mLength = 0; in ClearAndRetainStorage()
57392 base_type::mHdr->mLength = aNewLen; in SetLengthAndRetainStorage()
58092 base_type::mHdr->mLength = j; in RemoveElementsBy()
58427 (*phdr)->mLength = 0; in Init()
58581 header->mLength = 0; in EnsureCapacity()
58651 if (mHdr->mLength >= mHdr->mCapacity) { in ShrinkCapacity()
58661 header->mLength = length; in ShrinkCapacity()
[all …]
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi39867 …<var-decl name='mLength' type-id='8f92235e' visibility='default' filepath='frameworks/minikin/incl…