Lines Matching refs:StringPiece
41 bool ParseResourceName(android::StringPiece str, ResourceNameRef* out_resource,
52 bool ParseReference(android::StringPiece str, ResourceNameRef* out_reference,
59 bool IsReference(android::StringPiece str);
66 bool ParseAttributeReference(android::StringPiece str, ResourceNameRef* out_reference);
72 bool IsAttributeReference(android::StringPiece str);
88 std::optional<bool> ParseBool(android::StringPiece str);
93 std::optional<uint32_t> ParseInt(android::StringPiece str);
98 std::optional<ResourceId> ParseResourceId(android::StringPiece str);
103 std::optional<int> ParseSdkVersion(android::StringPiece str);
116 std::optional<Reference> ParseStyleParentReference(android::StringPiece str,
126 std::optional<Reference> ParseXmlAttributeName(android::StringPiece str);
135 std::unique_ptr<Reference> TryParseReference(android::StringPiece str, bool* out_create = nullptr);
141 std::unique_ptr<Item> TryParseNullOrEmpty(android::StringPiece str);
156 std::unique_ptr<BinaryPrimitive> TryParseColor(android::StringPiece str);
162 std::unique_ptr<BinaryPrimitive> TryParseBool(android::StringPiece str);
171 std::unique_ptr<BinaryPrimitive> TryParseInt(android::StringPiece str);
180 std::unique_ptr<BinaryPrimitive> TryParseFloat(android::StringPiece str);
187 android::StringPiece str);
194 android::StringPiece str);
203 android::IDiagnostics* diag, android::StringPiece value, const Attribute* attr,
207 android::IDiagnostics* diag, android::StringPiece value, uint32_t type_mask,