Home
last modified time | relevance | path

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

/external/webkit/Source/WebKit/chromium/public/
DWebBindings.h74 WEBKIT_API static NPIdentifier getStringIdentifier(const NPUTF8* string);
77 …WEBKIT_API static void getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier*…
113 WEBKIT_API static void setException(NPObject*, const NPUTF8* message);
122 WEBKIT_API static NPUTF8* utf8FromIdentifier(NPIdentifier);
129 …WEBKIT_API static void extractIdentifierData(const NPIdentifier&, const NPUTF8*& string, int32_t& …
145 typedef void (ExceptionHandler)(void* data, const NPUTF8* message);
/external/webkit/Source/WebCore/bridge/
Dnpruntime.cpp44 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name) in _NPN_GetStringIdentifier()
49 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers) in _NPN_GetStringIdentifiers()
70 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier identifier) in _NPN_UTF8FromIdentifier()
88 … variant->value.stringValue.UTF8Characters = (NPUTF8 *)malloc(sizeof(NPUTF8) * value->UTF8Length); in NPN_InitializeVariantWithStringCopy()
91 …memcpy((void*)variant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * v… in NPN_InitializeVariantWithStringCopy()
Dnpruntime_impl.h38 extern NPIdentifier _NPN_GetStringIdentifier(const NPUTF8*);
39 extern void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identi…
42 extern NPUTF8* _NPN_UTF8FromIdentifier(NPIdentifier);
56 extern void _NPN_SetException(NPObject*, const NPUTF8*);
Dnpruntime.h84 typedef char NPUTF8; typedef
86 const NPUTF8 *UTF8Characters;
223 NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name);
224 void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount,
232 NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
387 void NPN_SetException(NPObject *npobj, const NPUTF8 *message);
Dtestbindings.cpp63 static const NPUTF8 *myPropertyIdentifierNames[NUM_PROPERTY_IDENTIFIERS] = {
84 static const NPUTF8 *myMethodIdentifierNames[NUM_METHOD_IDENTIFIERS] = {
144 NPUTF8 *msg = "Attempt to set double value with invalid type."; in setDoubleValue()
155 NPUTF8 *msg = "Attempt to set int value with invalid type."; in setIntValue()
172 NPUTF8 *msg = "Attempt to set bool value with invalid type."; in setBooleanValue()
DNP_jsobject.cpp451 void _NPN_SetException(NPObject*, const NPUTF8* message) in _NPN_SetException()
/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*);
51 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier);
66 void _NPN_SetException(NPObject*, const NPUTF8 *message);
Dnpruntime.cpp157 NPIdentifier _NPN_GetStringIdentifier(const NPUTF8* name) in _NPN_GetStringIdentifier()
176 identifier->value.string = reinterpret_cast<NPUTF8*>(nameStorage); in _NPN_GetStringIdentifier()
185 void _NPN_GetStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers) in _NPN_GetStringIdentifiers()
230 NPUTF8 *_NPN_UTF8FromIdentifier(NPIdentifier identifier) in _NPN_UTF8FromIdentifier()
236 return (NPUTF8*) strdup(privateIdentifier->value.string); in _NPN_UTF8FromIdentifier()
340 …variant->value.stringValue.UTF8Characters = reinterpret_cast<NPUTF8*>(malloc(sizeof(NPUTF8) * valu… in _NPN_InitializeVariantWithStringCopy()
341 …memcpy((void*)variant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * v… in _NPN_InitializeVariantWithStringCopy()
DV8NPUtils.h55 typedef void (*ExceptionHandler)(void* data, const NPUTF8* message);
DNPV8Object.h67 const NPUTF8* string;
DNPV8Object.cpp435 void _NPN_SetException(NPObject* npObject, const NPUTF8 *message) in _NPN_SetException()
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/
DPluginObject.cpp154 static const NPUTF8 *pluginPropertyIdentifierNames[NUM_PROPERTY_IDENTIFIERS] = {
212 static const NPUTF8 *pluginMethodIdentifierNames[NUM_METHOD_IDENTIFIERS] = {
252 static NPUTF8* createCStringFromNPVariant(const NPVariant* variant) in createCStringFromNPVariant()
255 NPUTF8* result = (NPUTF8*)malloc(length + 1); in createCStringFromNPVariant()
406 NPUTF8* utf8String = createCStringFromNPVariant(&variant); in stringVariantToIdentifier()
446 NPUTF8* utf8String = browser->utf8fromidentifier(identifier); in testIdentifierToString()
473 NPUTF8* callbackString = createCStringFromNPVariant(&args[0]); in testPassTestObject()
493 NPUTF8* callbackString = createCStringFromNPVariant(&args[0]); in testCallback()
515 NPUTF8* callbackString = createCStringFromNPVariant(&args[0]); in testCallbackReturn()
539 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.cpp126 NPIdentifier PluginTest::NPN_GetStringIdentifier(const NPUTF8 *name) in NPN_GetStringIdentifier()
DPluginTest.h71 NPIdentifier NPN_GetStringIdentifier(const NPUTF8* name);
/external/webkit/Source/WebCore/bridge/jni/v8/
DJavaNPObjectV8.cpp96 NPUTF8* name = _NPN_UTF8FromIdentifier(identifier); in JavaNPObjectHasMethod()
115 NPUTF8* name = _NPN_UTF8FromIdentifier(identifier); in JavaNPObjectInvoke()
163 NPUTF8* name = _NPN_UTF8FromIdentifier(identifier); in JavaNPObjectHasProperty()
179 NPUTF8* name = _NPN_UTF8FromIdentifier(identifier); in JavaNPObjectGetProperty()
/external/webkit/Source/WebCore/bridge/c/
Dc_utility.cpp49 static String convertUTF8ToUTF16WithLatin1Fallback(const NPUTF8* UTF8Chars, int UTF8Length) in convertUTF8ToUTF16WithLatin1Fallback()
78 … NPString string = { (const NPUTF8*)cstring.data(), static_cast<uint32_t>(cstring.length()) }; in convertValueToNPVariant()
151 Identifier identifierFromNPIdentifier(ExecState* exec, const NPUTF8* name) in identifierFromNPIdentifier()
Dc_utility.h49 Identifier identifierFromNPIdentifier(ExecState*, const NPUTF8* name);
/external/webkit/Source/WebKit/chromium/src/
DWebBindings.cpp96 NPIdentifier WebBindings::getStringIdentifier(const NPUTF8* string) in getStringIdentifier()
101 void WebBindings::getStringIdentifiers(const NPUTF8** names, int32_t nameCount, NPIdentifier* ident… in getStringIdentifiers()
165 void WebBindings::setException(NPObject* object, const NPUTF8* message) in setException()
182 NPUTF8* WebBindings::utf8FromIdentifier(NPIdentifier identifier) in utf8FromIdentifier()
187 void WebBindings::extractIdentifierData(const NPIdentifier& identifier, const NPUTF8*& string, int3… in extractIdentifierData()
/external/webkit/Source/WebCore/plugins/
Dnpfunctions.h80 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr) (const NPUTF8 *name);
81 typedef void (*NPN_GetStringIdentifiersProcPtr) (const NPUTF8 **names, int32_t nameCount, NPIdentif…
85 typedef NPUTF8 *(*NPN_UTF8FromIdentifierProcPtr) (NPIdentifier identifier);
98 typedef void (*NPN_SetExceptionProcPtr) (NPObject *obj, const NPUTF8 *message);
/external/chromium/webkit/glue/
Dnpruntime_util.cc15 const NPUTF8* string; in SerializeNPIdentifier()
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNPRuntimeUtilities.cpp122 npnMemFree(const_cast<NPUTF8*>(variant->value.stringValue.UTF8Characters)); in releaseNPVariantValue()
DNetscapeBrowserFuncs.cpp584 static NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name) in NPN_GetStringIdentifier()
589 static void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount, NPIdentifier *identif… in NPN_GetStringIdentifiers()
611 static NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier) in NPN_UTF8FromIdentifier()
732 static void NPN_SetException(NPObject*, const NPUTF8* message) in NPN_SetException()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2007-10-1420906 void NPN_SetException(NPObject *npobj, const NPUTF8 *message);