Home
last modified time | relevance | path

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

/external/protobuf/java/src/main/java/com/google/protobuf/
DRopeByteString.java505 int bytesToCompare = Math.min(thisRemaining, thatRemaining); in equalsFragments() local
509 ? thisString.equalsRange(thatString, thatOffset, bytesToCompare) in equalsFragments()
510 : thatString.equalsRange(thisString, thisOffset, bytesToCompare); in equalsFragments()
515 pos += bytesToCompare; in equalsFragments()
523 if (bytesToCompare == thisRemaining) { // If reached end of this in equalsFragments()
527 thisOffset += bytesToCompare; in equalsFragments()
529 if (bytesToCompare == thatRemaining) { // If reached end of that in equalsFragments()
533 thatOffset += bytesToCompare; in equalsFragments()
/external/skia/src/core/
DSkPictureRecord.cpp820 const size_t bytesToCompare = info.width() * info.bytesPerPixel(); in equivalent() local
822 if (0 != memcmp(ap, bp, bytesToCompare)) { in equivalent()