Searched refs:UTF8Length (Results 1 – 12 of 12) sorted by relevance
/external/webkit/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() 142 return String::fromUTF8WithLatin1Fallback(string->UTF8Characters, string->UTF8Length); in convertNPStringToUTF16()
|
/external/webkit/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 | 121 uint32_t UTF8Length; member
|
/external/webkit/WebCore/bindings/v8/ |
D | npruntime.cpp | 255 variant->value.stringValue.UTF8Length = 0; in _NPN_ReleaseVariantValue() 338 variant->value.stringValue.UTF8Length = value->UTF8Length; in _NPN_InitializeVariantWithStringCopy() 339 …stringValue.UTF8Characters = reinterpret_cast<NPUTF8*>(malloc(sizeof(NPUTF8) * value->UTF8Length)); in _NPN_InitializeVariantWithStringCopy() 340 …iant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * value->UTF8Length); in _NPN_InitializeVariantWithStringCopy()
|
D | V8NPUtils.cpp | 98 return v8::String::New(src.UTF8Characters, src.UTF8Length); in convertNPVariantToV8Object()
|
D | NPV8Object.cpp | 275 …WebCore::String script = WebCore::String::fromUTF8(npScript->UTF8Characters, npScript->UTF8Length); in _NPN_EvaluateHelper()
|
/external/webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/ |
D | PluginObject.cpp | 213 size_t length = NPVARIANT_TO_STRING(*variant).UTF8Length; in createCStringFromNPVariant() 632 char* result = static_cast<char*>(malloc(string.UTF8Length + 1)); in toCString() 633 memcpy(result, string.UTF8Characters, string.UTF8Length); in toCString() 634 result[string.UTF8Length] = '\0'; in toCString() 659 fwrite(contentsString.UTF8Characters, contentsString.UTF8Length, 1, tempFile); in testPostURLFile() 662 NPError error = browser->posturl(obj->npp, url, target, pathString.UTF8Length, path, TRUE); in testPostURLFile() 686 script.UTF8Length = strlen("javascript:window.layoutTestController.notifyDone();"); in notifyTestCompletion()
|
D | main.cpp | 198 npScript.UTF8Length = strlen(script); in executeScript()
|
/external/webkit/WebKitTools/DumpRenderTree/win/TestNetscapePlugin/ |
D | main.cpp | 81 npScript.UTF8Length = strlen(script); in executeScript()
|
/external/webkit/WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/ |
D | TestNetscapePlugin.cpp | 151 npScript.UTF8Length = strlen(script); in executeScript()
|
/external/webkit/JavaScriptCore/ |
D | ChangeLog-2007-10-14 | 13654 UTF8Length is 0.
|