Home
last modified time | relevance | path

Searched refs:mLength (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A 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) in operator ==()
78 return memcmp(data(), b.data(), mLength) == 0; in operator ==()
92 return mLength in operator ==()
135 size_t mLength; global() member in sh::ImmutableString
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
H A 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]);
40 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex])
101 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex;
119 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex])
H A DInput.h29 size_t length(size_t index) const { return mLength[index]; } in length()
50 std::vector<size_t> mLength; member in angle::pp::Input
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
H A 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]);
48 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex])
109 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex;
127 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex])
H A DInput.h35 size_t length(size_t index) const { return mLength[index]; } in length()
56 std::vector<size_t> mLength; member in pp::Input
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A 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; member in gl::BinaryInputStream
180 if (!checkedOffset.IsValid() || checkedOffset.ValueOrDie() > mLength) in read()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DBuffer.cpp35 mLength = 0; in Buffer()
93 mLength = length; in mapRange()
108 mLength = 0; in unmap()
H A DBuffer.h47 GLsizeiptr length() const { return mLength; } in length()
62 GLsizeiptr mLength; member in es2::Buffer
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DNormalizer2Impl.java841 int mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition()
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/
H A DNormalizer2Impl.java850 int mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping in getRawDecomposition()
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/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]
/third_party/icu/icu4c/source/common/
H A Dnormalizer2impl.cpp1000 int32_t mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping
1012 u_memcpy(buffer+1, (const UChar *)mapping+1+2, mLength-2);
1013 length=mLength-1;
1017 length=mLength;
/third_party/node/deps/icu-small/source/common/
H A Dnormalizer2impl.cpp1000 int32_t mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping
1012 u_memcpy(buffer+1, (const char16_t *)mapping+1+2, mLength-2);
1013 length=mLength-1;
1017 length=mLength;
/third_party/skia/third_party/externals/icu/source/common/
H A Dnormalizer2impl.cpp1000 int32_t mLength=firstUnit&MAPPING_LENGTH_MASK; // length of normal mapping
1012 u_memcpy(buffer+1, (const UChar *)mapping+1+2, mLength-2);
1013 length=mLength-1;
1017 length=mLength;

Completed in 41 milliseconds