Home
last modified time | relevance | path

Searched refs:Plural (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues.cpp388 Plural* Plural::clone(StringPool* newPool) const { in clone()
389 Plural* p = new Plural(); in clone()
399 void Plural::print(std::ostream& out) const { in print()
DBinaryResourceParser.cpp80 void visit(Plural& plural, ValueVisitorArgs&) override { in visit()
866 std::unique_ptr<Plural> BinaryResourceParser::parsePlural(const ResourceNameRef& name, in parsePlural()
869 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); in parsePlural()
875 plural->values[Plural::Zero] = std::move(item); in parsePlural()
878 plural->values[Plural::One] = std::move(item); in parsePlural()
881 plural->values[Plural::Two] = std::move(item); in parsePlural()
884 plural->values[Plural::Few] = std::move(item); in parsePlural()
887 plural->values[Plural::Many] = std::move(item); in parsePlural()
890 plural->values[Plural::Other] = std::move(item); in parsePlural()
DTableFlattener.cpp164 void visit(const Plural& plural, ValueVisitorArgs&) override { in visit()
173 case Plural::Zero: in visit()
177 case Plural::One: in visit()
181 case Plural::Two: in visit()
185 case Plural::Few: in visit()
189 case Plural::Many: in visit()
193 case Plural::Other: in visit()
DResourceValues.h256 struct Plural : public BaseValue<Plural> { struct
269 Plural* clone(StringPool* newPool) const override; argument
335 virtual void visit(Plural& array, ValueVisitorArgs& args) {} in visit()
376 virtual void visit(const Plural& array, ValueVisitorArgs& args) {} in visit()
DLinker.h109 void visit(Plural& plural, ValueVisitorArgs& args) override;
DResourceParser.cpp1263 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); in parsePlural()
1292 index = Plural::Zero; in parsePlural()
1294 index = Plural::One; in parsePlural()
1296 index = Plural::Two; in parsePlural()
1298 index = Plural::Few; in parsePlural()
1300 index = Plural::Many; in parsePlural()
1302 index = Plural::Other; in parsePlural()
DBinaryResourceParser.h89 std::unique_ptr<Plural> parsePlural(const ResourceNameRef& name,
DDebug.cpp78 void visit(const Plural& plural, ValueVisitorArgs&) override { in visit()
DLinker.cpp276 void Linker::visit(Plural& plural, ValueVisitorArgs& a) { in visit()