Lines Matching refs:MK
42 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const { in getNSStringSelector()
43 if (NSStringSelectors[MK].isNull()) { in getNSStringSelector()
45 switch (MK) { in getNSStringSelector()
72 return (NSStringSelectors[MK] = Sel); in getNSStringSelector()
75 return NSStringSelectors[MK]; in getNSStringSelector()
78 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const { in getNSArraySelector()
79 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector()
81 switch (MK) { in getNSArraySelector()
139 return (NSArraySelectors[MK] = Sel); in getNSArraySelector()
142 return NSArraySelectors[MK]; in getNSArraySelector()
147 NSArrayMethodKind MK = NSArrayMethodKind(i); in getNSArrayMethodKind() local
148 if (Sel == getNSArraySelector(MK)) in getNSArrayMethodKind()
149 return MK; in getNSArrayMethodKind()
156 NSDictionaryMethodKind MK) const { in getNSDictionarySelector()
157 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector()
159 switch (MK) { in getNSDictionarySelector()
240 return (NSDictionarySelectors[MK] = Sel); in getNSDictionarySelector()
243 return NSDictionarySelectors[MK]; in getNSDictionarySelector()
249 NSDictionaryMethodKind MK = NSDictionaryMethodKind(i); in getNSDictionaryMethodKind() local
250 if (Sel == getNSDictionarySelector(MK)) in getNSDictionaryMethodKind()
251 return MK; in getNSDictionaryMethodKind()
257 Selector NSAPI::getNSSetSelector(NSSetMethodKind MK) const { in getNSSetSelector()
258 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector()
260 switch (MK) { in getNSSetSelector()
297 return (NSSetSelectors[MK] = Sel); in getNSSetSelector()
300 return NSSetSelectors[MK]; in getNSSetSelector()
306 NSSetMethodKind MK = NSSetMethodKind(i); in getNSSetMethodKind() local
307 if (Sel == getNSSetSelector(MK)) in getNSSetMethodKind()
308 return MK; in getNSSetMethodKind()
314 Selector NSAPI::getNSNumberLiteralSelector(NSNumberLiteralMethodKind MK, in getNSNumberLiteralSelector() argument
361 if (Sels[MK].isNull()) in getNSNumberLiteralSelector()
362 Sels[MK] = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get(Names[MK])); in getNSNumberLiteralSelector()
363 return Sels[MK]; in getNSNumberLiteralSelector()
369 NSNumberLiteralMethodKind MK = NSNumberLiteralMethodKind(i); in getNSNumberLiteralMethodKind() local
370 if (isNSNumberLiteralSelector(MK, Sel)) in getNSNumberLiteralMethodKind()
371 return MK; in getNSNumberLiteralMethodKind()