/external/libchrome/base/strings/ |
D | string_util.h | 109 BASE_EXPORT string16 ToLowerASCII(StringPiece16 str); 113 BASE_EXPORT string16 ToUpperASCII(StringPiece16 str); 138 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b); 144 BASE_EXPORT bool EqualsCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b); 177 StringPiece16 remove_chars, 189 StringPiece16 replace_chars, 211 StringPiece16 trim_chars, 219 BASE_EXPORT StringPiece16 TrimString(StringPiece16 input, 220 StringPiece16 trim_chars, 242 BASE_EXPORT StringPiece16 TrimWhitespace(StringPiece16 input, [all …]
|
D | string_piece.h | 50 BASE_EXPORT void CopyToString(const StringPiece16& self, string16* target); 53 BASE_EXPORT void AppendToString(const StringPiece16& self, string16* target); 59 BASE_EXPORT size_t copy(const StringPiece16& self, 67 BASE_EXPORT size_t find(const StringPiece16& self, 68 const StringPiece16& s, 73 BASE_EXPORT size_t find(const StringPiece16& self, 80 BASE_EXPORT size_t rfind(const StringPiece16& self, 81 const StringPiece16& s, 86 BASE_EXPORT size_t rfind(const StringPiece16& self, 93 BASE_EXPORT size_t find_first_of(const StringPiece16& self, [all …]
|
D | string_split.cc | 32 string16 PieceToOutputType<string16, string16>(StringPiece16 piece) { in PieceToOutputType() 38 template<> StringPiece16 WhitespaceForType<string16>() { in WhitespaceForType() 54 size_t FindFirstOf(StringPiece16 piece, char16 c, size_t pos) { in FindFirstOf() 60 size_t FindFirstOf(StringPiece16 piece, StringPiece16 one_of, size_t pos) { in FindFirstOf() 172 std::vector<string16> SplitString(StringPiece16 input, in SplitString() 173 StringPiece16 separators, in SplitString() 180 return SplitStringT<string16, string16, StringPiece16>( in SplitString() 196 std::vector<StringPiece16> SplitStringPiece(StringPiece16 input, in SplitStringPiece() 197 StringPiece16 separators, in SplitStringPiece() 201 return SplitStringT<string16, StringPiece16, char16>( in SplitStringPiece() [all …]
|
D | string_split.h | 52 StringPiece16 input, 53 StringPiece16 separators, 74 BASE_EXPORT std::vector<StringPiece16> SplitStringPiece( 75 StringPiece16 input, 76 StringPiece16 separators, 94 StringPiece16 input, 95 StringPiece16 delimiter, 116 BASE_EXPORT std::vector<StringPiece16> SplitStringPieceUsingSubstr( 117 StringPiece16 input, 118 StringPiece16 delimiter,
|
D | string_piece.cc | 70 void CopyToString(const StringPiece16& self, string16* target) { in CopyToString() 84 void AppendToString(const StringPiece16& self, string16* target) { in AppendToString() 102 size_t copy(const StringPiece16& self, char16* buf, size_t n, size_t pos) { in copy() 124 size_t find(const StringPiece16& self, const StringPiece16& s, size_t pos) { in find() 145 size_t find(const StringPiece16& self, char16 c, size_t pos) { in find() 171 size_t rfind(const StringPiece16& self, const StringPiece16& s, size_t pos) { in rfind() 196 size_t rfind(const StringPiece16& self, char16 c, size_t pos) { in rfind() 222 size_t find_first_of(const StringPiece16& self, in find_first_of() 223 const StringPiece16& s, in find_first_of() 225 StringPiece16::const_iterator found = in find_first_of() [all …]
|
D | string_util.cc | 181 string16 ToLowerASCII(StringPiece16 str) { in ToLowerASCII() 189 string16 ToUpperASCII(StringPiece16 str) { in ToUpperASCII() 224 int CompareCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b) { in CompareCaseInsensitiveASCII() 234 bool EqualsCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b) { in EqualsCaseInsensitiveASCII() 255 StringPiece16 replace_chars, in ReplaceChars() 258 return ReplaceCharsT(input, replace_chars, StringPiece16(replace_with), in ReplaceChars() 270 StringPiece16 remove_chars, in RemoveChars() 272 return ReplaceCharsT(input, remove_chars, StringPiece16(), output); in RemoveChars() 318 StringPiece16 trim_chars, in TrimString() 340 StringPiece16 TrimString(StringPiece16 input, in TrimString() [all …]
|
D | string_number_conversions.h | 101 BASE_EXPORT bool StringToInt(StringPiece16 input, int* output); 104 BASE_EXPORT bool StringToUint(StringPiece16 input, unsigned* output); 107 BASE_EXPORT bool StringToInt64(StringPiece16 input, int64_t* output); 110 BASE_EXPORT bool StringToUint64(StringPiece16 input, uint64_t* output); 113 BASE_EXPORT bool StringToSizeT(StringPiece16 input, size_t* output);
|
D | strcat.h | 62 BASE_EXPORT string16 StrCat(span<const StringPiece16> pieces); 70 inline string16 StrCat(std::initializer_list<StringPiece16> pieces) { in StrCat() 83 BASE_EXPORT void StrAppend(string16* dest, span<const StringPiece16> pieces); 93 std::initializer_list<StringPiece16> pieces) { in StrAppend()
|
D | utf_string_conversions.cc | 218 return UTFConversion(StringPiece16(src, src_len), output); in UTF16ToUTF8() 221 std::string UTF16ToUTF8(StringPiece16 utf16) { in UTF16ToUTF8() 248 std::wstring UTF16ToWide(StringPiece16 utf16) { in UTF16ToWide() 267 return UTFConversion(StringPiece16(src, src_len), output); in UTF16ToWide() 270 std::wstring UTF16ToWide(StringPiece16 utf16) { in UTF16ToWide() 328 std::string UTF16ToASCII(StringPiece16 utf16) { in UTF16ToASCII()
|
D | utf_string_conversions.h | 36 BASE_EXPORT std::wstring UTF16ToWide(StringPiece16 utf16); 42 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16); 50 BASE_EXPORT std::string UTF16ToASCII(StringPiece16 utf16);
|
D | old_utf_string_conversions.h | 20 using base::StringPiece16; 52 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16); 60 BASE_EXPORT std::string UTF16ToASCII(StringPiece16 utf16);
|
D | string_number_conversions.cc | 301 : public BaseIteratorRangeToNumberTraits<StringPiece16::const_iterator, 307 bool String16ToIntImpl(StringPiece16 input, VALUE* output) { in String16ToIntImpl() 398 bool StringToInt(StringPiece16 input, int* output) { in StringToInt() 406 bool StringToUint(StringPiece16 input, unsigned* output) { in StringToUint() 414 bool StringToInt64(StringPiece16 input, int64_t* output) { in StringToInt64() 422 bool StringToUint64(StringPiece16 input, uint64_t* output) { in StringToUint64() 430 bool StringToSizeT(StringPiece16 input, size_t* output) { in StringToSizeT()
|
D | pattern.h | 19 BASE_EXPORT bool MatchPattern(StringPiece16 string, StringPiece16 pattern);
|
D | old_utf_string_conversions.cc | 208 if (IsStringASCII(StringPiece16(src, src_len))) { in UTF16ToUTF8() 217 std::string UTF16ToUTF8(StringPiece16 utf16) { in UTF16ToUTF8() 240 std::string UTF16ToUTF8(StringPiece16 utf16) { in UTF16ToUTF8() 257 std::string UTF16ToASCII(StringPiece16 utf16) { in UTF16ToASCII()
|
D | utf_string_conversions_fuzzer.cc | 26 base::StringPiece16 string_piece_input16( in LLVMFuzzerTestOneInput() 51 base::StringPiece16 string_piece_input16(output_string16); in LLVMFuzzerTestOneInput()
|
D | strcat.cc | 47 string16 StrCat(span<const StringPiece16> pieces) { in StrCat() 69 void StrAppend(string16* dest, span<const StringPiece16> pieces) { in StrAppend()
|
D | pattern.cc | 150 bool MatchPattern(StringPiece16 eval, StringPiece16 pattern) { in MatchPattern()
|
D | string_util_unittest.cc | 425 EXPECT_TRUE(IsStringASCII(StringPiece16(char16_ascii + offset, len))); in TEST() 429 IsStringASCII(StringPiece16(char16_ascii + offset, len))); in TEST() 434 IsStringASCII(StringPiece16(char16_ascii + offset, len))); in TEST() 781 std::vector<StringPiece16> parts; in TEST() 785 parts.push_back(StringPiece16()); in TEST() 799 parts.push_back(StringPiece16()); in TEST() 835 EXPECT_EQ(string16(), JoinString({StringPiece16()}, separator)); in TEST() 846 JoinString({kA, kB, kC, StringPiece16()}, separator)); in TEST() 850 JoinString({kA, kB, kC, StringPiece16(), kSpace}, ASCIIToUTF16("|"))); in TEST() 853 const StringPiece16 kPieceA = kA; in TEST() [all …]
|
D | string_piece_forward.h | 19 typedef BasicStringPiece<string16> StringPiece16; typedef
|
/external/libchrome/mojo/public/cpp/base/ |
D | string16_mojom_traits.h | 21 StructTraits<mojo_base::mojom::String16DataView, base::StringPiece16> { in COMPONENT_EXPORT() 22 static base::span<const uint16_t> data(base::StringPiece16 str) { in COMPONENT_EXPORT() 33 base::StringPiece16>::data(str); in COMPONENT_EXPORT()
|
/external/libchrome/base/json/ |
D | string_escape.h | 36 BASE_EXPORT bool EscapeJSONString(StringPiece16 str, 43 BASE_EXPORT std::string GetQuotedJSONString(StringPiece16 str);
|
D | string_escape.cc | 123 bool EscapeJSONString(StringPiece16 str, in EscapeJSONString() 136 std::string GetQuotedJSONString(StringPiece16 str) { in GetQuotedJSONString()
|
/external/libchrome/base/android/ |
D | jni_string.cc | 15 const base::StringPiece16& str) { in ConvertUTF16ToJavaStringImpl() 115 const base::StringPiece16& str) { in ConvertUTF16ToJavaString()
|
/external/libchrome/base/ |
D | pickle.h | 55 bool ReadStringPiece16(StringPiece16* result) WARN_UNUSED_RESULT; 203 void WriteString16(const StringPiece16& value);
|
D | pickle.cc | 180 bool PickleIterator::ReadStringPiece16(StringPiece16* result) { in ReadStringPiece16() 188 *result = StringPiece16(reinterpret_cast<const char16*>(read_from), len); in ReadStringPiece16() 296 void Pickle::WriteString16(const StringPiece16& value) { in WriteString16()
|