/third_party/gn/src/base/files/ |
D | file_path.cc | 31 using StringType = FilePath::StringType; typedef 56 return StringType::npos; in FindDriveLetter() 64 if (a_letter_pos == StringType::npos || b_letter_pos == StringType::npos) in EqualDriveLetterCaseInsensitive() 80 StringType::size_type letter = FindDriveLetter(path); in IsPathAbsolute() 81 if (letter != StringType::npos) { in IsPathAbsolute() 95 bool AreAllSeparators(const StringType& input) { in AreAllSeparators() 96 for (StringType::const_iterator it = input.begin(); it != input.end(); ++it) { in AreAllSeparators() 107 StringType::size_type FinalExtensionSeparatorPosition(const StringType& path) { in FinalExtensionSeparatorPosition() 110 return StringType::npos; in FinalExtensionSeparatorPosition() 119 StringType::size_type ExtensionSeparatorPosition(const StringType& path) { in ExtensionSeparatorPosition() [all …]
|
D | file_path.h | 147 typedef std::u16string StringType; typedef 152 typedef std::string StringType; 155 using CharType = StringType::value_type; 196 const StringType& value() const { return path_; } in value() 215 void GetComponents(std::vector<FilePath::StringType>* components) const; 258 [[nodiscard]] StringType Extension() const; 267 [[nodiscard]] StringType FinalExtension() const; 367 StringType path_; 386 return hash<base::FilePath::StringType>()(f.value());
|
D | file_enumerator_win.cc | 20 const FilePath::StringType& pattern) { in BuildSearchFilter() 70 FilePath::StringType(), in FileEnumerator() 76 const FilePath::StringType& pattern) in FileEnumerator() 86 const FilePath::StringType& pattern, in FileEnumerator()
|
D | file_util_posix.cc | 297 *target_path = FilePath(FilePath::StringType(buf, count)); in ReadSymbolicLink() 333 const FilePath::StringType& executable) { in ExecutableExistsInPath() 380 const FilePath::StringType& name_tmpl, in CreateTemporaryDirInDirImpl() 382 DCHECK(name_tmpl.find("XXXXXX") != FilePath::StringType::npos) in CreateTemporaryDirInDirImpl() 414 const FilePath::StringType& prefix, in CreateTemporaryDirInDir() 416 FilePath::StringType mkdtemp_template = prefix; in CreateTemporaryDirInDir() 421 bool CreateNewTempDirectory(const FilePath::StringType& prefix, in CreateNewTempDirectory() 609 std::vector<FilePath::StringType> base_components; in VerifyPathControlledByUser() 610 std::vector<FilePath::StringType> path_components; in VerifyPathControlledByUser() 615 std::vector<FilePath::StringType>::const_iterator ib, ip; in VerifyPathControlledByUser()
|
D | file_enumerator.h | 117 const FilePath::StringType& pattern); 121 const FilePath::StringType& pattern, 158 FilePath::StringType pattern_;
|
D | file_util.h | 166 const FilePath::StringType& executable); 180 bool CreateNewTempDirectory(const FilePath::StringType& prefix, 187 const FilePath::StringType& prefix, 277 const FilePath::StringType& suffix);
|
D | file_enumerator_posix.cc | 64 FilePath::StringType(), in FileEnumerator() 70 const FilePath::StringType& pattern) in FileEnumerator() 80 const FilePath::StringType& pattern, in FileEnumerator()
|
/third_party/gn/src/base/ |
D | command_line.h | 34 using StringType = std::u16string; 36 using StringType = std::string; 39 using CharType = StringType::value_type; 40 using StringVector = std::vector<StringType>; 41 using SwitchMap = std::map<std::string, StringType, std::less<>>; 112 StringType GetCommandLineString() const { in GetCommandLineString() 124 StringType GetCommandLineStringWithPlaceholders() const { in GetCommandLineStringWithPlaceholders() 132 StringType GetArgumentsString() const { in GetArgumentsString() 143 StringType GetArgumentsStringWithPlaceholders() const { in GetArgumentsStringWithPlaceholders() 175 StringType GetSwitchValueNative(std::string_view switch_string) const; [all …]
|
D | command_line.cc | 49 size_t GetSwitchPrefixLength(const CommandLine::StringType& string) { in GetSwitchPrefixLength() 51 CommandLine::StringType prefix(kSwitchPrefixes[i]); in GetSwitchPrefixLength() 60 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch() 61 CommandLine::StringType* switch_string, in IsSwitch() 62 CommandLine::StringType* switch_value) { in IsSwitch() 71 if (equals_position != CommandLine::StringType::npos) in IsSwitch() 83 CommandLine::StringType arg = argv[i]; in AppendSwitchesAndArguments() 90 CommandLine::StringType switch_string; in AppendSwitchesAndArguments() 91 CommandLine::StringType switch_value; in AppendSwitchesAndArguments() 297 StringType value = GetSwitchValueNative(switch_string); in GetSwitchValueASCII() [all …]
|
/third_party/gn/src/base/strings/ |
D | string_util.cc | 90 template <typename StringType> 91 StringType ToLowerASCIIImpl( in ToLowerASCIIImpl() 92 std::basic_string_view<typename StringType::value_type> str) { in ToLowerASCIIImpl() 93 StringType ret; in ToLowerASCIIImpl() 100 template <typename StringType> 101 StringType ToUpperASCIIImpl( in ToUpperASCIIImpl() 102 std::basic_string_view<typename StringType::value_type> str) { in ToUpperASCIIImpl() 103 StringType ret; in ToUpperASCIIImpl() 128 template <class StringType> 130 std::basic_string_view<typename StringType::value_type> a, in CompareCaseInsensitiveASCIIT() [all …]
|
D | stringprintf.cc | 37 template <class StringType> 38 static void StringAppendVT(StringType* dst, in StringAppendVT() 39 const typename StringType::value_type* format, in StringAppendVT() 44 typename StringType::value_type stack_buf[1024]; in StringAppendVT() 89 std::vector<typename StringType::value_type> mem_buf(mem_length); in StringAppendVT()
|
/third_party/json/include/nlohmann/detail/output/ |
D | output_adapters.hpp | 78 template<typename CharType, typename StringType = std::basic_string<CharType>> 82 explicit output_string_adapter(StringType& s) noexcept in output_string_adapter() 98 StringType& str; 101 template<typename CharType, typename StringType = std::basic_string<CharType>> 111 output_adapter(StringType& s) in output_adapter() 112 : oa(std::make_shared<output_string_adapter<CharType, StringType>>(s)) {} in output_adapter()
|
/third_party/boost/boost/archive/impl/ |
D | basic_xml_grammar.hpp | 76 typedef typename std::basic_string<CharType> StringType; typedef in boost::archive::basic_xml_grammar 147 StringType object_name; 148 StringType contents; 156 StringType class_name; 164 bool parse_string(IStream & is, StringType & s) /*const*/;
|
/third_party/boost/libs/serialization/src/ |
D | basic_xml_grammar.ipp | 232 bool basic_xml_grammar<CharType>::parse_string(IStream & is, StringType & s){ 289 StringType, 297 str_p(L"&#") >> uint_p [xml::append_char<StringType>(rv.contents)] >> L';' 300 str_p(L"&#x") >> hex_p [xml::append_char<StringType>(rv.contents)] >> L';' 304 AmpRef = str_p(L"&")[xml::append_lit<StringType, L'&'>(rv.contents)]; 305 LTRef = str_p(L"<")[xml::append_lit<StringType, L'<'>(rv.contents)]; 306 GTRef = str_p(L">")[xml::append_lit<StringType, L'>'>(rv.contents)]; 307 AposRef = str_p(L"'")[xml::append_lit<StringType, L'\''>(rv.contents)]; 308 QuoteRef = str_p(L""")[xml::append_lit<StringType, L'"'>(rv.contents)]; 345 AmpName = str_p(L"&")[xml::append_lit<StringType, L'&'>(rv.class_name)]; [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | numbers_benchmark.cc | 186 template <typename StringType> 187 StringType GetStringAs(const std::string& s) { in GetStringAs() 188 return static_cast<StringType>(s); in GetStringAs() 195 template <typename StringType> 196 std::vector<StringType> GetStringsAs(const std::vector<std::string>& strings) { in GetStringsAs() 197 std::vector<StringType> result; in GetStringsAs() 200 result.push_back(GetStringAs<StringType>(s)); in GetStringsAs()
|
D | str_split.h | 508 template <typename Delimiter, typename StringType, 509 EnableSplitIfString<StringType> = 0> 513 StrSplit(StringType&& text, Delimiter d) { 533 template <typename Delimiter, typename Predicate, typename StringType, 534 EnableSplitIfString<StringType> = 0> 538 StrSplit(StringType&& text, Delimiter d, Predicate p) {
|
D | escaping_test.cc | 561 template <typename StringType> 565 StringType encoded("this junk should be ignored"); in TestEscapeAndUnescape() 570 StringType decoded("this junk should be ignored"); in TestEscapeAndUnescape() 574 StringType websafe(tc.cyphertext); in TestEscapeAndUnescape() 597 StringType buffer; in TestEscapeAndUnescape() 608 StringType buf; in TestEscapeAndUnescape()
|
/third_party/abseil-cpp/absl/strings/ |
D | numbers_benchmark.cc | 186 template <typename StringType> 187 StringType GetStringAs(const std::string& s) { in GetStringAs() 188 return static_cast<StringType>(s); in GetStringAs() 195 template <typename StringType> 196 std::vector<StringType> GetStringsAs(const std::vector<std::string>& strings) { in GetStringsAs() 197 std::vector<StringType> result; in GetStringsAs() 200 result.push_back(GetStringAs<StringType>(s)); in GetStringsAs()
|
D | escaping_test.cc | 561 template <typename StringType> 565 StringType encoded("this junk should be ignored"); in TestEscapeAndUnescape() 570 StringType decoded("this junk should be ignored"); in TestEscapeAndUnescape() 574 StringType websafe(tc.cyphertext); in TestEscapeAndUnescape() 597 StringType buffer; in TestEscapeAndUnescape() 608 StringType buf; in TestEscapeAndUnescape()
|
/third_party/abseil-cpp/absl/strings/internal/ |
D | ostringstream_benchmark.cc | 24 enum StringType { enum 30 template <StringType kOutput> 67 template <StringType kOutput>
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | ostringstream_benchmark.cc | 24 enum StringType { enum 30 template <StringType kOutput> 67 template <StringType kOutput>
|
/third_party/boost/libs/container_hash/test/ |
D | hash_string_test.cpp | 133 template <typename StringType> 134 void generic_string_tests(StringType*) in generic_string_tests() argument 142 StringType strings[] = { in generic_string_tests() 152 std::size_t const strings_length = sizeof(strings) / sizeof(StringType); in generic_string_tests() 153 boost::hash<StringType> hash; in generic_string_tests()
|
/third_party/boost/boost/process/detail/posix/ |
D | exe.hpp | 20 template<class StringType, class Executor> 21 inline void apply_exe(const StringType & exe, Executor & e) in apply_exe()
|
/third_party/cef/patch/patches/ |
D | base_command_line_1872.patch | 12 StringType combined_switch_string(UTF8ToWide(switch_key)); 15 StringType combined_switch_string(switch_key);
|
/third_party/gn/src/gn/ |
D | filesystem_utils.cc | 118 std::vector<base::FilePath::StringType> GetPathComponents( in GetPathComponents() 120 std::vector<base::FilePath::StringType> result; in GetPathComponents() 148 bool FilesystemStringsEqual(const base::FilePath::StringType& a, in FilesystemStringsEqual() 149 const base::FilePath::StringType& b) { in FilesystemStringsEqual() 216 std::string FilePathToUTF8(const base::FilePath::StringType& str) { in FilePathToUTF8() 465 std::vector<base::FilePath::StringType> base_components; in MakeAbsoluteFilePathRelativeIfPossible() 466 std::vector<base::FilePath::StringType> target_components; in MakeAbsoluteFilePathRelativeIfPossible() 485 std::vector<base::FilePath::StringType> relative_components; in MakeAbsoluteFilePathRelativeIfPossible() 502 base::FilePath::StringType separator(&base::FilePath::kSeparators[0], 1); in MakeAbsoluteFilePathRelativeIfPossible() 869 std::vector<base::FilePath::StringType> source_comp = in SourceDirForPath() [all …]
|