Lines Matching refs:last
49 const auto last = packages.end(); in FindPackage() local
50 auto iter = std::lower_bound(packages.begin(), last, name, in FindPackage()
52 if (iter != last && name == (*iter)->name) { in FindPackage()
81 const auto last = packages.end(); in FindOrCreatePackage() local
82 auto iter = std::lower_bound(packages.begin(), last, name, in FindOrCreatePackage()
84 if (iter != last && name == (*iter)->name) { in FindOrCreatePackage()
94 const auto last = types.end(); in FindType() local
95 auto iter = std::lower_bound(types.begin(), last, type, less_than_type); in FindType()
96 if (iter != last && (*iter)->type == type) { in FindType()
103 const auto last = types.end(); in FindOrCreateType() local
104 auto iter = std::lower_bound(types.begin(), last, type, less_than_type); in FindOrCreateType()
105 if (iter != last && (*iter)->type == type) { in FindOrCreateType()
112 const auto last = entries.end(); in FindEntry() local
114 std::lower_bound(entries.begin(), last, name, less_than_struct_with_name<ResourceEntry>); in FindEntry()
115 if (iter != last && name == (*iter)->name) { in FindEntry()
122 auto last = entries.end(); in FindOrCreateEntry() local
124 std::lower_bound(entries.begin(), last, name, less_than_struct_with_name<ResourceEntry>); in FindOrCreateEntry()
125 if (iter != last && name == (*iter)->name) { in FindOrCreateEntry()