Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils.cpp112 bool ParseResourceName(StringPiece str, ResourceNameRef* out_ref, bool* out_private) { in ParseResourceName() argument
141 if (out_ref) { in ParseResourceName()
142 out_ref->package = package; in ParseResourceName()
143 out_ref->type = *parsed_type; in ParseResourceName()
144 out_ref->entry = entry; in ParseResourceName()
153 bool ParseReference(StringPiece str, ResourceNameRef* out_ref, bool* out_create, in ParseReference() argument
184 if (out_ref) { in ParseReference()
185 *out_ref = name; in ParseReference()
204 bool ParseAttributeReference(StringPiece str, ResourceNameRef* out_ref) { in ParseAttributeReference() argument
227 if (out_ref) { in ParseAttributeReference()
[all …]
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp655 static bool DeserializeReferenceFromPb(const pb::Reference& pb_ref, Reference* out_ref, in DeserializeReferenceFromPb() argument
657 out_ref->reference_type = DeserializeReferenceTypeFromPb(pb_ref.type()); in DeserializeReferenceFromPb()
658 out_ref->private_reference = pb_ref.private_(); in DeserializeReferenceFromPb()
659 out_ref->is_dynamic = pb_ref.is_dynamic().value(); in DeserializeReferenceFromPb()
662 out_ref->id = ResourceId(pb_ref.id()); in DeserializeReferenceFromPb()
673 out_ref->name = name_ref.ToResourceName(); in DeserializeReferenceFromPb()
676 out_ref->type_flags = pb_ref.type_flags(); in DeserializeReferenceFromPb()
678 out_ref->allow_raw = pb_ref.allow_raw(); in DeserializeReferenceFromPb()
682 static bool DeserializeMacroFromPb(const pb::MacroBody& pb_ref, Macro* out_ref, in DeserializeMacroFromPb() argument
684 out_ref->raw_value = pb_ref.raw_string(); in DeserializeMacroFromPb()
[all …]