Searched refs:AidlIntConstant (Results 1 – 5 of 5) sorted by relevance
143 class AidlIntConstant; variable151 virtual AidlIntConstant* AsIntConstant() { return nullptr; } in AsIntConstant()158 class AidlIntConstant : public AidlMember {160 AidlIntConstant(std::string name, int32_t value);161 AidlIntConstant(std::string name, std::string value, unsigned line_number);162 virtual ~AidlIntConstant() = default;168 AidlIntConstant* AsIntConstant() override { return this; } in AsIntConstant()175 DISALLOW_COPY_AND_ASSIGN(AidlIntConstant);331 const std::vector<std::unique_ptr<AidlIntConstant>>& GetIntConstants() const in GetIntConstants()354 std::vector<std::unique_ptr<AidlIntConstant>> int_constants_;
91 AidlIntConstant::AidlIntConstant(std::string name, int32_t value) in AidlIntConstant() function in AidlIntConstant96 AidlIntConstant::AidlIntConstant(std::string name, in AidlIntConstant() function in AidlIntConstant198 AidlIntConstant* int_constant = local->AsIntConstant(); in AidlInterface()
192 $$ = new AidlIntConstant($3->GetText(), $5);196 $$ = new AidlIntConstant($3->GetText(), $5->GetText(), @5.begin.line);
248 static void generate_int_constant(const AidlIntConstant& constant, in generate_int_constant()
426 for (const std::unique_ptr<AidlIntConstant>& int_constant : in validate_constants()