Home
last modified time | relevance | path

Searched refs:deliveryBytes (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Source/WebCore/plugins/
DPluginStream.cpp339 int32_t deliveryBytes = m_pluginFuncs->writeready(m_instance, &m_stream); in deliverData() local
341 if (deliveryBytes <= 0) { in deliverData()
355 deliveryBytes = min(deliveryBytes, totalBytes - totalBytesDelivered); in deliverData()
356 int32_t dataLength = deliveryBytes; in deliverData()
360deliveryBytes = m_pluginFuncs->write(m_instance, &m_stream, m_offset, dataLength, (void*)data); in deliverData()
361 if (deliveryBytes < 0) { in deliverData()
368 deliveryBytes = min(deliveryBytes, dataLength); in deliverData()
369 m_offset += deliveryBytes; in deliverData()
370 totalBytesDelivered += deliveryBytes; in deliverData()
/external/webkit/Source/WebKit/mac/Plugins/
DWebNetscapePluginStream.mm512 int32_t deliveryBytes = m_pluginFuncs->writeready(m_plugin, &m_stream);
513 LOG(Plugins, "NPP_WriteReady responseURL=%@ bytes=%d", m_responseURL.get(), deliveryBytes);
518 if (deliveryBytes <= 0) {
524 deliveryBytes = min(deliveryBytes, totalBytes - totalBytesDelivered);
525 …*subdata = [m_deliveryData.get() subdataWithRange:NSMakeRange(totalBytesDelivered, deliveryBytes)];
527deliveryBytes = m_pluginFuncs->write(m_plugin, &m_stream, m_offset, [subdata length], (void *)[sub…
528 if (deliveryBytes < 0) {
533 deliveryBytes = min<int32_t>(deliveryBytes, [subdata length]);
534 m_offset += deliveryBytes;
535 totalBytesDelivered += deliveryBytes;
[all …]