Home
last modified time | relevance | path

Searched refs:leftLength (Results 1 – 14 of 14) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java136 private final int leftLength; field in RopeByteString
149 leftLength = left.size(); in RopeByteString()
150 totalLength = leftLength + right.size(); in RopeByteString()
271 if (index < leftLength) { in internalByteAt()
275 return right.internalByteAt(index - leftLength); in internalByteAt()
362 if (endIndex <= leftLength) { in substring()
367 if (beginIndex >= leftLength) { in substring()
369 return right.substring(beginIndex - leftLength, endIndex - leftLength); in substring()
374 ByteString rightSub = right.substring(0, endIndex - leftLength); in substring()
387 if (sourceOffset + numberToCopy <= leftLength) { in copyToInternal()
[all …]
/external/icu/icu4c/source/i18n/
Drulebasedcollator.cpp715 int32_t leftLength = left.length(); in compare() local
717 if(leftLength > length) { leftLength = length; } in compare()
719 return doCompare(left.getBuffer(), leftLength, in compare()
724 RuleBasedCollator::compare(const UChar *left, int32_t leftLength, in compare() argument
728 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { in compare()
734 if(leftLength >= 0) { in compare()
737 if(rightLength >= 0) { leftLength = u_strlen(left); } in compare()
739 return doCompare(left, leftLength, right, rightLength, errorCode); in compare()
756 RuleBasedCollator::internalCompareUTF8(const char *left, int32_t leftLength, in internalCompareUTF8() argument
760 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { in internalCompareUTF8()
[all …]
Dcollationfastlatin.cpp110 const UChar *left, int32_t leftLength, in compareUTF16() argument
133 if(leftIndex == leftLength) { in compareUTF16()
157 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
220 if(leftIndex == leftLength) { in compareUTF16()
239 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
296 if(leftIndex == leftLength) { in compareUTF16()
303 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
349 if(leftIndex == leftLength) { in compareUTF16()
356 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
405 if(leftIndex == leftLength) { in compareUTF16()
[all …]
Dcollationfastlatin.h214 const UChar *left, int32_t leftLength,
218 const uint8_t *left, int32_t leftLength,
Dcoll.cpp985 Collator::internalCompareUTF8(const char *left, int32_t leftLength, in internalCompareUTF8() argument
989 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { in internalCompareUTF8()
994 … StringPiece(left, (leftLength < 0) ? static_cast<int32_t>(uprv_strlen(left)) : leftLength), in internalCompareUTF8()
/external/icu/icu4c/source/common/
Dunorm.cpp225 _concatenate(const UChar *left, int32_t leftLength, in _concatenate() argument
234 left==NULL || leftLength<-1 || right==NULL || rightLength<-1) { in _concatenate()
251 destString.setTo(dest, leftLength, destCapacity); in _concatenate()
254 destString.append(left, leftLength); in _concatenate()
261 unorm_concatenate(const UChar *left, int32_t leftLength, in unorm_concatenate() argument
273 return _concatenate(left, leftLength, right, rightLength, in unorm_concatenate()
276 return _concatenate(left, leftLength, right, rightLength, in unorm_concatenate()
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h695 const char *left, int32_t leftLength,
830 UCollationResult doCompare(const char16_t *left, int32_t leftLength,
833 UCollationResult doCompare(const uint8_t *left, int32_t leftLength,
Dcoll.h1169 const char *left, int32_t leftLength,
/external/skqp/src/utils/
DSkPatchUtils.cpp174 SkScalar leftLength = approx_arc_length(pts, kNumPtsCubic); in GetLevelOfDetail() local
180 if (topLength < 0 || bottomLength < 0 || leftLength < 0 || rightLength < 0) { in GetLevelOfDetail()
186 int lodY = static_cast<int>(SkMaxScalar(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail()
/external/skia/src/utils/
DSkPatchUtils.cpp174 SkScalar leftLength = approx_arc_length(pts, kNumPtsCubic); in GetLevelOfDetail() local
180 if (topLength < 0 || bottomLength < 0 || leftLength < 0 || rightLength < 0) { in GetLevelOfDetail()
186 int lodY = static_cast<int>(std::max(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail()
/external/icu/libandroidicu/include/unicode/
Dunorm.h468 unorm_concatenate(const UChar *left, int32_t leftLength,
/external/icu/icu4c/source/common/unicode/
Dunorm.h468 unorm_concatenate(const UChar *left, int32_t leftLength,
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java1046 int leftLength = left.length();
1047 if((leftLength - leftStart) != (right.length() - rightStart)) { return false; }
1048 while(leftStart < leftLength) {
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationBuilder.java1050 int leftLength = left.length();
1051 if((leftLength - leftStart) != (right.length() - rightStart)) { return false; }
1052 while(leftStart < leftLength) {