Home
last modified time | relevance | path

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

123

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java386 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument
387 if (sourceOffset + numberToCopy <= leftLength) { in copyToInternal()
388 left.copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyToInternal()
389 } else if (sourceOffset >= leftLength) { in copyToInternal()
390 right.copyToInternal(target, sourceOffset - leftLength, targetOffset, numberToCopy); in copyToInternal()
392 int leftLength = this.leftLength - sourceOffset; in copyToInternal()
393 left.copyToInternal(target, sourceOffset, targetOffset, leftLength); in copyToInternal()
430 void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeToInternal() argument
431 if (sourceOffset + numberToWrite <= leftLength) { in writeToInternal()
432 left.writeToInternal(out, sourceOffset, numberToWrite); in writeToInternal()
[all …]
DByteString.java647 public final void copyTo(byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyTo() argument
648 checkRange(sourceOffset, sourceOffset + numberToCopy, size()); in copyTo()
651 copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyTo()
660 byte[] target, int sourceOffset, int targetOffset, int numberToCopy); in copyToInternal() argument
707 final void writeTo(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeTo() argument
708 checkRange(sourceOffset, sourceOffset + numberToWrite, size()); in writeTo()
710 writeToInternal(out, sourceOffset, numberToWrite); in writeTo()
718 abstract void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) in writeToInternal() argument
1338 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument
1342 System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy); in copyToInternal()
[all …]
DNioByteString.java110 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()
/external/ms-tpm-20-ref/TPMCmd/Platform/src/
DNVMem.c346 unsigned int sourceOffset, // IN: source offset in _plat__NvMemoryMove() argument
351 assert(sourceOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryMove()
353 memmove(&s_NV[destOffset], &s_NV[sourceOffset], size); // Move data in RAM in _plat__NvMemoryMove()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java1271 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 …]
/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/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/platform/
DNVMem.c594 unsigned int sourceOffset, // IN: source offset in _plat__NvMemoryMove() argument
599 pAssert(sourceOffset + size <= NV_CHIP_MEMORY_SIZE); in _plat__NvMemoryMove()
603 _plat__MarkDirtyBlocks(sourceOffset, size); in _plat__NvMemoryMove()
606 memmove(&s_NV[destOffset], &s_NV[sourceOffset], size); in _plat__NvMemoryMove()
/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/angle/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp124 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
1023 storage->copyFromStorage(context, latestBuffer, sourceOffset, storageSize, 0, &copyResult)); in updateBufferStorage()
1150 size_t sourceOffset, in copyFromStorage() argument
[all …]
DBuffer11.h111 GLintptr sourceOffset,
159 size_t sourceOffset,
/external/angle/src/libANGLE/renderer/gl/
DBufferGL.cpp115 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()
/external/icu/android_icu4j/libcore_bridge/src/native/
Dcom_android_icu_charset_NativeConverter.cpp237 jint* sourceOffset = &myData[0]; in NativeConverter_encode() local
239 const jchar* mySource = uSource.get() + *sourceOffset; in NativeConverter_encode()
245 *sourceOffset = (mySource - uSource.get()) - *sourceOffset; in NativeConverter_encode()
293 jint* sourceOffset = &myData[0]; in NativeConverter_decode() local
295 const char* mySource = reinterpret_cast<const char*>(uSource.get() + *sourceOffset); in NativeConverter_decode()
301 *sourceOffset = mySource - reinterpret_cast<const char*>(uSource.get()) - *sourceOffset; in NativeConverter_decode()
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp1390 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 …]
/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/angle/src/libANGLE/renderer/d3d/d3d9/
DBuffer9.cpp97 GLintptr sourceOffset, in copySubData() argument
105 memcpy(mMemory.data() + destOffset, sourceBuffer->mMemory.data() + sourceOffset, size); in copySubData()
DBuffer9.h44 GLintptr sourceOffset,
/external/angle/src/libANGLE/renderer/null/
DBufferNULL.cpp84 GLintptr sourceOffset, in copySubData() argument
91 memcpy(mData.data() + destOffset, sourceNULL->mData.data() + sourceOffset, size); in copySubData()
/external/protobuf/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()
/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/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/Platform/src/
DNVMem.c446 unsigned int sourceOffset, // IN: source offset in _plat__NvMemoryMove() argument
451 assert(sourceOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryMove()
455 memmove(&s_NV[destOffset], &s_NV[sourceOffset], size); in _plat__NvMemoryMove()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DConversionRates.java66 BigDecimal sourceOffset = this.mapToConversionRate.get(sourceSimpleIdentifier).getOffset(); in getOffset() local
68 return sourceOffset in getOffset()
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DConversionRates.java70 BigDecimal sourceOffset = this.mapToConversionRate.get(sourceSimpleIdentifier).getOffset(); in getOffset() local
72 return sourceOffset in getOffset()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/Platform/include/prototypes/
DPlatform_fp.h284 unsigned int sourceOffset, // IN: source offset
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/platform/include/
DPlatform_fp.h289 unsigned int sourceOffset, // IN: source offset
/external/icu/libicu/cts_headers/
Dunits_converter.h89 double sourceOffset = 0; member

123