HomeSort by relevance Sort by last modified time
    Searched refs:byteCount (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/webkit/WebKitTools/Scripts/
parse-malloc-history 72 my ($callCount, $byteCount);
76 ($callCount, $byteCount) = ($line =~ /(\d+) calls for (\d+) bytes/);
82 if (!$callCount || !$byteCount) {
84 ($byteCount) = ($line =~ /Leak: [x[:xdigit:]]* size=(\d+)/);
86 if ($byteCount) {
98 if (!$callCount || !$byteCount) {
100 ($byteCount) = ($line =~ /Key: (?:\d+), (\d+) bytes/);
101 if ($byteCount) {
117 next if (!$callCount || !$byteCount);
119 $byteCountTotal += $byteCount;
    [all...]
svn-unapply 297 my $byteCount = sysread(CHANGELOG, $newDate, 10);
298 die "Failed reading $fullPath: $!" if !$byteCount || $byteCount != 10;
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/
GeneralDigest.java 16 private long byteCount;
38 byteCount = t.byteCount;
52 byteCount++;
80 byteCount += xBuf.length;
97 long bitLength = (byteCount << 3);
116 byteCount = 0;
  /frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
bitstream_io.cpp 22 /* Note byteCount doesn't have to be multiple of 2 or 4 */
75 stream->byteCount = 0;
213 if (stream->byteCount + WORD_SIZE > stream->bufferSize)
217 stream->byteCount += WORD_SIZE;
222 ptr = stream->bitstreamBuffer + stream->byteCount;
226 /* NOTE: byteCount does not have to be multiple of 2 or 4 */
236 stream->byteCount += 4;
239 stream->byteCount += 2;
267 if (stream->byteCount + numbyte > stream->bufferSize)
271 stream->byteCount += numbyte
    [all...]
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...]
bitstream_io.h 44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
  /external/skia/src/ports/
SkOSFile_stdio.cpp 62 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f)
72 // ::fseek((FILE*)f, (long)(curr + byteCount), SEEK_SET);
73 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR);
76 byteCount, curr, feof((FILE*)f), ferror((FILE*)f), err));
79 return byteCount;
82 return ::fread(buffer, 1, byteCount, (FILE*)f);
85 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f)
88 return ::fwrite(buffer, 1, byteCount, (FILE*)f);
  /external/yaffs2/yaffs2/
yaffs_packedtags2.c 50 pt->t.objectId, pt->t.chunkId, pt->t.byteCount,
61 t->chunkId, t->byteCount, t->chunkDeleted, t->serialNumber,
70 pt->t.byteCount = t->byteCount;
90 pt->t.byteCount = t->extraEquivalentObjectId;
92 pt->t.byteCount = t->extraFileLength;
94 pt->t.byteCount = 0;
155 t->byteCount = pt->t.byteCount;
164 t->byteCount = 0
    [all...]
yaffs_packedtags1.c 8 pt->byteCount = t->byteCount;
31 t->byteCount = pt->byteCount;
yaffs_packedtags1.h 11 unsigned byteCount:10;
yaffs_packedtags2.h 13 unsigned byteCount;
  /libcore/luni/src/main/java/libcore/base/
Streams.java 36 * {@code byteCount} bytes have been read.
45 public static long skipByReading(InputStream in, long byteCount) throws IOException {
53 while (skipped < byteCount) {
54 int toRead = (int) Math.min(byteCount - skipped, buffer.length);
  /libcore/luni/src/main/java/java/util/zip/
DeflaterInputStream.java 144 int byteCount = in.read(buf);
145 if (byteCount == -1) {
148 def.setInput(buf, 0, byteCount);
151 int byteCount = def.deflate(buf, 0, Math.min(buf.length, len - count));
152 if (byteCount == -1) {
155 System.arraycopy(buf, 0, b, off + count, byteCount);
156 count += byteCount;
InflaterInputStream.java 233 * Skips up to {@code byteCount} bytes of uncompressed data.
235 * @param byteCount the number of bytes to skip.
240 public long skip(long byteCount) throws IOException {
241 return Streams.skipByReading(this, byteCount);
  /libcore/luni/src/main/java/java/io/
InputStream.java 234 * @param byteCount the number of bytes to skip.
239 public long skip(long byteCount) throws IOException {
240 return Streams.skipByReading(this, byteCount);
  /libcore/luni/src/test/java/org/apache/harmony/luni/platform/
OSMemoryTest.java 27 int byteCount = 32;
28 int ptr = OSMemory.malloc(byteCount);
34 OSMemory.memset(ptr, (byte) 0, byteCount);
35 assertBytesEqual((byte) 0, ptr, byteCount);
37 OSMemory.memset(ptr, (byte) 1, byteCount);
38 assertBytesEqual((byte) 1, ptr, byteCount);
44 void assertBytesEqual(byte value, int ptr, int byteCount) {
45 for (int i = 0; i < byteCount; ++i) {
  /external/skia/include/core/
SkOSFile.h 42 size_t sk_fread(void* buffer, size_t byteCount, SkFILE*);
43 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE*);
  /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])+ \
  /libcore/luni/src/main/native/
ifaddrs-android.h 102 void setAddress(int family, void* data, size_t byteCount) {
109 memcpy(dst, data, byteCount);
152 inline bool sendNetlinkMessage(int fd, const void* data, size_t byteCount) {
153 ssize_t sentByteCount = TEMP_FAILURE_RETRY(send(fd, data, byteCount, 0));
154 return (sentByteCount == static_cast<ssize_t>(byteCount));
157 inline ssize_t recvNetlinkMessage(int fd, char* buf, size_t byteCount) {
158 return TEMP_FAILURE_RETRY(recv(fd, buf, byteCount, 0));
java_util_zip_Inflater.cpp 84 ssize_t byteCount;
85 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, dst, len))) > 0) {
86 dst += byteCount;
87 len -= byteCount;
88 totalByteCount += byteCount;
90 if (byteCount == -1) {
org_apache_harmony_luni_platform_OSFileSystem.cpp 271 jint buf, jint offset, jint byteCount) {
272 if (byteCount == 0) {
276 jlong rc = TEMP_FAILURE_RETRY(read(fd, dst, byteCount));
291 jbyteArray byteArray, jint offset, jint byteCount) {
297 return OSFileSystem_readDirect(env, NULL, fd, buf, offset, byteCount);
301 jint buf, jint offset, jint byteCount) {
302 if (byteCount == 0) {
306 jlong rc = TEMP_FAILURE_RETRY(write(fd, src, byteCount));
314 jbyteArray byteArray, jint offset, jint byteCount) {
320 return OSFileSystem_writeDirect(env, NULL, fd, buf, offset, byteCount);
    [all...]
java_net_InetAddress.cpp 237 size_t byteCount = chars.size();
238 LocalArray<INET6_ADDRSTRLEN> bytes(byteCount + 1);
243 if (ipString[0] == '[' && ipString[byteCount - 1] == ']' && strchr(ipString, ':') != NULL) {
244 memmove(ipString, ipString + 1, byteCount - 2);
245 ipString[byteCount - 2] = '\0';
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
RawImage.java 154 int byteCount = this.bpp >> 3; // bpp is in bits, we want bytes to match our array
160 this.data, (y * w + x) * byteCount,
161 rotated.data, ((w-x-1) * h + y) * byteCount,
162 byteCount);
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DERObjectIdentifier.java 190 int byteCount = (fieldValue.bitLength()+6)/7;
191 if (byteCount == 0)
198 byte[] tmp = new byte[byteCount];
199 for (int i = byteCount-1; i >= 0; i--)
204 tmp[byteCount-1] &= 0x7f;
  /libcore/support/src/test/java/tests/support/
Support_TestWebData.java 42 private static byte[] newBinaryFile(int byteCount) {
43 byte[] result = new byte[byteCount];

Completed in 392 milliseconds

1 2 3