Home
last modified time | relevance | path

Searched refs:NPStream (Results 1 – 25 of 26) sorted by relevance

12

/external/webkit/WebCore/manual-tests/NPN_Invoke/
Dmain.c43 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty…
44 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
45 int32 NPP_WriteReady(NPP instance, NPStream* stream);
46 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer);
47 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
183 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty… in NPP_NewStream()
189 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason) in NPP_DestroyStream()
194 int32 NPP_WriteReady(NPP instance, NPStream* stream) in NPP_WriteReady()
199 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer) in NPP_Write()
204 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname) in NPP_StreamAsFile()
/external/webkit/WebCore/plugins/
Dnpfunctions.h47 typedef NPError (*NPN_RequestReadProcPtr)(NPStream* stream, NPByteRange* rangeList);
48 typedef NPError (*NPN_NewStreamProcPtr)(NPP instance, NPMIMEType type, const char* window, NPStream
49 typedef int32 (*NPN_WriteProcPtr)(NPP instance, NPStream* stream, int32 len, void* buffer);
50 typedef NPError (*NPN_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason);
105 typedef NPError (*NPP_NewStreamProcPtr)(NPP instance, NPMIMEType type, NPStream* stream, NPBool see…
106 typedef NPError (*NPP_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason);
107 typedef void (*NPP_StreamAsFileProcPtr)(NPP instance, NPStream* stream, const char* fname);
108 typedef int32 (*NPP_WriteReadyProcPtr)(NPP instance, NPStream* stream);
109 typedef int32 (*NPP_WriteProcPtr)(NPP instance, NPStream* stream, int32_t offset, int32_t len, void…
Dnpapi.cpp67 NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList) in NPN_RequestRead()
92 NPError NPN_NewStream(NPP instance, NPMIMEType type, const char* target, NPStream** stream) in NPN_NewStream()
97 int32 NPN_Write(NPP instance, NPStream* stream, int32 len, void* buffer) in NPN_Write()
102 NPError NPN_DestroyStream(NPP instance, NPStream* stream, NPReason reason) in NPN_DestroyStream()
DPluginStream.h76 static NPP ownerForStream(NPStream*);
119 NPStream m_stream;
DPluginView.h155 NPError newStream(NPMIMEType type, const char* target, NPStream** stream);
156 int32 write(NPStream* stream, int32 len, void* buffer);
157 NPError destroyStream(NPStream* stream, NPReason reason);
DPluginStream.cpp48 typedef HashMap<NPStream*, NPP> StreamMap;
214 NPP PluginStream::ownerForStream(NPStream* stream) in ownerForStream()
DPluginView.cpp646 NPError PluginView::newStream(NPMIMEType type, const char* target, NPStream** stream) in newStream()
653 int32 PluginView::write(NPStream* stream, int32 len, void* buffer) in write()
660 NPError PluginView::destroyStream(NPStream* stream, NPReason reason) in destroyStream()
/external/webkit/WebCore/bridge/
Dnpapi.h223 } NPStream; typedef
823 NPStream* stream, NPBool seekable,
825 NPError NP_LOADDS NPP_DestroyStream(NPP instance, NPStream* stream,
827 int32 NP_LOADDS NPP_WriteReady(NPP instance, NPStream* stream);
828 int32 NP_LOADDS NPP_Write(NPP instance, NPStream* stream, int32 offset,
830 void NP_LOADDS NPP_StreamAsFile(NPP instance, NPStream* stream,
859 NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList);
861 const char* target, NPStream** stream);
862 int32 NPN_Write(NPP instance, NPStream* stream, int32 len,
864 NPError NPN_DestroyStream(NPP instance, NPStream* stream,
/external/webkit/WebKitExamplePlugins/NetscapeCoreAnimationPlugin/
Dmain.m59 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty…
60 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
61 int32 NPP_WriteReady(NPP instance, NPStream* stream);
62 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer);
63 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
163 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty…
169 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason)
174 int32 NPP_WriteReady(NPP instance, NPStream* stream)
179 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer)
184 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname)
/external/webkit/WebKitTools/DumpRenderTree/win/TestNetscapePlugin/
Dmain.cpp158 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16 *sty… in NPP_NewStream()
174 NPError NPP_DestroyStream(NPP instance, NPStream *stream, NPReason reason) in NPP_DestroyStream()
188 int32 NPP_WriteReady(NPP instance, NPStream *stream) in NPP_WriteReady()
193 int32 NPP_Write(NPP instance, NPStream *stream, int32 offset, int32 len, void *buffer) in NPP_Write()
198 void NPP_StreamAsFile(NPP instance, NPStream *stream, const char *fname) in NPP_StreamAsFile()
/external/webkit/WebKitExamplePlugins/NetscapeCocoaPlugin/
Dmain.m62 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty…
63 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
64 int32 NPP_WriteReady(NPP instance, NPStream* stream);
65 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer);
66 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
167 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty…
173 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason)
178 int32 NPP_WriteReady(NPP instance, NPStream* stream)
183 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer)
188 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname)
/external/webkit/WebKitExamplePlugins/NetscapeCoreAnimationMoviePlugin/
Dmain.m78 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty…
79 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
80 int32 NPP_WriteReady(NPP instance, NPStream* stream);
81 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer);
82 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
193 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty…
199 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason)
204 int32 NPP_WriteReady(NPP instance, NPStream* stream)
209 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer)
214 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname)
/external/webkit/WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/
DTestNetscapePlugin.cpp161 NPStream *stream, in webkit_test_plugin_new_stream()
182 webkit_test_plugin_destroy_stream(NPP instance, NPStream* /*stream*/, NPError /*reason*/) in webkit_test_plugin_destroy_stream() argument
198 webkit_test_plugin_stream_as_file(NPP /*instance*/, NPStream* /*stream*/, const char* /*fname*/) in webkit_test_plugin_stream_as_file() argument
203 webkit_test_plugin_write_ready(NPP /*instance*/, NPStream* /*stream*/) in webkit_test_plugin_write_ready() argument
210 NPStream* /*stream*/, in webkit_test_plugin_write() argument
/external/webkit/WebKitExamplePlugins/NetscapeInputMethodPlugin/
Dmain.m65 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty…
66 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
67 int32 NPP_WriteReady(NPP instance, NPStream* stream);
68 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer);
69 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
180 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* sty…
186 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason)
191 int32 NPP_WriteReady(NPP instance, NPStream* stream)
196 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer)
201 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname)
/external/webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/
Dmain.cpp205 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16 *sty… in NPP_NewStream()
223 NPError NPP_DestroyStream(NPP instance, NPStream *stream, NPReason reason) in NPP_DestroyStream()
238 int32 NPP_WriteReady(NPP instance, NPStream *stream) in NPP_WriteReady()
243 int32 NPP_Write(NPP instance, NPStream *stream, int32 offset, int32 len, void *buffer) in NPP_Write()
248 void NPP_StreamAsFile(NPP instance, NPStream *stream, const char *fname) in NPP_StreamAsFile()
DPluginObject.h40 NPStream* stream;
/external/webkit/WebKit/mac/Plugins/
DWebNetscapePluginView.h162 - (NPError)newStream:(NPMIMEType)type target:(const char *)target stream:(NPStream**)stream;
163 - (NPError)write:(NPStream*)stream len:(SInt32)len buffer:(void *)buffer;
164 - (NPError)destroyStream:(NPStream*)stream reason:(NPReason)reason;
DWebBaseNetscapePluginStream.h67 static NPP ownerForStream(NPStream *);
109 NPStream m_stream;
Dnpapi.mm63 NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList)
102 NPError NPN_NewStream(NPP instance, NPMIMEType type, const char* target, NPStream** stream)
107 int32 NPN_Write(NPP instance, NPStream* stream, int32 len, void* buffer)
112 NPError NPN_DestroyStream(NPP instance, NPStream* stream, NPReason reason)
DWebBaseNetscapePluginStream.mm79 typedef HashMap<NPStream*, NPP> StreamMap;
86 NPP WebNetscapePluginStream::ownerForStream(NPStream *stream)
139 memset(&m_stream, 0, sizeof(NPStream));
159 memset(&m_stream, 0, sizeof(NPStream));
DWebNetscapePluginView.mm1864 -(NPError)newStream:(NPMIMEType)type target:(const char *)target stream:(NPStream**)stream
1870 -(NPError)write:(NPStream*)stream len:(SInt32)len buffer:(void *)buffer
1876 -(NPError)destroyStream:(NPStream*)stream reason:(NPReason)reason argument
1879 // This function does a sanity check to ensure that the NPStream provided actually
1883 LOG(Plugins, "Invalid NPStream passed to NPN_DestroyStream: %p", stream);
/external/webkit/WebKit/mac/
DChangeLog-2007-10-145227 …Change the streams hash map to contain an NPStream*, and change ownerForStream to take an NPStream
5231 Check that the NPStream pointer is valid before accessing stream->ndata.
5372 The problem was that the DivX plug-in would ask us to destroy an NPStream
5385 Use helper method to guard against a plug-in using an NPStream that doesn't
23947 … have a NULL instance by the time we start the NPStream (by calling -startStreamWithResponse:).
/external/webkit/JavaScriptCore/
DChangeLog-2007-10-143242 Add headers member to NPStream struct. Also increase NP_VERSION_MINOR to 18.
3244 NPStream::headers. Increasing from 17 to 18 reflects presence of NPObject
/external/webkit/WebKitTools/
DChangeLog-2009-06-1617600 (pluginInvoke): support null window argument for NPStream creation.
/external/webkit/WebCore/
DChangeLog-2007-10-1424305 Check that NPStream pointers passed to NPN_DestroyStream are valid.

12