Home | History | Annotate | Download | only in AST

Lines Matching defs:MK

38 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const {
39 if (NSStringSelectors[MK].isNull()) {
41 switch (MK) {
64 return (NSStringSelectors[MK] = Sel);
67 return NSStringSelectors[MK];
73 NSStringMethodKind MK = NSStringMethodKind(i);
74 if (Sel == getNSStringSelector(MK))
75 return MK;
81 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const {
82 if (NSArraySelectors[MK].isNull()) {
84 switch (MK) {
123 return (NSArraySelectors[MK] = Sel);
126 return NSArraySelectors[MK];
131 NSArrayMethodKind MK = NSArrayMethodKind(i);
132 if (Sel == getNSArraySelector(MK))
133 return MK;
140 NSDictionaryMethodKind MK) const {
141 if (NSDictionarySelectors[MK].isNull()) {
143 switch (MK) {
208 return (NSDictionarySelectors[MK] = Sel);
211 return NSDictionarySelectors[MK];
217 NSDictionaryMethodKind MK = NSDictionaryMethodKind(i);
218 if (Sel == getNSDictionarySelector(MK))
219 return MK;
225 Selector NSAPI::getNSNumberLiteralSelector(NSNumberLiteralMethodKind MK,
272 if (Sels[MK].isNull())
273 Sels[MK] = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get(Names[MK]));
274 return Sels[MK];
280 NSNumberLiteralMethodKind MK = NSNumberLiteralMethodKind(i);
281 if (isNSNumberLiteralSelector(MK, Sel))
282 return MK;