Home
last modified time | relevance | path

Searched refs:stringRef (Results 1 – 8 of 8) sorted by relevance

/external/webkit/Source/WebKit2/Shared/API/c/
DWKString.cpp45 bool WKStringIsEmpty(WKStringRef stringRef) in WKStringIsEmpty() argument
47 return toImpl(stringRef)->isEmpty(); in WKStringIsEmpty()
50 size_t WKStringGetLength(WKStringRef stringRef) in WKStringGetLength() argument
52 return toImpl(stringRef)->length(); in WKStringGetLength()
55 size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength) in WKStringGetCharacters() argument
58 return (toImpl(stringRef)->getCharacters(static_cast<UChar*>(buffer), bufferLength)); in WKStringGetCharacters()
61 size_t WKStringGetMaximumUTF8CStringSize(WKStringRef stringRef) in WKStringGetMaximumUTF8CStringSize() argument
63 return toImpl(stringRef)->maximumUTF8CStringSize(); in WKStringGetMaximumUTF8CStringSize()
66 size_t WKStringGetUTF8CString(WKStringRef stringRef, char* buffer, size_t bufferSize) in WKStringGetUTF8CString() argument
68 return toImpl(stringRef)->getUTF8CString(buffer, bufferSize); in WKStringGetUTF8CString()
[all …]
DWKSharedAPICast.h160 inline String toWTFString(WKStringRef stringRef) in toWTFString() argument
162 if (!stringRef) in toWTFString()
164 return toImpl(stringRef)->string(); in toWTFString()
/external/webkit/Source/WebKit2/UIProcess/API/qt/
Dqwkpreferences.cpp93 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopyStandardFontFamily(d->ref)); in fontFamily() local
94 return WKStringCopyQString(stringRef.get()); in fontFamily()
97 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopyFixedFontFamily(d->ref)); in fontFamily() local
98 return WKStringCopyQString(stringRef.get()); in fontFamily()
101 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopySerifFontFamily(d->ref)); in fontFamily() local
102 return WKStringCopyQString(stringRef.get()); in fontFamily()
105 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopySansSerifFontFamily(d->ref)); in fontFamily() local
106 return WKStringCopyQString(stringRef.get()); in fontFamily()
109 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopyCursiveFontFamily(d->ref)); in fontFamily() local
110 return WKStringCopyQString(stringRef.get()); in fontFamily()
[all …]
Dqgraphicswkview.h18 QString WKStringCopyQString(WKStringRef stringRef);
/external/webkit/Source/WebKit2/Shared/API/c/cf/
DWKStringCF.cpp41 CFStringRef WKStringCopyCFString(CFAllocatorRef allocatorRef, WKStringRef stringRef) in WKStringCopyCFString() argument
43 ASSERT(!toImpl(stringRef)->string().isNull()); in WKStringCopyCFString()
47 …catorRef, reinterpret_cast<const UniChar*>(toImpl(stringRef)->string().characters()), toImpl(strin… in WKStringCopyCFString()
/external/webkit/Tools/WebKitTestRunner/
DStringFunctions.h82 inline std::ostream& operator<<(std::ostream& out, WKStringRef stringRef)
84 if (!stringRef)
87 return out << toSTD(stringRef);
90 inline std::ostream& operator<<(std::ostream& out, const WKRetainPtr<WKStringRef>& stringRef)
92 return out << stringRef.get();
/external/webkit/Source/WebKit2/UIProcess/API/cpp/qt/
DWKStringQt.cpp37 QString WKStringCopyQString(WKStringRef stringRef) in WKStringCopyQString() argument
39 if (!stringRef) in WKStringCopyQString()
41 const WTF::String& string = toImpl(stringRef)->string(); in WKStringCopyQString()
/external/webkit/Source/JavaScriptCore/API/
DJSValueRef.cpp291 RefPtr<OpaqueJSString> stringRef(OpaqueJSString::create(jsValue.toString(exec))); in JSValueToStringCopy() local
296 stringRef.clear(); in JSValueToStringCopy()
298 return stringRef.release().leakRef(); in JSValueToStringCopy()