• Home
  • Raw
  • Download

Lines Matching refs:StringPiece16

29 bool extractResourceName(const StringPiece16& str, StringPiece16* outPackage,  in extractResourceName()
30 StringPiece16* outType, StringPiece16* outEntry) { in extractResourceName()
53 bool parseResourceName(const StringPiece16& str, ResourceNameRef* outRef, bool* outPrivate) { in parseResourceName()
65 StringPiece16 package; in parseResourceName()
66 StringPiece16 type; in parseResourceName()
67 StringPiece16 entry; in parseResourceName()
93 bool tryParseReference(const StringPiece16& str, ResourceNameRef* outRef, bool* outCreate, in tryParseReference()
95 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseReference()
139 bool isReference(const StringPiece16& str) { in isReference()
143 bool tryParseAttributeReference(const StringPiece16& str, ResourceNameRef* outRef) { in tryParseAttributeReference()
144 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseAttributeReference()
150 StringPiece16 package; in tryParseAttributeReference()
151 StringPiece16 type; in tryParseAttributeReference()
152 StringPiece16 entry; in tryParseAttributeReference()
176 bool isAttributeReference(const StringPiece16& str) { in isAttributeReference()
188 Maybe<Reference> parseStyleParentReference(const StringPiece16& str, std::string* outError) { in parseStyleParentReference()
193 StringPiece16 name = str; in parseStyleParentReference()
212 StringPiece16 typeStr; in parseStyleParentReference()
237 std::unique_ptr<Reference> tryParseReference(const StringPiece16& str, bool* outCreate) { in tryParseReference()
255 std::unique_ptr<BinaryPrimitive> tryParseNullOrEmpty(const StringPiece16& str) { in tryParseNullOrEmpty()
256 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseNullOrEmpty()
273 const StringPiece16& str) { in tryParseEnumSymbol()
274 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseEnumSymbol()
290 const StringPiece16& str) { in tryParseFlagSymbol()
300 for (StringPiece16 part : util::tokenize(str, u'|')) { in tryParseFlagSymbol()
301 StringPiece16 trimmedPart = util::trimWhitespace(part); in tryParseFlagSymbol()
335 std::unique_ptr<BinaryPrimitive> tryParseColor(const StringPiece16& str) { in tryParseColor()
336 StringPiece16 colorStr(util::trimWhitespace(str)); in tryParseColor()
389 bool tryParseBool(const StringPiece16& str, bool* outValue) { in tryParseBool()
390 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseBool()
405 std::unique_ptr<BinaryPrimitive> tryParseBool(const StringPiece16& str) { in tryParseBool()
421 std::unique_ptr<BinaryPrimitive> tryParseInt(const StringPiece16& str) { in tryParseInt()
429 std::unique_ptr<BinaryPrimitive> tryParseFloat(const StringPiece16& str) { in tryParseFloat()
477 const StringPiece16& value, uint32_t typeMask, in parseItemForAttribute()
536 const StringPiece16& str, const Attribute* attr, in parseItemForAttribute()