Lines Matching refs:m
1045 for (const auto& m : this->GetMethods()) { in LanguageSpecificCheckValid()
1046 if (!m->GetType().LanguageSpecificCheckValid(typenames, lang)) { in LanguageSpecificCheckValid()
1049 for (const auto& arg : m->GetArguments()) { in LanguageSpecificCheckValid()
1114 for (const auto& m : GetMethods()) { in CheckValid() local
1115 if (!m->GetType().CheckValid(typenames)) { in CheckValid()
1120 if (m->GetType().GetName() == "ParcelableHolder") { in CheckValid()
1121 AIDL_ERROR(m) << "ParcelableHolder cannot be a return type"; in CheckValid()
1124 if (m->IsOneway() && m->GetType().GetName() != "void") { in CheckValid()
1125 AIDL_ERROR(m) << "oneway method '" << m->GetName() << "' cannot return a value"; in CheckValid()
1130 for (const auto& arg : m->GetArguments()) { in CheckValid()
1133 AIDL_ERROR(m) << "method '" << m->GetName() << "' has duplicate argument name '" in CheckValid()
1148 if (m->IsOneway() && arg->IsOut()) { in CheckValid()
1149 AIDL_ERROR(m) << "oneway method '" << m->GetName() << "' cannot have out parameters"; in CheckValid()
1177 auto it = method_names.find(m->GetName()); in CheckValid()
1180 method_names[m->GetName()] = m.get(); in CheckValid()
1182 AIDL_ERROR(m) << "attempt to redefine method " << m->GetName() << ":"; in CheckValid()
1190 if (reserved_methods.find(m->Signature()) != reserved_methods.end()) { in CheckValid()
1191 AIDL_ERROR(m) << " method " << m->Signature() << " is reserved for internal use."; in CheckValid()