Lines Matching refs:constant
910 if (auto constant = m->AsConstantDeclaration(); constant) { in AidlDefinedType() local
911 constants_.emplace_back(constant); in AidlDefinedType()
972 for (const auto& constant : GetConstantDeclarations()) { in CheckValidWithMembers() local
973 if (constant_names.count(constant->GetName()) > 0) { in CheckValidWithMembers()
974 AIDL_ERROR(constant) << "Found duplicate constant name '" << constant->GetName() << "'"; in CheckValidWithMembers()
977 constant_names.insert(constant->GetName()); in CheckValidWithMembers()
978 success = success && constant->CheckValid(typenames); in CheckValidWithMembers()
1461 for (const auto& constant : GetConstantDeclarations()) { in CheckValid() local
1462 if (constant_names.count(constant->GetName()) > 0) { in CheckValid()
1463 AIDL_ERROR(constant) << "Found duplicate constant name '" << constant->GetName() << "'"; in CheckValid()
1466 constant_names.insert(constant->GetName()); in CheckValid()
1467 success = success && constant->CheckValid(typenames); in CheckValid()