Home
last modified time | relevance | path

Searched refs:out_ref (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceUtils.cpp116 bool ParseResourceName(const StringPiece& str, ResourceNameRef* out_ref, in ParseResourceName() argument
146 if (out_ref) { in ParseResourceName()
147 out_ref->package = package; in ParseResourceName()
148 out_ref->type = *parsed_type; in ParseResourceName()
149 out_ref->entry = entry; in ParseResourceName()
158 bool ParseReference(const StringPiece& str, ResourceNameRef* out_ref, in ParseReference() argument
189 if (out_ref) { in ParseReference()
190 *out_ref = name; in ParseReference()
209 bool ParseAttributeReference(const StringPiece& str, ResourceNameRef* out_ref) { in ParseAttributeReference() argument
232 if (out_ref) { in ParseAttributeReference()
[all …]
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp633 static bool DeserializeReferenceFromPb(const pb::Reference& pb_ref, Reference* out_ref, in DeserializeReferenceFromPb() argument
635 out_ref->reference_type = DeserializeReferenceTypeFromPb(pb_ref.type()); in DeserializeReferenceFromPb()
636 out_ref->private_reference = pb_ref.private_(); in DeserializeReferenceFromPb()
639 out_ref->id = ResourceId(pb_ref.id()); in DeserializeReferenceFromPb()
650 out_ref->name = name_ref.ToResourceName(); in DeserializeReferenceFromPb()