• Home
  • Raw
  • Download

Lines Matching refs:MK

43 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const {  in getNSStringSelector()
44 if (NSStringSelectors[MK].isNull()) { in getNSStringSelector()
46 switch (MK) { in getNSStringSelector()
73 return (NSStringSelectors[MK] = Sel); in getNSStringSelector()
76 return NSStringSelectors[MK]; in getNSStringSelector()
82 NSStringMethodKind MK = NSStringMethodKind(i); in getNSStringMethodKind() local
83 if (Sel == getNSStringSelector(MK)) in getNSStringMethodKind()
84 return MK; in getNSStringMethodKind()
90 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const { in getNSArraySelector()
91 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector()
93 switch (MK) { in getNSArraySelector()
151 return (NSArraySelectors[MK] = Sel); in getNSArraySelector()
154 return NSArraySelectors[MK]; in getNSArraySelector()
159 NSArrayMethodKind MK = NSArrayMethodKind(i); in getNSArrayMethodKind() local
160 if (Sel == getNSArraySelector(MK)) in getNSArrayMethodKind()
161 return MK; in getNSArrayMethodKind()
168 NSDictionaryMethodKind MK) const { in getNSDictionarySelector()
169 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector()
171 switch (MK) { in getNSDictionarySelector()
252 return (NSDictionarySelectors[MK] = Sel); in getNSDictionarySelector()
255 return NSDictionarySelectors[MK]; in getNSDictionarySelector()
261 NSDictionaryMethodKind MK = NSDictionaryMethodKind(i); in getNSDictionaryMethodKind() local
262 if (Sel == getNSDictionarySelector(MK)) in getNSDictionaryMethodKind()
263 return MK; in getNSDictionaryMethodKind()
269 Selector NSAPI::getNSSetSelector(NSSetMethodKind MK) const { in getNSSetSelector()
270 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector()
272 switch (MK) { in getNSSetSelector()
309 return (NSSetSelectors[MK] = Sel); in getNSSetSelector()
312 return NSSetSelectors[MK]; in getNSSetSelector()
318 NSSetMethodKind MK = NSSetMethodKind(i); in getNSSetMethodKind() local
319 if (Sel == getNSSetSelector(MK)) in getNSSetMethodKind()
320 return MK; in getNSSetMethodKind()
326 Selector NSAPI::getNSNumberLiteralSelector(NSNumberLiteralMethodKind MK, in getNSNumberLiteralSelector() argument
373 if (Sels[MK].isNull()) in getNSNumberLiteralSelector()
374 Sels[MK] = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get(Names[MK])); in getNSNumberLiteralSelector()
375 return Sels[MK]; in getNSNumberLiteralSelector()
381 NSNumberLiteralMethodKind MK = NSNumberLiteralMethodKind(i); in getNSNumberLiteralMethodKind() local
382 if (isNSNumberLiteralSelector(MK, Sel)) in getNSNumberLiteralMethodKind()
383 return MK; in getNSNumberLiteralMethodKind()