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()
81 NSStringMethodKind MK = NSStringMethodKind(i); in getNSStringMethodKind() local
82 if (Sel == getNSStringSelector(MK)) in getNSStringMethodKind()
83 return MK; in getNSStringMethodKind()
89 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const { in getNSArraySelector()
90 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector()
92 switch (MK) { in getNSArraySelector()
150 return (NSArraySelectors[MK] = Sel); in getNSArraySelector()
153 return NSArraySelectors[MK]; in getNSArraySelector()
158 NSArrayMethodKind MK = NSArrayMethodKind(i); in getNSArrayMethodKind() local
159 if (Sel == getNSArraySelector(MK)) in getNSArrayMethodKind()
160 return MK; in getNSArrayMethodKind()
167 NSDictionaryMethodKind MK) const { in getNSDictionarySelector()
168 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector()
170 switch (MK) { in getNSDictionarySelector()
251 return (NSDictionarySelectors[MK] = Sel); in getNSDictionarySelector()
254 return NSDictionarySelectors[MK]; in getNSDictionarySelector()
260 NSDictionaryMethodKind MK = NSDictionaryMethodKind(i); in getNSDictionaryMethodKind() local
261 if (Sel == getNSDictionarySelector(MK)) in getNSDictionaryMethodKind()
262 return MK; in getNSDictionaryMethodKind()
268 Selector NSAPI::getNSSetSelector(NSSetMethodKind MK) const { in getNSSetSelector()
269 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector()
271 switch (MK) { in getNSSetSelector()
308 return (NSSetSelectors[MK] = Sel); in getNSSetSelector()
311 return NSSetSelectors[MK]; in getNSSetSelector()
317 NSSetMethodKind MK = NSSetMethodKind(i); in getNSSetMethodKind() local
318 if (Sel == getNSSetSelector(MK)) in getNSSetMethodKind()
319 return MK; in getNSSetMethodKind()
325 Selector NSAPI::getNSNumberLiteralSelector(NSNumberLiteralMethodKind MK, in getNSNumberLiteralSelector() argument
372 if (Sels[MK].isNull()) in getNSNumberLiteralSelector()
373 Sels[MK] = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get(Names[MK])); in getNSNumberLiteralSelector()
374 return Sels[MK]; in getNSNumberLiteralSelector()
380 NSNumberLiteralMethodKind MK = NSNumberLiteralMethodKind(i); in getNSNumberLiteralMethodKind() local
381 if (isNSNumberLiteralSelector(MK, Sel)) in getNSNumberLiteralMethodKind()
382 return MK; in getNSNumberLiteralMethodKind()