Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
/frameworks/wilhelm/tools/permute/
Dpermute.c99 unsigned leftLength = s->mMinSegmentLengthFrames + cut; in split() local
100 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()