Lines Matching refs:last

64   const auto last = packages.end();  in FindPackage()  local
65 auto iter = std::lower_bound(packages.begin(), last, name, in FindPackage()
67 if (iter != last && name == (*iter)->name) { in FindPackage()
98 const auto last = packages.end(); in CreatePackageAllowingDuplicateNames() local
99 auto iter = std::lower_bound(packages.begin(), last, std::make_pair(name, id), in CreatePackageAllowingDuplicateNames()
102 if (iter != last && name == (*iter)->name && id == (*iter)->id) { in CreatePackageAllowingDuplicateNames()
113 const auto last = packages.end(); in FindOrCreatePackage() local
114 auto iter = std::lower_bound(packages.begin(), last, name, in FindOrCreatePackage()
116 if (iter != last && name == (*iter)->name) { in FindOrCreatePackage()
126 const auto last = types.end(); in FindType() local
127 auto iter = std::lower_bound(types.begin(), last, std::make_pair(type, id), in FindType()
129 if (iter != last && (*iter)->type == type && (!id || id == (*iter)->id)) { in FindType()
137 const auto last = types.end(); in FindOrCreateType() local
138 auto iter = std::lower_bound(types.begin(), last, std::make_pair(type, id), in FindOrCreateType()
140 if (iter != last && (*iter)->type == type && (!id || id == (*iter)->id)) { in FindOrCreateType()
150 const auto last = entries.end(); in FindEntry() local
151 auto iter = std::lower_bound(entries.begin(), last, std::make_pair(name, id), in FindEntry()
153 if (iter != last && name == (*iter)->name && (!id || id == (*iter)->id)) { in FindEntry()
161 auto last = entries.end(); in FindOrCreateEntry() local
162 auto iter = std::lower_bound(entries.begin(), last, std::make_pair(name, id), in FindOrCreateEntry()
164 if (iter != last && name == (*iter)->name && (!id || id == (*iter)->id)) { in FindOrCreateEntry()