Lines Matching refs:str
42 bool ParseResourceName(const android::StringPiece& str, ResourceNameRef* out_resource,
53 bool ParseReference(const android::StringPiece& str, ResourceNameRef* out_reference,
60 bool IsReference(const android::StringPiece& str);
67 bool ParseAttributeReference(const android::StringPiece& str, ResourceNameRef* out_reference);
73 bool IsAttributeReference(const android::StringPiece& str);
91 Maybe<bool> ParseBool(const android::StringPiece& str);
96 Maybe<uint32_t> ParseInt(const android::StringPiece& str);
101 Maybe<ResourceId> ParseResourceId(const android::StringPiece& str);
106 Maybe<int> ParseSdkVersion(const android::StringPiece& str);
119 Maybe<Reference> ParseStyleParentReference(const android::StringPiece& str, std::string* out_error);
128 Maybe<Reference> ParseXmlAttributeName(const android::StringPiece& str);
137 std::unique_ptr<Reference> TryParseReference(const android::StringPiece& str,
144 std::unique_ptr<Item> TryParseNullOrEmpty(const android::StringPiece& str);
159 std::unique_ptr<BinaryPrimitive> TryParseColor(const android::StringPiece& str);
165 std::unique_ptr<BinaryPrimitive> TryParseBool(const android::StringPiece& str);
174 std::unique_ptr<BinaryPrimitive> TryParseInt(const android::StringPiece& str);
183 std::unique_ptr<BinaryPrimitive> TryParseFloat(const android::StringPiece& str);
190 const android::StringPiece& str);
197 const android::StringPiece& str);