Home
last modified time | relevance | path

Searched refs:StringType (Results 1 – 25 of 131) sorted by relevance

123456

/external/libchrome/base/files/
Dfile_path.cc32 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 …]
Dfile_path.h148 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 …]
Dfile_path_watcher_linux.cc124 const FilePath::StringType& child,
131 const FilePath::StringType& child,
153 explicit WatchEntry(const FilePath::StringType& dirname) in WatchEntry()
158 FilePath::StringType subdir;
159 FilePath::StringType linkname;
330 FilePath::StringType child(event->len ? event->name : FILE_PATH_LITERAL("")); in OnInotifyEvent()
354 const FilePath::StringType& child, in OnFilePathChanged()
371 const FilePath::StringType& child, in OnFilePathChangedOnOriginSequence()
467 std::vector<FilePath::StringType> comps; in Watch()
472 watches_.push_back(WatchEntry(FilePath::StringType())); in Watch()
/external/antlr/runtime/Cpp/include/
Dantlr3exception.hpp60 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 …]
Dantlr3intstream.hpp103 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();
Dantlr3tokenstream.hpp55 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);
Dantlr3commontoken.hpp85 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;
Dantlr3commontree.hpp45 typedef typename ImplTraits::StringType StringType; typedef in CommonTree
122 StringType getText();
125 StringType toStringTree();
126 StringType toString();
Dantlr3input.hpp61 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);
Dantlr3commontreeadaptor.hpp44 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);
Dantlr3commontreenodestream.hpp54 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);
Dantlr3recognizersharedstate.hpp64 typedef typename ImplTraits::StringType StringType; typedef in RecognizerSharedState
199 StringType m_text;
229 StringType& get_text();
251 void set_text( const StringType& text );
Dantlr3debugeventlistener.hpp63 typedef typename ImplTraits::StringType StringType; typedef in DebugEventListener
83 StringType m_grammarFileName;
92 StringType m_tokenString;
Dantlr3lexer.hpp80 typedef typename ImplTraits::StringType StringType; typedef in Lexer
133 void setText( const StringType& text );
227 StringType getText();
Dantlr3baserecognizer.hpp57 typedef typename ImplTraits::StringType StringType; typedef in BaseRecognizer
64 typedef typename AllocPolicyType::template StackType<StringType> StringStackType;
65 typedef typename AllocPolicyType::template ListType<StringType> StringListType;
/external/libchrome/base/
Dcommand_line.h36 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 …]
Dcommand_line.cc47 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 …]
Dcommand_line_unittest.cc23 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/
Dstring_util.cc157 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 …]
Dstringprintf.cc46 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/clang/test/SemaObjCXX/
Darc-bridged-cast.mm17 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/
Dstring_pool_template.h16 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/swiftshader/third_party/LLVM/unittests/ADT/
DSmallStringTest.cpp27 typedef SmallString<40> StringType; typedef in __anonf30fc01b0111::SmallStringTest
29 StringType theString;
31 void assertEmpty(StringType & v) { in assertEmpty()
/external/libchrome/base/process/
Dprocess_iterator.cc39 const FilePath::StringType& executable_name, in NamedProcessIterator()
49 executable_name_ = FilePath::StringType(executable_name_, in NamedProcessIterator()
57 int GetProcessCount(const FilePath::StringType& executable_name, in GetProcessCount()
Dkill.h75 BASE_EXPORT bool KillProcesses(const FilePath::StringType& executable_name,
137 const FilePath::StringType& executable_name,
147 BASE_EXPORT bool CleanupProcesses(const FilePath::StringType& executable_name,

123456