Lines Matching refs:StringPiece16
40 bool extractResourceName(const StringPiece16& str, StringPiece16* outPackage,
41 StringPiece16* outType, StringPiece16* outEntry);
48 bool parseResourceName(const StringPiece16& str, ResourceNameRef* outResource,
58 bool tryParseReference(const StringPiece16& str, ResourceNameRef* outReference,
64 bool isReference(const StringPiece16& str);
70 bool tryParseAttributeReference(const StringPiece16& str, ResourceNameRef* outReference);
75 bool isAttributeReference(const StringPiece16& str);
80 bool tryParseBool(const StringPiece16& str, bool* outValue);
91 Maybe<Reference> parseStyleParentReference(const StringPiece16& str, std::string* outError);
98 std::unique_ptr<Reference> tryParseReference(const StringPiece16& str, bool* outCreate = nullptr);
104 std::unique_ptr<BinaryPrimitive> tryParseNullOrEmpty(const StringPiece16& str);
110 std::unique_ptr<BinaryPrimitive> tryParseColor(const StringPiece16& str);
116 std::unique_ptr<BinaryPrimitive> tryParseBool(const StringPiece16& str);
122 std::unique_ptr<BinaryPrimitive> tryParseInt(const StringPiece16& str);
128 std::unique_ptr<BinaryPrimitive> tryParseFloat(const StringPiece16& str);
135 const StringPiece16& str);
142 const StringPiece16& str);
150 const StringPiece16& value, const Attribute* attr,
154 const StringPiece16& value, uint32_t typeMask,