/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/Lib/objc/ |
H A D | _category.py | 3 from _objc import selector, classAddMethods, objc_class, ivar 9 Add a single method to a class. 'name' is the ObjC selector 11 if isinstance(method, selector): 12 sel = selector(method.callable, 13 selector=name, 17 sel = selector(method, selector=name) 26 class _CategoryMeta(type): 33 return type.__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, classmetho [all...] |
H A D | _descriptors.py | 9 from _objc import ivar, selector, _makeClosure, selector, _C_SEL, _C_ID 30 return selector(func, signature="v@:@") 33 return selector(func, isClassMethod=False) 53 return selector(func, signature='Z@:N^@o^@') 61 return selector(func, signature='Z@:N^@o^@') 64 return selector(func, signature='v@:@i') 66 return selector(func, signature='v@:i@') 72 return selector(func, signature='@@:i') 74 return selector(fun [all...] |
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/PyObjCTest/ |
H A D | test_metadata_inheritance.py | 6 objc.registerMetaDataForSelector(b"NSObject", b"selector", 8 retval=dict(type=objc._C_VOID) 13 def selector(self): return member in class:MetadataInheritanceHelper 22 self.assertResultHasType(o.selector, objc._C_VOID) 26 self.assertResultHasType(o.selector, objc._C_SEL)
|
H A D | test_subclass.py | 28 self.assertEquals(RaiseClass.raise__.selector, b'raise') 29 self.assertEquals(getattr(RaiseClass, 'raise').selector, b'raise') 73 test_x_ = objc.selector(test_x_, signature=b'v@:@i') 98 self.assertTrue(repr(SelectorRepr.foo).startswith('<unbound selector foo of SelectorRepr at')) 111 copyWithZone_ = objc.selector( 177 self.assertIsInstance(ClassMethodTest.clsMeth, objc.selector) 190 self.assertIsInstance(StaticMethodTest.stMeth, type(func)) 357 self.assertEquals(MethodNamesClass.someName_andArg_.selector, 359 self.assertEquals(MethodNamesClass._someName_andArg_.selector, 361 self.assertEquals(MethodNamesClass.__foo_bar__.selector, [all...] |
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/PyObjCTest/ |
H A D | test_metadata_inheritance.py | 6 objc.registerMetaDataForSelector(b"NSObject", b"selector", 8 retval=dict(type=objc._C_VOID) 13 def selector(self): return member in class:MetadataInheritanceHelper 22 self.assertResultHasType(o.selector, objc._C_VOID) 26 self.assertResultHasType(o.selector, objc._C_SEL)
|
H A D | test_subclass.py | 28 self.assertEqual(RaiseClass.raise__.selector, b'raise') 29 self.assertEqual(getattr(RaiseClass, 'raise').selector, b'raise') 73 test_x_ = objc.selector(test_x_, signature=b'v@:@i') 98 self.assertTrue(repr(SelectorRepr.foo).startswith('<unbound selector foo of SelectorRepr at')) 111 copyWithZone_ = objc.selector( 177 self.assertIsInstance(ClassMethodTest.clsMeth, objc.selector) 190 self.assertIsInstance(StaticMethodTest.stMeth, type(func)) 357 self.assertEqual(MethodNamesClass.someName_andArg_.selector, 359 self.assertEqual(MethodNamesClass._someName_andArg_.selector, 361 self.assertEqual(MethodNamesClass.__foo_bar__.selector, [all...] |
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/Lib/objc/ |
H A D | _descriptors.py | 9 from objc._objc import ivar, selector, _makeClosure, selector, _C_SEL, _C_ID 30 return selector(func, signature=b"v@:@") 33 return selector(func, isClassMethod=False) 53 return selector(func, signature=b'Z@:N^@o^@') 61 return selector(func, signature=b'Z@:N^@o^@') 64 return selector(func, signature=b'v@:@i') 66 return selector(func, signature=b'v@:i@') 72 return selector(func, signature=b'@@:i') 74 return selector(fun [all...] |
H A D | _category.py | 3 from objc._objc import selector, classAddMethods, objc_class, ivar 9 Add a single method to a class. 'name' is the ObjC selector 11 if isinstance(method, selector): 12 sel = selector(method.callable, 13 selector=name, 17 sel = selector(method, selector=name) 26 class _CategoryMeta(type): 33 return type.__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, classmetho [all...] |
H A D | _setup.py | 1 from objc._objc import _setClassSetUpHook, selector, ivar 5 FunctionType = type(lambda:1) 22 elif isinstance(v, selector):
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Lib/objc/ |
H A D | _category.py | 3 from objc._objc import selector, classAddMethods, objc_class, ivar 9 Add a single method to a class. 'name' is the ObjC selector 11 if isinstance(method, selector): 12 sel = selector(method.callable, 13 selector=name, 17 sel = selector(method, selector=name) 26 class _CategoryMeta(type): 33 return type.__new__(cls, name, bases, methods) 46 m = [ x[1] for x in methods.items() if x[0] not in cls._IGNORENAMES and isinstance(x[1], (FunctionType, MethodType, selector, classmetho [all...] |
H A D | _descriptors.py | 9 from objc._objc import ivar, selector, _makeClosure, selector, _C_SEL, _C_ID, _C_NSUInteger, _C_NSBOOL 36 return selector(func, signature=b"v@:@") 41 return selector(func, isClassMethod=False) 65 return selector(func, signature=_C_NSBOOL + b'@:N^@o^@') 68 return selector(func, signature=b'v@:' + typeSignature + _C_NSUInteger) 70 return selector(func, signature=b'v@:' + _C_NSUInteger + typeSignature) 73 return selector(func, signature=b'v@:o^@' + _C_NSRange) 76 return selector(func, signature=b'v@:@@') 79 return selector(fun [all...] |
H A D | _setup.py | 1 from objc._objc import _setClassSetUpHook, selector, ivar 5 FunctionType = type(lambda:1) 22 elif isinstance(v, selector):
|
/macosx-10.10/WebCore-7600.1.25/css/ |
H A D | SelectorChecker.cpp | 75 static inline bool isFirstOfType(const Element* element, const QualifiedName& type) argument 78 if (sibling->hasTagName(type)) 84 static inline bool isLastOfType(const Element* element, const QualifiedName& type) argument 87 if (sibling->hasTagName(type)) 107 static inline int countElementsOfTypeBefore(const Element* element, const QualifiedName& type) argument 111 if (sibling->hasTagName(type)) 125 static inline int countElementsOfTypeAfter(const Element* element, const QualifiedName& type) argument 129 if (sibling->hasTagName(type)) 161 // * SelectorMatches - the selector matches the element e 162 // * SelectorFailsLocally - the selector fail 359 anyAttributeMatches(Element* element, const CSSSelector* selector, const QualifiedName& selectorAttr, bool caseSensitive) argument 431 const CSSSelector* const & selector = context.selector; local 803 const CSSSelector* const & selector = context.selector; local 899 determineLinkMatchType(const CSSSelector* selector) argument [all...] |
/macosx-10.10/WebKit2-7600.1.25/Shared/API/Cocoa/ |
H A D | _WKRemoteObjectInterface.mm | 75 const char* type = [methodSignature getArgumentTypeAtIndex:i + 2]; 77 if (*type != '@') { 78 // This is a non-object type; we won't allow any classes to be decoded for it. 107 SEL selector = methods[i].name; 109 const char* types = _protocol_getMethodTypeEncoding(interface->_protocol, selector, requiredMethods, true); 111 [NSException raise:NSInvalidArgumentException format:@"Could not find method type encoding for method \"%s\"", sel_getName(selector)]; 114 interface->_allowedArgumentClasses.set(selector, allowedArgumentClassesForMethod(methodSignature)); 155 static RetainPtr<NSSet>& classesForSelectorArgument(_WKRemoteObjectInterface *interface, SEL selector, NSUInteger argumentIndex) 157 auto it = interface->_allowedArgumentClasses.find(selector); [all...] |
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/Lib/PyObjCTools/ |
H A D | TestSupport.py | 142 self.fail(message or "%r is not a CFTypeRef type"%(tp,)) 145 self.fail(message or "%r is not a unique CFTypeRef type"%(tp,)) 174 if isinstance(method, objc.selector): 183 if isinstance(method, objc.selector): 197 if isinstance(method, objc.selector): 206 if isinstance(method, objc.selector): 218 if isinstance(method, objc.selector): 227 if isinstance(method, objc.selector): 257 type = info['retval']['type'] [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/audio/ios/ |
H A D | MediaSessionManagerIOS.mm | 222 [center addObserver:self selector:@selector(interruption:) name:AVAudioSessionInterruptionNotification object:[AVAudioSession sharedInstance]]; 224 [center addObserver:self selector:@selector(applicationWillEnterForeground:) name:UIApplicationWillEnterForegroundNotification object:nil]; 225 [center addObserver:self selector:@selector(applicationWillEnterForeground:) name:WebUIApplicationWillEnterForegroundNotification object:nil]; 226 [center addObserver:self selector:@selector(applicationDidBecomeActive:) name:UIApplicationDidBecomeActiveNotification object:nil]; 227 [center addObserver:self selector:@selector(applicationDidBecomeActiv [all...] |
/macosx-10.10/tcl-105/tk/tk/macosx/ |
H A D | tkMacOSXMenus.c | 44 action:@selector(preferences:) keyEquivalent:@","], 50 action:@selector(hide:) keyEquivalent:@"h"], 52 action:@selector(hideOtherApplications:) keyEquivalent:@"h" 56 action:@selector(unhideAllApplications:)], 60 action: @selector(terminate:) keyEquivalent:@"q"], 67 action:@selector(orderFrontStandardAboutPanel:)] atIndex:0]; 72 action:@selector(tkSource:)], 74 action:@selector(tkDemo:)], 75 [NSMenuItem itemWithTitle:@"Close" action:@selector(performClose:) 80 [NSMenuItem itemWithTitle:@"Undo" action:@selector(und [all...] |
/macosx-10.10/WebCore-7600.1.25/inspector/ |
H A D | CommandLineAPIModuleSource.js | 130 * @type {Array.<string>} 147 * @param {string} selector 150 $: function (selector, start) 153 return start.querySelector(selector); 155 var result = inspectedWindow.document.querySelector(selector); 158 if (selector && selector[0] !== "#") { 159 result = inspectedWindow.document.getElementById(selector); 161 inspectedWindow.console.warn("The console function $() has changed from $=getElementById(id) to $=querySelector(selector). You might try $(\"#%s\")", selector ); [all...] |
/macosx-10.10/postfix-255/postfix/src/dns/ |
H A D | test_dns_lookup.c | 7 /* test_dns_lookup query-type domain-name 10 /* type for the specified resource name. 50 switch (rr->type) { 56 msg_fatal("conversion error for resource record type %s: %m", 57 dns_strtype(rr->type)); 58 printf("%s: %s\n", dns_strtype(rr->type), host.buf); 68 printf("%s: %s\n", dns_strtype(rr->type), rr->data); 72 rr->pref, dns_strtype(rr->type), rr->data); 78 uint8_t selector = *ip++; local 81 printf("%s: %d %d %d ", dns_strtype(rr->type), [all...] |
/macosx-10.10/PowerManagement-494.1.2/AppleSmartBatteryManager/ |
H A D | AppleSmartBatteryManagerUserClient.cpp | 48 void *security_id, UInt32 type, OSDictionary * properties) 65 if (!super::initWithTask(owningTask, security_id, type, properties)) { 69 fUserClientType = type; 180 uint32_t selector, 186 if (selector >= kNumBattMethods) { 187 // Invalid selector 191 switch (selector) 47 initWithTask(task_t owningTask, void *security_id, UInt32 type, OSDictionary * properties) argument 179 externalMethod( uint32_t selector, IOExternalMethodArguments * arguments, IOExternalMethodDispatch * dispatch __unused, OSObject * target __unused, void * reference __unused ) argument
|
H A D | AppleSmartBatteryManagerUserClient.h | 73 virtual IOReturn externalMethod( uint32_t selector, 81 UInt32 type, OSDictionary * properties);
|
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/Modules/objc/ |
H A D | selector.m | 29 ObjC_SignatureForSelector(char* class_name, SEL selector, char* signature) 54 selector_str = PyString_FromString(sel_getName(selector)); 72 PyObjC_FindReplacementSignature(Class cls, SEL selector) 83 replacement_signatures, cls, selector); 100 * Base type for objective-C selectors 104 * - 'selector': The name in the objective-C runtime 124 if (((PyObjCPythonSelector*)_self)->sel_methinfo->argtype[i].type[0] == _C_OUT) { 171 pysel_new(PyTypeObject* type, PyObject* args, PyObject* kwds); 314 "selector", 368 "selector(functio [all...] |
/macosx-10.10/IOSCSIParallelFamily-300.0.2/TestTools/AppleSCSIHBAEmulator/ |
H A D | AppleSCSIEmulatorAdapterUC.cpp | 96 // initWithTask - Save task_t and validate the connection type [PUBLIC] 103 UInt32 type, 111 result = super::initWithTask ( owningTask, securityToken, type, properties ); 258 uint32_t selector, 270 require ( ( selector < kUserClientMethodCount ), ErrorExit ); 272 if ( selector == kUserClientCreateLUN ) 284 else if ( selector == kUserClientDestroyLUN ) 297 else if ( selector == kUserClientDestroyTarget ) 100 initWithTask( task_t owningTask, void * securityToken, UInt32 type, OSDictionary * properties ) argument 257 externalMethod( uint32_t selector, IOExternalMethodArguments * args, IOExternalMethodDispatch * dispatch, OSObject * target, void * reference ) argument
|
/macosx-10.10/IOKitUser-1050.1.21/hidsystem.subproj/ |
H A D | IOHIDLib.c | 85 int type, IOGPoint location, NXEventData *data, 127 event->type = eventType; 157 allowEvent = _IOPMReportSoftwareHIDEvent(event->type); 215 IOHIDGetStateForSelector( io_connect_t handle, int selector, UInt32 *state ) argument 218 uint64_t inData[1] = {selector}; 230 IOHIDSetStateForSelector( io_connect_t handle, int selector, UInt32 state ) argument 233 uint64_t inData[2] = {selector, state}; 244 IOHIDGetModifierLockState( io_connect_t handle, int selector, bool *state ) argument 247 kern_return_t err = IOHIDGetStateForSelector(handle, selector, &internalState); 253 IOHIDSetModifierLockState( io_connect_t handle, int selector, boo argument [all...] |
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Lib/PyObjCTools/ |
H A D | TestSupport.py | 268 self.fail(message or "%r is not a CFTypeRef type"%(tp,)) 271 self.fail(message or "%r is not a unique CFTypeRef type"%(tp,)) 296 if isinstance(method, objc.selector): 308 if isinstance(method, objc.selector): 325 if isinstance(method, objc.selector): 337 if isinstance(method, objc.selector): 352 if isinstance(method, objc.selector): 365 if isinstance(method, objc.selector): 388 if isinstance(method, objc.selector): 401 if isinstance(method, objc.selector) [all...] |