Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
Dnpruntime_impl.h43 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name);
44 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier*);
45 NPIdentifier _NPN_GetIntIdentifier(int32_t intId);
46 bool _NPN_IdentifierIsString(NPIdentifier);
47 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier);
48 int32_t _NPN_IntFromIdentifier(NPIdentifier);
53 bool _NPN_Invoke(NPP, NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t argu…
57 bool _NPN_GetProperty(NPP, NPObject*, NPIdentifier propertyName, NPVariant* result);
58 bool _NPN_SetProperty(NPP, NPObject*, NPIdentifier propertyName, const NPVariant* value);
59 bool _NPN_RemoveProperty(NPP, NPObject*, NPIdentifier propertyName);
[all …]
Dnpruntime.cpp160 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name) in _NPN_GetStringIdentifier()
170 return static_cast<NPIdentifier>(iter->value); in _NPN_GetStringIdentifier()
182 return (NPIdentifier)identifier; in _NPN_GetStringIdentifier()
188 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers) in _NPN_GetStringIdentifiers()
199 NPIdentifier _NPN_GetIntIdentifier(int32_t intId) in _NPN_GetIntIdentifier()
211 return (NPIdentifier) id; in _NPN_GetIntIdentifier()
217 return static_cast<NPIdentifier>(iter->value); in _NPN_GetIntIdentifier()
224 return (NPIdentifier)identifier; in _NPN_GetIntIdentifier()
227 bool _NPN_IdentifierIsString(NPIdentifier identifier) in _NPN_IdentifierIsString()
233 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier identifier) in _NPN_UTF8FromIdentifier()
[all …]
/external/chromium_org/content/shell/tools/plugin/
DPluginTest.h55 DEFINE_HAS_MEMBER_CHECK(hasMethod, bool, (NPIdentifier methodName));
59 (NPIdentifier methodName, const NPVariant*, uint32_t, NPVariant* result));
63 DEFINE_HAS_MEMBER_CHECK(hasProperty, bool, (NPIdentifier propertyName));
66 (NPIdentifier propertyName, NPVariant* result));
67 DEFINE_HAS_MEMBER_CHECK(removeProperty, bool, (NPIdentifier propertyName));
108 NPIdentifier methodName,
115 NPIdentifier NPN_GetStringIdentifier(const NPUTF8* name);
116 NPIdentifier NPN_GetIntIdentifier(int32_t intid);
117 bool NPN_IdentifierIsString(NPIdentifier);
118 NPUTF8* NPN_UTF8FromIdentifier(NPIdentifier);
[all …]
DTestObject.cpp38 NPIdentifier** value,
40 static bool testHasMethod(NPObject*, NPIdentifier name);
42 NPIdentifier name,
46 static bool testHasProperty(NPObject*, NPIdentifier name);
47 static bool testGetProperty(NPObject*, NPIdentifier name, NPVariant*);
82 static NPIdentifier testIdentifiers[NUM_TEST_IDENTIFIERS];
89 static NPIdentifier testMethodIdentifiers[NUM_METHOD_IDENTIFIERS];
123 static bool testHasMethod(NPObject*, NPIdentifier name) { in testHasMethod()
132 NPIdentifier name, in testInvoke()
143 static bool testHasProperty(NPObject*, NPIdentifier name) { in testHasProperty()
[all …]
DPluginObject.cpp113 static bool pluginHasProperty(NPObject*, NPIdentifier name);
114 static bool pluginHasMethod(NPObject*, NPIdentifier name);
115 static bool pluginGetProperty(NPObject*, NPIdentifier name, NPVariant*);
116 static bool pluginSetProperty(NPObject*, NPIdentifier name, const NPVariant*);
118 NPIdentifier name,
164 static NPIdentifier pluginPropertyIdentifiers[NUM_PROPERTY_IDENTIFIERS];
217 static NPIdentifier pluginMethodIdentifiers[NUM_METHOD_IDENTIFIERS];
258 NPIdentifier name, in callDeletePlugin()
259 NPIdentifier identifierToMatch) { in callDeletePlugin()
267 NPIdentifier callbackIdentifier = in callDeletePlugin()
[all …]
DPluginTest.cpp157 NPIdentifier methodName, in NPN_Invoke()
170 NPIdentifier PluginTest::NPN_GetStringIdentifier(const NPUTF8* name) { in NPN_GetStringIdentifier()
174 NPIdentifier PluginTest::NPN_GetIntIdentifier(int32_t intid) { in NPN_GetIntIdentifier()
178 bool PluginTest::NPN_IdentifierIsString(NPIdentifier npIdentifier) { in NPN_IdentifierIsString()
182 NPUTF8* PluginTest::NPN_UTF8FromIdentifier(NPIdentifier npIdentifier) { in NPN_UTF8FromIdentifier()
186 int32_t PluginTest::NPN_IntFromIdentifier(NPIdentifier npIdentifier) { in NPN_IntFromIdentifier()
203 NPIdentifier propertyName, in NPN_GetProperty()
209 NPIdentifier propertyName) { in NPN_RemoveProperty()
/external/chromium_org/third_party/npapi/npspy/extern/plugin/
Dnpruntime.h242 typedef void *NPIdentifier; typedef
253 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name);
255 NPIdentifier *identifiers);
256 NPIdentifier NPN_GetIntIdentifier(int32_t intid);
257 bool NPN_IdentifierIsString(NPIdentifier identifier);
262 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
268 int32_t NPN_IntFromIdentifier(NPIdentifier identifier);
280 typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name);
281 typedef bool (*NPInvokeFunctionPtr)(NPObject *npobj, NPIdentifier name,
288 typedef bool (*NPHasPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name);
[all …]
/external/chromium_org/third_party/npapi/bindings/
Dnpruntime.h214 typedef void *NPIdentifier; typedef
227 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name);
229 NPIdentifier *identifiers);
230 NPIdentifier NPN_GetIntIdentifier(int32_t intid);
231 bool NPN_IdentifierIsString(NPIdentifier identifier);
236 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
242 int32_t NPN_IntFromIdentifier(NPIdentifier identifier);
254 typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name);
255 typedef bool (*NPInvokeFunctionPtr)(NPObject *npobj, NPIdentifier name,
262 typedef bool (*NPHasPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name);
[all …]
Dnpfunctions.h95 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr)(const NPUTF8* name);
96 …N_GetStringIdentifiersProcPtr)(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers);
97 typedef NPIdentifier (*NPN_GetIntIdentifierProcPtr)(int32_t intid);
98 typedef bool (*NPN_IdentifierIsStringProcPtr)(NPIdentifier identifier);
99 typedef NPUTF8* (*NPN_UTF8FromIdentifierProcPtr)(NPIdentifier identifier);
100 typedef int32_t (*NPN_IntFromIdentifierProcPtr)(NPIdentifier identifier);
104 typedef bool (*NPN_InvokeProcPtr)(NPP npp, NPObject* obj, NPIdentifier methodName, const NP…
107 typedef bool (*NPN_GetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, N…
108 typedef bool (*NPN_SetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, c…
109 typedef bool (*NPN_RemovePropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName…
[all …]
/external/chromium_org/third_party/WebKit/public/web/
DWebBindings.h67 BLINK_EXPORT static bool enumerate(NPP, NPObject*, NPIdentifier**, uint32_t* identifierCount);
76 BLINK_EXPORT static NPIdentifier getIntIdentifier(int32_t number);
79 BLINK_EXPORT static bool getProperty(NPP, NPObject*, NPIdentifier property, NPVariant *result);
82 BLINK_EXPORT static NPIdentifier getStringIdentifier(const NPUTF8* string);
85 …NK_EXPORT static void getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier*);
88 BLINK_EXPORT static bool hasMethod(NPP, NPObject*, NPIdentifier method);
91 BLINK_EXPORT static bool hasProperty(NPP, NPObject*, NPIdentifier property);
94 BLINK_EXPORT static bool identifierIsString(NPIdentifier);
100 BLINK_EXPORT static int32_t intFromIdentifier(NPIdentifier);
103 …BLINK_EXPORT static bool invoke(NPP, NPObject*, NPIdentifier method, const NPVariant* args, uint32…
[all …]
/external/chromium_org/content/shell/tools/plugin/Tests/
DNPRuntimeRemoveProperty.cpp51 bool hasProperty(NPIdentifier propertyName) in hasProperty()
59 bool getProperty(NPIdentifier propertyName, NPVariant* result) in getProperty()
78 bool removeProperty(NPIdentifier propertyName) in removeProperty()
85 NPIdentifier m_lastRemovedProperty;
101 bool hasMethod(NPIdentifier methodName) in hasMethod()
109 …bool invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant… in invoke()
122 NPIdentifier propertyName; in invoke()
139 bool hasProperty(NPIdentifier propertyName) in hasProperty()
147 bool getProperty(NPIdentifier propertyName, NPVariant* result) in getProperty()
DNPRuntimeObjectFromDestroyedPlugin.cpp48 bool hasMethod(NPIdentifier methodName) in hasMethod()
53 … bool invoke(NPIdentifier methodName, const NPVariant* args, uint32_t argCount, NPVariant* result) in invoke()
64 bool hasProperty(NPIdentifier propertyName) in hasProperty()
69 bool getProperty(NPIdentifier propertyName, NPVariant* result) in getProperty()
DNPPSetWindowCalledDuringDestruction.cpp46 bool hasMethod(NPIdentifier);
47 bool invoke(NPIdentifier, const NPVariant*, uint32_t, NPVariant*);
119 bool NPPSetWindowCalledDuringDestruction::ScriptObject::hasMethod(NPIdentifier methodName) in hasMethod()
124 bool NPPSetWindowCalledDuringDestruction::ScriptObject::invoke(NPIdentifier identifier, const NPVar… in invoke()
/external/chromium_org/content/child/npapi/
Dnpobject_proxy.h51 NPIdentifier name);
53 NPIdentifier name,
62 NPIdentifier name);
64 NPIdentifier name,
67 NPIdentifier name,
70 NPIdentifier name);
72 NPIdentifier **value,
88 NPIdentifier name,
Dnpobject_util.cc32 NPIdentifier methodName) { in NPN_HasMethodPatch()
37 NPIdentifier methodName, in NPN_InvokePatch()
56 NPIdentifier propertyName) { in NPN_HasPropertyPatch()
62 NPIdentifier propertyName, in NPN_GetPropertyPatch()
69 NPIdentifier propertyName, in NPN_SetPropertyPatch()
76 NPIdentifier propertyName) { in NPN_RemovePropertyPatch()
100 NPIdentifier **identifier, uint32_t *count) { in NPN_EnumeratePatch()
142 void CreateNPIdentifierParam(NPIdentifier id, NPIdentifier_Param* param) { in CreateNPIdentifierParam()
146 NPIdentifier CreateNPIdentifier(const NPIdentifier_Param& param) { in CreateNPIdentifier()
Dnpobject_util.h23 typedef void *NPIdentifier; typedef
38 void CreateNPIdentifierParam(NPIdentifier id, NPIdentifier_Param* param);
41 NPIdentifier CreateNPIdentifier(const NPIdentifier_Param& param);
Dnpobject_proxy.cc128 NPIdentifier name) { in NPHasMethod()
148 NPIdentifier name, in NPInvoke()
165 NPIdentifier name, in NPInvokePrivate()
237 NPIdentifier name) { in NPHasProperty()
261 NPIdentifier name, in NPGetProperty()
301 NPIdentifier name, in NPSetProperty()
330 NPIdentifier name) { in NPRemoveProperty()
368 NPIdentifier **value, in NPNEnumerate()
393 *value = static_cast<NPIdentifier *>(malloc(sizeof(NPIdentifier) * *count)); in NPNEnumerate()
/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_bindings.h39 bool HasMethod(NPIdentifier name) const;
41 bool InvokeMethod(NPIdentifier name,
46 bool HasProperty(NPIdentifier name) const;
48 NPIdentifier name,
50 bool GetProperty(NPIdentifier name, NPVariant* result);
51 bool RemoveProperty(NPObject *np_obj, NPIdentifier name);
Dbrowser_plugin_bindings.cc89 bool BrowserPluginBindingsHasMethod(NPObject* np_obj, NPIdentifier name) { in BrowserPluginBindingsHasMethod()
100 bool BrowserPluginBindingsInvoke(NPObject* np_obj, NPIdentifier name, in BrowserPluginBindingsInvoke()
121 bool BrowserPluginBindingsHasProperty(NPObject* np_obj, NPIdentifier name) { in BrowserPluginBindingsHasProperty()
132 bool BrowserPluginBindingsGetProperty(NPObject* np_obj, NPIdentifier name, in BrowserPluginBindingsGetProperty()
149 bool BrowserPluginBindingsSetProperty(NPObject* np_obj, NPIdentifier name, in BrowserPluginBindingsSetProperty()
168 bool BrowserPluginBindingsEnumerate(NPObject *np_obj, NPIdentifier **value, in BrowserPluginBindingsEnumerate()
202 bool MatchesName(NPIdentifier name) const { in MatchesName()
267 bool MatchesName(NPIdentifier name) const { in MatchesName()
541 bool BrowserPluginBindings::HasMethod(NPIdentifier name) const { in HasMethod()
551 bool BrowserPluginBindings::InvokeMethod(NPIdentifier name, in InvokeMethod()
[all …]
/external/clang/test/Analysis/
Dpointer-to-member.cpp47 typedef void *NPIdentifier; typedef
51 typedef A<NPIdentifier, bool (T::*) (const NPIdentifier *, unsigned,
52 NPIdentifier *)> MethodMapMember;
57 bool Find(const NPIdentifier *, unsigned, NPIdentifier *);
/external/chromium_org/content/renderer/pepper/
Dmessage_channel.cc71 bool IdentifierIs(NPIdentifier identifier, const char string[]) { in IdentifierIs()
99 bool MessageChannelHasMethod(NPObject* np_obj, NPIdentifier name) { in MessageChannelHasMethod()
117 NPIdentifier name, in MessageChannelInvoke()
164 bool MessageChannelHasProperty(NPObject* np_obj, NPIdentifier name) { in MessageChannelHasProperty()
182 NPIdentifier name, in MessageChannelGetProperty()
208 NPIdentifier name, in MessageChannelSetProperty()
228 NPIdentifier** value, in MessageChannelEnumerate()
240 if (std::numeric_limits<size_t>::max() / sizeof(NPIdentifier) <= in MessageChannelEnumerate()
243 NPIdentifier* new_array = static_cast<NPIdentifier*>( in MessageChannelEnumerate()
244 std::malloc(sizeof(NPIdentifier) * (*count + 1))); in MessageChannelEnumerate()
[all …]
Dplugin_object.cc55 bool WrapperClass_HasMethod(NPObject* object, NPIdentifier method_name) { in WrapperClass_HasMethod()
71 NPIdentifier method_name, in WrapperClass_Invoke()
123 bool WrapperClass_HasProperty(NPObject* object, NPIdentifier property_name) { in WrapperClass_HasProperty()
139 NPIdentifier property_name, in WrapperClass_GetProperty()
154 NPIdentifier property_name, in WrapperClass_SetProperty()
172 bool WrapperClass_RemoveProperty(NPObject* object, NPIdentifier property_name) { in WrapperClass_RemoveProperty()
187 NPIdentifier** values, in WrapperClass_Enumerate()
207 *values = static_cast<NPIdentifier*>( in WrapperClass_Enumerate()
208 calloc(property_count, sizeof(NPIdentifier))); in WrapperClass_Enumerate()
Dnpapi_glue.h16 typedef void* NPIdentifier; typedef
46 NPIdentifier PPVarToNPIdentifier(PP_Var var);
50 PP_Var NPIdentifierToPPVar(NPIdentifier id);
208 NPIdentifier identifier,
/external/chromium_org/third_party/WebKit/Source/web/
DWebBindings.cpp68 bool WebBindings::enumerate(NPP npp, NPObject* object, NPIdentifier** identifier, uint32_t* identif… in enumerate()
83 NPIdentifier WebBindings::getIntIdentifier(int32_t number) in getIntIdentifier()
88 bool WebBindings::getProperty(NPP npp, NPObject* object, NPIdentifier property, NPVariant* result) in getProperty()
93 NPIdentifier WebBindings::getStringIdentifier(const NPUTF8* string) in getStringIdentifier()
98 void WebBindings::getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* ident… in getStringIdentifiers()
103 bool WebBindings::hasMethod(NPP npp, NPObject* object, NPIdentifier method) in hasMethod()
108 bool WebBindings::hasProperty(NPP npp, NPObject* object, NPIdentifier property) in hasProperty()
113 bool WebBindings::identifierIsString(NPIdentifier identifier) in identifierIsString()
118 int32_t WebBindings::intFromIdentifier(NPIdentifier identifier) in intFromIdentifier()
128 bool WebBindings::invoke(NPP npp, NPObject* object, NPIdentifier method, const NPVariant* args, uin… in invoke()
[all …]
/external/chromium_org/third_party/npapi/npspy/common/
Dnpn_gate.cpp384 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name) in NPN_GetStringIdentifier()
389 NPIdentifier rv = NPNFuncs.getstringidentifier(name); in NPN_GetStringIdentifier()
397 bool NPN_Enumerate(NPP id, NPObject* obj, NPIdentifier** identifier, uint32_t*val) in NPN_Enumerate()
452 bool NPN_HasMethod(NPP id, NPObject* object, NPIdentifier identifier) in NPN_HasMethod()
465 bool NPN_HasProperty(NPP id, NPObject* object, NPIdentifier identifier) in NPN_HasProperty()
478 bool NPN_RemoveProperty(NPP id, NPObject* object, NPIdentifier identifier) in NPN_RemoveProperty()
488 bool NPN_SetProperty(NPP id, NPObject* obj, NPIdentifier identifier, const NPVariant *variant) in NPN_SetProperty()
498 bool NPN_GetProperty(NPP id, NPObject* obj, NPIdentifier identifier, NPVariant *variant) in NPN_GetProperty()
534 bool NPN_Invoke(NPP id, NPObject* obj, NPIdentifier identifier, const NPVariant *args, uint32_t cou… in NPN_Invoke()
578 int32_t NPN_IntFromIdentifier(NPIdentifier identifier) in NPN_IntFromIdentifier()
[all …]

123