Home
last modified time | relevance | path

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

123

/external/webkit/Source/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.h210 typedef void *NPIdentifier; typedef
223 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name);
225 NPIdentifier *identifiers);
226 NPIdentifier NPN_GetIntIdentifier(int32_t intid);
227 bool NPN_IdentifierIsString(NPIdentifier identifier);
232 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
238 int32_t NPN_IntFromIdentifier(NPIdentifier identifier);
250 typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name);
251 typedef bool (*NPInvokeFunctionPtr)(NPObject *npobj, NPIdentifier name,
258 typedef bool (*NPHasPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name);
[all …]
Dnpruntime.cpp44 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name) in _NPN_GetStringIdentifier()
46 return static_cast<NPIdentifier>(IdentifierRep::get(name)); in _NPN_GetStringIdentifier()
49 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers) in _NPN_GetStringIdentifiers()
60 NPIdentifier _NPN_GetIntIdentifier(int32_t intid) in _NPN_GetIntIdentifier()
62 return static_cast<NPIdentifier>(IdentifierRep::get(intid)); in _NPN_GetIntIdentifier()
65 bool _NPN_IdentifierIsString(NPIdentifier identifier) in _NPN_IdentifierIsString()
70 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier identifier) in _NPN_UTF8FromIdentifier()
79 int32_t _NPN_IntFromIdentifier(NPIdentifier identifier) in _NPN_IntFromIdentifier()
/external/webkit/Source/WebCore/bindings/v8/
Dnpruntime_impl.h47 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name);
48 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier*);
49 NPIdentifier _NPN_GetIntIdentifier(int32_t intId);
50 bool _NPN_IdentifierIsString(NPIdentifier);
51 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier);
52 int32_t _NPN_IntFromIdentifier(NPIdentifier);
57 bool _NPN_Invoke(NPP, NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t argu…
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 …]
Dnpruntime.cpp157 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name) in _NPN_GetStringIdentifier()
167 return static_cast<NPIdentifier>(iter->second); in _NPN_GetStringIdentifier()
179 return (NPIdentifier)identifier; in _NPN_GetStringIdentifier()
185 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers) in _NPN_GetStringIdentifiers()
196 NPIdentifier _NPN_GetIntIdentifier(int32_t intId) in _NPN_GetIntIdentifier()
208 return (NPIdentifier) id; in _NPN_GetIntIdentifier()
214 return static_cast<NPIdentifier>(iter->second); in _NPN_GetIntIdentifier()
221 return (NPIdentifier)identifier; in _NPN_GetIntIdentifier()
224 bool _NPN_IdentifierIsString(NPIdentifier identifier) in _NPN_IdentifierIsString()
230 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier identifier) in _NPN_UTF8FromIdentifier()
[all …]
DV8NPObject.cpp117 NPIdentifier identifier = getStringIdentifier(functionName); in npObjectInvokeImpl()
177 static v8::Handle<v8::Value> npObjectGetProperty(v8::Local<v8::Object> self, NPIdentifier identifie… in npObjectGetProperty()
224 NPIdentifier identifier = getStringIdentifier(name); in npObjectNamedPropertyGetter()
230 NPIdentifier identifier = _NPN_GetIntIdentifier(index); in npObjectIndexedPropertyGetter()
236 NPIdentifier identifier = getStringIdentifier(name); in npObjectGetNamedProperty()
242 NPIdentifier identifier = _NPN_GetIntIdentifier(index); in npObjectGetIndexedProperty()
248 NPIdentifier identifier = getStringIdentifier(name); in npObjectQueryProperty()
252 static v8::Handle<v8::Value> npObjectSetProperty(v8::Local<v8::Object> self, NPIdentifier identifie… in npObjectSetProperty()
279 NPIdentifier identifier = getStringIdentifier(name); in npObjectNamedPropertySetter()
286 NPIdentifier identifier = _NPN_GetIntIdentifier(index); in npObjectIndexedPropertySetter()
[all …]
/external/webkit/Source/WebKit2/Shared/Plugins/
DNPObjectProxy.h64 bool hasMethod(NPIdentifier methodName);
65 …bool invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant…
67 bool hasProperty(NPIdentifier propertyName);
68 bool getProperty(NPIdentifier propertyName, NPVariant* result);
69 bool setProperty(NPIdentifier propertyName, const NPVariant* value);
70 bool removeProperty(NPIdentifier propertyName);
71 bool enumerate(NPIdentifier** identifiers, uint32_t* identifierCount);
77 static bool NP_HasMethod(NPObject*, NPIdentifier methodName);
78 …static bool NP_Invoke(NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t arg…
80 static bool NP_HasProperty(NPObject*, NPIdentifier propertyName);
[all …]
DNPObjectProxy.cpp94 bool NPObjectProxy::hasMethod(NPIdentifier methodName) in hasMethod()
109 bool NPObjectProxy::invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCo… in invoke()
154 bool NPObjectProxy::hasProperty(NPIdentifier propertyName) in hasProperty()
169 bool NPObjectProxy::getProperty(NPIdentifier propertyName, NPVariant* result) in getProperty()
189 bool NPObjectProxy::setProperty(NPIdentifier propertyName, const NPVariant* value) in setProperty()
205 bool NPObjectProxy::removeProperty(NPIdentifier propertyName) in removeProperty()
220 bool NPObjectProxy::enumerate(NPIdentifier** identifiers, uint32_t* identifierCount) in enumerate()
234 NPIdentifier* nameIdentifiers = npnMemNewArray<NPIdentifier>(identifiersData.size()); in enumerate()
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()
[all …]
DNPIdentifierData.cpp48 NPIdentifierData NPIdentifierData::fromNPIdentifier(NPIdentifier npIdentifier) in fromNPIdentifier()
63 NPIdentifier NPIdentifierData::createNPIdentifier() const in createNPIdentifier()
66 return static_cast<NPIdentifier>(IdentifierRep::get(m_string.data())); in createNPIdentifier()
68 return static_cast<NPIdentifier>(IdentifierRep::get(m_number)); in createNPIdentifier()
/external/webkit/Source/WebKit/chromium/public/
DWebBindings.h59 WEBKIT_API static bool enumerate(NPP, NPObject*, NPIdentifier**, uint32_t* identifierCount);
68 WEBKIT_API static NPIdentifier getIntIdentifier(int32_t number);
71 WEBKIT_API static bool getProperty(NPP, NPObject*, NPIdentifier property, NPVariant *result);
74 WEBKIT_API static NPIdentifier getStringIdentifier(const NPUTF8* string);
77 …EBKIT_API static void getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier*);
80 WEBKIT_API static bool hasMethod(NPP, NPObject*, NPIdentifier method);
83 WEBKIT_API static bool hasProperty(NPP, NPObject*, NPIdentifier property);
86 WEBKIT_API static bool identifierIsString(NPIdentifier);
92 WEBKIT_API static int32_t intFromIdentifier(NPIdentifier);
95 …WEBKIT_API static bool invoke(NPP, NPObject*, NPIdentifier method, const NPVariant* args, uint32_t…
[all …]
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNPJSObject.h67 bool hasMethod(NPIdentifier methodName);
68 …bool invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant…
70 bool hasProperty(NPIdentifier propertyName);
71 bool getProperty(NPIdentifier propertyName, NPVariant* result);
72 bool setProperty(NPIdentifier propertyName, const NPVariant* value);
73 bool removeProperty(NPIdentifier propertyName);
74 bool enumerate(NPIdentifier** identifiers, uint32_t* identifierCount);
82 static bool NP_HasMethod(NPObject*, NPIdentifier methodName);
83 …static bool NP_Invoke(NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t arg…
85 static bool NP_HasProperty(NPObject*, NPIdentifier propertyName);
[all …]
DNPJSObject.cpp90 bool NPJSObject::hasMethod(NPIdentifier methodName) in hasMethod()
110 bool NPJSObject::invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount… in invoke()
139 bool NPJSObject::hasProperty(NPIdentifier identifier) in hasProperty()
159 bool NPJSObject::getProperty(NPIdentifier propertyName, NPVariant* result) in getProperty()
179 bool NPJSObject::setProperty(NPIdentifier propertyName, const NPVariant* value) in setProperty()
200 bool NPJSObject::removeProperty(NPIdentifier propertyName) in removeProperty()
231 bool NPJSObject::enumerate(NPIdentifier** identifiers, uint32_t* identifierCount) in enumerate()
242 NPIdentifier* nameIdentifiers = npnMemNewArray<NPIdentifier>(propertyNames.size()); in enumerate()
245 …nameIdentifiers[i] = static_cast<NPIdentifier>(IdentifierRep::get(propertyNames[i].ustring().utf8(… in enumerate()
339 bool NPJSObject::NP_HasMethod(NPObject* npObject, NPIdentifier methodName) in NP_HasMethod()
[all …]
DJSNPMethod.h31 typedef void* NPIdentifier; typedef
38 JSNPMethod(JSC::ExecState*, JSC::JSGlobalObject*, const JSC::Identifier&, NPIdentifier);
42 NPIdentifier npIdentifier() const { return m_npIdentifier; } in npIdentifier()
52 NPIdentifier m_npIdentifier;
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/
DTestObject.cpp32 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*);
87 static NPIdentifier testIdentifiers[NUM_TEST_IDENTIFIERS];
99 static NPIdentifier testMethodIdentifiers[NUM_METHOD_IDENTIFIERS];
134 static bool testHasMethod(NPObject*, NPIdentifier name) in testHasMethod()
143 static bool testInvoke(NPObject* header, NPIdentifier name, const NPVariant* /*args*/, uint32_t /*a… in testInvoke()
152 static bool testHasProperty(NPObject*, NPIdentifier name) in testHasProperty()
[all …]
DPluginTest.h46 DEFINE_HAS_MEMBER_CHECK(hasMethod, bool, (NPIdentifier methodName));
47 DEFINE_HAS_MEMBER_CHECK(invoke, bool, (NPIdentifier methodName, const NPVariant*, uint32_t, NPVaria…
49 DEFINE_HAS_MEMBER_CHECK(hasProperty, bool, (NPIdentifier propertyName));
50 DEFINE_HAS_MEMBER_CHECK(getProperty, bool, (NPIdentifier propertyName, NPVariant* result));
71 NPIdentifier NPN_GetStringIdentifier(const NPUTF8* name);
72 NPIdentifier NPN_GetIntIdentifier(int32_t intid);
75 bool NPN_RemoveProperty(NPObject*, NPIdentifier propertyName);
124 bool hasMethod(NPIdentifier methodName) in hasMethod()
130 bool invoke(NPIdentifier methodName, const NPVariant*, uint32_t, NPVariant* result) in invoke()
142 bool hasProperty(NPIdentifier propertyName) in hasProperty()
[all …]
DPluginObject.cpp102 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…
153 static NPIdentifier pluginPropertyIdentifiers[NUM_PROPERTY_IDENTIFIERS];
211 static NPIdentifier pluginMethodIdentifiers[NUM_METHOD_IDENTIFIERS];
267 static bool pluginHasProperty(NPObject *obj, NPIdentifier name) in pluginHasProperty()
275 static bool pluginHasMethod(NPObject *obj, NPIdentifier name) in pluginHasMethod()
283 static bool pluginGetProperty(NPObject* obj, NPIdentifier name, NPVariant* result) in pluginGetProperty()
[all …]
/external/webkit/Tools/DumpRenderTree/chromium/
DCppBoundClass.cpp115 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);
169 bool CppNPObject::hasMethod(NPObject* npObj, NPIdentifier ident) in hasMethod()
175 bool CppNPObject::hasProperty(NPObject* npObj, NPIdentifier ident) in hasProperty()
181 bool CppNPObject::invoke(NPObject* npObj, NPIdentifier ident, in invoke()
189 bool CppNPObject::getProperty(NPObject* npObj, NPIdentifier ident, NPVariant* result) in getProperty()
195 bool CppNPObject::setProperty(NPObject* npObj, NPIdentifier ident, const NPVariant* value) in setProperty()
[all …]
DCppBoundClass.h213 typedef HashMap<NPIdentifier, PropertyCallback*> PropertyList;
214 typedef HashMap<NPIdentifier, Callback*> MethodList;
226 bool hasMethod(NPIdentifier) const;
227 bool invoke(NPIdentifier, const NPVariant* args, size_t argCount,
229 bool hasProperty(NPIdentifier) const;
230 bool getProperty(NPIdentifier, NPVariant* result) const;
231 bool setProperty(NPIdentifier, const NPVariant*);
/external/chromium/webkit/glue/
Dcpp_bound_class.cc89 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,
144 NPIdentifier ident) { in hasMethod()
150 NPIdentifier ident) { in hasProperty()
155 /* static */ bool CppNPObject::invoke(NPObject* np_obj, NPIdentifier ident, in invoke()
163 NPIdentifier ident, in getProperty()
170 NPIdentifier ident, in setProperty()
[all …]
Dcpp_bound_class.h149 typedef std::map<NPIdentifier, PropertyCallback*> PropertyList;
150 typedef std::map<NPIdentifier, Callback*> MethodList;
162 bool HasMethod(NPIdentifier ident) const;
163 bool Invoke(NPIdentifier ident, const NPVariant* args, size_t arg_count,
165 bool HasProperty(NPIdentifier ident) const;
166 bool GetProperty(NPIdentifier ident, NPVariant* result) const;
167 bool SetProperty(NPIdentifier ident, const NPVariant* value);
/external/webkit/Source/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;
/external/webkit/Source/WebKit/chromium/src/
DWebBindings.cpp71 bool WebBindings::enumerate(NPP npp, NPObject* object, NPIdentifier** identifier, uint32_t* identif… in enumerate()
86 NPIdentifier WebBindings::getIntIdentifier(int32_t number) in getIntIdentifier()
91 bool WebBindings::getProperty(NPP npp, NPObject* object, NPIdentifier property, NPVariant* result) in getProperty()
96 NPIdentifier WebBindings::getStringIdentifier(const NPUTF8* string) in getStringIdentifier()
101 void WebBindings::getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* ident… in getStringIdentifiers()
106 bool WebBindings::hasMethod(NPP npp, NPObject* object, NPIdentifier method) in hasMethod()
111 bool WebBindings::hasProperty(NPP npp, NPObject* object, NPIdentifier property) in hasProperty()
116 bool WebBindings::identifierIsString(NPIdentifier identifier) in identifierIsString()
121 int32_t WebBindings::intFromIdentifier(NPIdentifier identifier) in intFromIdentifier()
135 bool WebBindings::invoke(NPP npp, NPObject* object, NPIdentifier method, const NPVariant* args, uin… in invoke()
[all …]
/external/webkit/Source/WebCore/bridge/jni/v8/
DJavaNPObjectV8.h49 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);
/external/webkit/Source/WebCore/plugins/
Dnpfunctions.h80 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr) (const NPUTF8 *name);
81 …_GetStringIdentifiersProcPtr) (const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers);
82 typedef NPIdentifier (*NPN_GetIntIdentifierProcPtr) (int32_t intid);
83 typedef int32_t (*NPN_IntFromIdentifierProcPtr) (NPIdentifier identifier);
84 typedef bool (*NPN_IdentifierIsStringProcPtr) (NPIdentifier identifier);
85 typedef NPUTF8 *(*NPN_UTF8FromIdentifierProcPtr) (NPIdentifier identifier);
90 typedef bool (*NPN_InvokeProcPtr) (NPP npp, NPObject *obj, NPIdentifier methodName, const NPVariant…
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);
[all …]
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/
DNPPSetWindowCalledDuringDestruction.cpp42 bool hasMethod(NPIdentifier);
43 bool invoke(NPIdentifier, const NPVariant*, uint32_t, NPVariant*);
115 bool NPPSetWindowCalledDuringDestruction::ScriptObject::hasMethod(NPIdentifier methodName) in hasMethod()
120 bool NPPSetWindowCalledDuringDestruction::ScriptObject::invoke(NPIdentifier identifier, const NPVar… in invoke()

123