Home
last modified time | relevance | path

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

12

/external/protobuf/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()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessageFormat.java1212 int sourceOffset = pos.getIndex(); in parse() local
1221 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse()
1222 sourceOffset += len; in parse()
1225 pos.setErrorIndex(sourceOffset); in parse()
1230 pos.setIndex(sourceOffset); in parse()
1265 tempStatus.setIndex(sourceOffset); in parse()
1267 if (tempStatus.getIndex() == sourceOffset) { in parse()
1268 pos.setErrorIndex(sourceOffset); in parse()
1272 sourceOffset = tempStatus.getIndex(); in parse()
1283 next = source.indexOf(stringAfterArgument, sourceOffset); in parse()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java1246 int sourceOffset = pos.getIndex(); in parse() local
1255 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse()
1256 sourceOffset += len; in parse()
1259 pos.setErrorIndex(sourceOffset); in parse()
1264 pos.setIndex(sourceOffset); in parse()
1299 tempStatus.setIndex(sourceOffset); in parse()
1301 if (tempStatus.getIndex() == sourceOffset) { in parse()
1302 pos.setErrorIndex(sourceOffset); in parse()
1306 sourceOffset = tempStatus.getIndex(); in parse()
1317 next = source.indexOf(stringAfterArgument, sourceOffset); in parse()
[all …]
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp1385 int32_t sourceOffset = pos.getIndex(); in parse() local
1395 if (len == 0 || (0 == msgString.compare(prevIndex, len, source, sourceOffset, len))) { in parse()
1396 sourceOffset += len; in parse()
1399 pos.setErrorIndex(sourceOffset); in parse()
1404 pos.setIndex(sourceOffset); in parse()
1426 tempStatus.setIndex(sourceOffset); in parse()
1428 if (tempStatus.getIndex() == sourceOffset) { in parse()
1429 pos.setErrorIndex(sourceOffset); in parse()
1432 sourceOffset = tempStatus.getIndex(); in parse()
1447 next = source.indexOf(stringAfterArgument, sourceOffset); in parse()
[all …]
Dchoicfmt.cpp543 const UnicodeString &source, int32_t sourceOffset) { in matchStringUntilLimitPart() argument
552 … if (length != 0 && 0 != source.compare(sourceOffset, length, msgString, prevIndex, length)) { in matchStringUntilLimitPart()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetASCII.java63 int sourceOffset = source.arrayOffset(); in decodeLoop() local
64 int sourceIndex = oldSource + sourceOffset; in decodeLoop()
221 int sourceOffset = source.arrayOffset(); in encodeLoop() local
222 int sourceIndex = oldSource + sourceOffset; in encodeLoop()
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DByteStringMicro.java138 public void copyTo(final byte[] target, final int sourceOffset, in copyTo() argument
141 System.arraycopy(bytes, sourceOffset, target, targetOffset, size); in copyTo()
/external/icu/icu4c/source/common/
Ducnv_ct.cpp475 int32_t sourceOffset = 0; in UConverter_toUnicode_CompoundText_OFFSETS() local
523sourceOffset = static_cast<int32_t>(uprv_strlen((char*)escSeqCompoundText[currentState]) - args->c… in UConverter_toUnicode_CompoundText_OFFSETS()
525 mySource += sourceOffset; in UConverter_toUnicode_CompoundText_OFFSETS()
543 sourceOffset = findNextEsc(mySource, mySourceLimit); in UConverter_toUnicode_CompoundText_OFFSETS()
545 tmpSourceLimit = mySource + sourceOffset; in UConverter_toUnicode_CompoundText_OFFSETS()
/external/protobuf/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()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCollationStringByteConverter.java145 final int sourceOffset = gcs.toSourceOffset(i); in checkBasic() local
148 System.out.println(i + "\t" + c + "\t" + sourceOffset + "\t" in checkBasic()
/external/icu/icu4c/source/i18n/unicode/
Dchoicfmt.h525 const UnicodeString &source, int32_t sourceOffset);
/external/skia/src/gpu/mtl/
DGrMtlBuffer.mm154 sourceOffset: 0
DGrMtlGpu.mm254 sourceOffset: individualMipOffsets[currentMipLevel]
/external/skqp/src/gpu/mtl/
DGrMtlBuffer.mm159 sourceOffset: 0
/external/v8/src/inspector/
Dv8-debugger-agent-impl.cc180 intptr_t sourceOffset = script.offset(*lineNumber, *columnNumber); in adjustBreakpointLocation() local
181 if (sourceOffset == V8DebuggerScript::kNoOffset) return; in adjustBreakpointLocation()
184 sourceOffset - kBreakpointHintMaxSearchOffset, static_cast<intptr_t>(0)); in adjustBreakpointLocation()
185 size_t offset = sourceOffset - searchRegionOffset; in adjustBreakpointLocation()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java1382 int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) in ENGINE_SSL_write_BIO_heap() argument
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeCrypto.java1429 int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) in ENGINE_SSL_write_BIO_heap() argument
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc9469 jbyteArray sourceJava, jint sourceOffset, in NativeCrypto_ENGINE_SSL_write_BIO_heap() argument
9496 if (ARRAY_OFFSET_LENGTH_INVALID(source, sourceOffset, sourceLength)) { in NativeCrypto_ENGINE_SSL_write_BIO_heap()
9500 ssl, sourceOffset, sourceLength, source.size()); in NativeCrypto_ENGINE_SSL_write_BIO_heap()
9522 int result = BIO_write(bio, reinterpret_cast<const char*>(source.get()) + sourceOffset, in NativeCrypto_ENGINE_SSL_write_BIO_heap()
9528 ssl, bio, source.get(), sourceOffset, sourceLength, shc, result); in NativeCrypto_ENGINE_SSL_write_BIO_heap()
9529 JNI_TRACE_PACKET_DATA(ssl, 'O', reinterpret_cast<const char*>(source.get()) + sourceOffset, in NativeCrypto_ENGINE_SSL_write_BIO_heap()
/external/kotlinc/lib/
Dkotlin-reflect.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/descriptors.jvm. ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...

12