Searched refs:NPUTF8 (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A Dnpruntime_impl.h43 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name);
44 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier*);
47 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier);
62 void _NPN_SetException(NPObject*, const NPUTF8 *message);
H A DV8NPUtils.h50 typedef void (*ExceptionHandler)(void* data, const NPUTF8* message);
H A DNPV8Object.h63 const NPUTF8* string;
H A Dnpruntime.cpp160 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name)
179 identifier->value.string = reinterpret_cast<NPUTF8*>(nameStorage);
188 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers)
233 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier identifier)
239 return (NPUTF8*) strdup(privateIdentifier->value.string);
334 variant->value.stringValue.UTF8Characters = reinterpret_cast<NPUTF8*>(malloc(sizeof(NPUTF8) * value->UTF8Length));
335 memcpy((void*)variant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * value->UTF8Length);
H A DNPV8Object.cpp517 void _NPN_SetException(NPObject* npObject, const NPUTF8 *message)
/external/chromium_org/third_party/WebKit/public/web/
H A DWebBindings.h82 BLINK_EXPORT static NPIdentifier getStringIdentifier(const NPUTF8* string);
85 BLINK_EXPORT static void getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier*);
121 BLINK_EXPORT static void setException(NPObject*, const NPUTF8* message);
144 BLINK_EXPORT static NPUTF8* utf8FromIdentifier(NPIdentifier);
151 BLINK_EXPORT static void extractIdentifierData(const NPIdentifier&, const NPUTF8*& string, int32_t& number, bool& isString);
180 typedef void (ExceptionHandler)(void* data, const NPUTF8* message);
/external/chromium_org/content/child/npapi/
H A Dnpruntime_util.cc15 const NPUTF8* string;
H A Dnpobject_util.cc88 static void NPN_SetExceptionPatch(NPObject *obj, const NPUTF8 *message) {
257 result->value.stringValue.UTF8Characters = static_cast<NPUTF8*>(buffer);
/external/chromium_org/third_party/npapi/bindings/
H A Dnpruntime.h88 typedef char NPUTF8; typedef
90 const NPUTF8 *UTF8Characters;
227 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name);
228 void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount,
234 The NPUTF8 returned from NPN_UTF8FromIdentifier SHOULD be freed.
236 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
391 void NPN_SetException(NPObject *npobj, const NPUTF8 *message);
H A Dnpfunctions.h95 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr)(const NPUTF8* name);
96 typedef void (*NPN_GetStringIdentifiersProcPtr)(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers);
99 typedef NPUTF8* (*NPN_UTF8FromIdentifierProcPtr)(NPIdentifier identifier);
113 typedef void (*NPN_SetExceptionProcPtr)(NPObject *obj, const NPUTF8 *message);
/external/chromium_org/third_party/npapi/npspy/extern/plugin/
H A Dnpruntime.h116 typedef char NPUTF8; typedef
118 const NPUTF8 *utf8characters;
253 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name);
254 void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount,
260 The NPUTF8 returned from NPN_UTF8FromIdentifier SHOULD be freed.
262 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
405 void NPN_SetException(NPObject *npobj, const NPUTF8 *message);
H A Dnpupp.h332 typedef NPIdentifier (* NP_LOADDS NPN_GetStringIdentifierUPP)(const NPUTF8* name);
339 typedef void (* NP_LOADDS NPN_GetStringIdentifiersUPP)(const NPUTF8** names,
362 typedef NPUTF8* (* NP_LOADDS NPN_UTF8FromIdentifierUPP)(NPIdentifier identifier);
460 typedef void (* NP_LOADDS NPN_SetExceptionUPP)(NPObject *obj, const NPUTF8 *message);
/external/chromium_org/content/shell/tools/plugin/
H A DPluginObject.cpp165 static const NPUTF8* pluginPropertyIdentifierNames[NUM_PROPERTY_IDENTIFIERS] = {
218 static const NPUTF8* pluginMethodIdentifierNames[NUM_METHOD_IDENTIFIERS] = {
240 static NPUTF8* createCStringFromNPVariant(const NPVariant* variant) {
242 NPUTF8* result = (NPUTF8*)malloc(length + 1);
469 NPUTF8* utf8String = createCStringFromNPVariant(&variant);
508 NPUTF8* utf8String = browser->utf8fromidentifier(identifier);
539 NPUTF8* callbackString = createCStringFromNPVariant(&args[0]);
567 NPUTF8* callbackString = createCStringFromNPVariant(&args[0]);
597 NPUTF8* callbackStrin
[all...]
H A DTestObject.cpp83 static const NPUTF8* testIdentifierNames[NUM_TEST_IDENTIFIERS] = {
90 static const NPUTF8* testMethodIdentifierNames[NUM_METHOD_IDENTIFIERS] = {
H A DPluginTest.cpp170 NPIdentifier PluginTest::NPN_GetStringIdentifier(const NPUTF8* name) {
182 NPUTF8* PluginTest::NPN_UTF8FromIdentifier(NPIdentifier npIdentifier) {
H A DPluginTest.h115 NPIdentifier NPN_GetStringIdentifier(const NPUTF8* name);
118 NPUTF8* NPN_UTF8FromIdentifier(NPIdentifier);
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebBindings.cpp91 NPIdentifier WebBindings::getStringIdentifier(const NPUTF8* string)
96 void WebBindings::getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers)
156 void WebBindings::setException(NPObject* object, const NPUTF8* message)
189 NPUTF8* WebBindings::utf8FromIdentifier(NPIdentifier identifier)
194 void WebBindings::extractIdentifierData(const NPIdentifier& identifier, const NPUTF8*& string, int32_t& number, bool& isString)
/external/chromium_org/content/test/plugin/
H A Dplugin_windowless_test.cc186 const NPUTF8* urlString = "javascript:DeletePluginWithinScript()";
187 const NPUTF8* targetString = NULL;
/external/chromium_org/third_party/npapi/npspy/common/
H A Dnpn_gate.cpp384 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name)
436 void NPN_SetException(NPObject*obj, const NPUTF8*message) argument
591 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier)
596 NPUTF8 *rv = NPNFuncs.utf8fromidentifier(identifier);
630 void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t count, NPIdentifier *identifiers)
/external/chromium_org/content/child/
H A Dplugin_param_traits.cc127 NPUTF8* str = blink::WebBindings::utf8FromIdentifier(p.identifier);

Completed in 7345 milliseconds