/macosx-10.10/WebKit-7600.1.25/win/ |
H A D | ForEachCoClass.cpp | 39 LPCOLESTR progIDForClass(WebKitClass cls) argument 41 ASSERT(cls < WebKitClassSentinel); 42 return s_progIDs[cls];
|
/macosx-10.10/WebCore-7600.1.25/platform/mac/ |
H A D | WebCoreObjCExtras.h | 36 void WebCoreObjCFinalizeOnMainThread(Class cls); 40 bool WebCoreObjCScheduleDeallocateOnMainThread(Class cls, id object);
|
H A D | WebCoreObjCExtras.mm | 45 void WebCoreObjCFinalizeOnMainThread(Class cls) 50 objc_finalizeOnMainThread(cls); 52 UNUSED_PARAM(cls); 56 static void deallocCallback(Class cls, id object) 58 Method method = class_getInstanceMethod(cls, @selector(dealloc)); 64 bool WebCoreObjCScheduleDeallocateOnMainThread(Class cls, id object) 66 ASSERT([object isKindOfClass:cls]); 71 callOnMainThread(bind(deallocCallback, cls, object));
|
/macosx-10.10/BerkeleyDB-21/db/java/src/com/sleepycat/bind/tuple/ |
H A D | TupleMarshalledBinding.java | 25 private Class cls; field in class:TupleMarshalledBinding 35 * @param cls is the class of the key or data objects. 37 public TupleMarshalledBinding(Class cls) { argument 39 this.cls = cls; 42 if (!MarshalledTupleEntry.class.isAssignableFrom(cls)) { 43 throw new IllegalArgumentException(cls.toString() + 53 (MarshalledTupleEntry) cls.newInstance();
|
H A D | TupleTupleMarshalledBinding.java | 28 private Class cls; field in class:TupleTupleMarshalledBinding 39 * @param cls is the class of the entity objects. 41 public TupleTupleMarshalledBinding(Class cls) { argument 43 this.cls = cls; 47 if (!MarshalledTupleKeyEntity.class.isAssignableFrom(cls)) { 48 throw new IllegalArgumentException(cls.toString() + 51 if (!MarshalledTupleEntry.class.isAssignableFrom(cls)) { 52 throw new IllegalArgumentException(cls.toString() + 64 obj = (MarshalledTupleEntry) cls [all...] |
/macosx-10.10/objc4-646/runtime/ |
H A D | objc-cache.h | 9 extern IMP cache_getImp(Class cls, SEL sel); 11 extern void cache_fill(Class cls, SEL sel, IMP imp); 13 extern void cache_eraseMethods(Class cls, method_list_t *mlist); 15 extern void cache_eraseImp(Class cls, SEL sel, IMP imp); 17 extern void cache_eraseImp_nolock(Class cls, SEL sel, IMP imp);
|
H A D | objc-cache-old.h | 31 extern IMP _cache_getImp(Class cls, SEL sel); 32 extern Method _cache_getMethod(Class cls, SEL sel, IMP objc_msgForward_internal_imp); 34 extern void flush_cache(Class cls); 35 extern BOOL _cache_fill(Class cls, Method meth, SEL sel); 36 extern void _cache_addForwardEntry(Class cls, SEL sel); 37 extern IMP _cache_addIgnoredEntry(Class cls, SEL sel);
|
H A D | objc-loadmethod.h | 36 extern void add_class_to_loadable_list(Class cls); 38 extern void remove_class_from_loadable_list(Class cls);
|
H A D | objc-initialize.mm | 181 static BOOL _thisThreadIsInitializingClass(Class cls) 187 cls = cls->getMeta(); 189 if (cls == list->metaclasses[i]) return YES; 204 static void _setThisThreadIsInitializingClass(Class cls) 208 cls = cls->getMeta(); 212 if (cls == list->metaclasses[i]) { 220 list->metaclasses[i] = cls; 231 list->metaclasses[i++] = cls; [all...] |
H A D | objc-class-old.mm | 36 static Method _class_getMethod(Class cls, SEL sel); 37 static Method _class_getMethodNoSuper(Class cls, SEL sel); 38 static Method _class_getMethodNoSuper_nolock(Class cls, SEL sel); 39 static void flush_caches(Class cls, bool flush_meta); 85 static void allocateExt(Class cls) 87 if (! (cls->info & CLS_EXT)) { 88 _objc_inform("class '%s' needs to be recompiled", cls->name); 91 if (!cls->ext) { 93 cls->ext = (old_class_ext *)_calloc_internal(size, 1); 94 cls [all...] |
H A D | objc-initialize.h | 33 extern void _class_initialize(Class cls);
|
H A D | objc-loadmethod.mm | 35 Class cls; // may be nil 59 * Class cls has just become connected. Schedule it for +load if 62 void add_class_to_loadable_list(Class cls) 68 method = cls->getLoadMethod(); 69 if (!method) return; // Don't bother if cls has no +load method 73 cls->nameForLogging()); 84 loadable_classes[loadable_classes_used].cls = cls; 128 * Class cls may have been loadable before, but it is now no longer 131 void remove_class_from_loadable_list(Class cls) [all...] |
H A D | objc-runtime-new.mm | 42 static void detach_class(Class cls, BOOL isMeta); 43 static void free_class(Class cls); 44 static Class setSuperclass(Class cls, Class newSuper); 45 static Class realizeClass(Class cls); 46 static method_t *getMethodNoSuper_nolock(Class cls, SEL sel); 47 static method_t *getMethod_nolock(Class cls, SEL sel); 49 static IMP addMethod(Class cls, SEL name, IMP imp, const char *types, BOOL replace); 55 static void updateCustomRR_AWZ(Class cls, method_t *meth); 367 Class cls = (Class)obj; 368 if (!cls [all...] |
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/PyObjCTest/ |
H A D | test_imp.py | 17 cls = NSObject 18 m = cls.pyobjc_classMethods.methodForSelector_("alloc") 21 self.assertEquals(m.__metadata__()['retval']['already_retained'], cls.alloc.__metadata__()['retval']['already_retained']) 24 o = m(cls).init() 25 self.assert_(isinstance(o, cls)) 28 cls = NSObject 29 m = cls.instanceMethodForSelector_("init") 32 self.assertEquals(m.__metadata__()['retval']['already_retained'], cls.init.__metadata__()['retval']['already_retained']) 35 o = m(cls.alloc()) 36 self.assert_(isinstance(o, cls)) [all...] |
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/PyObjCTest/ |
H A D | test_imp.py | 17 cls = NSObject 18 m = cls.pyobjc_classMethods.methodForSelector_("alloc") 21 self.assertEquals(m.__metadata__()['retval']['already_retained'], cls.alloc.__metadata__()['retval']['already_retained']) 24 o = m(cls).init() 25 self.assertIsInstance(o, cls) 28 cls = NSObject 29 m = cls.instanceMethodForSelector_("init") 32 self.assertEquals(m.__metadata__()['retval']['already_retained'], cls.init.__metadata__()['retval']['already_retained']) 35 o = m(cls.alloc()) 36 self.assertIsInstance(o, cls) [all...] |
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/PyObjCTest/ |
H A D | test_imp.py | 17 cls = NSObject 18 m = cls.pyobjc_classMethods.methodForSelector_("alloc") 21 self.assertEqual(m.__metadata__()['retval']['already_retained'], cls.alloc.__metadata__()['retval']['already_retained']) 24 o = m(cls).init() 25 self.assertIsInstance(o, cls) 28 cls = NSObject 29 m = cls.instanceMethodForSelector_("init") 32 self.assertEqual(m.__metadata__()['retval']['already_retained'], cls.init.__metadata__()['retval']['already_retained']) 35 o = m(cls.alloc()) 36 self.assertIsInstance(o, cls) [all...] |
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/Lib/objc/ |
H A D | _category.py | 7 def classAddMethod(cls, name, method): 19 return classAddMethods(cls, [sel]) 32 def _newSubclass(cls, name, bases, methods): 33 return type.__new__(cls, name, bases, methods) 36 def __new__(cls, name, bases, methods): 46 m = [ x[1] for x in methods.iteritems() if x[0] not in cls._IGNORENAMES and isinstance(x[1], (FunctionType, MethodType, selector, classmethod))] 47 vars = [ x for x in methods.iteritems() if x[0] not in cls._IGNORENAMES and not isinstance(x[1], (FunctionType, MethodType, selector, classmethod))] 57 def Category(cls): 59 Create a category on ``cls``. 70 if not isinstance(cls, objc_clas [all...] |
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/ |
H A D | AppCategories.py | 27 def __enter__(cls): 28 cls.beginGrouping() 31 def __exit__(cls, exc_type, exc_value, exc_tb): 32 cls.endGrouping()
|
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/ |
H A D | AppCategories.py | 27 def __enter__(cls): 28 cls.beginGrouping() 31 def __exit__(cls, exc_type, exc_value, exc_tb): 32 cls.endGrouping()
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Lib/PyObjCTools/ |
H A D | AppCategories.py | 27 def __enter__(cls): 28 cls.beginGrouping() 31 def __exit__(cls, exc_type, exc_value, exc_tb): 32 cls.endGrouping()
|
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/Modules/objc/ |
H A D | objc-class.h | 105 PyObject* PyObjCClass_FindSelector(PyObject* cls, SEL selector, BOOL class_method); 107 int ObjC_RegisterClassProxy(Class cls, PyObject* classProxy); 108 void PyObjCClass_CheckMethodList(PyObject* cls, int recursive); 109 Py_ssize_t PyObjCClass_DictOffset(PyObject* cls); 110 PyObject* PyObjCClass_GetDelMethod(PyObject* cls); 111 void PyObjCClass_SetDelMethod(PyObject* cls, PyObject* newval); 112 int PyObjCClass_HasPythonImplementation(PyObject* cls); 116 int PyObjCClass_AddMethods(PyObject* cls, PyObject** methods, Py_ssize_t count); 118 PyObject* PyObjCClass_ListProperties(PyObject* cls);
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Modules/objc/ |
H A D | objc-class.h | 105 PyObject* PyObjCClass_FindSelector(PyObject* cls, SEL selector, BOOL class_method); 107 int ObjC_RegisterClassProxy(Class cls, PyObject* classProxy); 108 void PyObjCClass_CheckMethodList(PyObject* cls, int recursive); 109 Py_ssize_t PyObjCClass_DictOffset(PyObject* cls); 110 PyObject* PyObjCClass_GetDelMethod(PyObject* cls); 111 void PyObjCClass_SetDelMethod(PyObject* cls, PyObject* newval); 112 int PyObjCClass_HasPythonImplementation(PyObject* cls); 116 int PyObjCClass_AddMethods(PyObject* cls, PyObject** methods, Py_ssize_t count); 118 PyObject* PyObjCClass_ListProperties(PyObject* cls);
|
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/iClass/ |
H A D | datasource.py | 57 def classPath(cls): 58 if cls == objc_object: 60 elif cls.__bases__[0] == objc_object: 61 return cls.__name__ 63 return '%s : %s'%(classPath(cls.__bases__[0]), cls.__name__) 66 def classBundle(cls): 67 framework = NSBundle.bundleForClass_(cls).bundlePath() 90 def setClassInfo(self, cls): 91 self.window.setTitle_('iClass: %s'%cls [all...] |
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/iClass/ |
H A D | datasource.py | 57 def classPath(cls): 58 if cls == objc_object: 60 elif cls.__bases__[0] == objc_object: 61 return cls.__name__ 63 return '%s : %s'%(classPath(cls.__bases__[0]), cls.__name__) 66 def classBundle(cls): 67 framework = NSBundle.bundleForClass_(cls).bundlePath() 90 def setClassInfo(self, cls): 91 self.window.setTitle_('iClass: %s'%cls [all...] |
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/iClass/ |
H A D | datasource.py | 57 def classPath(cls): 58 if cls == objc_object: 60 elif cls.__bases__[0] == objc_object: 61 return cls.__name__ 63 return '%s : %s'%(classPath(cls.__bases__[0]), cls.__name__) 66 def classBundle(cls): 67 framework = NSBundle.bundleForClass_(cls).bundlePath() 90 def setClassInfo(self, cls): 91 self.window.setTitle_('iClass: %s'%cls [all...] |