/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | RopeByteString.java | 402 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument 403 if (sourceOffset + numberToCopy <= leftLength) { in copyToInternal() 404 left.copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyToInternal() 405 } else if (sourceOffset >= leftLength) { in copyToInternal() 406 right.copyToInternal(target, sourceOffset - leftLength, targetOffset, numberToCopy); in copyToInternal() 408 int leftLength = this.leftLength - sourceOffset; in copyToInternal() 409 left.copyToInternal(target, sourceOffset, targetOffset, leftLength); in copyToInternal() 446 void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeToInternal() argument 447 if (sourceOffset + numberToWrite <= leftLength) { in writeToInternal() 448 left.writeToInternal(out, sourceOffset, numberToWrite); in writeToInternal() [all …]
|
D | ByteString.java | 656 public final void copyTo(byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyTo() argument 657 checkRange(sourceOffset, sourceOffset + numberToCopy, size()); in copyTo() 660 copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyTo() 669 byte[] target, int sourceOffset, int targetOffset, int numberToCopy); in copyToInternal() argument 716 final void writeTo(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeTo() argument 717 checkRange(sourceOffset, sourceOffset + numberToWrite, size()); in writeTo() 719 writeToInternal(out, sourceOffset, numberToWrite); in writeTo() 727 abstract void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) in writeToInternal() argument 1357 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument 1361 System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy); in copyToInternal() [all …]
|
D | NioByteString.java | 110 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument 112 slice.position(sourceOffset); in copyToInternal() 132 void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeToInternal() argument 136 int bufferOffset = buffer.arrayOffset() + buffer.position() + sourceOffset; in writeToInternal() 141 ByteBufferWriter.write(slice(sourceOffset, sourceOffset + numberToWrite), out); in writeToInternal()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/null/ |
D | DeviceNull.cpp | 61 destination->CopyFromStaging(staging, sourceOffset, destinationOffset, size); in Execute() 66 uint64_t sourceOffset; member 151 uint64_t sourceOffset, in CopyFromStagingToBuffer() argument 158 operation->sourceOffset = sourceOffset; in CopyFromStagingToBuffer() 253 uint64_t sourceOffset, in CopyFromStaging() argument 257 memcpy(mBackingData.get() + destinationOffset, ptr + sourceOffset, size); in CopyFromStaging()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/ |
D | DeviceNull.cpp | 85 destination->CopyFromStaging(staging, sourceOffset, destinationOffset, size); in Execute() 90 uint64_t sourceOffset; member 198 uint64_t sourceOffset, in CopyFromStagingToBuffer() argument 209 operation->sourceOffset = sourceOffset; in CopyFromStagingToBuffer() 309 uint64_t sourceOffset, in CopyFromStaging() argument 313 memcpy(mBackingData.get() + destinationOffset, ptr + sourceOffset, size); in CopyFromStaging()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Buffer11.cpp | 122 size_t sourceOffset, 164 size_t sourceOffset, 220 size_t sourceOffset, 254 size_t sourceOffset, 296 size_t sourceOffset, 434 GLintptr sourceOffset, in copySubData() argument 486 ANGLE_TRY(copyDest->copyFromStorage(context, copySource, sourceOffset, size, destOffset, in copySubData() 871 size_t sourceOffset, in updateBufferStorage() argument 911 storage->copyFromStorage(context, latestBuffer, sourceOffset, storageSize, 0, ©Result)); in updateBufferStorage() 1037 size_t sourceOffset, in copyFromStorage() argument [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessageFormat.java | 1271 int sourceOffset = pos.getIndex(); in parse() local 1280 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse() 1281 sourceOffset += len; in parse() 1284 pos.setErrorIndex(sourceOffset); in parse() 1289 pos.setIndex(sourceOffset); in parse() 1324 tempStatus.setIndex(sourceOffset); in parse() 1326 if (tempStatus.getIndex() == sourceOffset) { in parse() 1327 pos.setErrorIndex(sourceOffset); in parse() 1331 sourceOffset = tempStatus.getIndex(); in parse() 1342 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | MessageFormat.java | 1240 int sourceOffset = pos.getIndex(); in parse() local 1249 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse() 1250 sourceOffset += len; in parse() 1253 pos.setErrorIndex(sourceOffset); in parse() 1258 pos.setIndex(sourceOffset); in parse() 1293 tempStatus.setIndex(sourceOffset); in parse() 1295 if (tempStatus.getIndex() == sourceOffset) { in parse() 1296 pos.setErrorIndex(sourceOffset); in parse() 1300 sourceOffset = tempStatus.getIndex(); in parse() 1311 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | msgfmt.cpp | 1385 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 …]
|
/third_party/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()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Buffer11.cpp | 124 size_t sourceOffset, 168 size_t sourceOffset, 246 size_t sourceOffset, 280 size_t sourceOffset, 322 size_t sourceOffset, 476 GLintptr sourceOffset, in copySubData() argument 528 ANGLE_TRY(copyDest->copyFromStorage(context, copySource, sourceOffset, size, destOffset, in copySubData() 983 size_t sourceOffset, in updateBufferStorage() argument 1028 storage->copyFromStorage(context, latestBuffer, sourceOffset, storageSize, 0, ©Result)); in updateBufferStorage() 1155 size_t sourceOffset, in copyFromStorage() argument [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BufferGL.cpp | 115 GLintptr sourceOffset, in copySubData() argument 131 sourceOffset, destOffset, size)); in copySubData() 135 ASSERT(sourceGL->mShadowCopy.size() >= static_cast<size_t>(sourceOffset + size)); in copySubData() 136 memcpy(mShadowCopy.data() + destOffset, sourceGL->mShadowCopy.data() + sourceOffset, size); in copySubData()
|
/third_party/icu/icu4c/source/i18n/ |
D | msgfmt.cpp | 1390 int32_t sourceOffset = pos.getIndex(); in parse() local 1400 if (len == 0 || (0 == msgString.compare(prevIndex, len, source, sourceOffset, len))) { in parse() 1401 sourceOffset += len; in parse() 1404 pos.setErrorIndex(sourceOffset); in parse() 1409 pos.setIndex(sourceOffset); in parse() 1431 tempStatus.setIndex(sourceOffset); in parse() 1433 if (tempStatus.getIndex() == sourceOffset) { in parse() 1434 pos.setErrorIndex(sourceOffset); in parse() 1437 sourceOffset = tempStatus.getIndex(); in parse() 1452 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | msgfmt.cpp | 1390 int32_t sourceOffset = pos.getIndex(); in parse() local 1400 if (len == 0 || (0 == msgString.compare(prevIndex, len, source, sourceOffset, len))) { in parse() 1401 sourceOffset += len; in parse() 1404 pos.setErrorIndex(sourceOffset); in parse() 1409 pos.setIndex(sourceOffset); in parse() 1431 tempStatus.setIndex(sourceOffset); in parse() 1433 if (tempStatus.getIndex() == sourceOffset) { in parse() 1434 pos.setErrorIndex(sourceOffset); in parse() 1437 sourceOffset = tempStatus.getIndex(); in parse() 1452 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | msgfmt.cpp | 1390 int32_t sourceOffset = pos.getIndex(); in parse() local 1400 if (len == 0 || (0 == msgString.compare(prevIndex, len, source, sourceOffset, len))) { in parse() 1401 sourceOffset += len; in parse() 1404 pos.setErrorIndex(sourceOffset); in parse() 1409 pos.setIndex(sourceOffset); in parse() 1431 tempStatus.setIndex(sourceOffset); in parse() 1433 if (tempStatus.getIndex() == sourceOffset) { in parse() 1434 pos.setErrorIndex(sourceOffset); in parse() 1437 sourceOffset = tempStatus.getIndex(); in parse() 1452 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BufferGL.cpp | 103 GLintptr sourceOffset, in copySubData() argument 113 gl::ToGLenum(DestBufferOperationTarget), sourceOffset, destOffset, in copySubData() 119 memcpy(mShadowCopy.data() + destOffset, sourceGL->mShadowCopy.data() + sourceOffset, size); in copySubData()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | BufferNULL.cpp | 65 GLintptr sourceOffset, in copySubData() argument 72 memcpy(mData.data() + destOffset, sourceNULL->mData.data() + sourceOffset, size); in copySubData()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Buffer9.cpp | 97 GLintptr sourceOffset, in copySubData() argument 105 memcpy(mMemory.data() + destOffset, sourceBuffer->mMemory.data() + sourceOffset, size); in copySubData()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Buffer9.cpp | 97 GLintptr sourceOffset, in copySubData() argument 105 memcpy(mMemory.data() + destOffset, sourceBuffer->mMemory.data() + sourceOffset, size); in copySubData()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | BufferNULL.cpp | 84 GLintptr sourceOffset, in copySubData() argument 91 memcpy(mData.data() + destOffset, sourceNULL->mData.data() + sourceOffset, size); in copySubData()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | ucnv_ct.cpp | 475 int32_t sourceOffset = 0; in UConverter_toUnicode_CompoundText_OFFSETS() local 523 …sourceOffset = 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()
|
/third_party/node/deps/icu-small/source/common/ |
D | ucnv_ct.cpp | 475 int32_t sourceOffset = 0; in UConverter_toUnicode_CompoundText_OFFSETS() local 523 …sourceOffset = 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()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | ucnv_ct.cpp | 475 int32_t sourceOffset = 0; in UConverter_toUnicode_CompoundText_OFFSETS() local 523 …sourceOffset = 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()
|
/third_party/icu/icu4c/source/common/ |
D | ucnv_ct.cpp | 475 int32_t sourceOffset = 0; in UConverter_toUnicode_CompoundText_OFFSETS() local 523 …sourceOffset = 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()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | LiteralByteStringTest.java | 120 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()
|