Lines Matching refs:m_stream
140 memset(&m_stream, 0, sizeof(NPStream));
160 memset(&m_stream, 0, sizeof(NPStream));
172 streams().add(&m_stream, plugin);
182 ASSERT(!m_stream.ndata);
188 free((void *)m_stream.url);
191 streams().remove(&m_stream);
220 free((void *)m_stream.url);
221 m_stream.url = strdup([m_responseURL.get() _web_URLCString]);
223 m_stream.ndata = this;
224 m_stream.end = expectedContentLength > 0 ? (uint32_t)expectedContentLength : 0;
225 m_stream.lastmodified = (uint32_t)[lastModifiedDate timeIntervalSince1970];
226 m_stream.notifyData = m_notifyData;
233 m_stream.headers = m_headers;
247 npErr = m_pluginFuncs->newstream(m_plugin, m_mimeType.mutableData(), &m_stream, NO, &m_transferMode);
388 if (m_stream.ndata) {
396 m_pluginFuncs->asfile(m_plugin, &m_stream, [carbonPath fileSystemRepresentation]);
423 m_pluginFuncs->destroystream(m_plugin, &m_stream, m_reason);
429 m_stream.headers = NULL;
431 m_stream.ndata = 0;
462 ASSERT(!m_stream.ndata);
502 if (!m_stream.ndata || [m_deliveryData.get() length] == 0)
512 int32_t deliveryBytes = m_pluginFuncs->writeready(m_plugin, &m_stream);
527 deliveryBytes = m_pluginFuncs->write(m_plugin, &m_stream, m_offset, [subdata length], (void *)[subdata bytes]);
536 LOG(Plugins, "NPP_Write responseURL=%@ bytes=%d total-delivered=%d/%d", m_responseURL.get(), deliveryBytes, m_offset, m_stream.end);
596 if (!m_stream.ndata)