Home
last modified time | relevance | path

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

/external/protobuf/java/src/main/java/com/google/protobuf/
DRopeByteString.java117 private final int leftLength; field in RopeByteString
132 leftLength = left.size(); in RopeByteString()
133 totalLength = leftLength + right.size(); in RopeByteString()
259 if (index < leftLength) { in byteAt()
262 result = right.byteAt(index - leftLength); in byteAt()
334 if (endIndex <= leftLength) { in substring()
337 } else if (beginIndex >= leftLength) { in substring()
340 .substring(beginIndex - leftLength, endIndex - leftLength); in substring()
344 ByteString rightSub = right.substring(0, endIndex - leftLength); in substring()
360 if (sourceOffset + numberToCopy <= leftLength) { in copyToInternal()
[all …]
/external/icu/icu4c/source/i18n/
Drulebasedcollator.cpp713 int32_t leftLength = left.length(); in compare() local
715 if(leftLength > length) { leftLength = length; } in compare()
717 return doCompare(left.getBuffer(), leftLength, in compare()
722 RuleBasedCollator::compare(const UChar *left, int32_t leftLength, in compare() argument
726 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { in compare()
732 if(leftLength >= 0) { in compare()
735 if(rightLength >= 0) { leftLength = u_strlen(left); } in compare()
737 return doCompare(left, leftLength, right, rightLength, errorCode); in compare()
754 RuleBasedCollator::internalCompareUTF8(const char *left, int32_t leftLength, in internalCompareUTF8() argument
758 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { in internalCompareUTF8()
[all …]
Dcollationfastlatin.cpp108 const UChar *left, int32_t leftLength, in compareUTF16() argument
131 if(leftIndex == leftLength) { in compareUTF16()
155 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
218 if(leftIndex == leftLength) { in compareUTF16()
237 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
294 if(leftIndex == leftLength) { in compareUTF16()
301 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
347 if(leftIndex == leftLength) { in compareUTF16()
354 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
403 if(leftIndex == leftLength) { in compareUTF16()
[all …]
Dcollationfastlatin.h212 const UChar *left, int32_t leftLength,
216 const uint8_t *left, int32_t leftLength,
Dcoll.cpp976 Collator::internalCompareUTF8(const char *left, int32_t leftLength, in internalCompareUTF8() argument
980 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { in internalCompareUTF8()
985 StringPiece(left, (leftLength < 0) ? uprv_strlen(left) : leftLength), in internalCompareUTF8()
/external/icu/icu4c/source/common/
Dunorm.cpp223 _concatenate(const UChar *left, int32_t leftLength, in _concatenate() argument
232 left==NULL || leftLength<-1 || right==NULL || rightLength<-1) { in _concatenate()
249 destString.setTo(dest, leftLength, destCapacity); in _concatenate()
252 destString.append(left, leftLength); in _concatenate()
259 unorm_concatenate(const UChar *left, int32_t leftLength, in unorm_concatenate() argument
271 return _concatenate(left, leftLength, right, rightLength, in unorm_concatenate()
274 return _concatenate(left, leftLength, right, rightLength, in unorm_concatenate()
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h687 const char *left, int32_t leftLength,
821 UCollationResult doCompare(const UChar *left, int32_t leftLength,
824 UCollationResult doCompare(const uint8_t *left, int32_t leftLength,
Dcoll.h1146 const char *left, int32_t leftLength,
/external/icu/icu4c/source/common/unicode/
Dunorm.h462 unorm_concatenate(const UChar *left, int32_t leftLength,
/external/skia/src/utils/
DSkPatchUtils.cpp131 SkScalar leftLength = approx_arc_length(pts, kNumPtsCubic); in GetLevelOfDetail() local
139 int lodY = static_cast<int>(SkMaxScalar(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java1043 int leftLength = left.length();
1044 if((leftLength - leftStart) != (right.length() - rightStart)) { return false; }
1045 while(leftStart < leftLength) {
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationBuilder.java1047 int leftLength = left.length();
1048 if((leftLength - leftStart) != (right.length() - rightStart)) { return false; }
1049 while(leftStart < leftLength) {