/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl.cc | 101 int64 FileInputStream::ByteCount() const { 102 return impl_.ByteCount(); 200 int64 FileOutputStream::ByteCount() const { 201 return impl_.ByteCount(); 291 int64 IstreamInputStream::ByteCount() const { 292 return impl_.ByteCount(); 331 int64 OstreamOutputStream::ByteCount() const { 332 return impl_.ByteCount(); 364 bytes_retired_ += streams_[0]->ByteCount(); 383 // Assume that ByteCount() can be used to find out how much we actuall [all...] |
zero_copy_stream_unittest.cc | 213 EXPECT_EQ(output->ByteCount(), 68); 215 int result = output->ByteCount(); 231 EXPECT_EQ(input->ByteCount(), 68); 245 EXPECT_EQ(output->ByteCount(), 200055); 247 int result = output->ByteCount(); 262 EXPECT_EQ(input->ByteCount(), 200055); 306 int64 pos = output->ByteCount(); 314 int64 size = pos + output->ByteCount(); 359 size = output.ByteCount(); 395 size = output.ByteCount(); [all...] |
/external/jhead/ |
gpsinfo.c | 146 unsigned ByteCount; 166 ByteCount = Components * ComponentSize; 169 printf("GPS tag %x format %s #components %d componentsize %d bytecount %d", Tag, formatStr(Format), Components, ComponentSize, 170 ByteCount); 173 if (ByteCount > 4){ 177 if (OffsetVal+ByteCount > ExifLength){ 178 // Bogus pointer offset and / or bytecount value 272 if (ByteCount > EXIF_ASCII_PREFIX_LEN && 275 ByteCount < GPS_PROCESSING_METHOD_LEN + EXIF_ASCII_PREFIX_LEN ? 276 ByteCount - EXIF_ASCII_PREFIX_LEN : GPS_PROCESSING_METHOD_LEN [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
RequestBody.java | 83 final int offset, final int byteCount) { 85 Util.checkOffsetAndCount(content.length, offset, byteCount); 92 return byteCount; 96 sink.write(content, offset, byteCount);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
PushObserver.java | 67 * @param byteCount number of bytes to read or skip from the source. 70 boolean onData(int streamId, BufferedSource source, int byteCount, boolean last) 86 @Override public boolean onData(int streamId, BufferedSource source, int byteCount, 88 source.skip(byteCount);
|
Http2.java | 430 long byteCount = hpackBuffer.size(); 431 int length = (int) Math.min(maxFrameSize - 4, byteCount); 433 byte flags = byteCount == length ? FLAG_END_HEADERS : 0; 438 if (byteCount > length) writeContinuationFrames(streamId, byteCount - length); 445 long byteCount = hpackBuffer.size(); 446 int length = (int) Math.min(maxFrameSize, byteCount); 448 byte flags = byteCount == length ? FLAG_END_HEADERS : 0; 453 if (byteCount > length) writeContinuationFrames(streamId, byteCount - length) [all...] |
FramedStream.java | 337 @Override public long read(Buffer sink, long byteCount) 339 if (byteCount < 0) throw new IllegalArgumentException("byteCount < 0: " + byteCount); 348 read = readBuffer.read(sink, Math.min(byteCount, readBuffer.size())); 384 void receive(BufferedSource in, long byteCount) throws IOException { 387 while (byteCount > 0) { 392 flowControlError = byteCount + readBuffer.size() > maxByteCount; 397 in.skip(byteCount); 404 in.skip(byteCount); [all...] |
/libcore/luni/src/main/native/ |
libcore_io_Memory.cpp | 109 static void Memory_peekByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOffset, jint byteCount) { 110 env->SetByteArrayRegion(dst, dstOffset, byteCount, cast<const jbyte*>(srcAddress)); 234 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, 237 memcpy(dst, src, byteCount); 244 swapShorts(dstShorts, srcShorts, byteCount / 2); 248 swapInts(dstInts, srcInts, byteCount / 4); 252 swapLongs(dstLongs, srcLongs, byteCount / 8); 257 jint byteCount, jbyteArray srcArray, jint srcOffset, jint sizeofElement, jboolean swap) { 269 unsafeBulkCopy(dst, src, byteCount, sizeofElement, swap); 274 jint byteCount, jobject srcObject, jint srcOffset, jint sizeofElement, jboolean swap) [all...] |
/external/llvm/lib/Fuzzer/ |
FuzzerSHA1.cpp | 54 uint32_t byteCount; 88 s->byteCount = 0; 148 ++s->byteCount; 167 sha1_addUncounted(s, s->byteCount >> 29); // Shifting to multiply by 8 168 sha1_addUncounted(s, s->byteCount >> 21); // as SHA-1 supports bitstreams as well as 169 sha1_addUncounted(s, s->byteCount >> 13); // byte. 170 sha1_addUncounted(s, s->byteCount >> 5); 171 sha1_addUncounted(s, s->byteCount << 3);
|
/cts/tests/tests/media/src/android/media/cts/ |
MidiSoloTest.java | 46 public int byteCount; 59 System.arraycopy(msg, offset, data, byteCount, count); 63 byteCount += count; 68 byteCount = 0; 189 assertEquals("MidiReceiver flush ", 0, myReceiver.byteCount); 192 assertEquals("MidiReceiver count ", count, myReceiver.byteCount);
|
/development/tools/axl/ |
chewie.py | 70 byteCount = 0 133 byteCount += int(x[3]) 135 byteCount += int(x[2]) 172 "byteCount: %s\n" % byteCount + \ 173 "data rate: %s\n" % (1000 * byteCount / vals[-1][6])+ \
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
OFBBlockCipher.java | 15 private int byteCount; 153 byteCount = 0; 161 if (byteCount == 0) 166 byte rv = (byte)(ofbOutV[byteCount++] ^ in); 168 if (byteCount == blockSize) 170 byteCount = 0;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Fingerprint.java | 78 * @param byteCount length of original data will be stored at byteCount[0] as a side product 81 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount) 97 if ((byteCount != null) && (byteCount.length > 0)) byteCount[0] = count;
|
/external/opencv3/3rdparty/libtiff/ |
tif_read.c | 442 uint64 bytecount; local 460 bytecount = td->td_stripbytecount[strip]; 461 if (bytecount <= 0) { 465 (unsigned __int64) bytecount, 470 (unsigned long long) bytecount, 475 bytecountm = (tmsize_t)bytecount; 476 if ((uint64)bytecountm!=bytecount) { 500 uint64 bytecount = td->td_stripbytecount[strip]; local 501 if (bytecount <= 0) { 505 (unsigned __int64) bytecount, 803 uint64 bytecount = td->td_stripbytecount[tile]; local [all...] |
/external/pdfium/third_party/libtiff/ |
tif_read.c | 442 uint64 bytecount; local 460 bytecount = td->td_stripbytecount[strip]; 461 if ((int64)bytecount <= 0) { 465 (unsigned __int64) bytecount, 470 (unsigned long long) bytecount, 475 bytecountm = (tmsize_t)bytecount; 476 if ((uint64)bytecountm!=bytecount) { 500 uint64 bytecount = td->td_stripbytecount[strip]; local 501 if ((int64)bytecount <= 0) { 505 (unsigned __int64) bytecount, 803 uint64 bytecount = td->td_stripbytecount[tile]; local [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
GzipSource.java | 67 @Override public long read(Buffer sink, long byteCount) throws IOException { 68 if (byteCount < 0) throw new IllegalArgumentException("byteCount < 0: " + byteCount); 69 if (byteCount == 0) return 0; 80 long result = inflaterSource.read(sink, byteCount); 186 private void updateCrc(Buffer buffer, long offset, long byteCount) { 194 for (; byteCount > 0; s = s.next) { 196 int toUpdate = (int) Math.min(s.limit - pos, byteCount); 198 byteCount -= toUpdate [all...] |
/toolchain/binutils/binutils-2.25/cpu/ |
iq10.cpu | 410 "rbi $rd,$rs,$rt,$bytecount" 411 (+ OP_COP3 rs rt rd FUNC10_RBI bytecount) 416 "rbil $rd,$rs,$rt,$bytecount" 417 (+ OP_COP3 rs rt rd FUNC10_RBIL bytecount) 422 "rbir $rd,$rs,$rt,$bytecount" 423 (+ OP_COP3 rs rt rd FUNC10_RBIR bytecount) 428 "wbi $rd,$rs,$rt,$bytecount" 429 (+ OP_COP3 rs rt rd FUNC10_WBI bytecount) 434 "wbic $rd,$rs,$rt,$bytecount" 435 (+ OP_COP3 rs rt rd FUNC10_WBIC bytecount) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
combined_encode.cpp | 285 Int byteCount = 0, byteCount1 = 0, bitCount = 0; 368 byteCount1 = byteCount = bitCount >> 3; /* save the position before GOB header */ 438 byteCount = bitCount >> 3; /* save the state before encoding */ 469 BitstreamRepos(bs1, byteCount, bitCount); /* rewind one MB */ 506 if (mbnum < nTotalMB - 1 && currVol->stream->byteCount + bs1->byteCount + 1 >= currVol->stream->bufferSize) 509 byteCount = currVol->stream->bufferSize - currVol->stream->byteCount - 1; 511 num_bits = BitstreamGetPos(bs1) - (byteCount << 3); 512 BitstreamRepos(bs1, byteCount, 0) [all...] |
/external/libvncserver/libvncserver/ |
stats.c | 40 void rfbStatRecordEncodingSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw); 41 void rfbStatRecordEncodingRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw); 42 void rfbStatRecordMessageSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw); 43 void rfbStatRecordMessageRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw); 212 void rfbStatRecordEncodingSentAdd(rfbClientPtr cl, uint32_t type, int byteCount) /* Specifically for tight encoding */ 218 ptr->bytesSent += byteCount; 222 void rfbStatRecordEncodingSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) 230 ptr->bytesSent += byteCount; 235 void rfbStatRecordEncodingRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) 243 ptr->bytesRcvd += byteCount; [all...] |
/external/chromium-trace/catapult/tracing/tracing/extras/net/ |
net_async_slice_test.html | 162 assert.equal(slice.byteCount, 12); 167 assert.equal(slice.byteCount, 0); 176 assert.equal(slice.byteCount, 62); 177 assert.equal(childSlice.byteCount, 50); 188 assert.equal(slice.byteCount, 82); 189 assert.equal(childSlice1.byteCount, 50); 190 assert.equal(childSlice2.byteCount, 20);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
NativeFrame.java | 177 int byteCount = rgbaBitmap.getByteCount(); 179 if (!setNativeBitmap(rgbaBitmap, byteCount, bps)) { 193 int byteCount = result.getByteCount(); 195 if (!getNativeBitmap(result, byteCount, bps)) { 244 private native byte[] getNativeData(int byteCount); 252 private native int[] getNativeInts(int byteCount); 254 private native float[] getNativeFloats(int byteCount);
|
/libcore/luni/src/main/java/android/system/ |
Os.java | 277 public static void mincore(long address, long byteCount, byte[] vector) throws ErrnoException { Libcore.os.mincore(address, byteCount, vector); } 292 public static void mlock(long address, long byteCount) throws ErrnoException { Libcore.os.mlock(address, byteCount); } 297 public static long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException { return Libcore.os.mmap(address, byteCount, prot, flags, fd, offset); } 302 public static void msync(long address, long byteCount, int flags) throws ErrnoException { Libcore.os.msync(address, byteCount, flags); } 307 public static void munlock(long address, long byteCount) throws ErrnoException { Libcore.os.munlock(address, byteCount); } [all...] |
/bionic/libc/bionic/ |
ifaddrs.cpp | 70 void SetAddress(int family, const void* data, size_t byteCount) { 76 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); 79 ifa.ifa_dstaddr = CopyAddress(family, data, byteCount, &ifa_ifu); 83 void SetBroadcastAddress(int family, const void* data, size_t byteCount) { 90 ifa.ifa_broadaddr = CopyAddress(family, data, byteCount, &ifa_ifu); 93 void SetLocalAddress(int family, const void* data, size_t byteCount) { 103 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); 127 sockaddr* CopyAddress(int family, const void* data, size_t byteCount, sockaddr_storage* ss) { 133 memcpy(SockaddrBytes(family, ss), data, byteCount);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_byte_stream.c | 87 u32 byteCount,initByteCount; 107 zeroCount = byteCount = 2; 113 byteCount++; 115 if (byteCount == len) 130 initByteCount = byteCount; 139 byteCount++; 151 byteCount - initByteCount - zeroCount - 1; 162 if (byteCount == len) 164 pStrmData->strmBuffSize = byteCount - initByteCount - zeroCount;
|
/external/curl/lib/ |
dict.c | 140 curl_off_t *bytecount = &data->req.bytecount; local 203 Curl_setup_transfer(conn, FIRSTSOCKET, -1, FALSE, bytecount, 250 Curl_setup_transfer(conn, FIRSTSOCKET, -1, FALSE, bytecount, 273 Curl_setup_transfer(conn, FIRSTSOCKET, -1, FALSE, bytecount, -1, NULL);
|