Home
last modified time | relevance | path

Searched refs:utf8String (Results 1 – 22 of 22) sorted by relevance

/external/webkit/Source/WebCore/platform/
DKURLGoogle.cpp235 const CString& baseStr = base.m_url.utf8String(); in init()
294 if (utf8String().isNull()) in componentString()
314 m_isValid = url_util::ReplaceComponents(utf8String().data(), in replaceComponents()
315utf8String().length(), m_parsed, replacements, 0, &output, &newParsed); in replaceComponents()
355 if (m_url.utf8String().isNull()) in KURL()
428 return m_url.utf8String().isNull(); in isNull()
433 return !m_url.utf8String().length(); in isEmpty()
466 if (path.len > 0 && m_url.utf8String().data()[path.end() - 1] == '/') in lastPathComponent()
470 url_parse::ExtractFileName(m_url.utf8String().data(), path, &file); in lastPathComponent()
499 int port = url_parse::ParsePort(m_url.utf8String().data(), m_url.m_parsed.port); in port()
[all …]
DKURLGooglePrivate.h90 const CString& utf8String() const { return m_utf8; } in utf8String() function
DKURL.h224 const CString& utf8String() const { return m_url.utf8String(); } in utf8String() function
/external/webkit/Source/WebKit/chromium/src/
DWebURL.cpp39 : m_spec(url.utf8String()) in WebURL()
47 m_spec = url.utf8String(); in operator =()
DPlatformBridge.cpp948 const CString& cstr = base.utf8String(); in visitedLinkHash()
/external/webkit/Tools/TestWebKitAPI/
DJavaScriptTest.cpp68 static WKRetainPtr<WKStringRef> wk(const char* utf8String) in wk() argument
70 return WKRetainPtr<WKStringRef>(AdoptWK, WKStringCreateWithUTF8CString(utf8String)); in wk()
DPlatformUtilities.cpp61 WKRetainPtr<WKStringRef> toWK(const char* utf8String) in toWK() argument
63 return WKRetainPtr<WKStringRef>(AdoptWK, WKStringCreateWithUTF8CString(utf8String)); in toWK()
DPlatformUtilities.h56 WKRetainPtr<WKStringRef> toWK(const char* utf8String);
/external/webkit/Source/JavaScriptCore/wtf/unicode/glib/
DUnicodeGLib.cpp52 static int getUTF16LengthFromUTF8(const gchar* utf8String, int length) in getUTF16LengthFromUTF8() argument
55 const gchar* inputString = utf8String; in getUTF16LengthFromUTF8()
57 while ((utf8String + length - inputString > 0) && *inputString) { in getUTF16LengthFromUTF8()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3string.c365 pANTLR3_STRING utf8String; in toUTF8_UTF16() local
372 utf8String = string->factory->newStr8(string->factory, (pANTLR3_UINT8)""); in toUTF8_UTF16()
374 if (utf8String != NULL) in toUTF8_UTF16()
378 ANTLR3_FREE(utf8String->chars); in toUTF8_UTF16()
382 utf8String->size = string->len *3; in toUTF8_UTF16()
383 utf8String->chars = (pANTLR3_UINT8)ANTLR3_MALLOC(utf8String->size +1); in toUTF8_UTF16()
385 if (utf8String->chars != NULL) in toUTF8_UTF16()
388 outputEnd = (UTF8 *) (utf8String->chars); in toUTF8_UTF16()
397 outputEnd + utf8String->size - 1, in toUTF8_UTF16()
405 utf8String->len = ANTLR3_UINT32_CAST(((pANTLR3_UINT8)outputEnd) - utf8String->chars); in toUTF8_UTF16()
[all …]
/external/webkit/Tools/TestWebKitAPI/win/
DPlatformUtilitiesWin.cpp80 RetainPtr<CFStringRef> cf(const char* utf8String) in cf() argument
82 …r<CFStringRef>(AdoptCF, CFStringCreateWithCString(kCFAllocatorDefault, utf8String, kCFStringEncodi… in cf()
/external/proguard/src/proguard/classfile/constant/
DUtf8Constant.java114 public void setString(String utf8String) in setString() argument
117 this.string = utf8String; in setString()
/external/webkit/Source/WebCore/loader/archive/android/
DWebArchiveAndroid.cpp355 CString utf8String = string.utf8(); in saveArchiveResourceField() local
357 return saveArchiveResourceField(writer, tag, utf8String.data(), utf8String.length()); in saveArchiveResourceField()
/external/webkit/Source/WebCore/plugins/
DPluginDatabase.cpp600 CString utf8String = string.utf8(); in writeUTF8String() local
601 int length = utf8String.length() + 1; in writeUTF8String()
602 return writeToFile(file, utf8String.data(), length) == length; in writeUTF8String()
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/
DPluginObject.cpp406 NPUTF8* utf8String = createCStringFromNPVariant(&variant); in stringVariantToIdentifier() local
407 NPIdentifier identifier = browser->getstringidentifier(utf8String); in stringVariantToIdentifier()
408 free(utf8String); in stringVariantToIdentifier()
446 NPUTF8* utf8String = browser->utf8fromidentifier(identifier); in testIdentifierToString() local
447 if (!utf8String) in testIdentifierToString()
449 STRINGZ_TO_NPVARIANT(utf8String, *result); in testIdentifierToString()
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNetscapeBrowserFuncs.cpp618 char* utf8String = npnMemNewArray<char>(stringLength + 1); in NPN_UTF8FromIdentifier() local
619 memcpy(utf8String, string, stringLength); in NPN_UTF8FromIdentifier()
620 utf8String[stringLength] = '\0'; in NPN_UTF8FromIdentifier()
622 return utf8String; in NPN_UTF8FromIdentifier()
/external/webkit/Source/WebCore/bridge/jni/v8/
DJNIUtilityPrivate.cpp360 const char* utf8String = strdup(value.m_stringValue.utf8().data()); in convertJavaValueToNPVariant() local
362 STRINGZ_TO_NPVARIANT(utf8String, *result); in convertJavaValueToNPVariant()
/external/webkit/Source/WebKit/chromium/tests/
DKURLTest.cpp601 EXPECT_NE(dest.utf8String().data(), src.utf8String().data()); in TEST()
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp1018 gchar* utf8String = utf8Substr(stringUTF8.data(), from, to); in convertUniCharToUTF8() local
1019 if (!g_utf8_validate(utf8String, -1, 0)) { in convertUniCharToUTF8()
1020 g_free(utf8String); in convertUniCharToUTF8()
1023 gsize len = strlen(utf8String); in convertUniCharToUTF8()
1025 gchar* ptr = utf8String; in convertUniCharToUTF8()
1040 g_free(utf8String); in convertUniCharToUTF8()
/external/webkit/Source/WebKit/android/jni/
DWebViewCore.cpp4741 WTF::CString utf8String = flagsString.utf8(); in SetJsFlags() local
4742 WebCore::ScriptController::setFlags(utf8String.data(), utf8String.length()); in SetJsFlags()
/external/icu4c/test/cintltst/
Dcmsccoll.c3924 char utf8String[3][256]; in TestHebrewUCA() local
3939 sizeUTF8[i] = u_parseUTF8(first[i], -1, utf8String[i], 256, &status); in TestHebrewUCA()
3940 u_strFromUTF8(utf16String[i], 256, &sizeUTF16[i], utf8String[i], sizeUTF8[i], &status); in TestHebrewUCA()
/external/webkit/Source/WebCore/
DChangeLog-2009-06-1662401 (WebCore::KURL::utf8String):