Lines Matching refs:item
260 for (const auto& item : items) { in check_and_assign_method_ids() local
267 if (!item->IsUserDefined()) { in check_and_assign_method_ids()
270 if (item->HasId()) { in check_and_assign_method_ids()
273 item->SetId(newId++); in check_and_assign_method_ids()
278 AIDL_ERROR(item) << "You must either assign id's to all methods or to none of them."; in check_and_assign_method_ids()
283 if (usedIds.find(item->GetId()) != usedIds.end()) { in check_and_assign_method_ids()
285 AIDL_ERROR(item) << "Found duplicate method id (" << item->GetId() << ") for method " in check_and_assign_method_ids()
286 << item->GetName(); in check_and_assign_method_ids()
289 usedIds.insert(item->GetId()); in check_and_assign_method_ids()
292 if (item->GetId() < kMinUserSetMethodId || item->GetId() > kMaxUserSetMethodId) { in check_and_assign_method_ids()
293 AIDL_ERROR(item) << "Found out of bounds id (" << item->GetId() << ") for method " in check_and_assign_method_ids()
294 << item->GetName() << ". Value for id must be between " in check_and_assign_method_ids()