HomeSort by relevance Sort by last modified time
    Searched refs:byteCount (Results 126 - 150 of 259) sorted by null

1 2 3 4 56 7 8 91011

  /libcore/luni/src/main/native/
libcore_io_Memory.cpp 161 static void Memory_peekByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOffset, jint byteCount) {
162 env->SetByteArrayRegion(dst, dstOffset, byteCount, cast<const jbyte*>(srcAddress));
298 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount,
301 memcpy(dst, src, byteCount);
308 swapShorts(dstShorts, srcShorts, byteCount / 2);
312 swapInts(dstInts, srcInts, byteCount / 4);
316 swapLongs(dstLongs, srcLongs, byteCount / 8);
321 jint byteCount, jbyteArray srcArray, jint srcOffset, jint sizeofElement, jboolean swap) {
333 unsafeBulkCopy(dst, src, byteCount, sizeofElement, swap);
338 jint byteCount, jobject srcObject, jint srcOffset, jint sizeofElement, jboolean swap)
    [all...]
libcore_io_Posix.cpp 408 socklen_t byteCount = sizeof(ss);
409 memset(&ss, 0, byteCount);
410 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount))
411 : TEMP_FAILURE_RETRY(getpeername(fd, sa, &byteCount));
    [all...]
org_apache_harmony_xml_ExpatParser.cpp 427 static size_t fillBuffer(ParsingContext* parsingContext, const char* utf8, int byteCount) {
431 jcharArray javaChars = parsingContext->ensureCapacity(byteCount);
442 UnicodeString utf16(UnicodeString::fromUTF8(StringPiece(utf8, byteCount)));
443 return utf16.extract(chars.get(), byteCount, status);
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
CreatePrivateDataTest.java 201 final int byteCount = 1024;
214 byte[] buf = new byte[byteCount];
232 byte[] buf = new byte[byteCount];
234 while (read < byteCount * packetCount) {
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
ImageHeaderParser.java 224 final int byteCount = componentCount + BYTES_PER_FORMAT[formatCode];
226 if (byteCount > 4) {
242 if (byteCount < 0 || tagValueOffset + byteCount > segmentData.length()) {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
FrameWriter.java 61 * @param source the buffer to draw bytes from. May be null if byteCount is 0.
63 void data(boolean outFinished, int streamId, OkBuffer source, int byteCount) throws IOException;
Http20Draft09.java 397 int byteCount) throws IOException {
401 dataFrame(streamId, flags, source, byteCount);
404 void dataFrame(int streamId, byte flags, OkBuffer buffer, int byteCount) throws IOException {
406 frameHeader(byteCount, type, flags, streamId);
407 if (byteCount > 0) {
408 sink.write(buffer, byteCount);
511 @Override public long read(OkBuffer sink, long byteCount) throws IOException {
518 long read = source.read(sink, Math.min(byteCount, left));
Spdy3.java 397 int byteCount) throws IOException {
399 sendDataFrame(streamId, flags, source, byteCount);
402 void sendDataFrame(int streamId, int flags, OkBuffer buffer, int byteCount)
405 if (byteCount > 0xffffffL) {
406 throw new IllegalArgumentException("FRAME_TOO_LARGE max size is 16Mib: " + byteCount);
409 sink.writeInt((flags & 0xff) << 24 | byteCount & 0xffffff);
410 if (byteCount > 0) {
411 sink.write(buffer, byteCount);
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
bitstream_io.h 44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
  /libcore/luni/src/main/java/java/util/jar/
JarFile.java 99 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
104 int r = super.read(buffer, byteOffset, byteCount);
136 public long skip(long byteCount) throws IOException {
137 return Streams.skipByReading(this, byteCount);
JarInputStream.java 146 * Reads up to {@code byteCount} bytes of decompressed data and stores it in
153 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
158 int r = super.read(buffer, byteOffset, byteCount);
  /libcore/luni/src/main/java/libcore/io/
Memory.java 35 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount,
42 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount,
142 * Copies 'byteCount' bytes from the source to the destination. The objects are either
151 public static native void memmove(Object dstObject, int dstOffset, Object srcObject, int srcOffset, long byteCount);
182 public static native void peekByteArray(long address, byte[] dst, int dstOffset, int byteCount);
  /libcore/luni/src/main/java/java/util/zip/
ZipOutputStream.java 411 public void write(byte[] buffer, int offset, int byteCount) throws IOException {
412 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
418 out.write(buffer, offset, byteCount);
420 super.write(buffer, offset, byteCount);
422 crc.update(buffer, offset, byteCount);
GZIPInputStream.java 129 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
136 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount);
140 bytesRead = super.read(buffer, byteOffset, byteCount);
  /external/okhttp/okio/src/test/java/okio/
OkBufferTest.java 124 assertEquals(0, SegmentPool.INSTANCE.byteCount);
128 assertEquals(SegmentPool.MAX_SIZE, SegmentPool.INSTANCE.byteCount);
132 assertEquals(SegmentPool.MAX_SIZE, SegmentPool.INSTANCE.byteCount);
136 assertEquals(0, SegmentPool.INSTANCE.byteCount);
140 assertEquals(0, SegmentPool.INSTANCE.byteCount);
661 for (int pos = 0, byteCount; pos < data.length; pos += byteCount) {
662 byteCount = (Segment.SIZE / 2) + dice.nextInt(Segment.SIZE / 2);
663 if (byteCount > data.length - pos) byteCount = data.length - pos
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSocketImpl.java 681 public int read(byte[] buf, int offset, int byteCount) throws IOException {
685 Arrays.checkOffsetAndCount(buf.length, offset, byteCount);
686 if (byteCount == 0) {
700 OpenSSLSocketImpl.this, buf, offset, byteCount, getSoTimeout());
748 public void write(byte[] buf, int offset, int byteCount) throws IOException {
751 Arrays.checkOffsetAndCount(buf.length, offset, byteCount);
752 if (byteCount == 0) {
766 OpenSSLSocketImpl.this, buf, offset, byteCount, writeTimeoutMilliseconds);
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
Channels.java 219 @Override public synchronized int read(byte[] target, int byteOffset, int byteCount) throws IOException {
220 ByteBuffer buffer = ByteBuffer.wrap(target, byteOffset, byteCount);
  /cts/libs/deviceutil/src/android/cts/util/
ReadElf.java 435 private long readX(int byteCount) throws IOException {
436 mFile.readFully(mBuffer, 0, byteCount);
440 for (int i = byteCount - 1; i >= 0; i--) {
444 final int N = byteCount - 1;
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTest.java 230 int byteCount = bytes.length() / 2;
231 byte[] array = new byte[byteCount];
232 for (int i = 0; i < byteCount; i++) {
  /dalvik/dx/src/com/android/dx/merge/
DexMerger.java     [all...]
  /external/chromium_org/third_party/skia/src/utils/
SkMD5.cpp 27 SkMD5::SkMD5() : byteCount(0) {
36 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F);
60 this->byteCount += inputLength;
66 encode(bits, this->byteCount << 3);
69 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F);
  /external/skia/src/utils/
SkMD5.cpp 27 SkMD5::SkMD5() : byteCount(0) {
36 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F);
60 this->byteCount += inputLength;
66 encode(bits, this->byteCount << 3);
69 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java 433 int byteCount = length * 2;
434 if (byteCount > SmsConstants.MAX_USER_DATA_BYTES) {
435 values[0] = (byteCount + SmsConstants.MAX_USER_DATA_BYTES_WITH_HEADER - 1) /
438 byteCount) / 2;
441 values[2] = (SmsConstants.MAX_USER_DATA_BYTES - byteCount) / 2;
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
SpdyTransport.java 265 @Override public long read(OkBuffer sink, long byteCount)
267 if (byteCount < 0) throw new IllegalArgumentException("byteCount < 0: " + byteCount);
271 long read = source.read(sink, byteCount);
  /external/sonivox/arm-fm-22k/lib_src/
eas_pcmdata.h 84 EAS_I32 byteCount; /* size of file */

Completed in 552 milliseconds

1 2 3 4 56 7 8 91011