Home
last modified time | relevance | path

Searched refs:destOffset (Results 1 – 25 of 31) sorted by relevance

12

/external/brotli/java/org/brotli/dec/
DBrotliInputStream.java118 public int read(byte[] destBuffer, int destOffset, int destLen) throws IOException { in read() argument
119 if (destOffset < 0) { in read()
120 throw new IllegalArgumentException("Bad offset: " + destOffset); in read()
123 } else if (destOffset + destLen > destBuffer.length) { in read()
125 "Buffer overflow: " + (destOffset + destLen) + " > " + destBuffer.length); in read()
132 System.arraycopy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in read()
134 destOffset += copyLen; in read()
142 state.outputOffset = destOffset; in read()
/external/brotli/csharp/org/brotli/dec/
DBrotliInputStream.cs141 public override int Read(byte[] destBuffer, int destOffset, int destLen) in Read() argument
143 if (destOffset < 0) in Read()
145 throw new System.ArgumentException("Bad offset: " + destOffset); in Read()
151 else if (destOffset + destLen > destBuffer.Length) in Read()
153 …throw new System.ArgumentException("Buffer overflow: " + (destOffset + destLen) + " > " + destBuff… in Read()
163 System.Array.Copy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in Read()
165 destOffset += copyLen; in Read()
175 state.outputOffset = destOffset; in Read()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpReadableBuffer.java56 public void readBytes(byte[] dest, int destOffset, int length) { in readBytes() argument
58 int bytesRead = buffer.read(dest, destOffset, length); in readBytes()
63 destOffset += bytesRead; in readBytes()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DTraceOptions.java158 public void copyBytesTo(byte[] dest, int destOffset) { in copyBytesTo() argument
159 Utils.checkIndex(destOffset, dest.length); in copyBytesTo()
160 dest[destOffset] = options; in copyBytesTo()
DSpanId.java156 public void copyBytesTo(byte[] dest, int destOffset) { in copyBytesTo() argument
157 System.arraycopy(bytes, 0, dest, destOffset, SIZE); in copyBytesTo()
DTraceId.java157 public void copyBytesTo(byte[] dest, int destOffset) { in copyBytesTo() argument
158 System.arraycopy(bytes, 0, dest, destOffset, SIZE); in copyBytesTo()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution10.java132 int destOffset = 0; in ResolveAttrs() local
220 out_values[destOffset + STYLE_TYPE] = value.dataType; in ResolveAttrs()
221 out_values[destOffset + STYLE_DATA] = value.data; in ResolveAttrs()
222 out_values[destOffset + STYLE_ASSET_COOKIE] = ApkAssetsCookieToJavaCookie(cookie); in ResolveAttrs()
223 out_values[destOffset + STYLE_RESOURCE_ID] = resid; in ResolveAttrs()
224 out_values[destOffset + STYLE_CHANGING_CONFIGURATIONS] = type_set_flags; in ResolveAttrs()
225 out_values[destOffset + STYLE_DENSITY] = config.density; in ResolveAttrs()
232 destOffset += STYLE_NUM_ENTRIES; in ResolveAttrs()
DAttributeResolution9.java128 int destOffset = 0; in ResolveAttrs() local
216 out_values[destOffset + STYLE_TYPE] = value.dataType; in ResolveAttrs()
217 out_values[destOffset + STYLE_DATA] = value.data; in ResolveAttrs()
218 out_values[destOffset + STYLE_ASSET_COOKIE] = ApkAssetsCookieToJavaCookie(cookie); in ResolveAttrs()
219 out_values[destOffset + STYLE_RESOURCE_ID] = resid; in ResolveAttrs()
220 out_values[destOffset + STYLE_CHANGING_CONFIGURATIONS] = type_set_flags; in ResolveAttrs()
221 out_values[destOffset + STYLE_DENSITY] = config.density; in ResolveAttrs()
228 destOffset += STYLE_NUM_ENTRIES; in ResolveAttrs()
DAttributeResolution.java106 int destOffset = 0; in ResolveAttrs() local
202 outValues[destOffset + STYLE_TYPE] = value.dataType; in ResolveAttrs()
203 outValues[destOffset + STYLE_DATA] = value.data; in ResolveAttrs()
204 outValues[destOffset + STYLE_ASSET_COOKIE] = in ResolveAttrs()
206 outValues[destOffset + STYLE_RESOURCE_ID] = resid; in ResolveAttrs()
207 outValues[destOffset + STYLE_CHANGING_CONFIGURATIONS] = typeSetFlags; in ResolveAttrs()
208 outValues[destOffset + STYLE_DENSITY] = config.density; in ResolveAttrs()
215 destOffset += STYLE_NUM_ENTRIES; in ResolveAttrs()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DReadableBuffers.java236 public void readBytes(byte[] dest, int destOffset, int length) { in readBytes() argument
238 bytes.get(dest, destOffset, length); in readBytes()
320 public int read(byte[] dest, int destOffset, int length) throws IOException { in read() argument
327 buffer.readBytes(dest, destOffset, length); in read()
DForwardingReadableBuffer.java65 public void readBytes(byte[] dest, int destOffset, int length) { in readBytes() argument
66 buf.readBytes(dest, destOffset, length); in readBytes()
DCompositeReadableBuffer.java90 public void readBytes(final byte[] dest, final int destOffset, int length) { in readBytes() argument
92 int currentOffset = destOffset; in readBytes()
DReadableBuffer.java71 void readBytes(byte[] dest, int destOffset, int length); in readBytes() argument
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java744 int destOffset = 0; in resolveAttrs() local
898 int destOffset = 0; in retrieveArray() local
900 … while (destOffset < NV && destOffset < bagOff * STYLE_NUM_ENTRIES /*&& arrayEnt < endArrayEnt*/) { in retrieveArray()
901 bag_entry curArrayEnt = arrayEnt.get()[destOffset / STYLE_NUM_ENTRIES]; in retrieveArray()
932 dest[destOffset + STYLE_TYPE] = value.dataType; in retrieveArray()
933 dest[destOffset + STYLE_DATA] = value.data; in retrieveArray()
934 dest[destOffset + STYLE_ASSET_COOKIE] = res.getTableCookie(block); in retrieveArray()
935 dest[destOffset + STYLE_RESOURCE_ID] = resid.get(); in retrieveArray()
936 dest[destOffset + STYLE_CHANGING_CONFIGURATIONS] = typeSetFlags.get(); in retrieveArray()
937 dest[destOffset + STYLE_DENSITY] = config.get().density; in retrieveArray()
[all …]
/external/mesa3d/src/intel/vulkan/
DgenX_query.c733 VkDeviceSize destOffset, in genX()
755 gpu_write_query_result(&cmd_buffer->batch, buffer, destOffset, in genX()
775 gpu_write_query_result(&cmd_buffer->batch, buffer, destOffset, in genX()
787 gpu_write_query_result(&cmd_buffer->batch, buffer, destOffset, in genX()
801 gpu_write_query_result(&cmd_buffer->batch, buffer, destOffset, in genX()
805 destOffset += destStride; in genX()
816 VkDeviceSize destOffset, in genX()
/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp279 int destOffset = 0; in LoadChannel() local
289 destOffset = 3; in LoadChannel()
307 destOffset = g_ChannelOffset[destChannel]; in LoadChannel()
333 destOffset = 0; in LoadChannel()
338 uint8_t* dest_pos = (uint8_t*)pDst->GetScanline(row) + destOffset; in LoadChannel()
353 int destOffset; in LoadChannel() local
359 destOffset = 0; in LoadChannel()
361 destOffset = 0; in LoadChannel()
366 destOffset = 3; in LoadChannel()
386 destOffset = g_ChannelOffset[destChannel]; in LoadChannel()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneNames.java457 String[] dest, int destOffset) { in getDisplayNames() argument
471 dest[destOffset + i] = name; in getDisplayNames()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneNames.java424 String[] dest, int destOffset) { in getDisplayNames() argument
438 dest[destOffset + i] = name; in getDisplayNames()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java482 public void copyBytesTo(byte[] dest, int destOffset) {
483 System.arraycopy(bytes, 0, dest, destOffset, length);
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java457 public void copyBytesTo(byte[] dest, int destOffset) {
458 System.arraycopy(bytes, 0, dest, destOffset, length);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneNamesImpl.java261 String[] dest, int destOffset) { in getDisplayNames() argument
281 dest[destOffset + i] = name; in getDisplayNames()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneNamesImpl.java263 String[] dest, int destOffset) { in getDisplayNames() argument
283 dest[destOffset + i] = name; in getDisplayNames()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java1395 int destOffset, int destLength, SSLHandshakeCallbacks shc) in ENGINE_SSL_read_BIO_heap() argument
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeCrypto.java1442 int destOffset, int destLength, SSLHandshakeCallbacks shc) in ENGINE_SSL_read_BIO_heap() argument
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc9584 jbyteArray destJava, jint destOffset, in NativeCrypto_ENGINE_SSL_read_BIO_heap() argument
9606 if (ARRAY_OFFSET_LENGTH_INVALID(dest, destOffset, destLength)) { in NativeCrypto_ENGINE_SSL_read_BIO_heap()
9610 ssl, destOffset, destLength, dest.size()); in NativeCrypto_ENGINE_SSL_read_BIO_heap()
9632 int result = BIO_read(bio, reinterpret_cast<char*>(dest.get()) + destOffset, destLength); in NativeCrypto_ENGINE_SSL_read_BIO_heap()
9637 ssl, bio, dest.get(), destOffset, destLength, shc, result); in NativeCrypto_ENGINE_SSL_read_BIO_heap()
9638 JNI_TRACE_PACKET_DATA(ssl, 'I', reinterpret_cast<char*>(dest.get()) + destOffset, in NativeCrypto_ENGINE_SSL_read_BIO_heap()

12