/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | RopeByteString.java | 343 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 …]
|
D | ByteString.java | 593 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 …]
|
D | NioByteString.java | 108 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/messageformat/java/com/ibm/icu/simple/ |
D | MessageFormat.java | 1195 int sourceOffset = pos.getIndex(); in parse() local 1204 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse() 1205 sourceOffset += len; in parse() 1208 pos.setErrorIndex(sourceOffset); in parse() 1213 pos.setIndex(sourceOffset); in parse() 1248 tempStatus.setIndex(sourceOffset); in parse() 1250 if (tempStatus.getIndex() == sourceOffset) { in parse() 1251 pos.setErrorIndex(sourceOffset); in parse() 1255 sourceOffset = tempStatus.getIndex(); in parse() 1266 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all …]
|
/external/tpm2/ |
D | NVMem.c | 226 unsigned int sourceOffset, // IN: source offset in _plat__NvMemoryMove() argument 231 assert(sourceOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryMove() 234 memmove(&s_NV[destOffset], &s_NV[sourceOffset], size); in _plat__NvMemoryMove()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessageFormat.java | 1242 int sourceOffset = pos.getIndex(); in parse() local 1251 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse() 1252 sourceOffset += len; in parse() 1255 pos.setErrorIndex(sourceOffset); in parse() 1260 pos.setIndex(sourceOffset); in parse() 1295 tempStatus.setIndex(sourceOffset); in parse() 1297 if (tempStatus.getIndex() == sourceOffset) { in parse() 1298 pos.setErrorIndex(sourceOffset); in parse() 1302 sourceOffset = tempStatus.getIndex(); in parse() 1313 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessageFormat.java | 1211 int sourceOffset = pos.getIndex(); in parse() local 1220 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse() 1221 sourceOffset += len; in parse() 1224 pos.setErrorIndex(sourceOffset); in parse() 1229 pos.setIndex(sourceOffset); in parse() 1264 tempStatus.setIndex(sourceOffset); in parse() 1266 if (tempStatus.getIndex() == sourceOffset) { in parse() 1267 pos.setErrorIndex(sourceOffset); in parse() 1271 sourceOffset = tempStatus.getIndex(); in parse() 1282 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | msgfmt.cpp | 1384 int32_t sourceOffset = pos.getIndex(); in parse() local 1394 if (len == 0 || (0 == msgString.compare(prevIndex, len, source, sourceOffset, len))) { in parse() 1395 sourceOffset += len; in parse() 1398 pos.setErrorIndex(sourceOffset); in parse() 1403 pos.setIndex(sourceOffset); in parse() 1425 tempStatus.setIndex(sourceOffset); in parse() 1427 if (tempStatus.getIndex() == sourceOffset) { in parse() 1428 pos.setErrorIndex(sourceOffset); in parse() 1431 sourceOffset = tempStatus.getIndex(); in parse() 1446 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all …]
|
D | choicfmt.cpp | 543 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/ |
D | CharsetASCII.java | 63 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/ |
D | ByteStringMicro.java | 138 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/ |
D | ucnv_ct.c | 470 int32_t sourceOffset = 0; in UConverter_toUnicode_CompoundText_OFFSETS() local 518 … sourceOffset = uprv_strlen((char*)escSeqCompoundText[currentState]) - args->converter->toULength; in UConverter_toUnicode_CompoundText_OFFSETS() 520 mySource += sourceOffset; in UConverter_toUnicode_CompoundText_OFFSETS() 538 sourceOffset = findNextEsc(mySource, mySourceLimit); in UConverter_toUnicode_CompoundText_OFFSETS() 540 tmpSourceLimit = mySource + sourceOffset; in UConverter_toUnicode_CompoundText_OFFSETS()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | SslWrapper.java | 507 int writeArray(byte[] sourceJava, int sourceOffset, int sourceLength) throws IOException { in writeArray() argument 509 ssl, sourceJava, sourceOffset, sourceLength, handshakeCallbacks); in writeArray() 560 int writeArray(byte[] sourceJava, int sourceOffset, int sourceLength) throws IOException { in writeArray() argument 562 ssl, bio, sourceJava, sourceOffset, sourceLength, handshakeCallbacks); in writeArray()
|
D | NativeCrypto.java | 1233 int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) throws IOException; in ENGINE_SSL_write_heap() argument 1245 int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) throws IOException; in ENGINE_SSL_write_BIO_heap() argument
|
/external/tpm2/include/tpm2/ |
D | Platform.h | 239 unsigned int sourceOffset, // IN: source offset
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LiteralByteStringTest.java | 134 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()
|
D | NioByteStringTest.java | 128 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/icu/icu4c/source/i18n/unicode/ |
D | choicfmt.h | 525 const UnicodeString &source, int32_t sourceOffset);
|
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/ |
D | IRBuilder.java | 1675 private void ensureSuccessorBlock(int sourceOffset, int targetOffset, boolean normal) { 1677 int sourceStartOffset = getBlockStartOffset(sourceOffset); 1689 void ensureNormalSuccessorBlock(int sourceOffset, int targetOffset) { 1690 ensureSuccessorBlock(sourceOffset, targetOffset, true); 1693 void ensureExceptionalSuccessorBlock(int sourceOffset, int targetOffset) { 1694 ensureSuccessorBlock(sourceOffset, targetOffset, false);
|
/external/conscrypt/common/src/jni/main/cpp/ |
D | NativeCrypto.cpp | 8949 jbyteArray sourceJava, jint sourceOffset, in NativeCrypto_ENGINE_SSL_write_BIO_heap() argument 8975 if (ARRAY_OFFSET_LENGTH_INVALID(source, sourceOffset, sourceLength)) { in NativeCrypto_ENGINE_SSL_write_BIO_heap() 8979 ssl, sourceOffset, sourceLength, source.size()); in NativeCrypto_ENGINE_SSL_write_BIO_heap() 9002 int result = BIO_write(bio, reinterpret_cast<const char*>(source.get()) + sourceOffset, in NativeCrypto_ENGINE_SSL_write_BIO_heap() 9008 ssl, bio, source.get(), sourceOffset, sourceLength, shc, result); in NativeCrypto_ENGINE_SSL_write_BIO_heap() 9009 JNI_TRACE_PACKET_DATA(ssl, 'O', reinterpret_cast<const char*>(source.get()) + sourceOffset, in NativeCrypto_ENGINE_SSL_write_BIO_heap() 9169 jbyteArray sourceJava, jint sourceOffset, in NativeCrypto_ENGINE_SSL_write_heap() argument 9186 if (ARRAY_OFFSET_LENGTH_INVALID(source, sourceOffset, sourceLength)) { in NativeCrypto_ENGINE_SSL_write_heap() 9190 ssl, sourceOffset, sourceLength, source.size()); in NativeCrypto_ENGINE_SSL_write_heap() 9213 int result = SSL_write(ssl, reinterpret_cast<const char*>(source.get()) + sourceOffset, in NativeCrypto_ENGINE_SSL_write_heap() [all …]
|