Lines Matching refs:StringPiece
51 std::vector<std::string> Split(android::StringPiece str, char sep);
52 std::vector<std::string> SplitAndLowercase(android::StringPiece str, char sep);
55 bool StartsWith(android::StringPiece str, android::StringPiece prefix);
58 bool EndsWith(android::StringPiece str, android::StringPiece suffix);
62 android::StringPiece TrimLeadingWhitespace(android::StringPiece str);
66 android::StringPiece TrimTrailingWhitespace(android::StringPiece str);
70 android::StringPiece TrimWhitespace(android::StringPiece str);
73 bool IsJavaClassName(android::StringPiece str);
76 bool IsJavaPackageName(android::StringPiece str);
83 bool IsAndroidPackageName(android::StringPiece str);
88 bool IsAndroidSplitName(android::StringPiece str);
96 bool IsAndroidSharedUserId(android::StringPiece package_name, android::StringPiece shared_user_id);
105 std::optional<std::string> GetFullyQualifiedClassName(android::StringPiece package,
106 android::StringPiece class_name);
154 bool VerifyJavaStringFormat(android::StringPiece str);
156 bool AppendStyledString(android::StringPiece input, bool preserve_spaces, std::string* out_str,
163 StringBuilder& Append(android::StringPiece str);
213 using reference = android::StringPiece&;
214 using value_type = android::StringPiece;
216 using pointer = android::StringPiece*;
224 android::StringPiece operator*() { return token_; }
231 iterator(android::StringPiece s, char sep, android::StringPiece tok, bool end);
233 android::StringPiece str_;
235 android::StringPiece token_;
239 Tokenizer(android::StringPiece str, char sep);
254 inline Tokenizer Tokenize(android::StringPiece str, char sep) { in Tokenize()
265 bool ExtractResFilePathParts(android::StringPiece path, android::StringPiece* out_prefix,
266 android::StringPiece* out_entry, android::StringPiece* out_suffix);