/external/libchrome/base/files/ |
D | file_path.cc | 32 using StringType = FilePath::StringType; typedef 57 return StringType::npos; in FindDriveLetter() 65 if (a_letter_pos == StringType::npos || b_letter_pos == StringType::npos) in EqualDriveLetterCaseInsensitive() 81 StringType::size_type letter = FindDriveLetter(path); in IsPathAbsolute() 82 if (letter != StringType::npos) { in IsPathAbsolute() 96 bool AreAllSeparators(const StringType& input) { in AreAllSeparators() 97 for (StringType::const_iterator it = input.begin(); in AreAllSeparators() 109 StringType::size_type FinalExtensionSeparatorPosition(const StringType& path) { in FinalExtensionSeparatorPosition() 112 return StringType::npos; in FinalExtensionSeparatorPosition() 121 StringType::size_type ExtensionSeparatorPosition(const StringType& path) { in ExtensionSeparatorPosition() [all …]
|
D | file_path.h | 148 typedef std::wstring StringType; typedef 153 typedef std::string StringType; 156 typedef BasicStringPiece<StringType> StringPieceType; 157 typedef StringType::value_type CharType; 199 const StringType& value() const { return path_; } in value() 218 void GetComponents(std::vector<FilePath::StringType>* components) const; 261 StringType Extension() const WARN_UNUSED_RESULT; 270 StringType FinalExtension() const WARN_UNUSED_RESULT; 423 static StringType GetHFSDecomposedForm(StringPieceType string); 450 StringType path_; [all …]
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3exception.hpp | 60 typedef typename ImplTraits::StringType StringType; typedef in ANTLR_ExceptionBase 74 StringType m_message; 78 StringType m_streamName; 134 StringType m_ruleName; 141 StringType& get_message(); 142 StringType& get_streamName(); 154 StringType& get_ruleName(); 156 void set_message( const StringType& message ); 157 void set_streamName( const StringType& streamName ); 169 void set_ruleName( const StringType& ruleName ); [all …]
|
D | antlr3intstream.hpp | 103 typedef typename ImplTraits::StringType StringType; typedef in IntStream 111 StringType m_streamName; 128 StringType getSourceName(); 129 StringType& get_streamName(); 130 const StringType& get_streamName() const; 348 typedef typename ImplTraits::StringType StringType; typedef in TokenIntStream 374 StringType getSourceName();
|
D | antlr3tokenstream.hpp | 55 typedef typename ImplTraits::StringType StringType; typedef in TokenSource 78 StringType m_fileName; 84 StringType& get_fileName(); 87 void set_fileName( const StringType& fileName ); 147 typedef typename ImplTraits::StringType StringType; typedef in TokenStream 193 StringType toString(); 200 StringType toStringSS(ANTLR_MARKER start, ANTLR_MARKER stop); 208 StringType toStringTT(const TokenType* start, const TokenType* stop);
|
D | antlr3commontoken.hpp | 85 typedef typename ImplTraits::StringType StringType; typedef in CommonToken 98 mutable StringType m_tokText; 153 StringType getText() const; 162 void set_tokText( const StringType& text ); 242 StringType toString() const;
|
D | antlr3commontree.hpp | 45 typedef typename ImplTraits::StringType StringType; typedef in CommonTree 122 StringType getText(); 125 StringType toStringTree(); 126 StringType toString();
|
D | antlr3input.hpp | 61 typedef typename ImplTraits::StringType StringType; typedef in InputStream 108 StringType m_fileName; 150 const StringType& get_fileName() const; 165 void set_fileName( const StringType& fileName ); 197 StringType substr(ANTLR_MARKER start, ANTLR_MARKER stop);
|
D | antlr3commontreeadaptor.hpp | 44 typedef typename ImplTraits::StringType StringType; typedef in CommonTreeAdaptor 77 StringType getText( TreeType* t); 98 StringType makeDot( TreeType* theTree); 113 void defineDotNodes(TreeType* t, const StringType& dotSpec); 114 void defineDotEdges(TreeType* t, const StringType& dotSpec);
|
D | antlr3commontreenodestream.hpp | 54 typedef typename ImplTraits::StringType StringType; typedef in CommonTreeNodeStream 220 StringType toString(); 228 StringType toStringSS(TreeType* start, TreeType* stop); 237 void toStringWork(TreeType* start, TreeType* stop, StringType& buf);
|
D | antlr3recognizersharedstate.hpp | 64 typedef typename ImplTraits::StringType StringType; typedef in RecognizerSharedState 199 StringType m_text; 229 StringType& get_text(); 251 void set_text( const StringType& text );
|
D | antlr3debugeventlistener.hpp | 63 typedef typename ImplTraits::StringType StringType; typedef in DebugEventListener 83 StringType m_grammarFileName; 92 StringType m_tokenString;
|
/external/libchrome/base/ |
D | command_line.h | 36 using StringType = string16; 38 using StringType = std::string; 41 using CharType = StringType::value_type; 42 using StringVector = std::vector<StringType>; 43 using SwitchMap = std::map<std::string, StringType, std::less<>>; 114 StringType GetCommandLineString() const { in GetCommandLineString() 126 StringType GetCommandLineStringWithPlaceholders() const { in GetCommandLineStringWithPlaceholders() 134 StringType GetArgumentsString() const { in GetArgumentsString() 145 StringType GetArgumentsStringWithPlaceholders() const { in GetArgumentsStringWithPlaceholders() 170 StringType GetSwitchValueNative(const StringPiece& switch_string) const; [all …]
|
D | command_line.cc | 47 size_t GetSwitchPrefixLength(const CommandLine::StringType& string) { in GetSwitchPrefixLength() 49 CommandLine::StringType prefix(kSwitchPrefixes[i]); in GetSwitchPrefixLength() 58 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch() 59 CommandLine::StringType* switch_string, in IsSwitch() 60 CommandLine::StringType* switch_value) { in IsSwitch() 69 if (equals_position != CommandLine::StringType::npos) in IsSwitch() 79 CommandLine::StringType arg = argv[i]; in AppendSwitchesAndArguments() 86 CommandLine::StringType switch_string; in AppendSwitchesAndArguments() 87 CommandLine::StringType switch_value; in AppendSwitchesAndArguments() 294 StringType value = GetSwitchValueNative(switch_string); in GetSwitchValueASCII() [all …]
|
D | command_line_unittest.cc | 23 static const CommandLine::StringType kTrickyQuoted = 27 static const CommandLine::StringType kTricky = 87 std::vector<CommandLine::StringType>::const_iterator iter = args.begin(); in TEST() 151 std::vector<CommandLine::StringType>::const_iterator iter = args.begin(); in TEST() 206 CommandLine::StringType expected_first_arg(UTF8ToUTF16(kFirstArgName)); in TEST() 207 CommandLine::StringType expected_second_arg(UTF8ToUTF16(kSecondArgName)); in TEST() 208 CommandLine::StringType expected_third_arg(UTF8ToUTF16(kThirdArgName)); in TEST() 209 CommandLine::StringType expected_fourth_arg(UTF8ToUTF16(kFourthArgName)); in TEST() 210 CommandLine::StringType expected_fifth_arg(UTF8ToUTF16(kFifthArgName)); in TEST() 212 CommandLine::StringType expected_first_arg(kFirstArgName); in TEST() [all …]
|
/external/libchrome/base/strings/ |
D | string_util.cc | 157 template<typename StringType> 158 StringType ToLowerASCIIImpl(BasicStringPiece<StringType> str) { in ToLowerASCIIImpl() 159 StringType ret; in ToLowerASCIIImpl() 166 template<typename StringType> 167 StringType ToUpperASCIIImpl(BasicStringPiece<StringType> str) { in ToUpperASCIIImpl() 168 StringType ret; in ToUpperASCIIImpl() 193 template<class StringType> 194 int CompareCaseInsensitiveASCIIT(BasicStringPiece<StringType> a, in CompareCaseInsensitiveASCIIT() 195 BasicStringPiece<StringType> b) { in CompareCaseInsensitiveASCIIT() 201 typename StringType::value_type lower_a = ToLowerASCII(a[i]); in CompareCaseInsensitiveASCIIT() [all …]
|
D | stringprintf.cc | 46 template <class StringType> 47 static void StringAppendVT(StringType* dst, in StringAppendVT() 48 const typename StringType::value_type* format, in StringAppendVT() 53 typename StringType::value_type stack_buf[1024]; in StringAppendVT() 98 std::vector<typename StringType::value_type> mem_buf(mem_length); in StringAppendVT()
|
/external/llvm-project/clang-tools-extra/clang-tidy/boost/ |
D | UseToStringCheck.cpp | 45 StringRef StringType; in check() local 48 StringType = "string"; in check() 51 StringType = "wstring"; in check() 58 << StringType; in check() 66 (llvm::Twine("std::to_") + StringType + "(").str()); in check()
|
/external/clang/test/SemaObjCXX/ |
D | arc-bridged-cast.mm | 17 template<typename IdType, typename StringType, typename IntPtrType> 20 id obj2 = (__bridge_transfer StringType)CFCreateString(); 23 id obj4 = (__bridge StringType)CFGetString(); 28 template<typename IdType, typename StringType> 31 CFStringRef cf2 = (__bridge_retained StringType)CreateNSString(); 33 CFStringRef cf4 = (__bridge StringType)CreateNSString();
|
/external/pdfium/core/fxcrt/ |
D | string_pool_template.h | 16 template <typename StringType> 19 StringType Intern(const StringType& str) { return *m_Pool.insert(str).first; } in Intern() 23 std::unordered_set<StringType> m_Pool;
|
/external/llvm-project/clang/test/SemaObjCXX/ |
D | arc-bridged-cast.mm | 17 template<typename IdType, typename StringType, typename IntPtrType> 20 id obj2 = (__bridge_transfer StringType)CFCreateString(); 23 id obj4 = (__bridge StringType)CFGetString(); 28 template<typename IdType, typename StringType> 31 CFStringRef cf2 = (__bridge_retained StringType)CreateNSString(); 33 CFStringRef cf4 = (__bridge StringType)CreateNSString();
|
/external/rust/crates/grpcio-sys/grpc/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()
|
/external/libtextclassifier/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()
|
/external/openscreen/third_party/abseil/src/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()
|
/external/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()
|