Searched refs:remainingBytes (Results 1 - 7 of 7) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/loader/
H A DProgressTracker.cpp216 long long remainingBytes, estimatedBytesForPendingRequests; local
226 remainingBytes = ((m_totalPageAndResourceBytesToLoad + estimatedBytesForPendingRequests) - m_totalBytesReceived);
227 if (remainingBytes > 0) // Prevent divide by 0.
228 percentOfRemainingBytes = (double)bytesReceived / (double)remainingBytes;
/macosx-10.9.5/Security-55471.14.18/sec/Security/
H A DSecOTRSessionAKE.c109 size_t remainingBytes = (size_t)CFDataGetLength(dhPacket); local
113 require_noerr(ReadHeader(&messageBytes, &remainingBytes, &messageType), fail);
117 require_noerr(ReadLong(&messageBytes, &remainingBytes, & egxiLength), fail);
118 require(egxiLength <= remainingBytes, fail);
120 remainingBytes -= egxiLength;
123 require_noerr(ReadLong(&messageBytes, &remainingBytes, &dataLength), fail);
124 require(dataLength <= remainingBytes, fail);
/macosx-10.9.5/IONetworkingFamily-100/
H A DIOEthernetInterface.cpp1222 size_t remainingBytes; local
1237 remainingBytes = ETHER_ADDR_LEN*2;
1240 while(chain && remainingBytes)
1242 copyBytes = remainingBytes > mbuf_len( chain ) ? mbuf_len( chain ): remainingBytes;
1244 remainingBytes -= copyBytes;
1256 if(chain==0 || remainingBytes)
/macosx-10.9.5/WebCore-7537.78.1/platform/image-decoders/gif/
H A DGIFImageReader.cpp775 void GIFImageReader::setRemainingBytes(size_t remainingBytes) argument
777 ASSERT(remainingBytes <= m_data->size());
778 m_bytesRead = m_data->size() - remainingBytes;
/macosx-10.9.5/WebCore-7537.78.1/plugins/
H A DPluginStream.cpp368 int remainingBytes = totalBytes - totalBytesDelivered; local
369 memmove(m_deliveryData->data(), m_deliveryData->data() + totalBytesDelivered, remainingBytes);
370 m_deliveryData->resize(remainingBytes);
/macosx-10.9.5/CF-855.17/
H A DCFStorage.c480 CFIndex remainingBytes = node->numBytes - range.length; local
481 if (remainingBytes == 0) {
487 CFStorageNode *newNode = __CFStorageCreateNode(allocator, storage, true, remainingBytes);
492 ASSERT(nonDeletedPrefix.length + nonDeletedSuffix.length == remainingBytes);
493 __CFStorageAllocLeafNodeMemory(allocator, storage, newNode, remainingBytes, false); // no point in compacting since we're freshly allocated
/macosx-10.9.5/AppleRAID-4.0.6/
H A DAppleRAIDUserLib.c1629 static UInt64 calculateBitMapSize(UInt64 partitionSize, UInt64 chunkSize, UInt64 * remainingBytes);
1964 // if remainingBytes is set, we are trying to fit the bitmap into the partition, the bitmap covers the data section of the partition.
1965 // if remainingBytes is not set, we are trying to find the size of a bitmap to cover the whole partition.
1970 static UInt64 calculateBitMapSize(UInt64 partitionSize, UInt64 chunkSize, UInt64 * remainingBytes) argument
1978 if (remainingBytes) {
1994 *remainingBytes = (availableBytes - bitMapSize) / chunkSize * chunkSize;

Completed in 125 milliseconds