Home
last modified time | relevance | path

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

12

/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/webkit/Source/WebCore/plugins/
DPluginStream.cpp333 int32_t totalBytes = m_deliveryData->size(); in deliverData() local
338 while (totalBytesDelivered < totalBytes) { in deliverData()
355 deliveryBytes = min(deliveryBytes, totalBytes - totalBytesDelivered); in deliverData()
377 if (totalBytesDelivered < totalBytes) { in deliverData()
378 int remainingBytes = totalBytes - totalBytesDelivered; in deliverData()
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DMediaPlayerPrivateAndroid.h80 virtual bool totalBytesKnown() const { return totalBytes() > 0; } in totalBytesKnown()
81 virtual unsigned totalBytes() const { return 0; } in totalBytes() function
/external/zlib/contrib/minizip/
Dmztools.c43 uLong totalBytes = 0; variable
129 totalBytes += dataSize;
284 *bytesRecovered = totalBytes;
/external/guava/guava-tests/test/com/google/common/hash/
DHashCodesTest.java102 int totalBytes = hashCode.bits() / 8; in assertReadableBytes() local
104 for (int bytes = 0; bytes < totalBytes; bytes++) { in assertReadableBytes()
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DPoolAlloc.cpp80 totalBytes(0) in TPoolAllocator()
234 totalBytes += numBytes; in allocate()
DPoolAlloc.h210 size_t totalBytes; // just an interesting statistic variable
/external/webkit/Source/WebCore/fileapi/
DFileReaderLoader.h77 unsigned totalBytes() const { return m_totalBytes; } in totalBytes() function
DFileReader.cpp227 …create(type, true, m_loader ? m_loader->bytesLoaded() : 0, m_loader ? m_loader->totalBytes() : 0)); in fireEvent()
/external/webkit/Source/WebCore/platform/graphics/wince/
DMediaPlayerPrivateWinCE.h74 unsigned totalBytes() const;
/external/webkit/Source/WebKit/chromium/public/
DWebMediaPlayer.h133 virtual unsigned long long totalBytes() const = 0;
/external/webkit/Source/WebKit/mac/Plugins/
DWebNetscapePluginStream.mm507 int32_t totalBytes = [m_deliveryData.get() length];
510 while (totalBytesDelivered < totalBytes) {
524 deliveryBytes = min(deliveryBytes, totalBytes - totalBytesDelivered);
541 if (totalBytesDelivered < totalBytes) {
542 …NSMutableData *newDeliveryData = [[NSMutableData alloc] initWithCapacity:totalBytes - totalBytesDe…
543 …ytes:(char *)[m_deliveryData.get() bytes] + totalBytesDelivered length:totalBytes - totalBytesDeli…
/external/webkit/Source/WebCore/platform/graphics/qt/
DMediaPlayerPrivatePhonon.h108 unsigned totalBytes() const;
DMediaPlayerPrivateQt.h84 unsigned totalBytes() const;
/external/webkit/Source/WebCore/platform/graphics/avfoundation/
DMediaPlayerPrivateAVFoundationObjC.h99 virtual unsigned totalBytes() const;
/external/webkit/Source/WebCore/platform/graphics/opengl/
DGraphicsContext3DOpenGL.cpp125 int totalBytes = rowBytes * m_currentHeight; in paintRenderingResultsToCanvas() local
127 OwnArrayPtr<unsigned char> pixels = adoptArrayPtr(new unsigned char[totalBytes]); in paintRenderingResultsToCanvas()
131 readRenderingResults(pixels.get(), totalBytes); in paintRenderingResultsToCanvas()
134 for (int i = 0; i < totalBytes; i += 4) { in paintRenderingResultsToCanvas()
155 int totalBytes = 4 * m_currentWidth * m_currentHeight; in paintRenderingResultsToImageData() local
157 readRenderingResults(pixels, totalBytes); in paintRenderingResultsToImageData()
160 for (int i = 0; i < totalBytes; i += 4) in paintRenderingResultsToImageData()
/external/webkit/Source/WebCore/loader/cache/
DMemoryCache.h124 void setCapacities(unsigned minDeadBytes, unsigned maxDeadBytes, unsigned totalBytes);
DMemoryCache.cpp292 void MemoryCache::setCapacities(unsigned minDeadBytes, unsigned maxDeadBytes, unsigned totalBytes) in setCapacities() argument
295 ASSERT(maxDeadBytes <= totalBytes); in setCapacities()
298 m_capacity = totalBytes; in setCapacities()
/external/webkit/Source/WebCore/platform/graphics/win/
DMediaPlayerPrivateQuickTimeWin.h111 unsigned totalBytes() const;
DMediaPlayerPrivateQuickTimeVisualContext.h103 unsigned totalBytes() const;
/external/webkit/Source/WebCore/platform/graphics/gstreamer/
DMediaPlayerPrivateGStreamer.h92 unsigned totalBytes() const;
/external/webkit/Source/JavaScriptCore/wtf/
DFastMalloc.cpp269 size_t totalBytes = n_elements * element_size; in tryFastCalloc() local
270 …ment_size && (totalBytes / element_size) != n_elements || (std::numeric_limits<size_t>::max() - si… in tryFastCalloc()
273 totalBytes += sizeof(AllocAlignmentInteger); in tryFastCalloc()
274 void* result = malloc(totalBytes); in tryFastCalloc()
278 memset(result, 0, totalBytes); in tryFastCalloc()
3885 size_t totalBytes = n * elem_size; in CreateCacheIfNecessary() local
3888 if (n > 1 && elem_size && (totalBytes / elem_size) != n) in CreateCacheIfNecessary()
3892 …if (std::numeric_limits<size_t>::max() - sizeof(AllocAlignmentInteger) <= totalBytes) // If overf… in CreateCacheIfNecessary()
3895 totalBytes += sizeof(AllocAlignmentInteger); in CreateCacheIfNecessary()
3896 void* result = do_malloc(totalBytes); in CreateCacheIfNecessary()
[all …]
/external/webkit/Source/WebKit/chromium/src/
DWebMediaPlayerClientImpl.cpp409 unsigned WebMediaPlayerClientImpl::totalBytes() const in totalBytes() function in WebKit::WebMediaPlayerClientImpl
412 return static_cast<unsigned>(m_webMediaPlayer->totalBytes()); in totalBytes()
DWebMediaPlayerClientImpl.h112 virtual unsigned totalBytes() const;
/external/webkit/Source/WebCore/platform/graphics/mac/
DMediaPlayerPrivateQTKit.h122 unsigned totalBytes() const;

12