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.java120 private final int leftLength; field in RopeByteString
135 leftLength = left.size(); in RopeByteString()
136 totalLength = leftLength + right.size(); in RopeByteString()
258 if (index < leftLength) { in byteAt()
262 return right.byteAt(index - leftLength); in byteAt()
320 if (endIndex <= leftLength) { in substring()
325 if (beginIndex >= leftLength) { in substring()
327 return right.substring(beginIndex - leftLength, endIndex - leftLength); in substring()
332 ByteString rightSub = right.substring(0, endIndex - leftLength); in substring()
345 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.cpp987 Collator::internalCompareUTF8(const char *left, int32_t leftLength, in internalCompareUTF8() argument
991 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { in internalCompareUTF8()
996 … 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.h689 const char *left, int32_t leftLength,
824 UCollationResult doCompare(const char16_t *left, int32_t leftLength,
827 UCollationResult doCompare(const uint8_t *left, int32_t leftLength,
Dcoll.h1151 const char *left, int32_t leftLength,
/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>(SkMaxScalar(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail()
/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/icu/icu4c/source/common/unicode/
Dunorm.h464 unorm_concatenate(const UChar *left, int32_t leftLength,
/external/icu/libandroidicu/include/unicode/
Dunorm.h464 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) {