/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 228 void Visit(Plural* plural) override { in Visit() argument 230 for (size_t i = 0; i < plural->values.size(); i++) { in Visit() 232 if (plural->values[i]) { in Visit() 233 plural->values[i]->Accept(&sub_visitor); in Visit() 237 localized->values[i] = std::unique_ptr<Item>(plural->values[i]->Clone(pool_)); in Visit() 241 localized->SetSource(plural->GetSource()); in Visit()
|
D | PseudolocaleGenerator_test.cpp | 241 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); in TEST() local 242 plural->values = {util::make_unique<String>(table->string_pool.MakeRef("zero")), in TEST() 245 {}, std::move(plural), context->GetDiagnostics())); in TEST()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 639 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); in ParsePlural() local 648 plural->values[Plural::Zero] = std::move(item); in ParsePlural() 651 plural->values[Plural::One] = std::move(item); in ParsePlural() 654 plural->values[Plural::Two] = std::move(item); in ParsePlural() 657 plural->values[Plural::Few] = std::move(item); in ParsePlural() 660 plural->values[Plural::Many] = std::move(item); in ParsePlural() 663 plural->values[Plural::Other] = std::move(item); in ParsePlural() 667 return plural; in ParsePlural()
|
D | TableFlattener.cpp | 145 void Visit(Plural* plural) override { in Visit() argument 146 const size_t count = plural->values.size(); in Visit() 148 if (!plural->values[i]) { in Visit() 184 FlattenEntry(&key, plural->values[i].get()); in Visit()
|
/frameworks/base/tools/aapt2/ |
D | Debug.cpp | 95 void Visit(const Plural* plural) override { in Visit() argument 96 size_t count = std::count_if(plural->values.begin(), plural->values.end(), in Visit() 196 void Visit(const Plural* plural) override { in Visit() argument 201 if (plural->values[i] != nullptr) { in Visit() 203 PrintItem(*plural->values[i]); in Visit()
|
D | ValueVisitor.h | 133 void VisitSubValues(Plural* plural) { in VisitSubValues() 134 for (std::unique_ptr<Item>& item : plural->values) { in VisitSubValues()
|
D | Resources.proto | 269 Plural plural = 5; field 494 // The arity of the plural. 504 // The plural value for a given arity. 506 // Where the plural was defined. 509 // Any comments associated with the plural. 512 // The arity of the plural. 515 // The value assigned to this plural. 519 // The set of arity/plural mappings.
|
D | ResourceParser_test.cpp | 720 Plural* plural = test::GetValue<Plural>(&table_, "plurals/foo"); in TEST_F() local 721 ASSERT_THAT(plural, NotNull()); in TEST_F() 722 EXPECT_THAT(plural->values[Plural::Zero], IsNull()); in TEST_F() 723 EXPECT_THAT(plural->values[Plural::Two], IsNull()); in TEST_F() 724 EXPECT_THAT(plural->values[Plural::Few], IsNull()); in TEST_F() 725 EXPECT_THAT(plural->values[Plural::Many], IsNull()); in TEST_F() 727 EXPECT_THAT(plural->values[Plural::One], NotNull()); in TEST_F() 728 EXPECT_THAT(plural->values[Plural::Other], NotNull()); in TEST_F()
|
D | ResourceParser.cpp | 1566 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); in ParsePlural() local 1613 if (plural->values[index]) { in ParsePlural() 1620 if (!(plural->values[index] = ParseXml( in ParsePlural() 1626 plural->values[index]->SetSource(item_source); in ParsePlural() 1640 out_resource->value = std::move(plural); in ParsePlural()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 594 void Visit(const Plural* plural) override { in Visit() argument 596 const size_t count = plural->values.size(); in Visit() 598 if (!plural->values[i]) { in Visit() 605 SerializeItemMetaDataToPb(*plural->values[i], pb_entry, src_pool_); in Visit() 606 SerializeItemToPb(*plural->values[i], pb_entry->mutable_item()); in Visit()
|
D | ProtoDeserialize.cpp | 780 const pb::Plural& pb_plural = pb_compound_value.plural(); in DeserializeValueFromPb() 781 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); in DeserializeValueFromPb() local 784 plural->values[plural_idx] = DeserializeItemFromPb(pb_entry.item(), src_pool, config, in DeserializeValueFromPb() 786 if (!plural->values[plural_idx]) { in DeserializeValueFromPb() 790 DeserializeItemMetaDataFromPb(pb_entry, src_pool, plural->values[plural_idx].get()); in DeserializeValueFromPb() 792 value = std::move(plural); in DeserializeValueFromPb()
|
D | ProtoSerialize_test.cpp | 63 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); in TEST() local 64 plural->values[Plural::One] = util::make_unique<String>(table->string_pool.MakeRef("one")); in TEST() 66 {}, std::move(plural), context->GetDiagnostics())); in TEST()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 30811 field public static final java.lang.String MULTIPLICITY_PLURAL = "android.plural";
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 48431 field public static final String MULTIPLICITY_PLURAL = "android.plural";
|
/frameworks/base/api/ |
D | current.txt | 48575 field public static final String MULTIPLICITY_PLURAL = "android.plural";
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 26169 Landroid/icu/impl/number/MutablePatternModifier;->plural:Landroid/icu/impl/StandardPlural;
|