Lines Matching refs:Maybe
102 Maybe<OverlayableItem> overlayable_item;
239 Maybe<size_t> untranslatable_start_depth; in FlattenXmlSubtree()
455 if (Maybe<StringPiece> maybe_product = xml::FindNonEmptyAttribute(parser, "product")) { in ParseResources()
545 if (Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type")) { in ParseResource()
553 if (Maybe<StringPiece> maybe_format = xml::FindNonEmptyAttribute(parser, "format")) { in ParseResource()
569 if (Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type")) { in ParseResource()
580 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseResource()
790 if (Maybe<StringPiece> formatted_attr = in ParseString()
792 Maybe<bool> maybe_formatted = in ParseString()
803 if (Maybe<StringPiece> translatable_attr = xml::FindAttribute(parser, "translatable")) { in ParseString()
804 Maybe<bool> maybe_translatable = ResourceUtils::ParseBool(translatable_attr.value()); in ParseString()
855 Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type"); in ParsePublic()
872 if (Maybe<StringPiece> maybe_id_str = xml::FindNonEmptyAttribute(parser, "id")) { in ParsePublic()
873 Maybe<ResourceId> maybe_id = ResourceUtils::ParseResourceId(maybe_id_str.value()); in ParsePublic()
904 Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type"); in ParsePublicGroup()
919 Maybe<StringPiece> maybe_id_str = in ParsePublicGroup()
927 Maybe<ResourceId> maybe_id = in ParsePublicGroup()
954 Maybe<StringPiece> maybe_name = in ParsePublicGroup()
999 Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type"); in ParseSymbolImpl()
1046 Maybe<StringPiece> overlayable_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseOverlayable()
1055 Maybe<StringPiece> overlayable_actor = xml::FindNonEmptyAttribute(parser, "actor"); in ParseOverlayable()
1103 Maybe<StringPiece> item_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseOverlayable()
1111 Maybe<StringPiece> item_type = xml::FindNonEmptyAttribute(parser, "type"); in ParseOverlayable()
1145 } else if (Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type")) { in ParseOverlayable()
1218 Maybe<StringPiece> maybe_format = xml::FindAttribute(parser, "format"); in ParseAttrImpl()
1228 Maybe<int32_t> maybe_min, maybe_max; in ParseAttrImpl()
1230 if (Maybe<StringPiece> maybe_min_str = xml::FindAttribute(parser, "min")) { in ParseAttrImpl()
1247 if (Maybe<StringPiece> maybe_max_str = xml::FindAttribute(parser, "max")) { in ParseAttrImpl()
1314 if (Maybe<Attribute::Symbol> s = in ParseAttrImpl()
1365 Maybe<Attribute::Symbol> ResourceParser::ParseEnumOrFlagItem( in ParseEnumOrFlagItem()
1369 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseEnumOrFlagItem()
1376 Maybe<StringPiece> maybe_value = xml::FindNonEmptyAttribute(parser, "value"); in ParseEnumOrFlagItem()
1400 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseStyleItem()
1406 Maybe<Reference> maybe_key = ResourceUtils::ParseXmlAttributeName(maybe_name.value()); in ParseStyleItem()
1431 Maybe<StringPiece> maybe_parent = xml::FindAttribute(parser, "parent"); in ParseStyle()
1487 if (Maybe<StringPiece> format_attr = xml::FindNonEmptyAttribute(parser, "format")) { in ParseArray()
1514 if (Maybe<StringPiece> translatable_attr = xml::FindAttribute(parser, "translatable")) { in ParseArrayImpl()
1515 Maybe<bool> maybe_translatable = ResourceUtils::ParseBool(translatable_attr.value()); in ParseArrayImpl()
1580 Maybe<StringPiece> maybe_quantity = in ParsePlural()
1683 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseDeclareStyleable()
1693 Maybe<Reference> maybe_ref = ResourceUtils::ParseXmlAttributeName(maybe_name.value()); in ParseDeclareStyleable()