Home
last modified time | relevance | path

Searched refs:StringPiece16 (Results 1 – 25 of 50) sorted by relevance

12

/external/libchrome/base/strings/
Dstring_util.h109 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 …]
Dstring_piece.h50 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 …]
Dstring_split.h52 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,
Dstring_split.cc32 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 …]
Dstring_piece.cc70 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 …]
Dstring_util.cc181 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 …]
Dstrcat.h62 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()
Dstring_number_conversions.h101 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);
Dutf_string_conversions.h36 BASE_EXPORT std::wstring UTF16ToWide(StringPiece16 utf16);
42 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
50 BASE_EXPORT std::string UTF16ToASCII(StringPiece16 utf16);
Dold_utf_string_conversions.h20 using base::StringPiece16;
52 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
60 BASE_EXPORT std::string UTF16ToASCII(StringPiece16 utf16);
Dutf_string_conversions.cc218 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()
Dpattern.h19 BASE_EXPORT bool MatchPattern(StringPiece16 string, StringPiece16 pattern);
Dstring_number_conversions.cc301 : 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()
Dutf_string_conversions_fuzzer.cc26 base::StringPiece16 string_piece_input16( in LLVMFuzzerTestOneInput()
51 base::StringPiece16 string_piece_input16(output_string16); in LLVMFuzzerTestOneInput()
Dold_utf_string_conversions.cc208 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()
Dstrcat.cc47 string16 StrCat(span<const StringPiece16> pieces) { in StrCat()
69 void StrAppend(string16* dest, span<const StringPiece16> pieces) { in StrAppend()
/external/libchrome/base/i18n/
Dbreak_iterator.h90 BreakIterator(const StringPiece16& str, BreakType break_type);
95 BreakIterator(const StringPiece16& str, const string16& rules);
148 StringPiece16 GetStringPiece() const;
165 StringPiece16 string_;
Dcase_conversion.h35 BASE_I18N_EXPORT string16 ToLower(StringPiece16 string);
38 BASE_I18N_EXPORT string16 ToUpper(StringPiece16 string);
43 BASE_I18N_EXPORT string16 FoldCase(StringPiece16 string);
Dcase_conversion.cc49 string16 CaseMap(StringPiece16 string, CaseMapperFunction case_mapper) { in CaseMap()
77 string16 ToLower(StringPiece16 string) { in ToLower()
81 string16 ToUpper(StringPiece16 string) { in ToUpper()
85 string16 FoldCase(StringPiece16 string) { in FoldCase()
Dbreak_iterator.cc19 BreakIterator::BreakIterator(const StringPiece16& str, BreakType break_type) in BreakIterator()
26 BreakIterator::BreakIterator(const StringPiece16& str, const string16& rules) in BreakIterator()
133 string_ = StringPiece16(text, length); in SetText()
185 StringPiece16 BreakIterator::GetStringPiece() const { in GetStringPiece()
Dmessage_formatter.h94 StringPiece16 msg,
111 StringPiece16 msg,
/external/libchrome/mojo/public/cpp/base/
Dstring16_mojom_traits.h21 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/
Dstring_escape.h36 BASE_EXPORT bool EscapeJSONString(StringPiece16 str,
43 BASE_EXPORT std::string GetQuotedJSONString(StringPiece16 str);
Dstring_escape.cc123 bool EscapeJSONString(StringPiece16 str, in EscapeJSONString()
136 std::string GetQuotedJSONString(StringPiece16 str) { in GetQuotedJSONString()
/external/libchrome/base/android/
Djni_string.cc15 const base::StringPiece16& str) { in ConvertUTF16ToJavaStringImpl()
115 const base::StringPiece16& str) { in ConvertUTF16ToJavaString()

12