Home
last modified time | relevance | path

Searched refs:sourceOffset (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java343 protected void copyToInternal(byte[] target, int sourceOffset, in copyToInternal() argument
345 if (sourceOffset + numberToCopy <= leftLength) { in copyToInternal()
346 left.copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyToInternal()
347 } else if (sourceOffset >= leftLength) { in copyToInternal()
348 right.copyToInternal(target, sourceOffset - leftLength, targetOffset, in copyToInternal()
351 int leftLength = this.leftLength - sourceOffset; in copyToInternal()
352 left.copyToInternal(target, sourceOffset, targetOffset, leftLength); in copyToInternal()
390 void writeToInternal(OutputStream out, int sourceOffset, in writeToInternal() argument
392 if (sourceOffset + numberToWrite <= leftLength) { in writeToInternal()
393 left.writeToInternal(out, sourceOffset, numberToWrite); in writeToInternal()
[all …]
DByteString.java593 public final void copyTo(byte[] target, int sourceOffset, int targetOffset, in copyTo() argument
595 checkRange(sourceOffset, sourceOffset + numberToCopy, size()); in copyTo()
598 copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyTo()
608 protected abstract void copyToInternal(byte[] target, int sourceOffset, in copyToInternal() argument
653 final void writeTo(OutputStream out, int sourceOffset, int numberToWrite) in writeTo() argument
655 checkRange(sourceOffset, sourceOffset + numberToWrite, size()); in writeTo()
657 writeToInternal(out, sourceOffset, numberToWrite); in writeTo()
665 abstract void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) in writeToInternal() argument
1288 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument
1292 System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy); in copyToInternal()
[all …]
DNioByteString.java108 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument
110 slice.position(sourceOffset); in copyToInternal()
130 void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeToInternal() argument
134 int bufferOffset = buffer.arrayOffset() + buffer.position() + sourceOffset; in writeToInternal()
139 ByteBufferWriter.write(slice(sourceOffset, sourceOffset + numberToWrite), out); in writeToInternal()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetShaderSource.cpp4 … jint bufsize, jintArray length_ref, jint lengthOffset, jbyteArray source_ref, jint sourceOffset) { in android_glGetShaderSource__II_3II_3BI() argument
34 if (sourceOffset < 0) { in android_glGetShaderSource__II_3II_3BI()
40 _sourceRemaining = _env->GetArrayLength(source_ref) - sourceOffset; in android_glGetShaderSource__II_3II_3BI()
43 source = source_base + sourceOffset; in android_glGetShaderSource__II_3II_3BI()
DglGetShaderSource.java9 int sourceOffset in glGetShaderSource() argument
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLiteralByteStringTest.java120 int sourceOffset = 213; in testCopyTo_ByteArrayOffsetLength() local
121 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
124 stillEqual = referenceBytes[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java134 int sourceOffset = 213; in testCopyTo_ByteArrayOffsetLength() local
135 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
138 stillEqual = referenceBytes[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength()
DNioByteStringTest.java128 int sourceOffset = 213; in testCopyTo_ByteArrayOffsetLength() local
129 testString.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
132 stillEqual = BYTES[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength()
/frameworks/base/opengl/java/android/opengl/
DGLES20.java1111 int sourceOffset in glGetShaderSource() argument
/frameworks/base/core/jni/
Dandroid_opengl_GLES20.cpp3364 … jint bufsize, jintArray length_ref, jint lengthOffset, jbyteArray source_ref, jint sourceOffset) { in android_glGetShaderSource__II_3II_3BI() argument
3394 if (sourceOffset < 0) { in android_glGetShaderSource__II_3II_3BI()
3400 _sourceRemaining = _env->GetArrayLength(source_ref) - sourceOffset; in android_glGetShaderSource__II_3II_3BI()
3403 source = source_base + sourceOffset; in android_glGetShaderSource__II_3II_3BI()