Home
last modified time | relevance | path

Searched refs:NPIdentifier (Results 1 – 13 of 13) sorted by relevance

/external/webkit/WebCore/bridge/
Dnpruntime_impl.h38 extern NPIdentifier _NPN_GetStringIdentifier(const NPUTF8*);
39 extern void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identi…
40 extern NPIdentifier _NPN_GetIntIdentifier(int32_t);
41 extern bool _NPN_IdentifierIsString(NPIdentifier);
42 extern NPUTF8* _NPN_UTF8FromIdentifier(NPIdentifier);
43 extern int32_t _NPN_IntFromIdentifier(NPIdentifier);
48 extern bool _NPN_Invoke(NPP, NPObject*, NPIdentifier methodName, const NPVariant* args, uint32_t ar…
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 …]
Dnpruntime.h205 typedef void *NPIdentifier; typedef
216 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name);
217 void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers);
218 NPIdentifier NPN_GetIntIdentifier(int32_t intid);
219 bool NPN_IdentifierIsString(NPIdentifier identifier);
224 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
230 int32_t NPN_IntFromIdentifier(NPIdentifier identifier);
242 typedef bool (*NPHasMethodFunctionPtr)(NPObject *obj, NPIdentifier name);
243 typedef bool (*NPInvokeFunctionPtr)(NPObject *obj, NPIdentifier name, const NPVariant *args, uint32…
245 typedef bool (*NPHasPropertyFunctionPtr)(NPObject *obj, NPIdentifier name);
[all …]
Dnpruntime.cpp62 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name) in _NPN_GetStringIdentifier()
83 return (NPIdentifier)identifier; in _NPN_GetStringIdentifier()
89 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers) in _NPN_GetStringIdentifiers()
99 NPIdentifier _NPN_GetIntIdentifier(int32_t intid) in _NPN_GetIntIdentifier()
129 return (NPIdentifier)identifier; in _NPN_GetIntIdentifier()
132 bool _NPN_IdentifierIsString(NPIdentifier identifier) in _NPN_IdentifierIsString()
138 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier identifier) in _NPN_UTF8FromIdentifier()
147 int32_t _NPN_IntFromIdentifier(NPIdentifier identifier) in _NPN_IntFromIdentifier()
DNP_jsobject.cpp144 bool _NPN_Invoke(NPP npp, NPObject* o, NPIdentifier methodName, const NPVariant* args, uint32_t arg… in _NPN_Invoke()
230 bool _NPN_GetProperty(NPP, NPObject* o, NPIdentifier propertyName, NPVariant* variant) in _NPN_GetProperty()
264 bool _NPN_SetProperty(NPP, NPObject* o, NPIdentifier propertyName, const NPVariant* variant) in _NPN_SetProperty()
292 bool _NPN_RemoveProperty(NPP, NPObject* o, NPIdentifier propertyName) in _NPN_RemoveProperty()
327 bool _NPN_HasProperty(NPP, NPObject* o, NPIdentifier propertyName) in _NPN_HasProperty()
356 bool _NPN_HasMethod(NPP, NPObject* o, NPIdentifier methodName) in _NPN_HasMethod()
395 bool _NPN_Enumerate(NPP, NPObject* o, NPIdentifier** identifier, uint32_t* count) in _NPN_Enumerate()
411 NPIdentifier* identifiers = static_cast<NPIdentifier*>(malloc(sizeof(NPIdentifier) * size)); in _NPN_Enumerate()
Dtestbindings.cpp64 static NPIdentifier myPropertyIdentifiers[NUM_PROPERTY_IDENTIFIERS];
85 static NPIdentifier myMethodIdentifiers[NUM_METHOD_IDENTIFIERS];
104 bool myHasProperty (NPClass *theClass, NPIdentifier name) in myHasProperty()
115 bool myHasMethod (NPClass *theClass, NPIdentifier name) in myHasMethod()
202 void myGetProperty (MyObject *obj, NPIdentifier name, NPVariant *variant) in myGetProperty()
226 void mySetProperty (MyObject *obj, NPIdentifier name, const NPVariant *variant) in mySetProperty()
248 void myInvoke (MyObject *obj, NPIdentifier name, NPVariant *args, unsigned argCount, NPVariant *res… in myInvoke()
/external/webkit/WebKit/android/plugins/sample/
DPluginObject.cpp39 static bool pluginHasProperty(NPObject *obj, NPIdentifier name);
40 static bool pluginHasMethod(NPObject *obj, NPIdentifier name);
41 static bool pluginGetProperty(NPObject *obj, NPIdentifier name, NPVariant *variant);
42 static bool pluginSetProperty(NPObject *obj, NPIdentifier name, const NPVariant *variant);
43 static bool pluginInvoke(NPObject *obj, NPIdentifier name, const NPVariant *args, uint32_t argCount…
47 static bool pluginRemoveProperty(NPObject *npobj, NPIdentifier name);
48 static bool pluginEnumerate(NPObject *npobj, NPIdentifier **value, uint32_t *count);
77 static NPIdentifier pluginPropertyIdentifiers[NUM_PROPERTY_IDENTIFIERS];
85 static NPIdentifier pluginMethodIdentifiers[NUM_METHOD_IDENTIFIERS];
96 static bool pluginHasProperty(NPObject *obj, NPIdentifier name) in pluginHasProperty()
[all …]
/external/webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/
DTestObject.cpp29 static bool testEnumerate(NPObject *npobj, NPIdentifier **value, uint32_t *count);
30 static bool testHasProperty(NPObject *obj, NPIdentifier name);
31 static bool testGetProperty(NPObject*, NPIdentifier name, NPVariant*);
64 static NPIdentifier testIdentifiers[NUM_TEST_IDENTIFIERS];
93 static bool testHasProperty(NPObject *obj, NPIdentifier name) in testHasProperty()
103 static bool testGetProperty(NPObject* npobj, NPIdentifier name, NPVariant* result) in testGetProperty()
116 static bool testEnumerate(NPObject *npobj, NPIdentifier **value, uint32_t *count) in testEnumerate()
120 …*value = (NPIdentifier*)browser->memalloc(NUM_ENUMERATABLE_TEST_IDENTIFIERS * sizeof(NPIdentifier)… in testEnumerate()
121 memcpy(*value, testIdentifiers, sizeof(NPIdentifier) * NUM_ENUMERATABLE_TEST_IDENTIFIERS); in testEnumerate()
DPluginObject.cpp33 static bool pluginHasProperty(NPObject*, NPIdentifier name);
34 static bool pluginHasMethod(NPObject*, NPIdentifier name);
35 static bool pluginGetProperty(NPObject*, NPIdentifier name, NPVariant*);
36 static bool pluginSetProperty(NPObject*, NPIdentifier name, const NPVariant*);
37 static bool pluginInvoke(NPObject*, NPIdentifier name, const NPVariant* args, uint32_t argCount, NP…
72 static NPIdentifier pluginPropertyIdentifiers[NUM_PROPERTY_IDENTIFIERS];
100 static NPIdentifier pluginMethodIdentifiers[NUM_METHOD_IDENTIFIERS];
135 static bool pluginHasProperty(NPObject *obj, NPIdentifier name) in pluginHasProperty()
143 static bool pluginHasMethod(NPObject *obj, NPIdentifier name) in pluginHasMethod()
151 static bool pluginGetProperty(NPObject* obj, NPIdentifier name, NPVariant* result) in pluginGetProperty()
[all …]
/external/webkit/WebCore/bridge/c/
Dc_runtime.h39 CField(NPIdentifier ident) : _fieldIdentifier(ident) { } in CField()
44 NPIdentifier identifier() const { return _fieldIdentifier; } in identifier()
47 NPIdentifier _fieldIdentifier;
54 CMethod(NPIdentifier ident) : _methodIdentifier(ident) { } in CMethod()
56 NPIdentifier identifier() const { return _methodIdentifier; } in identifier()
60 NPIdentifier _methodIdentifier;
Dc_class.cpp83 NPIdentifier ident = _NPN_GetStringIdentifier(identifier.ascii()); in methodsNamed()
104 NPIdentifier ident = _NPN_GetStringIdentifier(identifier.ascii()); in fieldNamed()
Dc_instance.cpp109 NPIdentifier ident = method->identifier(); in invokeMethod()
256 NPIdentifier* identifiers; in getPropertyNames()
/external/webkit/WebCore/plugins/
Dnpfunctions.h75 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr) (const NPUTF8 *name);
76 …_GetStringIdentifiersProcPtr) (const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers);
77 typedef NPIdentifier (*NPN_GetIntIdentifierProcPtr) (int32_t intid);
78 typedef int32_t (*NPN_IntFromIdentifierProcPtr) (NPIdentifier identifier);
79 typedef bool (*NPN_IdentifierIsStringProcPtr) (NPIdentifier identifier);
80 typedef NPUTF8 *(*NPN_UTF8FromIdentifierProcPtr) (NPIdentifier identifier);
85 typedef bool (*NPN_InvokeProcPtr) (NPP npp, NPObject *obj, NPIdentifier methodName, const NPVariant…
88 typedef bool (*NPN_GetPropertyProcPtr) (NPP npp, NPObject *obj, NPIdentifier propertyName, NPVaria…
89 typedef bool (*NPN_SetPropertyProcPtr) (NPP npp, NPObject *obj, NPIdentifier propertyName, const N…
90 typedef bool (*NPN_HasPropertyProcPtr) (NPP, NPObject *npobj, NPIdentifier propertyName);
[all …]
/external/webkit/WebKit/mac/
DChangeLog956 New helper function that returns a JSC Identifier from an NPIdentifier.