Lines Matching defs:categories
207 // category has a +load method. It skips optimizing the categories if there
236 // (since the Class struct is parsed before any of its categories).
343 // To write new (merged) categories or classes, we will try make limited
346 // alignment as already used in existing (input) categories. To do this we
348 // generated categories will be written to.
364 // Information about a pointer list in the original categories or class(method
391 // class and all the categories that extend a particular class.
427 mergeCategoriesIntoSingleCategory(std::vector<InfoInputCategory> &categories);
478 std::vector<InfoInputCategory> &categories);
1115 // This method merges all the categories (sharing a base class) into a single
1118 std::vector<InfoInputCategory> &categories) {
1119 assert(categories.size() > 1 && "Expected at least 2 categories");
1123 for (auto &catInfo : categories)
1133 for (auto &catInfo : categories)
1150 // Get the list of categories in the '__objc_nlcatlist' section. We can't
1218 // contain links to multiple categories. Of these categories, we will merge (and
1219 // erase) only some. There will be some categories that will remain untouched
1220 // (not erased). For these not erased categories, we generate new __objc_catlist
1227 // are categories that we didn't process - generate a new __objc_catlist for
1283 // This fully erases the merged categories, including their body, their names,
1287 // Map of InputSection to a set of offsets of the categories that were merged
1300 // If there were categories that we did not erase, we need to generate a new
1301 // __objc_catList that contains only the un-merged categories, and get rid of
1305 // Erase the old method lists & names of the categories that were merged
1314 // categories because the name will sometimes also be used for other
1342 // Merge all categories into the base class
1345 // Merge all categories into a new, single category
1353 // Erase all categories that were merged
1411 const Defined *baseClass, std::vector<InfoInputCategory> &categories) {
1412 assert(categories.size() >= 1 && "Expected at least one category to merge");
1414 // Collect all the info from the categories
1419 for (auto &catInfo : categories)
1485 // Mark all the categories as merged - this will be used to erase them later
1486 for (auto &catInfo : categories)