Home
last modified time | relevance | path

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

12

/external/protobuf/java/src/main/java/com/google/protobuf/
DByteString.java479 public void copyTo(byte[] target, int sourceOffset, int targetOffset, in copyTo() argument
481 if (sourceOffset < 0) { in copyTo()
482 throw new IndexOutOfBoundsException("Source offset < 0: " + sourceOffset); in copyTo()
490 if (sourceOffset + numberToCopy > size()) { in copyTo()
492 "Source end offset < 0: " + (sourceOffset + numberToCopy)); in copyTo()
499 copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyTo()
509 protected abstract void copyToInternal(byte[] target, int sourceOffset, in copyToInternal() argument
556 void writeTo(OutputStream out, int sourceOffset, int numberToWrite) in writeTo() argument
558 if (sourceOffset < 0) { in writeTo()
559 throw new IndexOutOfBoundsException("Source offset < 0: " + sourceOffset); in writeTo()
[all …]
DRopeByteString.java358 protected void copyToInternal(byte[] target, int sourceOffset, in copyToInternal() argument
360 if (sourceOffset + numberToCopy <= leftLength) { in copyToInternal()
361 left.copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyToInternal()
362 } else if (sourceOffset >= leftLength) { in copyToInternal()
363 right.copyToInternal(target, sourceOffset - leftLength, targetOffset, in copyToInternal()
366 int leftLength = this.leftLength - sourceOffset; in copyToInternal()
367 left.copyToInternal(target, sourceOffset, targetOffset, leftLength); in copyToInternal()
405 void writeToInternal(OutputStream out, int sourceOffset, in writeToInternal() argument
407 if (sourceOffset + numberToWrite <= leftLength) { in writeToInternal()
408 left.writeToInternal(out, sourceOffset, numberToWrite); in writeToInternal()
[all …]
DLiteralByteString.java113 protected void copyToInternal(byte[] target, int sourceOffset, in copyToInternal() argument
117 System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy); in copyToInternal()
146 void writeToInternal(OutputStream outputStream, int sourceOffset, in writeToInternal() argument
148 outputStream.write(bytes, getOffsetIntoBytes() + sourceOffset, in writeToInternal()
DBoundedByteString.java119 protected void copyToInternal(byte[] target, int sourceOffset, in copyToInternal() argument
121 System.arraycopy(bytes, getOffsetIntoBytes() + sourceOffset, target, in copyToInternal()
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java1195 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/
DNVMem.c226 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()
Dpart4.txt36259 140 unsigned int sourceOffset, // IN: source offset
36264 145 assert(sourceOffset + size <= NV_MEMORY_SIZE);
36268 149 memmove(&s_NV[destOffset], &s_NV[sourceOffset], size);
36693 63 unsigned int sourceOffset, // IN: source offset
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java1238 int sourceOffset = pos.getIndex(); in parse() local
1247 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse()
1248 sourceOffset += len; in parse()
1251 pos.setErrorIndex(sourceOffset); in parse()
1256 pos.setIndex(sourceOffset); in parse()
1291 tempStatus.setIndex(sourceOffset); in parse()
1293 if (tempStatus.getIndex() == sourceOffset) { in parse()
1294 pos.setErrorIndex(sourceOffset); in parse()
1298 sourceOffset = tempStatus.getIndex(); in parse()
1309 next = source.indexOf(stringAfterArgument, sourceOffset); in parse()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessageFormat.java1207 int sourceOffset = pos.getIndex(); in parse() local
1216 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse()
1217 sourceOffset += len; in parse()
1220 pos.setErrorIndex(sourceOffset); in parse()
1225 pos.setIndex(sourceOffset); in parse()
1260 tempStatus.setIndex(sourceOffset); in parse()
1262 if (tempStatus.getIndex() == sourceOffset) { in parse()
1263 pos.setErrorIndex(sourceOffset); in parse()
1267 sourceOffset = tempStatus.getIndex(); in parse()
1278 next = source.indexOf(stringAfterArgument, sourceOffset); in parse()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetASCII.java60 int sourceOffset = source.arrayOffset(); in decodeLoop() local
61 int sourceIndex = oldSource + sourceOffset; in decodeLoop()
216 int sourceOffset = source.arrayOffset(); in encodeLoop() local
217 int sourceIndex = oldSource + sourceOffset; in encodeLoop()
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp1382 int32_t sourceOffset = pos.getIndex(); in parse() local
1392 if (len == 0 || (0 == msgString.compare(prevIndex, len, source, sourceOffset, len))) { in parse()
1393 sourceOffset += len; in parse()
1396 pos.setErrorIndex(sourceOffset); in parse()
1401 pos.setIndex(sourceOffset); in parse()
1423 tempStatus.setIndex(sourceOffset); in parse()
1425 if (tempStatus.getIndex() == sourceOffset) { in parse()
1426 pos.setErrorIndex(sourceOffset); in parse()
1429 sourceOffset = tempStatus.getIndex(); in parse()
1444 next = source.indexOf(stringAfterArgument, sourceOffset); in parse()
[all …]
Dchoicfmt.cpp541 const UnicodeString &source, int32_t sourceOffset) { in matchStringUntilLimitPart() argument
550 … if (length != 0 && 0 != source.compare(sourceOffset, length, msgString, prevIndex, length)) { in matchStringUntilLimitPart()
/external/protobuf/java/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/opencv3/modules/cudaimgproc/src/cuda/
Ddebayer.cu395 … __global__ void MHCdemosaic(PtrStepSz<DstType> dst, const int2 sourceOffset, const int2 firstRed) in MHCdemosaic() argument
411 center.x = x + sourceOffset.x; in MHCdemosaic()
412 center.y = y + sourceOffset.y; in MHCdemosaic()
523 …void MHCdemosaic(PtrStepSzb src, int2 sourceOffset, PtrStepSzb dst, int2 firstRed, cudaStream_t st… in MHCdemosaic() argument
532 … MHCdemosaic<dst_t><<<grid, block, 0, stream>>>((PtrStepSz<dst_t>)dst, sourceOffset, firstRed); in MHCdemosaic()
539 …template void MHCdemosaic<1>(PtrStepSzb src, int2 sourceOffset, PtrStepSzb dst, int2 firstRed, cud…
540 …template void MHCdemosaic<3>(PtrStepSzb src, int2 sourceOffset, PtrStepSzb dst, int2 firstRed, cud…
541 …template void MHCdemosaic<4>(PtrStepSzb src, int2 sourceOffset, PtrStepSzb dst, int2 firstRed, cud…
/external/icu/icu4c/source/common/
Ducnv_ct.c468 int32_t sourceOffset = 0; in UConverter_toUnicode_CompoundText_OFFSETS() local
516sourceOffset = uprv_strlen((char*)escSeqCompoundText[currentState]) - args->converter->toULength; in UConverter_toUnicode_CompoundText_OFFSETS()
518 mySource += sourceOffset; in UConverter_toUnicode_CompoundText_OFFSETS()
536 sourceOffset = findNextEsc(mySource, mySourceLimit); in UConverter_toUnicode_CompoundText_OFFSETS()
538 tmpSourceLimit = mySource + sourceOffset; in UConverter_toUnicode_CompoundText_OFFSETS()
/external/protobuf/java/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java132 int sourceOffset = 213; in testCopyTo_ByteArrayOffsetLength() local
133 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
136 stillEqual = referenceBytes[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength()
/external/tpm2/include/tpm2/
DPlatform.h239 unsigned int sourceOffset, // IN: source offset
/external/icu/icu4c/source/i18n/unicode/
Dchoicfmt.h523 const UnicodeString &source, int32_t sourceOffset);
/external/opencv3/modules/cudaimgproc/src/
Dcolor.cpp74 …void MHCdemosaic(PtrStepSzb src, int2 sourceOffset, PtrStepSzb dst, int2 firstRed, cudaStream_t st…
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...

12