/external/webkit/Source/WebCore/bridge/c/ |
D | c_utility.cpp | 49 static String convertUTF8ToUTF16WithLatin1Fallback(const NPUTF8* UTF8Chars, int UTF8Length) in convertUTF8ToUTF16WithLatin1Fallback() argument 51 ASSERT(UTF8Chars || UTF8Length == 0); in convertUTF8ToUTF16WithLatin1Fallback() 53 if (UTF8Length == -1) in convertUTF8ToUTF16WithLatin1Fallback() 54 UTF8Length = static_cast<int>(strlen(UTF8Chars)); in convertUTF8ToUTF16WithLatin1Fallback() 56 String result = String::fromUTF8(UTF8Chars, UTF8Length); in convertUTF8ToUTF16WithLatin1Fallback() 63 result = String(UTF8Chars, UTF8Length); in convertUTF8ToUTF16WithLatin1Fallback() 148 return String::fromUTF8WithLatin1Fallback(string->UTF8Characters, string->UTF8Length); in convertNPStringToUTF16()
|
/external/webkit/Source/WebCore/bridge/ |
D | npruntime.cpp | 87 variant->value.stringValue.UTF8Length = value->UTF8Length; in NPN_InitializeVariantWithStringCopy() 88 … variant->value.stringValue.UTF8Characters = (NPUTF8 *)malloc(sizeof(NPUTF8) * value->UTF8Length); in NPN_InitializeVariantWithStringCopy() 91 …iant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * value->UTF8Length); in NPN_InitializeVariantWithStringCopy() 104 variant->value.stringValue.UTF8Length = 0; in _NPN_ReleaseVariantValue()
|
D | testbindings.cpp | 129 …strncpy (msgBuf, message->value.stringValue.UTF8Characters, message->value.stringValue.UTF8Length); in logMessage() 130 msgBuf[message->value.stringValue.UTF8Length] = 0; in logMessage() 147 aString.UTF8Length = strlen (msg); in setDoubleValue() 158 aString.UTF8Length = strlen (msg); in setIntValue() 175 aString.UTF8Length = strlen (msg); in setBooleanValue() 303 newInstance->stringValue.value.stringValue.UTF8Length = strlen ("Hello world"); in myAllocate()
|
D | npruntime.h | 87 uint32_t UTF8Length; member
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | CppVariant.cpp | 88 uint32_t len = this_value->UTF8Length; in isEqual() 89 return len == other_value->UTF8Length in isEqual() 223 value.stringValue.UTF8Length); in toString() 290 NPVARIANT_TO_STRING(indexValue).UTF8Length); in toStringVector()
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
D | NPRuntimeUtilities.cpp | 54 npString.UTF8Length = string.length(); in createNPString() 124 variant->value.stringValue.UTF8Length = 0; in releaseNPVariantValue()
|
D | NPRuntimeObjectMap.cpp | 134 … variant.value.stringValue.UTF8Length)); in convertNPVariantToJSValue() 171 STRINGN_TO_NPVARIANT(npString.UTF8Characters, npString.UTF8Length, variant); in convertJSValueToNPVariant()
|
D | NetscapeBrowserFuncs.cpp | 667 …ring scriptString = String::fromUTF8WithLatin1Fallback(script->UTF8Characters, script->UTF8Length); in NPN_Evaluate()
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | npruntime.cpp | 257 variant->value.stringValue.UTF8Length = 0; in _NPN_ReleaseVariantValue() 339 variant->value.stringValue.UTF8Length = value->UTF8Length; in _NPN_InitializeVariantWithStringCopy() 340 …stringValue.UTF8Characters = reinterpret_cast<NPUTF8*>(malloc(sizeof(NPUTF8) * value->UTF8Length)); in _NPN_InitializeVariantWithStringCopy() 341 …iant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * value->UTF8Length); in _NPN_InitializeVariantWithStringCopy()
|
D | V8NPUtils.cpp | 96 return v8::String::New(src.UTF8Characters, src.UTF8Length); in convertNPVariantToV8Object()
|
D | NPV8Object.cpp | 289 String script = String::fromUTF8(npScript->UTF8Characters, npScript->UTF8Length); in _NPN_EvaluateHelper()
|
/external/chromium/webkit/glue/ |
D | cpp_variant.cc | 60 uint32_t len = this_value->UTF8Length; in isEqual() 61 return (len == other_value->UTF8Length && in isEqual() 184 value.stringValue.UTF8Length); in ToString()
|
D | cpp_variant_unittest.cc | 21 (*std_string).assign(chars, np.value.stringValue.UTF8Length); in MakeStdString()
|
/external/webkit/Source/WebKit2/Shared/Plugins/ |
D | NPRemoteObjectMap.cpp | 111 …ntData::makeString(variant.value.stringValue.UTF8Characters, variant.value.stringValue.UTF8Length); in npVariantToNPVariantData() 158 STRINGN_TO_NPVARIANT(npString.UTF8Characters, npString.UTF8Length, npVariant); in npVariantDataToNPVariant()
|
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/ |
D | NPRuntimeRemoveProperty.cpp | 62 arguments[1].value.stringValue.UTF8Length); in invoke()
|
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/ |
D | PluginObject.cpp | 254 size_t length = NPVARIANT_TO_STRING(*variant).UTF8Length; in createCStringFromNPVariant() 755 char* result = static_cast<char*>(malloc(string.UTF8Length + 1)); in toCString() 756 memcpy(result, string.UTF8Characters, string.UTF8Length); in toCString() 757 result[string.UTF8Length] = '\0'; in toCString() 782 if (!fwrite(contentsString.UTF8Characters, contentsString.UTF8Length, 1, tempFile)) in testPostURLFile() 787 NPError error = browser->posturl(obj->npp, url, target, pathString.UTF8Length, path, TRUE); in testPostURLFile() 866 script.UTF8Length = strlen("javascript:window.layoutTestController.notifyDone();"); in notifyTestCompletion()
|
D | PluginTest.cpp | 165 npScript.UTF8Length = strlen(script); in executeScript()
|
D | main.cpp | 381 npScript.UTF8Length = strlen(script); in executeScript()
|
/external/webkit/Tools/DumpRenderTree/unix/TestNetscapePlugin/ |
D | TestNetscapePlugin.cpp | 178 npScript.UTF8Length = strlen(script); in executeScript()
|
/external/webkit/Source/JavaScriptCore/ |
D | ChangeLog-2007-10-14 | 13654 UTF8Length is 0.
|