Home
last modified time | relevance | path

Searched refs:totalBytes (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/codec/
DSkCodec_libbmp.cpp151 uint32_t totalBytes; in ReadHeader() local
168 totalBytes = get_int(hBuffer.get(), 2); in ReadHeader()
187 totalBytes = 0; in ReadHeader()
497 if (totalBytes <= offset && kRLE_BitmapInputFormat == inputFormat) { in ReadHeader()
501 const size_t RLEBytes = totalBytes - offset; in ReadHeader()
899 size_t totalBytes = stream()->read(buffer.get(), fRLEBytes); in decodeRLE() local
900 if (totalBytes < fRLEBytes) { in decodeRLE()
902 } else if (totalBytes <= 0) { in decodeRLE()
922 if ((int) totalBytes - currByte < 2) { in decodeRLE()
952 if ((int) totalBytes - currByte < 2) { in decodeRLE()
[all …]
/external/libvncserver/libvncserver/
Dstats.c381 double totalBytes=0.0; in rfbPrintStats() local
406 totalBytes += bytes; in rfbPrintStats()
424 totalBytes += bytes; in rfbPrintStats()
429 savings = 100.0 - ((totalBytes/totalBytesIfRaw)*100.0); in rfbPrintStats()
431 "TOTALS", totalRects, totalBytes,totalBytesIfRaw, savings); in rfbPrintStats()
434 totalBytes=0.0; in rfbPrintStats()
452 totalBytes += bytes; in rfbPrintStats()
469 totalBytes += bytes; in rfbPrintStats()
474 savings = 100.0 - ((totalBytes/totalBytesIfRaw)*100.0); in rfbPrintStats()
476 "TOTALS", totalRects, totalBytes,totalBytesIfRaw, savings); in rfbPrintStats()
/external/skia/tests/
DSwizzlerTest.cpp29 const size_t totalBytes = imageInfo.getSafeSize(rowBytes) + offset; in check_fill() local
32 SkAutoTDeleteArray<uint8_t> storage(SkNEW_ARRAY(uint8_t, totalBytes)); in check_fill()
33 memset(storage.get(), 0, totalBytes); in check_fill()
DWriter32Test.cpp166 size_t totalBytes = writer->bytesWritten(); in testWritePad() local
168 SkAutoMalloc readStorage(totalBytes); in testWritePad()
172 reader.setMemory(readStorage.get(), totalBytes); in testWritePad()
DCodexTest.cpp180 size_t totalBytes = scaledInfo.getSafeSize(rowBytes); in test_dimensions() local
181 SkAutoTMalloc<SkPMColor> pixels(totalBytes); in test_dimensions()
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
DOGGLoader.java176 int totalBytes = numSamples * streamHdr.getChannels() * 2; in getOggTotalBytes() local
186 return Math.min(totalBytes, dataBytesTotal); in getOggTotalBytes()
198 int totalBytes = getOggTotalBytes(Integer.MAX_VALUE); in computeStreamDuration() local
200 return (float)totalBytes / bytesPerSec; in computeStreamDuration()
/external/zlib/src/contrib/minizip/
Dmztools.c43 uLong totalBytes = 0; variable
129 totalBytes += dataSize;
284 *bytesRecovered = totalBytes;
/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java373 int totalBytes = hashCode.bits() / 8; in assertReadableBytes() local
375 for (int bytes = 0; bytes < totalBytes; bytes++) { in assertReadableBytes()
/external/clang/lib/AST/
DDeclBase.cpp120 int totalBytes = 0; in PrintStats() local
123 totalBytes += (int)(n##DERIVED##s * sizeof(DERIVED##Decl)); \ in PrintStats()
132 llvm::errs() << "Total bytes = " << totalBytes << "\n"; in PrintStats()