Home
last modified time | relevance | path

Searched refs:UTF8Length (Results 1 – 12 of 12) sorted by relevance

/external/webkit/WebCore/bridge/c/
Dc_utility.cpp49 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/
Dnpruntime.cpp87 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()
Dtestbindings.cpp129 …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()
Dnpruntime.h121 uint32_t UTF8Length; member
/external/webkit/WebCore/bindings/v8/
Dnpruntime.cpp255 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()
DV8NPUtils.cpp98 return v8::String::New(src.UTF8Characters, src.UTF8Length); in convertNPVariantToV8Object()
DNPV8Object.cpp275 …WebCore::String script = WebCore::String::fromUTF8(npScript->UTF8Characters, npScript->UTF8Length); in _NPN_EvaluateHelper()
/external/webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/
DPluginObject.cpp213 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()
Dmain.cpp198 npScript.UTF8Length = strlen(script); in executeScript()
/external/webkit/WebKitTools/DumpRenderTree/win/TestNetscapePlugin/
Dmain.cpp81 npScript.UTF8Length = strlen(script); in executeScript()
/external/webkit/WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/
DTestNetscapePlugin.cpp151 npScript.UTF8Length = strlen(script); in executeScript()
/external/webkit/JavaScriptCore/
DChangeLog-2007-10-1413654 UTF8Length is 0.