Lines Matching defs:MK
42 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const {
43 if (NSStringSelectors[MK].isNull()) {
45 switch (MK) {
72 return (NSStringSelectors[MK] = Sel);
75 return NSStringSelectors[MK];
81 NSStringMethodKind MK = NSStringMethodKind(i);
82 if (Sel == getNSStringSelector(MK))
83 return MK;
89 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const {
90 if (NSArraySelectors[MK].isNull()) {
92 switch (MK) {
150 return (NSArraySelectors[MK] = Sel);
153 return NSArraySelectors[MK];
158 NSArrayMethodKind MK = NSArrayMethodKind(i);
159 if (Sel == getNSArraySelector(MK))
160 return MK;
167 NSDictionaryMethodKind MK) const {
168 if (NSDictionarySelectors[MK].isNull()) {
170 switch (MK) {
251 return (NSDictionarySelectors[MK] = Sel);
254 return NSDictionarySelectors[MK];
260 NSDictionaryMethodKind MK = NSDictionaryMethodKind(i);
261 if (Sel == getNSDictionarySelector(MK))
262 return MK;
268 Selector NSAPI::getNSSetSelector(NSSetMethodKind MK) const {
269 if (NSSetSelectors[MK].isNull()) {
271 switch (MK) {
308 return (NSSetSelectors[MK] = Sel);
311 return NSSetSelectors[MK];
317 NSSetMethodKind MK = NSSetMethodKind(i);
318 if (Sel == getNSSetSelector(MK))
319 return MK;
325 Selector NSAPI::getNSNumberLiteralSelector(NSNumberLiteralMethodKind MK,
372 if (Sels[MK].isNull())
373 Sels[MK] = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get(Names[MK]));
374 return Sels[MK];
380 NSNumberLiteralMethodKind MK = NSNumberLiteralMethodKind(i);
381 if (isNSNumberLiteralSelector(MK, Sel))
382 return MK;