Home
last modified time | relevance | path

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

12

/third_party/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()
287 if (index < leftLength) { in internalByteAt()
291 return right.internalByteAt(index - leftLength); in internalByteAt()
378 if (endIndex <= leftLength) { in substring()
383 if (beginIndex >= leftLength) { in substring()
385 return right.substring(beginIndex - leftLength, endIndex - leftLength); in substring()
390 ByteString rightSub = right.substring(0, endIndex - leftLength); in substring()
403 if (sourceOffset + numberToCopy <= leftLength) { in copyToInternal()
[all …]
/third_party/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,
/third_party/node/deps/icu-small/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,
/third_party/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/node/deps/icu-small/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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,
/third_party/skia/third_party/externals/icu/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,
/third_party/node/deps/icu-small/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,
/third_party/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,
/third_party/flutter/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()
/third_party/skia/src/utils/
DSkPatchUtils.cpp176 SkScalar leftLength = approx_arc_length(pts, kNumPtsCubic); in GetLevelOfDetail() local
182 if (topLength < 0 || bottomLength < 0 || leftLength < 0 || rightLength < 0) { in GetLevelOfDetail()
188 int lodY = static_cast<int>(std::max(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail()

12