Searched refs:leftLength (Results 1 – 2 of 2) sorted by relevance
120 private final int leftLength; field in RopeByteString135 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 …]
99 unsigned leftLength = s->mMinSegmentLengthFrames + cut; in split() local100 unsigned rightStart = frameStart + leftLength; in split()102 assert(leftLength + rightLength == frameLength); in split()106 if (leftLength <= rightLength) { in split()107 used = split(s, leftStart, leftLength, segmentBudget / 2); in split()111 used += split(s, leftStart, leftLength, segmentBudget - used); in split()