Home
last modified time | relevance | path

Searched refs:u16string_view (Results 1 – 19 of 19) sorted by relevance

/third_party/gn/src/base/strings/
Dstring_util.h75 std::u16string ToLowerASCII(std::u16string_view str);
79 std::u16string ToUpperASCII(std::u16string_view str);
105 int CompareCaseInsensitiveASCII(std::u16string_view a, std::u16string_view b);
111 bool EqualsCaseInsensitiveASCII(std::u16string_view a, std::u16string_view b);
127 std::u16string_view remove_chars,
139 std::u16string_view replace_chars,
161 std::u16string_view trim_chars,
169 std::u16string_view TrimString(std::u16string_view input,
170 std::u16string_view trim_chars,
192 std::u16string_view TrimWhitespace(std::u16string_view input,
[all …]
Dstring_split.h47 std::vector<std::u16string> SplitString(std::u16string_view input,
48 std::u16string_view separators,
68 std::vector<std::u16string_view> SplitStringPiece(
69 std::u16string_view input,
70 std::u16string_view separators,
88 std::u16string_view input,
89 std::u16string_view delimiter,
109 std::vector<std::u16string_view> SplitStringPieceUsingSubstr(
110 std::u16string_view input,
111 std::u16string_view delimiter,
Dstring_split.cc21 std::u16string_view WhitespaceForType<char16_t>() { in WhitespaceForType()
38 size_t FindFirstOf(std::u16string_view piece, char16_t c, size_t pos) { in FindFirstOf()
46 size_t FindFirstOf(std::u16string_view piece, in FindFirstOf()
47 std::u16string_view one_of, in FindFirstOf()
162 std::vector<std::u16string> SplitString(std::u16string_view input, in SplitString()
163 std::u16string_view separators, in SplitString()
170 return SplitStringT<char16_t, std::u16string, std::u16string_view>( in SplitString()
186 std::vector<std::u16string_view> SplitStringPiece( in SplitStringPiece()
187 std::u16string_view input, in SplitStringPiece()
188 std::u16string_view separators, in SplitStringPiece()
[all …]
Dstring_util.cc116 std::u16string ToLowerASCII(std::u16string_view str) { in ToLowerASCII()
124 std::u16string ToUpperASCII(std::u16string_view str) { in ToUpperASCII()
160 int CompareCaseInsensitiveASCII(std::u16string_view a, std::u16string_view b) { in CompareCaseInsensitiveASCII()
170 bool EqualsCaseInsensitiveASCII(std::u16string_view a, std::u16string_view b) { in EqualsCaseInsensitiveASCII()
184 std::u16string_view replace_chars, in ReplaceChars()
187 return ReplaceCharsT(input, replace_chars, std::u16string_view(replace_with), in ReplaceChars()
200 std::u16string_view remove_chars, in RemoveChars()
202 return ReplaceCharsT(input, remove_chars, std::u16string_view(), output); in RemoveChars()
250 std::u16string_view trim_chars, in TrimString()
277 std::u16string_view TrimString(std::u16string_view input, in TrimString()
[all …]
Dstring_number_conversions.h77 bool StringToInt(std::u16string_view input, int* output);
80 bool StringToUint(std::u16string_view input, unsigned* output);
83 bool StringToInt64(std::u16string_view input, int64_t* output);
86 bool StringToUint64(std::u16string_view input, uint64_t* output);
89 bool StringToSizeT(std::u16string_view input, size_t* output);
Dstring_number_conversions.cc299 std::u16string_view::const_iterator,
304 bool String16ToIntImpl(std::u16string_view input, VALUE* output) { in String16ToIntImpl()
363 bool StringToInt(std::u16string_view input, int* output) { in StringToInt()
371 bool StringToUint(std::u16string_view input, unsigned* output) { in StringToUint()
379 bool StringToInt64(std::u16string_view input, int64_t* output) { in StringToInt64()
387 bool StringToUint64(std::u16string_view input, uint64_t* output) { in StringToUint64()
395 bool StringToSizeT(std::u16string_view input, size_t* output) { in StringToSizeT()
Dutf_string_conversions.h18 std::string UTF16ToUTF8(std::u16string_view utf16);
26 std::string UTF16ToASCII(std::u16string_view utf16);
Dutf_string_conversions.cc172 return UTFConversion(std::u16string_view(src, src_len), output); in UTF16ToUTF8()
175 std::string UTF16ToUTF8(std::u16string_view utf16) { in UTF16ToUTF8()
190 std::string UTF16ToASCII(std::u16string_view utf16) { in UTF16ToASCII()
Dutf_offset_string_conversions.h106 std::u16string_view utf16,
Dutf_offset_string_conversions.cc252 std::u16string_view utf16, in UTF16ToUTF8AndAdjustOffsets()
/third_party/gn/src/base/json/
Dstring_escape.h34 void EscapeJSONString(std::u16string_view str,
Dstring_escape.cc125 void EscapeJSONString(std::u16string_view str, in EscapeJSONString()
/third_party/boost/boost/utility/
Dstring_view_fwd.hpp30 typedef basic_string_view<char16_t, std::char_traits<char16_t> > u16string_view; typedef
Dstring_view.hpp665 template<> struct hash<boost::u16string_view>;
/third_party/boost/libs/config/test/
Dboost_no_cxx17_hdr_string_view.ipp21 using std::u16string_view;
/third_party/gn/src/base/
Dcommand_line.cc190 DCHECK(std::u16string_view(kSwitchPrefixes[std::size(kSwitchPrefixes) - 1]) == in set_slash_is_not_a_switch()
191 std::u16string_view(u"/")); in set_slash_is_not_a_switch()
Dvalues.h125 explicit Value(std::u16string_view in_string16);
Dvalues.cc142 : Value(std::u16string_view(in_string16)) {} in Value()
144 Value::Value(std::u16string_view in_string16) in Value()
/third_party/gn/src/gn/
Dsetup.cc322 std::u16string_view(full_path.get(), path_length), u";", in FindWindowsPython()