Lines Matching refs:StringPiece
53 std::vector<std::string> Split(const android::StringPiece& str, char sep);
54 std::vector<std::string> SplitAndLowercase(const android::StringPiece& str, char sep);
57 bool StartsWith(const android::StringPiece& str, const android::StringPiece& prefix);
60 bool EndsWith(const android::StringPiece& str, const android::StringPiece& suffix);
64 android::StringPiece TrimLeadingWhitespace(const android::StringPiece& str);
68 android::StringPiece TrimTrailingWhitespace(const android::StringPiece& str);
72 android::StringPiece TrimWhitespace(const android::StringPiece& str);
75 bool IsJavaClassName(const android::StringPiece& str);
78 bool IsJavaPackageName(const android::StringPiece& str);
84 bool IsAndroidPackageName(const android::StringPiece& str);
89 bool IsAndroidSplitName(const android::StringPiece& str);
98 Maybe<std::string> GetFullyQualifiedClassName(const android::StringPiece& package,
99 const android::StringPiece& class_name);
156 bool VerifyJavaStringFormat(const android::StringPiece& str);
158 bool AppendStyledString(const android::StringPiece& input, bool preserve_spaces,
165 StringBuilder& Append(const android::StringPiece& str);
211 std::u16string Utf8ToUtf16(const android::StringPiece& utf8);
226 using reference = android::StringPiece&;
227 using value_type = android::StringPiece;
229 using pointer = android::StringPiece*;
237 android::StringPiece operator*() { return token_; }
244 iterator(const android::StringPiece& s, char sep, const android::StringPiece& tok, bool end);
246 android::StringPiece str_;
248 android::StringPiece token_;
252 Tokenizer(const android::StringPiece& str, char sep);
267 inline Tokenizer Tokenize(const android::StringPiece& str, char sep) { in Tokenize()
294 bool ExtractResFilePathParts(const android::StringPiece& path, android::StringPiece* out_prefix,
295 android::StringPiece* out_entry, android::StringPiece* out_suffix);