Home
last modified time | relevance | path

Searched refs:CString (Results 1 – 25 of 224) sorted by relevance

123456789

/external/webkit/Source/JavaScriptCore/wtf/text/
DCString.h41 friend class CString;
52 class CString {
54 CString() { } in CString() function
55 CString(const char*);
56 CString(const char*, size_t length);
57 CString(CStringBuffer* buffer) : m_buffer(buffer) { } in CString() function
58 static CString newUninitialized(size_t length, char*& characterBuffer);
80 bool operator==(const CString& a, const CString& b);
81 inline bool operator!=(const CString& a, const CString& b) { return !(a == b); }
85 using WTF::CString;
DCString.cpp34 CString::CString(const char* str) in CString() function in WTF::CString
42 CString::CString(const char* str, size_t length) in CString() function in WTF::CString
47 void CString::init(const char* str, size_t length) in init()
63 char* CString::mutableData() in mutableData()
71 CString CString::newUninitialized(size_t length, char*& characterBuffer) in newUninitialized()
76 CString result; in newUninitialized()
84 void CString::copyBufferIfNeeded() in copyBufferIfNeeded()
95 bool operator==(const CString& a, const CString& b) in operator ==()
/external/webkit/Source/WebCore/platform/text/
DLineEnding.cpp43 virtual void copy(const CString&) = 0;
49 CStringBuffer(CString& buffer) in CStringBuffer()
58 m_buffer = CString::newUninitialized(size, ptr); in allocate()
62 virtual void copy(const CString& source) in copy()
67 const CString& buffer() const { return m_buffer; } in buffer()
70 CString m_buffer;
88 virtual void copy(const CString& source) in copy()
97 void internalNormalizeLineEndingsToCRLF(const CString& from, OutputBuffer& buffer) in internalNormalizeLineEndingsToCRLF()
152 void normalizeToCROrLF(const CString& from, Vector<char>& result, bool toCR);
155 void normalizeToCROrLF(const CString& from, Vector<char>& result, bool toCR) in normalizeToCROrLF()
[all …]
DLineEnding.h41 CString normalizeLineEndingsToCRLF(const CString& from);
44 void normalizeLineEndingsToCR(const CString& from, Vector<char>& result);
47 void normalizeLineEndingsToLF(const CString& from, Vector<char>& result);
51 void normalizeLineEndingsToNative(const CString& from, Vector<char>& result);
DTextCodecUserDefined.cpp65 static CString encodeComplexUserDefined(const UChar* characters, size_t length, UnencodableHandling… in encodeComplexUserDefined()
88 return CString(bytes, resultLength); in encodeComplexUserDefined()
91 CString TextCodecUserDefined::encode(const UChar* characters, size_t length, UnencodableHandling ha… in encode()
94 CString string = CString::newUninitialized(length, bytes); in encode()
DBase64.h40 void base64Encode(const CString&, Vector<char>&, bool insertLFs = false);
43 String base64Encode(const CString&, bool insertLFs = false);
54 inline void base64Encode(const CString& in, Vector<char>& out, bool insertLFs) in base64Encode()
64 inline String base64Encode(const CString& in, bool insertLFs) in base64Encode()
DTextCodecLatin1.cpp160 static CString encodeComplexWindowsLatin1(const UChar* characters, size_t length, UnencodableHandli… in encodeComplexWindowsLatin1()
189 return CString(bytes, resultLength); in encodeComplexWindowsLatin1()
192 CString TextCodecLatin1::encode(const UChar* characters, size_t length, UnencodableHandling handlin… in encode()
196 CString string = CString::newUninitialized(length, bytes); in encode()
/external/webkit/Source/WebCore/platform/network/
DFormDataBuilder.h39 static void beginMultiPartHeader(Vector<char>&, const CString& boundary, const CString& name);
40 …static void addBoundaryToMultiPartHeader(Vector<char>&, const CString& boundary, bool isLastBounda…
42 static void addContentTypeToMultiPartHeader(Vector<char>&, const CString& mimeType);
46 static void addKeyValuePairAsFormData(Vector<char>&, const CString& key, const CString& value);
47 static void encodeStringAsFormData(Vector<char>&, const CString&);
DFormDataBuilder.cpp52 static inline void append(Vector<char>& buffer, const CString& string) in append()
57 static void appendQuotedString(Vector<char>& buffer, const CString& string) in appendQuotedString()
142 …taBuilder::beginMultiPartHeader(Vector<char>& buffer, const CString& boundary, const CString& name) in beginMultiPartHeader()
153 void FormDataBuilder::addBoundaryToMultiPartHeader(Vector<char>& buffer, const CString& boundary, b… in addBoundaryToMultiPartHeader()
173 void FormDataBuilder::addContentTypeToMultiPartHeader(Vector<char>& buffer, const CString& mimeType) in addContentTypeToMultiPartHeader()
184 …aBuilder::addKeyValuePairAsFormData(Vector<char>& buffer, const CString& key, const CString& value) in addKeyValuePairAsFormData()
194 void FormDataBuilder::encodeStringAsFormData(Vector<char>& buffer, const CString& string) in encodeStringAsFormData()
/external/webkit/Source/WebCore/platform/gtk/
DFileSystemGtk.cpp54 CString fileSystemRepresentation(const String& path) in fileSystemRepresentation()
70 CString filename = fileSystemRepresentation(string); in filenameForDisplay()
82 CString filename = fileSystemRepresentation(path); in fileExists()
93 CString filename = fileSystemRepresentation(path); in deleteFile()
104 CString filename = fileSystemRepresentation(path); in deleteEmptyDirectory()
114 CString filename = fileSystemRepresentation(path); in getFileSize()
129 CString filename = fileSystemRepresentation(path); in getFileModificationTime()
153 CString filename = fileSystemRepresentation(path); in makeAllDirectories()
172 CString tmpFilename = fileSystemRepresentation(pathName); in pathGetFileName()
177 CString applicationDirectoryPath() in applicationDirectoryPath()
[all …]
/external/webkit/Source/WebCore/platform/cf/
DFileSystemCF.cpp34 #import <wtf/text/CString.h>
38 CString fileSystemRepresentation(const String& path) in fileSystemRepresentation()
43 return CString(); in fileSystemRepresentation()
48 CString string = CString::newUninitialized(size, buffer); in fileSystemRepresentation()
52 return CString(); in fileSystemRepresentation()
/external/webkit/Source/WebCore/platform/posix/
DFileSystemPOSIX.cpp50 CString fsRep = fileSystemRepresentation(path); in fileExists()
63 CString fsRep = fileSystemRepresentation(path); in deleteFile()
74 CString fsRep = fileSystemRepresentation(path); in openFile()
142 CString fsRep = fileSystemRepresentation(path); in deleteEmptyDirectory()
153 CString fsRep = fileSystemRepresentation(path); in getFileSize()
169 CString fsRep = fileSystemRepresentation(path); in getFileModificationTime()
193 CString fullPath = fileSystemRepresentation(path); in makeAllDirectories()
226 CString fsRep = fileSystemRepresentation(path); in directoryName()
238 CString cpath = path.utf8(); in listDirectory()
239 CString cfilter = filter.utf8(); in listDirectory()
/external/webkit/Source/JavaScriptCore/runtime/
DUString.cpp274 CString UString::ascii() const in ascii()
283 CString result = CString::newUninitialized(length, characterBuffer); in ascii()
293 CString UString::latin1() const in latin1()
302 CString result = CString::newUninitialized(length, characterBuffer); in latin1()
321 CString UString::utf8(bool strict) const in utf8()
337 return CString(); in utf8()
346 return CString(); in utf8()
351 return CString(); in utf8()
363 return CString(bufferVector.data(), buffer - bufferVector.data()); in utf8()
/external/webkit/Source/WebCore/html/
DFormDataList.h36 Item(const WTF::CString& data) : m_data(data) { } in Item()
39 const WTF::CString& data() const { return m_data; } in data()
43 WTF::CString m_data;
54 void appendData(const String& key, const CString& value) in appendData()
74 void appendString(const CString&);
/external/webkit/Source/WebCore/platform/graphics/gtk/
DImageGtk.cpp87 static CString getThemeIconFileName(const char* name, int size) in getThemeIconFileName()
98 return CString(gtk_icon_info_get_filename(info.get())); in getThemeIconFileName()
103 return CString(); in getThemeIconFileName()
106 static PassRefPtr<SharedBuffer> loadResourceSharedBuffer(CString name) in loadResourceSharedBuffer()
124 PassRefPtr<Image> loadImageFromFile(CString fileName) in loadImageFromFile()
136 CString fileName; in loadPlatformResource()
/external/webkit/Source/WebCore/platform/text/wince/
DTextCodecWinCE.cpp42 CString m_name;
45 Vector<CString> m_aliases;
57 static HashMap<UINT, CString>& codePageCharsets() in codePageCharsets()
59 static HashMap<UINT, CString> cc; in codePageCharsets()
95 HashMap<UINT, CString>::iterator i = codePageCharsets().find(cpInfo.uiCodePage); in LanguageManager()
97 CString name(String(cpInfo.wszWebCharset).latin1()); in LanguageManager()
152 …for (Vector<CString>::const_iterator alias = j->second.m_aliases.begin(); alias != j->second.m_ali… in registerExtendedEncodingNames()
278 CString TextCodecWinCE::encode(const UChar* characters, size_t length, UnencodableHandling) in encode()
281 return CString(); in encode()
291 CString result = CString::newUninitialized(resultLength, characterBuffer); in encode()
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DDumpRenderTreeSupportGtk.h67 static WTF::CString getInnerText(WebKitWebFrame*);
68 static WTF::CString dumpRenderTree(WebKitWebFrame*);
69 static WTF::CString counterValueForElementById(WebKitWebFrame*, const char* id);
72 static WTF::CString pageProperty(WebKitWebFrame*, const char* propertyName, int pageNumber);
74 …static WTF::CString pageSizeAndMarginsInPixels(WebKitWebFrame*, int pageNumber, int width, int hei…
80 static WTF::CString markerTextForListItem(WebKitWebFrame*, JSContextRef, JSValueRef nodeObject);
DDumpRenderTreeSupportGtk.cpp177 CString DumpRenderTreeSupportGtk::getInnerText(WebKitWebFrame* frame) in getInnerText()
179 g_return_val_if_fail(WEBKIT_IS_WEB_FRAME(frame), CString("")); in getInnerText()
183 return CString(""); in getInnerText()
200 CString DumpRenderTreeSupportGtk::dumpRenderTree(WebKitWebFrame* frame) in dumpRenderTree()
202 g_return_val_if_fail(WEBKIT_IS_WEB_FRAME(frame), CString("")); in dumpRenderTree()
206 return CString(""); in dumpRenderTree()
223 CString DumpRenderTreeSupportGtk::counterValueForElementById(WebKitWebFrame* frame, const char* id) in counterValueForElementById()
225 g_return_val_if_fail(WEBKIT_IS_WEB_FRAME(frame), CString()); in counterValueForElementById()
229 return CString(); in counterValueForElementById()
233 return CString(); in counterValueForElementById()
[all …]
/external/webkit/Source/WebCore/platform/
DKURLGooglePrivate.h80 void setUtf8(const CString&);
81 void setAscii(const CString&);
90 const CString& utf8String() const { return m_utf8; } in utf8String()
100 CString m_utf8;
/external/webkit/Source/WebKit2/Shared/mac/
DSandboxExtensionMac.mm37 #import <wtf/text/CString.h>
112 static CString resolveSymlinksInPath(const CString& path)
129 return CString();
137 CString resolvedParentDirectory = resolveSymlinksInPath(CString(parentDirectory));
139 return CString();
144 return CString();
148 CString resolvedPath = CString::newUninitialized(resolvedPathLength, resolvedPathBuffer);
159CString standardizedPath = resolveSymlinksInPath([[(NSString *)path stringByStandardizingPath] fil…
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebviewprivate.h84 CString encoding;
85 CString customEncoding;
87 CString iconURI;
99 CString mainResourceIdentifier;
101 CString tooltipText;
/external/webkit/Source/WebCore/bindings/cpp/
DWebDOMCString.cpp48 WTF::CString::newUninitialized(length, newData).buffer(); in assign()
87 WebDOMCString::WebDOMCString(const WTF::CString& s) in WebDOMCString()
94 WebDOMCString& WebDOMCString::operator=(const WTF::CString& s) in operator =()
100 WebDOMCString::operator WTF::CString() const in operator WTF::CString()
/external/webkit/Source/WebCore/plugins/
DPluginDebug.h42 CString prettyNameForNPNVariable(NPNVariable variable);
43 CString prettyNameForNPPVariable(NPPVariable variable, void* value);
44 CString prettyNameForNPNURLVariable(NPNURLVariable variable);
/external/webkit/Source/WebKit/chromium/src/
DWebCString.cpp73 WTF::CString::newUninitialized(length, newData).buffer(); in assign()
112 WebCString::WebCString(const WTF::CString& s) in WebCString()
119 WebCString& WebCString::operator=(const WTF::CString& s) in operator =()
125 WebCString::operator WTF::CString() const in operator WTF::CString()
/external/webkit/Source/WebKit/chromium/public/
DWebCString.h43 class CString; variable
96 WebCString(const WTF::CString&);
97 WebCString& operator=(const WTF::CString&);
98 operator WTF::CString() const;

123456789