Home
last modified time | relevance | path

Searched refs:byteCount (Results 1 – 25 of 75) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dparse-malloc-history74 my ($callCount, $byteCount);
78 ($callCount, $byteCount) = ($line =~ /(\d+) calls for (\d+) bytes/);
84 if (!$callCount || !$byteCount) {
86 ($byteCount) = ($line =~ /Leak: [x[:xdigit:]]* size=(\d+)/);
88 if ($byteCount) {
100 if (!$callCount || !$byteCount) {
102 ($byteCount) = ($line =~ /Key: (?:\d+), (\d+) bytes/);
103 if ($byteCount) {
119 next if (!$callCount || !$byteCount);
121 $byteCountTotal += $byteCount;
[all …]
Dsvn-unapply278 my $byteCount = sysread(CHANGELOG, $newDate, 10);
279 die "Failed reading $fullPath: $!" if !$byteCount || $byteCount != 10;
/external/skia/src/ports/
DSkOSFile_stdio.cpp73 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) { in sk_fread() argument
81 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR); in sk_fread()
84 byteCount, curr, feof((FILE*)f), ferror((FILE*)f), err)); in sk_fread()
87 return byteCount; in sk_fread()
90 return ::fread(buffer, 1, byteCount, (FILE*)f); in sk_fread()
93 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) { in sk_fwrite() argument
95 return ::fwrite(buffer, 1, byteCount, (FILE*)f); in sk_fwrite()
103 bool sk_fseek(SkFILE* f, size_t byteCount) { in sk_fseek() argument
104 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_SET); in sk_fseek()
108 bool sk_fmove(SkFILE* f, long byteCount) { in sk_fmove() argument
[all …]
/external/chromium_org/third_party/skia/src/ports/
DSkOSFile_stdio.cpp73 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) { in sk_fread() argument
81 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR); in sk_fread()
84 byteCount, curr, feof((FILE*)f), ferror((FILE*)f), err)); in sk_fread()
87 return byteCount; in sk_fread()
90 return ::fread(buffer, 1, byteCount, (FILE*)f); in sk_fread()
93 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) { in sk_fwrite() argument
95 return ::fwrite(buffer, 1, byteCount, (FILE*)f); in sk_fwrite()
103 bool sk_fseek(SkFILE* f, size_t byteCount) { in sk_fseek() argument
104 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_SET); in sk_fseek()
108 bool sk_fmove(SkFILE* f, long byteCount) { in sk_fmove() argument
[all …]
/external/yaffs2/yaffs2/
Dyaffs_packedtags2.c50 pt->t.objectId, pt->t.chunkId, pt->t.byteCount, in yaffs_DumpPackedTags2()
61 t->chunkId, t->byteCount, t->chunkDeleted, t->serialNumber, in yaffs_DumpTags2()
70 pt->t.byteCount = t->byteCount; in yaffs_PackTags2()
90 pt->t.byteCount = t->extraEquivalentObjectId; in yaffs_PackTags2()
92 pt->t.byteCount = t->extraFileLength; in yaffs_PackTags2()
94 pt->t.byteCount = 0; in yaffs_PackTags2()
155 t->byteCount = pt->t.byteCount; in yaffs_UnpackTags2()
164 t->byteCount = 0; in yaffs_UnpackTags2()
178 t->extraEquivalentObjectId = pt->t.byteCount; in yaffs_UnpackTags2()
180 t->extraFileLength = pt->t.byteCount; in yaffs_UnpackTags2()
Dyaffs_packedtags1.c8 pt->byteCount = t->byteCount; in yaffs_PackTags1()
31 t->byteCount = pt->byteCount; in yaffs_UnpackTags1()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DGeneralDigest.java17 private long byteCount; field in GeneralDigest
45 byteCount = t.byteCount; in copyIn()
59 byteCount++; in update()
87 byteCount += xBuf.length; in update()
104 long bitLength = (byteCount << 3); in finish()
123 byteCount = 0; in reset()
/external/skia/src/utils/ios/
DSkOSFile_iOS.mm69 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* rec) {
74 if (byteCount > remaining) {
75 byteCount = remaining;
77 memcpy(buffer, (char*)[rec->fData bytes] + rec->fOffset, byteCount);
78 rec->fOffset += byteCount;
80 return byteCount;
84 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) {
/external/chromium_org/third_party/skia/src/utils/ios/
DSkOSFile_iOS.mm69 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* rec) {
74 if (byteCount > remaining) {
75 byteCount = remaining;
77 memcpy(buffer, (char*)[rec->fData bytes] + rec->fOffset, byteCount);
78 rec->fOffset += byteCount;
80 return byteCount;
84 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) {
/external/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java210 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) in readFully() argument
212 if (byteCount == 0) { in readFully()
221 checkOffsetAndCount(dst.length, offset, byteCount); in readFully()
222 while (byteCount > 0) { in readFully()
223 int bytesRead = in.read(dst, offset, byteCount); in readFully()
228 byteCount -= bytesRead; in readFully()
264 public static long skipByReading(InputStream in, long byteCount) throws IOException { in skipByReading() argument
272 while (skipped < byteCount) { in skipByReading()
273 int toRead = (int) Math.min(byteCount - skipped, buffer.length); in skipByReading()
/external/chromium_org/third_party/skia/include/views/
DSkEvent.h141 const void* findData(const char name[], size_t* byteCount = NULL) const {
142 return fMeta.findData(name, byteCount);
154 bool hasData(const char name[], const void* data, size_t byteCount) const { in hasData() argument
155 return fMeta.hasData(name, data, byteCount); in hasData()
171 void setData(const char name[], const void* data, size_t byteCount) { in setData() argument
172 fMeta.setData(name, data, byteCount); in setData()
/external/skia/include/views/
DSkEvent.h141 const void* findData(const char name[], size_t* byteCount = NULL) const {
142 return fMeta.findData(name, byteCount);
154 bool hasData(const char name[], const void* data, size_t byteCount) const { in hasData() argument
155 return fMeta.hasData(name, data, byteCount); in hasData()
171 void setData(const char name[], const void* data, size_t byteCount) { in setData() argument
172 fMeta.setData(name, data, byteCount); in setData()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECPoint.java389 int byteCount = converter.getByteLength(this.x); in getEncoded() local
390 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), byteCount); in getEncoded()
396 PO = new byte[byteCount + 1]; in getEncoded()
414 System.arraycopy(X, 0, PO, 1, byteCount); in getEncoded()
418 byte[] Y = converter.integerToBytes(this.getY().toBigInteger(), byteCount); in getEncoded()
420 PO = new byte[byteCount + byteCount + 1]; in getEncoded()
423 System.arraycopy(X, 0, PO, 1, byteCount); in getEncoded()
424 System.arraycopy(Y, 0, PO, byteCount + 1, byteCount); in getEncoded()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyStream.java514 void receive(InputStream in, int byteCount) throws IOException { in receive() argument
517 if (byteCount == 0) { in receive()
531 flowControlError = byteCount > buffer.length - available(); in receive()
536 Util.skipByReading(in, byteCount); in receive()
543 Util.skipByReading(in, byteCount); in receive()
551 int firstCopyCount = Math.min(byteCount, buffer.length - limit); in receive()
554 byteCount -= firstCopyCount; in receive()
559 if (byteCount > 0) { in receive()
560 Util.readFully(in, buffer, limit, byteCount); in receive()
561 limit += byteCount; in receive()
DSpdyReader.java211 @Override public int read(byte[] buffer, int offset, int byteCount) throws IOException { in newNameValueBlockStream()
212 byteCount = Math.min(byteCount, compressedLimit); in newNameValueBlockStream()
213 int consumed = in.read(buffer, offset, byteCount); in newNameValueBlockStream()
/external/skia/include/core/
DSkMetaData.h58 const void* findData(const char name[], size_t* byteCount = NULL) const;
81 bool hasData(const char name[], const void* data, size_t byteCount) const { in hasData() argument
84 return NULL != ptr && len == byteCount && !memcmp(ptr, data, len); in hasData()
94 void setData(const char name[], const void* data, size_t byteCount);
DSkOSFile.h44 size_t sk_fread(void* buffer, size_t byteCount, SkFILE*);
45 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE*);
/external/chromium_org/third_party/skia/include/core/
DSkMetaData.h58 const void* findData(const char name[], size_t* byteCount = NULL) const;
81 bool hasData(const char name[], const void* data, size_t byteCount) const { in hasData() argument
84 return NULL != ptr && len == byteCount && !memcmp(ptr, data, len); in hasData()
94 void setData(const char name[], const void* data, size_t byteCount);
DSkOSFile.h44 size_t sk_fread(void* buffer, size_t byteCount, SkFILE*);
45 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE*);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERObjectIdentifier.java212 int byteCount = (fieldValue.bitLength() + 6) / 7; in writeField() local
213 if (byteCount == 0) in writeField()
220 byte[] tmp = new byte[byteCount]; in writeField()
221 for (int i = byteCount - 1; i >= 0; i--) in writeField()
226 tmp[byteCount - 1] &= 0x7f; in writeField()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DX9FieldElement.java59 int byteCount = converter.getByteLength(f); in toASN1Primitive() local
60 byte[] paddedBigInteger = converter.integerToBytes(f.toBigInteger(), byteCount); in toASN1Primitive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DCertBlacklist.java100 int byteCount = f.read(buffer); in readFileAsBytes() local
101 if (byteCount == -1) { in readFileAsBytes()
104 bytes.write(buffer, 0, byteCount); in readFileAsBytes()
/external/chromium_org/third_party/WebKit/Source/wtf/
DBitVector.cpp45 memcpy(newOutOfLineBits->bits(), other.bits(), byteCount(other.size())); in setSlow()
73 memset(outOfLineBits()->bits(), 0, byteCount(size())); in clearAll()
/external/chromium_org/third_party/skia/src/utils/
DSkMD5.cpp27 SkMD5::SkMD5() : byteCount(0) { in SkMD5()
36 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in update()
60 this->byteCount += inputLength; in update()
66 encode(bits, this->byteCount << 3); in finish()
69 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in finish()
/external/skia/src/utils/
DSkMD5.cpp27 SkMD5::SkMD5() : byteCount(0) { in SkMD5()
36 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in update()
60 this->byteCount += inputLength; in update()
66 encode(bits, this->byteCount << 3); in finish()
69 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in finish()

123