Home | History | Annotate | Download | only in strings

Lines Matching refs:BASE_EXPORT

18 #include "base/base_export.h"
66 BASE_EXPORT size_t strlcpy(char* dst, const char* src, size_t dst_size);
67 BASE_EXPORT size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size);
90 BASE_EXPORT bool IsWprintfFormatPortable(const wchar_t* format);
111 BASE_EXPORT std::string ToLowerASCII(StringPiece str);
112 BASE_EXPORT string16 ToLowerASCII(StringPiece16 str);
115 BASE_EXPORT std::string ToUpperASCII(StringPiece str);
116 BASE_EXPORT string16 ToUpperASCII(StringPiece16 str);
140 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece a, StringPiece b);
141 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b);
146 BASE_EXPORT bool EqualsCaseInsensitiveASCII(StringPiece a, StringPiece b);
147 BASE_EXPORT bool EqualsCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b);
162 BASE_EXPORT const std::string& EmptyString();
163 BASE_EXPORT const string16& EmptyString16();
168 BASE_EXPORT extern const wchar_t kWhitespaceWide[]; // Includes Unicode.
169 BASE_EXPORT extern const char16 kWhitespaceUTF16[]; // Includes Unicode.
170 BASE_EXPORT extern const char kWhitespaceASCII[];
171 BASE_EXPORT extern const char16 kWhitespaceASCIIAs16[]; // No unicode.
174 BASE_EXPORT extern const char kUtf8ByteOrderMark[];
179 BASE_EXPORT bool RemoveChars(const string16& input,
182 BASE_EXPORT bool RemoveChars(const std::string& input,
191 BASE_EXPORT bool ReplaceChars(const string16& input,
195 BASE_EXPORT bool ReplaceChars(const std::string& input,
212 BASE_EXPORT bool TrimString(const string16& input,
215 BASE_EXPORT bool TrimString(const std::string& input,
221 BASE_EXPORT StringPiece16 TrimString(StringPiece16 input,
224 BASE_EXPORT StringPiece TrimString(StringPiece input,
230 BASE_EXPORT void TruncateUTF8ToByteSize(const std::string& input,
241 BASE_EXPORT TrimPositions TrimWhitespace(const string16& input,
244 BASE_EXPORT StringPiece16 TrimWhitespace(StringPiece16 input,
246 BASE_EXPORT TrimPositions TrimWhitespaceASCII(const std::string& input,
249 BASE_EXPORT StringPiece TrimWhitespaceASCII(StringPiece input,
260 BASE_EXPORT string16 CollapseWhitespace(
263 BASE_EXPORT std::string CollapseWhitespaceASCII(
269 BASE_EXPORT bool ContainsOnlyChars(const StringPiece& input,
271 BASE_EXPORT bool ContainsOnlyChars(const StringPiece16& input,
288 BASE_EXPORT bool IsStringUTF8(const StringPiece& str);
289 BASE_EXPORT bool IsStringASCII(const StringPiece& str);
290 BASE_EXPORT bool IsStringASCII(const StringPiece16& str);
293 BASE_EXPORT bool IsStringASCII(const string16& str);
295 BASE_EXPORT bool IsStringASCII(const std::wstring& str);
300 BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece str,
302 BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece16 str,
308 BASE_EXPORT bool EqualsASCII(StringPiece16 str, StringPiece ascii);
323 BASE_EXPORT bool StartsWith(StringPiece str,
326 BASE_EXPORT bool StartsWith(StringPiece16 str,
329 BASE_EXPORT bool EndsWith(StringPiece str,
332 BASE_EXPORT bool EndsWith(StringPiece16 str,
363 BASE_EXPORT char HexDigitToInt(wchar_t c);
366 BASE_EXPORT bool IsUnicodeWhitespace(wchar_t c);
372 BASE_EXPORT string16 FormatBytesUnlocalized(int64_t bytes);
376 BASE_EXPORT void ReplaceFirstSubstringAfterOffset(
381 BASE_EXPORT void ReplaceFirstSubstringAfterOffset(
393 BASE_EXPORT void ReplaceSubstringsAfterOffset(
398 BASE_EXPORT void ReplaceSubstringsAfterOffset(
424 BASE_EXPORT char* WriteInto(std::string* str, size_t length_with_null);
425 BASE_EXPORT char16* WriteInto(string16* str, size_t length_with_null);
427 BASE_EXPORT wchar_t* WriteInto(std::wstring* str, size_t length_with_null);
431 BASE_EXPORT std::string JoinString(const std::vector<std::string>& parts,
433 BASE_EXPORT string16 JoinString(const std::vector<string16>& parts,
440 BASE_EXPORT string16 ReplaceStringPlaceholders(
445 BASE_EXPORT std::string ReplaceStringPlaceholders(
451 BASE_EXPORT string16 ReplaceStringPlaceholders(const string16& format_string,