Lines Matching refs:BASE_EXPORT

63 BASE_EXPORT size_t strlcpy(char* dst, const char* src, size_t dst_size);
64 BASE_EXPORT size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size);
87 BASE_EXPORT bool IsWprintfFormatPortable(const wchar_t* format);
108 BASE_EXPORT std::string ToLowerASCII(StringPiece str);
109 BASE_EXPORT string16 ToLowerASCII(StringPiece16 str);
112 BASE_EXPORT std::string ToUpperASCII(StringPiece str);
113 BASE_EXPORT string16 ToUpperASCII(StringPiece16 str);
137 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece a, StringPiece b);
138 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b);
143 BASE_EXPORT bool EqualsCaseInsensitiveASCII(StringPiece a, StringPiece b);
144 BASE_EXPORT bool EqualsCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b);
159 BASE_EXPORT const std::string& EmptyString();
160 BASE_EXPORT const string16& EmptyString16();
165 BASE_EXPORT extern const wchar_t kWhitespaceWide[]; // Includes Unicode.
166 BASE_EXPORT extern const char16 kWhitespaceUTF16[]; // Includes Unicode.
167 BASE_EXPORT extern const char kWhitespaceASCII[];
168 BASE_EXPORT extern const char16 kWhitespaceASCIIAs16[]; // No unicode.
171 BASE_EXPORT extern const char kUtf8ByteOrderMark[];
176 BASE_EXPORT bool RemoveChars(const string16& input,
179 BASE_EXPORT bool RemoveChars(const std::string& input,
188 BASE_EXPORT bool ReplaceChars(const string16& input,
192 BASE_EXPORT bool ReplaceChars(const std::string& input,
210 BASE_EXPORT bool TrimString(const string16& input,
213 BASE_EXPORT bool TrimString(const std::string& input,
219 BASE_EXPORT StringPiece16 TrimString(StringPiece16 input,
222 BASE_EXPORT StringPiece TrimString(StringPiece input,
228 BASE_EXPORT void TruncateUTF8ToByteSize(const std::string& input,
239 BASE_EXPORT TrimPositions TrimWhitespace(const string16& input,
242 BASE_EXPORT StringPiece16 TrimWhitespace(StringPiece16 input,
244 BASE_EXPORT TrimPositions TrimWhitespaceASCII(const std::string& input,
247 BASE_EXPORT StringPiece TrimWhitespaceASCII(StringPiece input,
258 BASE_EXPORT string16 CollapseWhitespace(
261 BASE_EXPORT std::string CollapseWhitespaceASCII(
267 BASE_EXPORT bool ContainsOnlyChars(StringPiece input, StringPiece characters);
268 BASE_EXPORT bool ContainsOnlyChars(StringPiece16 input,
285 BASE_EXPORT bool IsStringUTF8(StringPiece str);
286 BASE_EXPORT bool IsStringASCII(StringPiece str);
287 BASE_EXPORT bool IsStringASCII(StringPiece16 str);
289 BASE_EXPORT bool IsStringASCII(WStringPiece str);
294 BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece str,
296 BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece16 str,
302 BASE_EXPORT bool EqualsASCII(StringPiece16 str, StringPiece ascii);
317 BASE_EXPORT bool StartsWith(StringPiece str,
320 BASE_EXPORT bool StartsWith(StringPiece16 str,
323 BASE_EXPORT bool EndsWith(StringPiece str,
326 BASE_EXPORT bool EndsWith(StringPiece16 str,
365 BASE_EXPORT char HexDigitToInt(wchar_t c);
368 BASE_EXPORT bool IsUnicodeWhitespace(wchar_t c);
374 BASE_EXPORT string16 FormatBytesUnlocalized(int64_t bytes);
378 BASE_EXPORT void ReplaceFirstSubstringAfterOffset(
383 BASE_EXPORT void ReplaceFirstSubstringAfterOffset(
395 BASE_EXPORT void ReplaceSubstringsAfterOffset(
400 BASE_EXPORT void ReplaceSubstringsAfterOffset(
426 BASE_EXPORT char* WriteInto(std::string* str, size_t length_with_null);
427 BASE_EXPORT char16* WriteInto(string16* str, size_t length_with_null);
440 BASE_EXPORT std::string JoinString(const std::vector<std::string>& parts,
442 BASE_EXPORT string16 JoinString(const std::vector<string16>& parts,
444 BASE_EXPORT std::string JoinString(const std::vector<StringPiece>& parts,
446 BASE_EXPORT string16 JoinString(const std::vector<StringPiece16>& parts,
451 BASE_EXPORT std::string JoinString(std::initializer_list<StringPiece> parts,
453 BASE_EXPORT string16 JoinString(std::initializer_list<StringPiece16> parts,
460 BASE_EXPORT string16 ReplaceStringPlaceholders(
465 BASE_EXPORT std::string ReplaceStringPlaceholders(
471 BASE_EXPORT string16 ReplaceStringPlaceholders(const string16& format_string,