Home
last modified time | relevance | path

Searched refs:NPUTF8 (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/public/web/
DWebBindings.h82 BLINK_EXPORT static NPIdentifier getStringIdentifier(const NPUTF8* string);
85 …BLINK_EXPORT static void getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifie…
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…
180 typedef void (ExceptionHandler)(void* data, const NPUTF8* message);
/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*);
47 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier);
62 void _NPN_SetException(NPObject*, const NPUTF8 *message);
Dnpruntime.cpp160 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name) in _NPN_GetStringIdentifier()
179 identifier->value.string = reinterpret_cast<NPUTF8*>(nameStorage); in _NPN_GetStringIdentifier()
188 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers) in _NPN_GetStringIdentifiers()
233 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier identifier) in _NPN_UTF8FromIdentifier()
239 return (NPUTF8*) strdup(privateIdentifier->value.string); in _NPN_UTF8FromIdentifier()
334 …variant->value.stringValue.UTF8Characters = reinterpret_cast<NPUTF8*>(malloc(sizeof(NPUTF8) * valu… in _NPN_InitializeVariantWithStringCopy()
335 …memcpy((void*)variant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * v… in _NPN_InitializeVariantWithStringCopy()
DV8NPUtils.h50 typedef void (*ExceptionHandler)(void* data, const NPUTF8* message);
DNPV8Object.h61 const NPUTF8* string;
DNPV8Object.cpp497 void _NPN_SetException(NPObject* npObject, const NPUTF8 *message) in _NPN_SetException()
/external/chromium_org/third_party/npapi/npspy/extern/plugin/
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,
262 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
405 void NPN_SetException(NPObject *npobj, const NPUTF8 *message);
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/third_party/npapi/bindings/
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,
236 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
391 void NPN_SetException(NPObject *npobj, const NPUTF8 *message);
Dnpfunctions.h95 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr)(const NPUTF8* name);
96 typedef void (*NPN_GetStringIdentifiersProcPtr)(const NPUTF8** names, int32_t nameCount, NP…
99 typedef NPUTF8* (*NPN_UTF8FromIdentifierProcPtr)(NPIdentifier identifier);
113 typedef void (*NPN_SetExceptionProcPtr)(NPObject *obj, const NPUTF8 *message);
/external/chromium_org/remoting/host/plugin/
Dhost_plugin_utils.cc14 NPUTF8* np_string = g_npnetscape_funcs->utf8fromidentifier(identifier); in StringFromNPIdentifier()
29 NPUTF8* chars = in NPVariantFromString()
30 reinterpret_cast<NPUTF8*>(g_npnetscape_funcs->memalloc(len + 1)); in NPVariantFromString()
/external/chromium_org/third_party/WebKit/Source/testing/plugin/
DPluginObject.cpp146 static const NPUTF8 *pluginPropertyIdentifierNames[NUM_PROPERTY_IDENTIFIERS] = {
207 static const NPUTF8 *pluginMethodIdentifierNames[NUM_METHOD_IDENTIFIERS] = {
249 static NPUTF8* createCStringFromNPVariant(const NPVariant* variant) in createCStringFromNPVariant()
252 NPUTF8* result = (NPUTF8*)malloc(length + 1); in createCStringFromNPVariant()
430 NPUTF8* utf8String = createCStringFromNPVariant(&variant); in stringVariantToIdentifier()
470 NPUTF8* utf8String = browser->utf8fromidentifier(identifier); in testIdentifierToString()
497 NPUTF8* callbackString = createCStringFromNPVariant(&args[0]); in testPassTestObject()
517 NPUTF8* callbackString = createCStringFromNPVariant(&args[0]); in testCallback()
539 NPUTF8* callbackString = createCStringFromNPVariant(&args[0]); in testCallbackReturn()
563 NPUTF8* urlString = createCStringFromNPVariant(&args[0]); in getURL()
[all …]
DTestObject.cpp88 static const NPUTF8 *testIdentifierNames[NUM_TEST_IDENTIFIERS] = {
100 static const NPUTF8 *testMethodIdentifierNames[NUM_METHOD_IDENTIFIERS] = {
DPluginTest.cpp180 NPIdentifier PluginTest::NPN_GetStringIdentifier(const NPUTF8 *name) in NPN_GetStringIdentifier()
195 NPUTF8* PluginTest::NPN_UTF8FromIdentifier(NPIdentifier npIdentifier) in NPN_UTF8FromIdentifier()
DPluginTest.h82 NPIdentifier NPN_GetStringIdentifier(const NPUTF8* name);
85 NPUTF8* NPN_UTF8FromIdentifier(NPIdentifier);
/external/chromium_org/third_party/WebKit/Source/web/
DWebBindings.cpp93 NPIdentifier WebBindings::getStringIdentifier(const NPUTF8* string) in getStringIdentifier()
98 void WebBindings::getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* ident… in getStringIdentifiers()
158 void WebBindings::setException(NPObject* object, const NPUTF8* message) in setException()
191 NPUTF8* WebBindings::utf8FromIdentifier(NPIdentifier identifier) in utf8FromIdentifier()
196 void WebBindings::extractIdentifierData(const NPIdentifier& identifier, const NPUTF8*& string, int3… in extractIdentifierData()
/external/chromium_org/third_party/npapi/npspy/common/
Dnpn_gate.cpp384 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name) in NPN_GetStringIdentifier()
436 void NPN_SetException(NPObject*obj, const NPUTF8*message) in NPN_SetException()
591 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier) in NPN_UTF8FromIdentifier()
596 NPUTF8 *rv = NPNFuncs.utf8fromidentifier(identifier); in NPN_UTF8FromIdentifier()
630 void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t count, NPIdentifier *identifiers) in NPN_GetStringIdentifiers()
/external/chromium_org/content/child/npapi/
Dnpruntime_util.cc15 const NPUTF8* string; in SerializeNPIdentifier()
Dnpobject_util.cc88 static void NPN_SetExceptionPatch(NPObject *obj, const NPUTF8 *message) { in NPN_SetExceptionPatch()
257 result->value.stringValue.UTF8Characters = static_cast<NPUTF8*>(buffer); in CreateNPVariant()
/external/chromium/webkit/glue/
Dnpruntime_util.cc15 const NPUTF8* string; in SerializeNPIdentifier()
/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_bindings.cc56 NPUTF8 *chars = static_cast<NPUTF8 *>(malloc(length)); in StringToNPVariant()
588 np_obj, static_cast<const NPUTF8 *>(error_message.c_str())); in SetProperty()
601 np_obj, static_cast<const NPUTF8 *>(error_message.c_str())); in RemoveProperty()
641 np_obj, static_cast<const NPUTF8 *>(error_message.c_str())); in SetProperty()
/external/chromium_org/content/test/plugin/
Dplugin_windowless_test.cc192 const NPUTF8* urlString = "javascript:DeletePluginWithinScript()"; in ExecuteScriptDeleteInPaint()
193 const NPUTF8* targetString = NULL; in ExecuteScriptDeleteInPaint()
/external/chromium_org/content/child/
Dplugin_param_traits.cc127 NPUTF8* str = blink::WebBindings::utf8FromIdentifier(p.identifier); in Log()
/external/chromium_org/content/renderer/pepper/
Dnpapi_glue.cc166 const NPUTF8* string_value = NULL; in NPIdentifierToPPVar()