Home
last modified time | relevance | path

Searched refs:UTF8Characters (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Source/WebCore/bridge/
Dnpruntime.cpp88 … variant->value.stringValue.UTF8Characters = (NPUTF8 *)malloc(sizeof(NPUTF8) * value->UTF8Length); in NPN_InitializeVariantWithStringCopy()
89 if (!variant->value.stringValue.UTF8Characters) in NPN_InitializeVariantWithStringCopy()
91 …memcpy((void*)variant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * v… in NPN_InitializeVariantWithStringCopy()
102 free((void*)variant->value.stringValue.UTF8Characters); in _NPN_ReleaseVariantValue()
103 variant->value.stringValue.UTF8Characters = 0; in _NPN_ReleaseVariantValue()
Dtestbindings.cpp129 …strncpy (msgBuf, message->value.stringValue.UTF8Characters, message->value.stringValue.UTF8Length); in logMessage()
146 aString.UTF8Characters = msg; in setDoubleValue()
157 aString.UTF8Characters = msg; in setIntValue()
174 aString.UTF8Characters = msg; in setBooleanValue()
304 newInstance->stringValue.value.stringValue.UTF8Characters = strdup ("Hello world"); in myAllocate()
Dnpruntime.h86 const NPUTF8 *UTF8Characters; member
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNPRuntimeUtilities.cpp53 npString.UTF8Characters = utf8Characters; in createNPString()
122 npnMemFree(const_cast<NPUTF8*>(variant->value.stringValue.UTF8Characters)); in releaseNPVariantValue()
123 variant->value.stringValue.UTF8Characters = 0; in releaseNPVariantValue()
DNPRuntimeObjectMap.cpp133 …return jsString(exec, String::fromUTF8WithLatin1Fallback(variant.value.stringValue.UTF8Characters, in convertNPVariantToJSValue()
171 STRINGN_TO_NPVARIANT(npString.UTF8Characters, npString.UTF8Length, variant); in convertJSValueToNPVariant()
DNetscapeBrowserFuncs.cpp667 …String scriptString = String::fromUTF8WithLatin1Fallback(script->UTF8Characters, script->UTF8Lengt… in NPN_Evaluate()
/external/webkit/Tools/DumpRenderTree/chromium/
DCppVariant.cpp90 && !strncmp(this_value->UTF8Characters, in isEqual()
91 other_value->UTF8Characters, len); in isEqual()
222 return string(value.stringValue.UTF8Characters, in toString()
289 string item(NPVARIANT_TO_STRING(indexValue).UTF8Characters, in toStringVector()
/external/webkit/Source/WebCore/bindings/v8/
Dnpruntime.cpp255 free((void*)variant->value.stringValue.UTF8Characters); in _NPN_ReleaseVariantValue()
256 variant->value.stringValue.UTF8Characters = 0; in _NPN_ReleaseVariantValue()
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.cpp96 return v8::String::New(src.UTF8Characters, src.UTF8Length); in convertNPVariantToV8Object()
DNPV8Object.cpp289 String script = String::fromUTF8(npScript->UTF8Characters, npScript->UTF8Length); in _NPN_EvaluateHelper()
/external/chromium/webkit/glue/
Dcpp_variant.cc62 !strncmp(this_value->UTF8Characters, other_value->UTF8Characters, in isEqual()
183 return std::string(value.stringValue.UTF8Characters, in ToString()
Dcpp_variant_unittest.cc20 reinterpret_cast<const char*>(np.value.stringValue.UTF8Characters); in MakeStdString()
104 EXPECT_NE(source.value.stringValue.UTF8Characters, in TEST()
105 dest.value.stringValue.UTF8Characters); in TEST()
134 EXPECT_NE(source.value.stringValue.UTF8Characters, in TEST()
135 dest.value.stringValue.UTF8Characters); in TEST()
/external/webkit/Source/WebKit2/Shared/Plugins/
DNPRemoteObjectMap.cpp111 …return NPVariantData::makeString(variant.value.stringValue.UTF8Characters, variant.value.stringVal… in npVariantToNPVariantData()
158 STRINGN_TO_NPVARIANT(npString.UTF8Characters, npString.UTF8Length, npVariant); in npVariantDataToNPVariant()
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/
DNPRuntimeRemoveProperty.cpp61 string propertyNameString(arguments[1].value.stringValue.UTF8Characters, in invoke()
/external/webkit/Source/WebCore/bridge/c/
Dc_utility.cpp148 return String::fromUTF8WithLatin1Fallback(string->UTF8Characters, string->UTF8Length); in convertNPStringToUTF16()
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/
DPluginTest.cpp164 npScript.UTF8Characters = script; in executeScript()
DPluginObject.cpp256 memcpy(result, NPVARIANT_TO_STRING(*variant).UTF8Characters, length); in createCStringFromNPVariant()
756 memcpy(result, string.UTF8Characters, string.UTF8Length); in toCString()
782 if (!fwrite(contentsString.UTF8Characters, contentsString.UTF8Length, 1, tempFile)) in testPostURLFile()
865 script.UTF8Characters = "javascript:window.layoutTestController.notifyDone();"; in notifyTestCompletion()
Dmain.cpp380 npScript.UTF8Characters = script; in executeScript()
/external/webkit/Source/WebCore/bridge/jni/v8/
DJNIUtilityPrivate.cpp95 …ObjectArrayElement(static_cast<jobjectArray>(javaArray), i, env->NewStringUTF(str.UTF8Characters)); in convertNPVariantToJavaValue()
238 result.m_stringValue = String::fromUTF8(src.UTF8Characters); in convertNPVariantToJavaValue()
/external/webkit/Tools/DumpRenderTree/unix/TestNetscapePlugin/
DTestNetscapePlugin.cpp177 npScript.UTF8Characters = script; in executeScript()