/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | ByteString.java | 648 * @param sourceOffset offset within these bytes 652 * @deprecated Instead, call {@code byteString.substring(sourceOffset, sourceOffset + 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() 711 * @param sourceOffset offset within these bytes 716 final void writeTo(OutputStream out, int sourceOffset, in argument 668 copyToInternal( byte[] target, int sourceOffset, int targetOffset, int numberToCopy) copyToInternal() argument 727 writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) writeToInternal() argument 1356 copyToInternal( byte[] target, int sourceOffset, int targetOffset, int numberToCopy) copyToInternal() argument 1385 writeToInternal(OutputStream outputStream, int sourceOffset, int numberToWrite) writeToInternal() argument 1593 copyToInternal( byte[] target, int sourceOffset, int targetOffset, int numberToCopy) copyToInternal() argument [all...] |
H A D | RopeByteString.java | 402 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() 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, numberToWrit in writeToInternal() 401 copyToInternal( byte[] target, int sourceOffset, int targetOffset, int numberToCopy) copyToInternal() argument [all...] |
H A D | NioByteString.java | 110 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() 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() 109 copyToInternal( byte[] target, int sourceOffset, int targetOffset, int numberToCopy) copyToInternal() argument
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | MessageFormat.java | 1271 int sourceOffset = pos.getIndex(); in parse() 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() 1983 matchStringUntilLimitPart( MessagePattern pattern, int partIndex, int limitPartIndex, String source, int sourceOffset) matchStringUntilLimitPart() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | MessageFormat.java | 1240 int sourceOffset = pos.getIndex(); in parse() 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() 1939 matchStringUntilLimitPart( MessagePattern pattern, int partIndex, int limitPartIndex, String source, int sourceOffset) matchStringUntilLimitPart() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/ |
H A D | DeviceNull.cpp | 85 destination->CopyFromStaging(staging, sourceOffset, destinationOffset, size); in Execute() 90 uint64_t sourceOffset; member 198 uint64_t sourceOffset, in CopyFromStagingToBuffer() 209 operation->sourceOffset = sourceOffset; in CopyFromStagingToBuffer() 309 uint64_t sourceOffset, in CopyFromStaging() 313 memcpy(mBackingData.get() + destinationOffset, ptr + sourceOffset, size); in CopyFromStaging() 197 CopyFromStagingToBuffer(StagingBufferBase* source, uint64_t sourceOffset, BufferBase* destination, uint64_t destinationOffset, uint64_t size) CopyFromStagingToBuffer() argument 308 CopyFromStaging(StagingBufferBase* staging, uint64_t sourceOffset, uint64_t destinationOffset, uint64_t size) CopyFromStaging() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A 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() 528 ANGLE_TRY(copyDest->copyFromStorage(context, copySource, sourceOffset, size, destOffset, in copySubData() 983 size_t sourceOffset, in updateBufferStorage() 1028 storage->copyFromStorage(context, latestBuffer, sourceOffset, storageSize, 0, ©Result)); in updateBufferStorage() 1155 size_t sourceOffset, in copyFromStorage() 474 copySubData(const gl::Context *context, BufferImpl *source, GLintptr sourceOffset, GLintptr destOffset, GLsizeiptr size) copySubData() argument 981 updateBufferStorage(const gl::Context *context, BufferStorage *storage, size_t sourceOffset, size_t storageSize) updateBufferStorage() argument 1153 copyFromStorage(const gl::Context *context, BufferStorage *source, size_t sourceOffset, size_t size, size_t destOffset, CopyResult *resultOut) copyFromStorage() argument 1647 copyFromStorage(const gl::Context *context, BufferStorage *source, size_t sourceOffset, size_t size, size_t destOffset, CopyResult *resultOut) copyFromStorage() argument 1702 copyFromStorage(const gl::Context *context, BufferStorage *source, size_t sourceOffset, size_t size, size_t destOffset, CopyResult *resultOut) copyFromStorage() argument 1830 copyFromStorage(const gl::Context *context, BufferStorage *source, size_t sourceOffset, size_t size, size_t destOffset, CopyResult *resultOut) copyFromStorage() argument [all...] |
H A D | Buffer11.h | 111 GLintptr sourceOffset, 159 size_t sourceOffset,
|
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetASCII.java | 63 int sourceOffset = source.arrayOffset(); in decodeLoop() 64 int sourceIndex = oldSource + sourceOffset; in decodeLoop() 221 int sourceOffset = source.arrayOffset(); in encodeLoop() 222 int sourceIndex = oldSource + sourceOffset; in encodeLoop()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | BufferGL.cpp | 115 GLintptr sourceOffset, in copySubData() 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() 113 copySubData(const gl::Context *context, BufferImpl *source, GLintptr sourceOffset, GLintptr destOffset, GLsizeiptr size) copySubData() argument
|
/third_party/icu/icu4c/source/i18n/ |
H A D | msgfmt.cpp | 1392 int32_t sourceOffset = pos.getIndex(); in parse() local 1402 if (len == 0 || (0 == msgString.compare(prevIndex, len, source, sourceOffset, len))) { in parse() 1403 sourceOffset += len; in parse() 1406 pos.setErrorIndex(sourceOffset); in parse() 1411 pos.setIndex(sourceOffset); in parse() 1433 tempStatus.setIndex(sourceOffset); in parse() 1435 if (tempStatus.getIndex() == sourceOffset) { in parse() 1436 pos.setErrorIndex(sourceOffset); in parse() 1439 sourceOffset = tempStatus.getIndex(); in parse() 1454 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all...] |
H A D | units_converter.cpp | 307 conversionRate.sourceOffset = 590 inputValue + conversionRate_.sourceOffset; // Reset the input to the target zero index. 616 result -= conversionRate_.sourceOffset; 624 (conversionRate_.sourceOffset * (conversionRate_.factorNum / conversionRate_.factorDen)) -
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | msgfmt.cpp | 1393 int32_t sourceOffset = pos.getIndex(); in parse() local 1403 if (len == 0 || (0 == msgString.compare(prevIndex, len, source, sourceOffset, len))) { in parse() 1404 sourceOffset += len; in parse() 1407 pos.setErrorIndex(sourceOffset); in parse() 1412 pos.setIndex(sourceOffset); in parse() 1434 tempStatus.setIndex(sourceOffset); in parse() 1436 if (tempStatus.getIndex() == sourceOffset) { in parse() 1437 pos.setErrorIndex(sourceOffset); in parse() 1440 sourceOffset = tempStatus.getIndex(); in parse() 1455 next = source.indexOf(stringAfterArgument, sourceOffset); in parse() [all...] |
H A D | units_converter.cpp | 307 conversionRate.sourceOffset = 598 inputValue + conversionRate_.sourceOffset; // Reset the input to the target zero index. 624 result -= conversionRate_.sourceOffset; 632 (conversionRate_.sourceOffset * (conversionRate_.factorNum / conversionRate_.factorDen)) -
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A 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...] |
H A D | units_converter.cpp | 306 conversionRate.sourceOffset = 583 inputValue + conversionRate_.sourceOffset; // Reset the input to the target zero index. 615 result -= conversionRate_.sourceOffset; 623 (conversionRate_.sourceOffset * (conversionRate_.factorNum / conversionRate_.factorDen)) -
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | Buffer9.cpp | 97 GLintptr sourceOffset, in copySubData() 105 memcpy(mMemory.data() + destOffset, sourceBuffer->mMemory.data() + sourceOffset, size); in copySubData() 95 copySubData(const gl::Context *context, BufferImpl *source, GLintptr sourceOffset, GLintptr destOffset, GLsizeiptr size) copySubData() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
H A D | BufferNULL.cpp | 84 GLintptr sourceOffset, in copySubData() 91 memcpy(mData.data() + destOffset, sourceNULL->mData.data() + sourceOffset, size); in copySubData() 82 copySubData(const gl::Context *context, BufferImpl *source, GLintptr sourceOffset, GLintptr destOffset, GLsizeiptr size) copySubData() argument
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | LiteralByteStringTest.java | 120 int sourceOffset = 213; in testCopyTo_ByteArrayOffsetLength() 121 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength() 124 stillEqual = referenceBytes[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength() 145 // Copy with illegal negative sourceOffset in testCopyTo_ByteArrayOffsetLengthErrors() 147 fail("Should have thrown an exception when given a negative sourceOffset in " in testCopyTo_ByteArrayOffsetLengthErrors() 172 // Copy with illegal too-large sourceOffset in testCopyTo_ByteArrayOffsetLengthErrors()
|
/third_party/icu/icu4c/source/common/ |
H A 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->converter->toULength); 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/ |
H A 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->converter->toULength); 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/skia/third_party/externals/icu/source/common/ |
H A 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->converter->toULength); 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/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
H A D | ConversionRates.java | 71 BigDecimal sourceOffset = this.mapToConversionRate.get(sourceSimpleIdentifier).getOffset(); in getOffset() 73 return sourceOffset in getOffset()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
H A D | GPUCommandEncoder.cpp | 61 interop::GPUSize64 sourceOffset, in copyBufferToBuffer() 74 enc_.CopyBufferToBuffer(src, sourceOffset, dst, destinationOffset, size); in copyBufferToBuffer() 59 copyBufferToBuffer(Napi::Env env, interop::Interface<interop::GPUBuffer> source, interop::GPUSize64 sourceOffset, interop::Interface<interop::GPUBuffer> destination, interop::GPUSize64 destinationOffset, interop::GPUSize64 size) copyBufferToBuffer() argument
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | DeviceD3D12.cpp | 459 uint64_t sourceOffset, in CopyFromStagingToBuffer() 473 CopyFromStagingToBufferImpl(commandRecordingContext, source, sourceOffset, destination, in CopyFromStagingToBuffer() 481 uint64_t sourceOffset, in CopyFromStagingToBufferImpl() 492 sourceOffset, size); in CopyFromStagingToBufferImpl() 458 CopyFromStagingToBuffer(StagingBufferBase* source, uint64_t sourceOffset, BufferBase* destination, uint64_t destinationOffset, uint64_t size) CopyFromStagingToBuffer() argument 479 CopyFromStagingToBufferImpl(CommandRecordingContext* commandContext, StagingBufferBase* source, uint64_t sourceOffset, BufferBase* destination, uint64_t destinationOffset, uint64_t size) CopyFromStagingToBufferImpl() argument
|