/external/webkit/Tools/Scripts/ |
D | 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 …]
|
D | svn-unapply | 275 my $byteCount = sysread(CHANGELOG, $newDate, 10); 276 die "Failed reading $fullPath: $!" if !$byteCount || $byteCount != 10;
|
/external/yaffs2/yaffs2/ |
D | yaffs_packedtags2.c | 50 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()
|
D | yaffs_packedtags1.c | 8 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/ |
D | GeneralDigest.java | 16 private long byteCount; field in GeneralDigest 38 byteCount = t.byteCount; in GeneralDigest() 52 byteCount++; in update() 80 byteCount += xBuf.length; in update() 97 long bitLength = (byteCount << 3); in finish() 116 byteCount = 0; in reset()
|
/external/skia/legacy/src/ports/ |
D | SkOSFile_brew.cpp | 57 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) in sk_fread() argument 62 int err = IFILE_Seek((IFile*)f, _SEEK_CURRENT, (int)byteCount); in sk_fread() 64 SkDEBUGF(("sk_fread: IFILE_Seek(%d) failed returned:%d\n", byteCount, err)); in sk_fread() 67 return byteCount; in sk_fread() 70 return IFILE_Read((IFile*)f, buffer, byteCount); in sk_fread() 73 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) in sk_fwrite() argument 76 return IFILE_Write((IFile*)f, buffer, byteCount); in sk_fwrite()
|
D | SkOSFile_stdio.cpp | 54 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) in sk_fread() argument 65 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR); in sk_fread() 68 byteCount, curr, feof((FILE*)f), ferror((FILE*)f), err)); in sk_fread() 71 return byteCount; in sk_fread() 74 return ::fread(buffer, 1, byteCount, (FILE*)f); in sk_fread() 77 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) in sk_fwrite() argument 80 return ::fwrite(buffer, 1, byteCount, (FILE*)f); in sk_fwrite()
|
/external/skia/src/ports/ |
D | SkOSFile_brew.cpp | 57 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) in sk_fread() argument 62 int err = IFILE_Seek((IFile*)f, _SEEK_CURRENT, (int)byteCount); in sk_fread() 64 SkDEBUGF(("sk_fread: IFILE_Seek(%d) failed returned:%d\n", byteCount, err)); in sk_fread() 67 return byteCount; in sk_fread() 70 return IFILE_Read((IFile*)f, buffer, byteCount); in sk_fread() 73 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) in sk_fwrite() argument 76 return IFILE_Write((IFile*)f, buffer, byteCount); in sk_fwrite()
|
D | SkOSFile_stdio.cpp | 79 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) in sk_fread() argument 90 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR); in sk_fread() 93 byteCount, curr, feof((FILE*)f), ferror((FILE*)f), err)); in sk_fread() 96 return byteCount; in sk_fread() 99 return ::fread(buffer, 1, byteCount, (FILE*)f); in sk_fread() 102 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) in sk_fwrite() argument 105 return ::fwrite(buffer, 1, byteCount, (FILE*)f); in sk_fwrite()
|
/external/skia/src/utils/ios/ |
D | SkOSFile_iOS.mm | 69 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/ |
D | Util.java | 204 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) in readFully() argument 206 if (byteCount == 0) { in readFully() 215 checkOffsetAndCount(dst.length, offset, byteCount); in readFully() 216 while (byteCount > 0) { in readFully() 217 int bytesRead = in.read(dst, offset, byteCount); in readFully() 222 byteCount -= bytesRead; in readFully() 258 public static long skipByReading(InputStream in, long byteCount) throws IOException { in skipByReading() argument 266 while (skipped < byteCount) { in skipByReading() 267 int toRead = (int) Math.min(byteCount - skipped, buffer.length); in skipByReading()
|
/external/skia/legacy/include/views/ |
D | SkEvent.h | 143 const void* findData(const char name[], size_t* byteCount = NULL) const { 144 return fMeta.findData(name, byteCount); 156 bool hasData(const char name[], const void* data, size_t byteCount) const { in hasData() argument 157 return fMeta.hasData(name, data, byteCount); in hasData() 173 void setData(const char name[], const void* data, size_t byteCount) { in setData() argument 174 fMeta.setData(name, data, byteCount); in setData()
|
/external/skia/include/views/ |
D | SkEvent.h | 141 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/ |
D | ECPoint.java | 384 int byteCount = converter.getByteLength(this.x); in getEncoded() local 385 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), byteCount); in getEncoded() 391 PO = new byte[byteCount + 1]; in getEncoded() 409 System.arraycopy(X, 0, PO, 1, byteCount); in getEncoded() 413 byte[] Y = converter.integerToBytes(this.getY().toBigInteger(), byteCount); in getEncoded() 415 PO = new byte[byteCount + byteCount + 1]; in getEncoded() 418 System.arraycopy(X, 0, PO, 1, byteCount); in getEncoded() 419 System.arraycopy(Y, 0, PO, byteCount + 1, byteCount); in getEncoded()
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | SpdyStream.java | 514 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()
|
D | SpdyReader.java | 203 @Override public int read(byte[] buffer, int offset, int byteCount) throws IOException { in newNameValueBlockStream() 204 byteCount = Math.min(byteCount, compressedLimit); in newNameValueBlockStream() 205 int consumed = in.read(buffer, offset, byteCount); in newNameValueBlockStream()
|
/external/webkit/Source/JavaScriptCore/interpreter/ |
D | RegisterFile.cpp | 94 void RegisterFile::addToCommittedByteCount(long byteCount) in addToCommittedByteCount() argument 97 ASSERT(static_cast<long>(committedBytesCount) + byteCount > -1); in addToCommittedByteCount() 98 committedBytesCount += byteCount; in addToCommittedByteCount()
|
/external/skia/include/core/ |
D | SkMetaData.h | 58 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);
|
D | SkOSFile.h | 44 size_t sk_fread(void* buffer, size_t byteCount, SkFILE*); 45 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE*);
|
/external/skia/legacy/include/core/ |
D | SkMetaData.h | 58 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);
|
D | SkOSFile.h | 35 size_t sk_fread(void* buffer, size_t byteCount, SkFILE*); 36 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE*);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | DERObjectIdentifier.java | 198 int byteCount = (fieldValue.bitLength()+6)/7; in writeField() local 199 if (byteCount == 0) in writeField() 206 byte[] tmp = new byte[byteCount]; in writeField() 207 for (int i = byteCount-1; i >= 0; i--) in writeField() 212 tmp[byteCount-1] &= 0x7f; in writeField()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
D | X9FieldElement.java | 59 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/ |
D | CertBlacklist.java | 100 int byteCount = f.read(buffer); in readFileAsBytes() local 101 if (byteCount == -1) { in readFileAsBytes() 104 bytes.write(buffer, 0, byteCount); in readFileAsBytes()
|
/external/skia/src/utils/ |
D | SkMD5.cpp | 27 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()
|