Lines Matching defs:imp
60 IMP (*__objc_msg_forward) (SEL) = NULL;
61 IMP (*__objc_msg_forward2) (id, SEL) = NULL;
72 static IMP __objc_get_prepared_imp (Class cls,SEL sel);
95 extern IMP __objc_get_forward_imp (id, SEL);
98 IMP
107 IMP result;
113 IMP result;
128 return (IMP)__objc_block_forward;
130 return (IMP)__objc_double_forward;
132 return (IMP)__objc_word_forward;
152 IMP
191 IMP
244 IMP
314 extern IMP get_imp (Class, SEL);
317 IMP
323 to get the imp using brute force. Only if that fails, we do what
326 not installed, and retrieve the imp from the table if it's
337 IMP
349 IMP
352 return (method != (struct objc_method *)0) ? method->method_imp : (IMP)0;
433 IMP
436 IMP result;
453 return (IMP)nil_method;
456 IMP
462 return (IMP)nil_method;
659 class_addMethod (Class class_, SEL selector, IMP implementation,
744 IMP
745 class_replaceMethod (Class class_, SEL selector, IMP implementation,
888 IMP imp;
898 imp = get_implementation (object, object->class_pointer, frwd_sel);
899 return (*imp) (object, frwd_sel, sel, args);
907 imp = get_implementation (object, object->class_pointer, err_sel);
908 return (*imp) (object, err_sel, sel);
1128 static IMP
1132 IMP imp;
1141 imp = sarray_get_safe (dtable, (size_t) sel->sel_id);
1143 /* imp may be Nil if the method does not exist and we may fallback
1145 return imp;