Searched refs:NPStream (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10/WebCore-7600.1.25/plugins/
H A Dnpfunctions.h44 typedef NPError (*NPN_RequestReadProcPtr)(NPStream* stream, NPByteRange* rangeList);
45 typedef NPError (*NPN_NewStreamProcPtr)(NPP instance, NPMIMEType type, const char* window, NPStream** stream);
46 typedef int32_t (*NPN_WriteProcPtr)(NPP instance, NPStream* stream, int32_t len, void* buffer);
47 typedef NPError (*NPN_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason);
102 typedef NPError (*NPP_NewStreamProcPtr)(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype);
103 typedef NPError (*NPP_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason);
104 typedef void (*NPP_StreamAsFileProcPtr)(NPP instance, NPStream* stream, const char* fname);
105 typedef int32_t (*NPP_WriteReadyProcPtr)(NPP instance, NPStream* stream);
106 typedef int32_t (*NPP_WriteProcPtr)(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer);
H A DPluginStream.h76 static NPP ownerForStream(NPStream*);
117 NPStream m_stream;
H A Dnpapi.cpp67 NPError NPN_RequestRead(NPStream*, NPByteRange*)
92 NPError NPN_NewStream(NPP instance, NPMIMEType type, const char* target, NPStream** stream)
97 int32_t NPN_Write(NPP instance, NPStream* stream, int32_t len, void* buffer)
102 NPError NPN_DestroyStream(NPP instance, NPStream* stream, NPReason reason)
H A Dnpapi.h202 } NPStream; typedef in typeref:struct:_NPStream
783 NPStream* stream, NPBool seekable,
785 NPError NP_LOADDS NPP_DestroyStream(NPP instance, NPStream* stream,
787 int32_t NP_LOADDS NPP_WriteReady(NPP instance, NPStream* stream);
788 int32_t NP_LOADDS NPP_Write(NPP instance, NPStream* stream, int32_t offset,
790 void NP_LOADDS NPP_StreamAsFile(NPP instance, NPStream* stream,
819 NPError NP_LOADDS NPN_RequestRead(NPStream* stream, NPByteRange* rangeList);
821 const char* target, NPStream** stream);
822 int32_t NP_LOADDS NPN_Write(NPP instance, NPStream* stream, int32_t len,
824 NPError NP_LOADDS NPN_DestroyStream(NPP instance, NPStream* strea
[all...]
H A DPluginView.h155 NPError newStream(NPMIMEType type, const char* target, NPStream** stream);
156 int32_t write(NPStream* stream, int32_t len, void* buffer);
157 NPError destroyStream(NPStream* stream, NPReason reason);
H A DPluginStream.cpp52 typedef HashMap<NPStream*, NPP> StreamMap;
221 NPP PluginStream::ownerForStream(NPStream* stream)
H A DPluginView.cpp591 NPError PluginView::newStream(NPMIMEType, const char* /* target */, NPStream**)
598 int32_t PluginView::write(NPStream*, int32_t /* len */, void* /* buffer */)
605 NPError PluginView::destroyStream(NPStream* stream, NPReason reason)
/macosx-10.10/WebKit2-7600.1.25/WebProcess/Plugins/Netscape/
H A DNetscapePluginStream.h58 const NPStream* npStream() const { return &m_npStream; }
91 NPStream m_npStream;
H A DNetscapePlugin.h99 NPError destroyStream(NPStream*, NPReason);
136 NPError NPP_NewStream(NPMIMEType, NPStream*, NPBool seekable, uint16_t* stype);
137 NPError NPP_DestroyStream(NPStream*, NPReason);
138 void NPP_StreamAsFile(NPStream*, const char* filename);
139 int32_t NPP_WriteReady(NPStream*);
140 int32_t NPP_Write(NPStream*, int32_t offset, int32_t len, void* buffer);
H A DNetscapePlugin.cpp195 NPError NetscapePlugin::destroyStream(NPStream* stream, NPReason reason)
417 NPError NetscapePlugin::NPP_NewStream(NPMIMEType mimeType, NPStream* stream, NPBool seekable, uint16_t* streamType)
422 NPError NetscapePlugin::NPP_DestroyStream(NPStream* stream, NPReason reason)
427 void NetscapePlugin::NPP_StreamAsFile(NPStream* stream, const char* filename)
432 int32_t NetscapePlugin::NPP_WriteReady(NPStream* stream)
437 int32_t NetscapePlugin::NPP_Write(NPStream* stream, int32_t offset, int32_t len, void* buffer)
H A DNetscapeBrowserFuncs.cpp306 static NPError NPN_RequestRead(NPStream*, NPByteRange*)
312 static NPError NPN_NewStream(NPP, NPMIMEType, const char*, NPStream**)
318 static int32_t NPN_Write(NPP, NPStream*, int32_t, void*)
324 static NPError NPN_DestroyStream(NPP npp, NPStream* stream, NPReason reason)
/macosx-10.10/WebKit-7600.1.25/mac/Plugins/
H A DWebNetscapePluginStream.h68 static NPP ownerForStream(NPStream *);
110 NPStream m_stream;
H A Dnpapi.mm63 NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList)
102 NPError NPN_NewStream(NPP instance, NPMIMEType type, const char* target, NPStream** stream)
107 int32_t NPN_Write(NPP instance, NPStream* stream, int32_t len, void* buffer)
112 NPError NPN_DestroyStream(NPP instance, NPStream* stream, NPReason reason)
H A DWebNetscapePluginView.h164 - (NPError)newStream:(NPMIMEType)type target:(const char *)target stream:(NPStream**)stream;
165 - (NPError)write:(NPStream*)stream len:(SInt32)len buffer:(void *)buffer;
166 - (NPError)destroyStream:(NPStream*)stream reason:(NPReason)reason;
H A DWebNetscapePluginStream.mm80 typedef HashMap<NPStream*, NPP> StreamMap;
87 NPP WebNetscapePluginStream::ownerForStream(NPStream *stream)
140 memset(&m_stream, 0, sizeof(NPStream));
160 memset(&m_stream, 0, sizeof(NPStream));
H A DWebNetscapePluginView.mm1886 -(NPError)newStream:(NPMIMEType)type target:(const char *)target stream:(NPStream**)stream
1892 -(NPError)write:(NPStream*)stream len:(SInt32)len buffer:(void *)buffer
1898 -(NPError)destroyStream:(NPStream*)stream reason:(NPReason)reason
1901 // This function does a sanity check to ensure that the NPStream provided actually
1905 LOG(Plugins, "Invalid NPStream passed to NPN_DestroyStream: %p", stream);

Completed in 226 milliseconds