/external/webkit/Source/WebKit/chromium/public/ |
D | WebBindings.h | 53 …WEBKIT_API static bool construct(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVaria… 56 WEBKIT_API static NPObject* createObject(NPP, NPClass*); 59 WEBKIT_API static bool enumerate(NPP, NPObject*, NPIdentifier**, uint32_t* identifierCount); 62 WEBKIT_API static bool evaluate(NPP, NPObject*, NPString* script, NPVariant* result); 65 …WEBKIT_API static bool evaluateHelper(NPP, bool popupsAllowed, NPObject*, NPString* script, NPVari… 71 WEBKIT_API static bool getProperty(NPP, NPObject*, NPIdentifier property, NPVariant *result); 80 WEBKIT_API static bool hasMethod(NPP, NPObject*, NPIdentifier method); 83 WEBKIT_API static bool hasProperty(NPP, NPObject*, NPIdentifier property); 95 …WEBKIT_API static bool invoke(NPP, NPObject*, NPIdentifier method, const NPVariant* args, uint32_t… 98 …WEBKIT_API static bool invokeDefault(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPV… [all …]
|
/external/webkit/Source/WebCore/bridge/ |
D | npruntime_impl.h | 44 extern NPObject* _NPN_CreateObject(NPP, NPClass*); 45 extern NPObject* _NPN_RetainObject(NPObject*); 46 extern void _NPN_ReleaseObject(NPObject*); 47 extern void _NPN_DeallocateObject(NPObject*); 48 extern bool _NPN_Invoke(NPP, NPObject*, NPIdentifier methodName, const NPVariant* args, uint32_t ar… 49 extern bool _NPN_InvokeDefault(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVariant*… 50 extern bool _NPN_Evaluate(NPP, NPObject*, NPString*, NPVariant* result); 51 extern bool _NPN_GetProperty(NPP, NPObject*, NPIdentifier, NPVariant* result); 52 extern bool _NPN_SetProperty(NPP, NPObject*, NPIdentifier, const NPVariant*); 53 extern bool _NPN_RemoveProperty(NPP, NPObject*, NPIdentifier); [all …]
|
D | npruntime.h | 81 typedef struct NPObject NPObject; typedef 107 NPObject *objectValue; 247 typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass); 248 typedef void (*NPDeallocateFunctionPtr)(NPObject *npobj); 249 typedef void (*NPInvalidateFunctionPtr)(NPObject *npobj); 250 typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name); 251 typedef bool (*NPInvokeFunctionPtr)(NPObject *npobj, NPIdentifier name, 254 typedef bool (*NPInvokeDefaultFunctionPtr)(NPObject *npobj, 258 typedef bool (*NPHasPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name); 259 typedef bool (*NPGetPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name, [all …]
|
D | npruntime.cpp | 110 NPObject *_NPN_CreateObject(NPP npp, NPClass* aClass) in _NPN_CreateObject() 115 NPObject* obj; in _NPN_CreateObject() 119 obj = (NPObject*)malloc(sizeof(NPObject)); in _NPN_CreateObject() 131 NPObject* _NPN_RetainObject(NPObject* obj) in _NPN_RetainObject() 141 void _NPN_ReleaseObject(NPObject* obj) in _NPN_ReleaseObject() 152 void _NPN_DeallocateObject(NPObject *obj) in _NPN_DeallocateObject()
|
D | NP_jsobject.cpp | 56 NPObject* get(RootObject* rootObject, JSObject* jsObject) in get() 61 void add(RootObject* rootObject, JSObject* jsObject, NPObject* npObject) in add() 96 typedef HashMap<JSObject*, NPObject*> JSToNPObjectMap; 118 static NPObject* jsAllocate(NPP, NPClass*) in jsAllocate() 120 return static_cast<NPObject*>(malloc(sizeof(JavaScriptObject))); in jsAllocate() 123 static void jsDeallocate(NPObject* npObj) in jsDeallocate() 144 NPObject* _NPN_CreateScriptObject(NPP npp, JSObject* imp, PassRefPtr<RootObject> rootObject) in _NPN_CreateScriptObject() 146 if (NPObject* object = objectMap().get(rootObject.get(), imp)) in _NPN_CreateScriptObject() 155 objectMap().add(obj->rootObject, imp, reinterpret_cast<NPObject*>(obj)); in _NPN_CreateScriptObject() 160 return reinterpret_cast<NPObject*>(obj); in _NPN_CreateScriptObject() [all …]
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | npruntime_impl.h | 54 NPObject *_NPN_CreateObject(NPP, NPClass*); 55 NPObject* _NPN_RetainObject(NPObject*); 56 void _NPN_ReleaseObject(NPObject*); 57 bool _NPN_Invoke(NPP, NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t argu… 58 bool _NPN_InvokeDefault(NPP, NPObject*, const NPVariant* arguments, uint32_t argumentCount, NPVaria… 59 bool _NPN_Evaluate(NPP, NPObject*, NPString* npScript, NPVariant* result); 60 bool _NPN_EvaluateHelper(NPP, bool popupsAllowed, NPObject*, NPString* npScript, NPVariant* result); 61 bool _NPN_GetProperty(NPP, NPObject*, NPIdentifier propertyName, NPVariant* result); 62 bool _NPN_SetProperty(NPP, NPObject*, NPIdentifier propertyName, const NPVariant* value); 63 bool _NPN_RemoveProperty(NPP, NPObject*, NPIdentifier propertyName); [all …]
|
D | npruntime.cpp | 263 NPObject *_NPN_CreateObject(NPP npp, NPClass* npClass) in _NPN_CreateObject() 268 NPObject* npObject; in _NPN_CreateObject() 272 npObject = reinterpret_cast<NPObject*>(malloc(sizeof(NPObject))); in _NPN_CreateObject() 282 NPObject* _NPN_RetainObject(NPObject* npObject) in _NPN_RetainObject() 296 void _NPN_DeallocateObject(NPObject* npObject) in _NPN_DeallocateObject() 320 void NPN_ReleaseObject(NPObject *obj) in NPN_ReleaseObject() 325 void _NPN_ReleaseObject(NPObject* npObject) in _NPN_ReleaseObject() 363 typedef WTF::HashSet<NPObject*> NPObjectSet; 364 typedef WTF::HashMap<NPObject*, NPObject*> NPObjectMap; 365 typedef WTF::HashMap<NPObject*, NPObjectSet*> NPRootObjectMap; [all …]
|
D | npruntime_priv.h | 44 void _NPN_DeallocateObject(NPObject*); 81 void _NPN_RegisterObject(NPObject*, NPObject* owner); 85 void _NPN_UnregisterObject(NPObject*); 89 bool _NPN_IsAlive(NPObject*);
|
D | NPV8Object.cpp | 66 static NPObject* allocV8NPObject(NPP, NPClass*) in allocV8NPObject() 68 return static_cast<NPObject*>(malloc(sizeof(V8NPObject))); in allocV8NPObject() 71 static void freeV8NPObject(NPObject* npObject) in freeV8NPObject() 81 …createValueListFromVariantArgs(const NPVariant* arguments, uint32_t argumentCount, NPObject* owner) in createValueListFromVariantArgs() 103 NPObject* v8ObjectToNPObject(v8::Handle<v8::Object> object) in v8ObjectToNPObject() 105 … return reinterpret_cast<NPObject*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex)); in v8ObjectToNPObject() 116 NPObject* npCreateV8ScriptObject(NPP npp, v8::Handle<v8::Object> object, DOMWindow* root) in npCreateV8ScriptObject() 123 NPObject* returnValue = v8ObjectToNPObject(object); in npCreateV8ScriptObject() 135 return reinterpret_cast<NPObject*>(v8npObject); in npCreateV8ScriptObject() 140 bool _NPN_Invoke(NPP npp, NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments, … in _NPN_Invoke() [all …]
|
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/ |
D | TestObject.cpp | 32 static bool testEnumerate(NPObject *npobj, NPIdentifier **value, uint32_t *count); 33 static bool testHasMethod(NPObject*, NPIdentifier name); 34 static bool testInvoke(NPObject*, NPIdentifier name, const NPVariant* args, uint32_t argCount, NPVa… 35 static bool testHasProperty(NPObject*, NPIdentifier name); 36 static bool testGetProperty(NPObject*, NPIdentifier name, NPVariant*); 37 static NPObject *testAllocate(NPP npp, NPClass *theClass); 38 static void testDeallocate(NPObject *obj); 39 static bool testConstruct(NPObject* obj, const NPVariant* args, uint32_t argCount, NPVariant* resul… 70 NPObject header; 71 NPObject* testObject; [all …]
|
D | PluginTest.h | 74 NPObject* NPN_CreateObject(NPClass*); 75 bool NPN_RemoveProperty(NPObject*, NPIdentifier propertyName); 113 template<typename T> struct Object : NPObject { 115 static NPObject* create(PluginTest* pluginTest) in create() 167 static NPObject* NP_Allocate(NPP npp, NPClass* aClass) in NP_Allocate() 172 static void NP_Deallocate(NPObject* npObject) in NP_Deallocate() 177 static bool NP_HasMethod(NPObject* npObject, NPIdentifier methodName) in NP_HasMethod() 182 …static bool NP_Invoke(NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments, uin… in NP_Invoke() 187 …static bool NP_InvokeDefault(NPObject* npObject, const NPVariant* arguments, uint32_t argumentCoun… in NP_InvokeDefault() 192 static bool NP_HasProperty(NPObject* npObject, NPIdentifier propertyName) in NP_HasProperty() [all …]
|
D | PluginObject.cpp | 39 static void pluginLogWithWindowObject(NPObject* windowObject, NPP instance, const char* message) in pluginLogWithWindowObject() 47 NPObject* consoleObject = NPVARIANT_TO_OBJECT(consoleVariant); in pluginLogWithWindowObject() 65 static void pluginLogWithWindowObjectVariableArgs(NPObject* windowObject, NPP instance, const char*… in pluginLogWithWindowObjectVariableArgs() 81 NPObject* windowObject = 0; in pluginLogWithArguments() 101 static void pluginInvalidate(NPObject*); 102 static bool pluginHasProperty(NPObject*, NPIdentifier name); 103 static bool pluginHasMethod(NPObject*, NPIdentifier name); 104 static bool pluginGetProperty(NPObject*, NPIdentifier name, NPVariant*); 105 static bool pluginSetProperty(NPObject*, NPIdentifier name, const NPVariant*); 106 static bool pluginInvoke(NPObject*, NPIdentifier name, const NPVariant* args, uint32_t argCount, NP… [all …]
|
/external/webkit/Source/WebKit2/Shared/Plugins/ |
D | NPObjectProxy.h | 39 class NPObjectProxy : public NPObject { 45 static bool isNPObjectProxy(NPObject*); 47 static NPObjectProxy* toNPObjectProxy(NPObject* npObject) in toNPObjectProxy() 75 static NPObject* NP_Allocate(NPP, NPClass*); 76 static void NP_Deallocate(NPObject*); 77 static bool NP_HasMethod(NPObject*, NPIdentifier methodName); 78 …static bool NP_Invoke(NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t arg… 79 …static bool NP_InvokeDefault(NPObject*, const NPVariant* arguments, uint32_t argumentCount, NPVari… 80 static bool NP_HasProperty(NPObject*, NPIdentifier propertyName); 81 static bool NP_GetProperty(NPObject*, NPIdentifier propertyName, NPVariant* result); [all …]
|
D | NPObjectProxy.cpp | 65 bool NPObjectProxy::isNPObjectProxy(NPObject* npObject) in isNPObjectProxy() 287 NPObject* NPObjectProxy::NP_Allocate(NPP npp, NPClass*) in NP_Allocate() 294 void NPObjectProxy::NP_Deallocate(NPObject* npObject) in NP_Deallocate() 300 bool NPObjectProxy::NP_HasMethod(NPObject* npObject, NPIdentifier methodName) in NP_HasMethod() 305 bool NPObjectProxy::NP_Invoke(NPObject* npObject, NPIdentifier methodName, const NPVariant* argumen… in NP_Invoke() 310 bool NPObjectProxy::NP_InvokeDefault(NPObject* npObject, const NPVariant* arguments, uint32_t argum… in NP_InvokeDefault() 315 bool NPObjectProxy::NP_HasProperty(NPObject* npObject, NPIdentifier propertyName) in NP_HasProperty() 320 bool NPObjectProxy::NP_GetProperty(NPObject* npObject, NPIdentifier propertyName, NPVariant* result) in NP_GetProperty() 325 bool NPObjectProxy::NP_SetProperty(NPObject* npObject, NPIdentifier propertyName, const NPVariant* … in NP_SetProperty() 330 bool NPObjectProxy::NP_RemoveProperty(NPObject* npObject, NPIdentifier propertyName) in NP_RemoveProperty() [all …]
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebBindings.cpp | 61 bool WebBindings::construct(NPP npp, NPObject* object, const NPVariant* args, uint32_t argCount, NP… in construct() 66 NPObject* WebBindings::createObject(NPP npp, NPClass* npClass) in createObject() 71 bool WebBindings::enumerate(NPP npp, NPObject* object, NPIdentifier** identifier, uint32_t* identif… in enumerate() 76 bool WebBindings::evaluate(NPP npp, NPObject* object, NPString* script, NPVariant* result) in evaluate() 81 bool WebBindings::evaluateHelper(NPP npp, bool popupsAllowed, NPObject* object, NPString* script, N… in evaluateHelper() 91 bool WebBindings::getProperty(NPP npp, NPObject* object, NPIdentifier property, NPVariant* result) in getProperty() 106 bool WebBindings::hasMethod(NPP npp, NPObject* object, NPIdentifier method) in hasMethod() 111 bool WebBindings::hasProperty(NPP npp, NPObject* object, NPIdentifier property) in hasProperty() 135 bool WebBindings::invoke(NPP npp, NPObject* object, NPIdentifier method, const NPVariant* args, uin… in invoke() 140 bool WebBindings::invokeDefault(NPP npp, NPObject* object, const NPVariant* args, uint32_t argCount… in invokeDefault() [all …]
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
D | NPJSObject.h | 46 class NPJSObject : public NPObject { 53 static bool isNPJSObject(NPObject*); 55 static NPJSObject* toNPJSObject(NPObject* npObject) in toNPJSObject() 80 static NPObject* NP_Allocate(NPP, NPClass*); 81 static void NP_Deallocate(NPObject*); 82 static bool NP_HasMethod(NPObject*, NPIdentifier methodName); 83 …static bool NP_Invoke(NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t arg… 84 …static bool NP_InvokeDefault(NPObject*, const NPVariant* arguments, uint32_t argumentCount, NPVari… 85 static bool NP_HasProperty(NPObject*, NPIdentifier propertyName); 86 static bool NP_GetProperty(NPObject*, NPIdentifier propertyName, NPVariant* result); [all …]
|
D | NPRuntimeUtilities.h | 33 struct NPObject; 52 NPObject* createNPObject(NPP, NPClass*); 53 void deallocateNPObject(NPObject*); 55 void retainNPObject(NPObject*); 56 void releaseNPObject(NPObject*);
|
D | NPRuntimeUtilities.cpp | 59 NPObject* createNPObject(NPP npp, NPClass* npClass) in createNPObject() 63 NPObject* npObject; in createNPObject() 67 npObject = npnMemNew<NPObject>(); in createNPObject() 75 void deallocateNPObject(NPObject* npObject) in deallocateNPObject() 87 void retainNPObject(NPObject* npObject) in retainNPObject() 96 void releaseNPObject(NPObject* npObject) in releaseNPObject()
|
D | NPRuntimeObjectMap.h | 32 struct NPObject; 65 NPObject* getOrCreateNPObject(JSC::JSGlobalData&, JSC::JSObject*); 69 JSC::JSObject* getOrCreateJSObject(JSC::JSGlobalObject*, NPObject*); 75 bool evaluate(NPObject*, const String& scriptString, NPVariant* result); 90 HashMap<NPObject*, JSNPObject*> m_jsNPObjects;
|
/external/webkit/Source/WebCore/bridge/jni/v8/ |
D | JavaNPObjectV8.h | 42 NPObject m_object; 46 NPObject* JavaInstanceToNPObject(JavaInstance*); 47 JavaInstance* ExtractJavaInstance(NPObject*); 49 bool JavaNPObjectHasMethod(NPObject*, NPIdentifier name); 50 bool JavaNPObjectInvoke(NPObject*, NPIdentifier methodName, const NPVariant* args, uint32_t argCoun… 51 bool JavaNPObjectHasProperty(NPObject*, NPIdentifier name); 52 bool JavaNPObjectGetProperty(NPObject*, NPIdentifier name, NPVariant* result);
|
D | JavaNPObjectV8.cpp | 44 static NPObject* AllocJavaNPObject(NPP, NPClass*) in AllocJavaNPObject() 50 return reinterpret_cast<NPObject*>(obj); in AllocJavaNPObject() 53 static void FreeJavaNPObject(NPObject* npobj) in FreeJavaNPObject() 76 NPObject* JavaInstanceToNPObject(JavaInstance* instance) in JavaInstanceToNPObject() 80 return reinterpret_cast<NPObject*>(object); in JavaInstanceToNPObject() 84 JavaInstance* ExtractJavaInstance(NPObject* obj) in ExtractJavaInstance() 91 bool JavaNPObjectHasMethod(NPObject* obj, NPIdentifier identifier) in JavaNPObjectHasMethod() 110 bool JavaNPObjectInvoke(NPObject* obj, NPIdentifier identifier, const NPVariant* args, uint32_t arg… in JavaNPObjectInvoke() 164 bool JavaNPObjectHasProperty(NPObject* obj, NPIdentifier identifier) in JavaNPObjectHasProperty() 179 bool JavaNPObjectGetProperty(NPObject* obj, NPIdentifier identifier, NPVariant* result) in JavaNPObjectGetProperty()
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | CppBoundClass.cpp | 95 NPObject parent; // This must be the first field in the struct. 108 static NPObject* allocate(NPP, NPClass*); 111 static void deallocate(NPObject*); 115 static bool hasProperty(NPObject*, NPIdentifier); 119 static bool hasMethod(NPObject*, NPIdentifier); 124 static bool invoke(NPObject*, NPIdentifier, 131 static bool getProperty(NPObject*, NPIdentifier, NPVariant* result); 136 static bool setProperty(NPObject*, NPIdentifier, const NPVariant* value); 155 NPObject* CppNPObject::allocate(NPP npp, NPClass* aClass) in allocate() 163 void CppNPObject::deallocate(NPObject* npObj) in deallocate() [all …]
|
/external/chromium/webkit/glue/ |
D | cpp_bound_class.cc | 69 NPObject parent; // This must be the first field in the struct. 82 static NPObject* allocate(NPP npp, NPClass* aClass); 85 static void deallocate(NPObject* obj); 89 static bool hasProperty(NPObject *obj, NPIdentifier ident); 93 static bool hasMethod(NPObject *obj, NPIdentifier ident); 98 static bool invoke(NPObject *obj, NPIdentifier ident, 105 static bool getProperty(NPObject *obj, NPIdentifier ident, 111 static bool setProperty(NPObject *obj, NPIdentifier ident, 131 /* static */ NPObject* CppNPObject::allocate(NPP npp, NPClass* aClass) { in allocate() 138 /* static */ void CppNPObject::deallocate(NPObject* np_obj) { in deallocate() [all …]
|
/external/webkit/Source/WebCore/bridge/c/ |
D | c_instance.h | 35 typedef struct NPObject NPObject; typedef 47 static PassRefPtr<CInstance> create(NPObject* object, PassRefPtr<RootObject> rootObject) in create() 76 NPObject *getObject() const { return _object; } in getObject() 79 CInstance(NPObject*, PassRefPtr<RootObject>); 84 NPObject *_object;
|
/external/webkit/Source/WebCore/plugins/ |
D | npfunctions.h | 87 typedef NPObject* (*NPN_CreateObjectProcPtr) (NPP, NPClass *aClass); 88 typedef NPObject* (*NPN_RetainObjectProcPtr) (NPObject *obj); 89 typedef void (*NPN_ReleaseObjectProcPtr) (NPObject *obj); 90 typedef bool (*NPN_InvokeProcPtr) (NPP npp, NPObject *obj, NPIdentifier methodName, const NPVariant… 91 typedef bool (*NPN_InvokeDefaultProcPtr) (NPP npp, NPObject *obj, const NPVariant *args, unsigned a… 92 typedef bool (*NPN_EvaluateProcPtr) (NPP npp, NPObject *obj, NPString *script, NPVariant *result); 93 typedef bool (*NPN_GetPropertyProcPtr) (NPP npp, NPObject *obj, NPIdentifier propertyName, NPVaria… 94 typedef bool (*NPN_SetPropertyProcPtr) (NPP npp, NPObject *obj, NPIdentifier propertyName, const N… 95 typedef bool (*NPN_HasPropertyProcPtr) (NPP, NPObject *npobj, NPIdentifier propertyName); 96 typedef bool (*NPN_HasMethodProcPtr) (NPP npp, NPObject *npobj, NPIdentifier methodName); [all …]
|