Lines Matching refs:BASE_EXPORT
68 BASE_EXPORT size_t strlcpy(char* dst, const char* src, size_t dst_size);
69 BASE_EXPORT size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size);
92 BASE_EXPORT bool IsWprintfFormatPortable(const wchar_t* format);
113 BASE_EXPORT std::string ToLowerASCII(StringPiece str);
114 BASE_EXPORT string16 ToLowerASCII(StringPiece16 str);
117 BASE_EXPORT std::string ToUpperASCII(StringPiece str);
118 BASE_EXPORT string16 ToUpperASCII(StringPiece16 str);
142 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece a, StringPiece b);
143 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b);
148 BASE_EXPORT bool EqualsCaseInsensitiveASCII(StringPiece a, StringPiece b);
149 BASE_EXPORT bool EqualsCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b);
164 BASE_EXPORT const std::string& EmptyString();
165 BASE_EXPORT const string16& EmptyString16();
170 BASE_EXPORT extern const wchar_t kWhitespaceWide[]; // Includes Unicode.
171 BASE_EXPORT extern const char16 kWhitespaceUTF16[]; // Includes Unicode.
172 BASE_EXPORT extern const char kWhitespaceASCII[];
173 BASE_EXPORT extern const char16 kWhitespaceASCIIAs16[]; // No unicode.
176 BASE_EXPORT extern const char kUtf8ByteOrderMark[];
181 BASE_EXPORT bool RemoveChars(const string16& input,
184 BASE_EXPORT bool RemoveChars(const std::string& input,
193 BASE_EXPORT bool ReplaceChars(const string16& input,
197 BASE_EXPORT bool ReplaceChars(const std::string& input,
214 BASE_EXPORT bool TrimString(const string16& input,
217 BASE_EXPORT bool TrimString(const std::string& input,
223 BASE_EXPORT StringPiece16 TrimString(StringPiece16 input,
226 BASE_EXPORT StringPiece TrimString(StringPiece input,
232 BASE_EXPORT void TruncateUTF8ToByteSize(const std::string& input,
243 BASE_EXPORT TrimPositions TrimWhitespace(const string16& input,
246 BASE_EXPORT StringPiece16 TrimWhitespace(StringPiece16 input,
248 BASE_EXPORT TrimPositions TrimWhitespaceASCII(const std::string& input,
251 BASE_EXPORT StringPiece TrimWhitespaceASCII(StringPiece input,
262 BASE_EXPORT string16 CollapseWhitespace(
265 BASE_EXPORT std::string CollapseWhitespaceASCII(
271 BASE_EXPORT bool ContainsOnlyChars(const StringPiece& input,
273 BASE_EXPORT bool ContainsOnlyChars(const StringPiece16& input,
290 BASE_EXPORT bool IsStringUTF8(const StringPiece& str);
291 BASE_EXPORT bool IsStringASCII(const StringPiece& str);
292 BASE_EXPORT bool IsStringASCII(const StringPiece16& str);
295 BASE_EXPORT bool IsStringASCII(const string16& str);
297 BASE_EXPORT bool IsStringASCII(const std::wstring& str);
302 BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece str,
304 BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece16 str,
310 BASE_EXPORT bool EqualsASCII(StringPiece16 str, StringPiece ascii);
325 BASE_EXPORT bool StartsWith(StringPiece str,
328 BASE_EXPORT bool StartsWith(StringPiece16 str,
331 BASE_EXPORT bool EndsWith(StringPiece str,
334 BASE_EXPORT bool EndsWith(StringPiece16 str,
373 BASE_EXPORT char HexDigitToInt(wchar_t c);
376 BASE_EXPORT bool IsUnicodeWhitespace(wchar_t c);
382 BASE_EXPORT string16 FormatBytesUnlocalized(int64_t bytes);
386 BASE_EXPORT void ReplaceFirstSubstringAfterOffset(
391 BASE_EXPORT void ReplaceFirstSubstringAfterOffset(
403 BASE_EXPORT void ReplaceSubstringsAfterOffset(
408 BASE_EXPORT void ReplaceSubstringsAfterOffset(
434 BASE_EXPORT char* WriteInto(std::string* str, size_t length_with_null);
435 BASE_EXPORT char16* WriteInto(string16* str, size_t length_with_null);
437 BASE_EXPORT wchar_t* WriteInto(std::wstring* str, size_t length_with_null);
441 BASE_EXPORT std::string JoinString(const std::vector<std::string>& parts,
443 BASE_EXPORT string16 JoinString(const std::vector<string16>& parts,
450 BASE_EXPORT string16 ReplaceStringPlaceholders(
455 BASE_EXPORT std::string ReplaceStringPlaceholders(
461 BASE_EXPORT string16 ReplaceStringPlaceholders(const string16& format_string,