/macosx-10.10/WebCore-7600.1.25/css/ |
H A D | SelectorCheckerFastPath.cpp | 43 inline bool fastCheckSingleSelector(const CSSSelector*& selector, const Element*& element, const CSSSelector*& topChildOrSubselector, const Element*& topChildOrSubselectorMatchElement) argument 46 if (checkValue(element, selector)) { 47 if (selector->relation() == CSSSelector::Descendant) 50 ASSERT(selector->relation() == CSSSelector::Child || selector->relation() == CSSSelector::SubSelector); 51 topChildOrSubselector = selector; 54 if (selector->relation() != CSSSelector::SubSelector) 56 selector = selector->tagHistory(); 61 // If the match element is null, topChildOrSubselector was also the very topmost selector an 76 checkClassValue(const Element* element, const CSSSelector* selector) argument 81 checkIDValue(const Element* element, const CSSSelector* selector) argument 86 checkExactAttributeValue(const Element* element, const CSSSelector* selector) argument 91 checkTagValue(const Element* element, const CSSSelector* selector) argument 98 SelectorCheckerFastPath(const CSSSelector* selector, const Element* element) argument 129 const CSSSelector* selector = m_selector; local 174 isFastCheckableMatch(const CSSSelector* selector) argument 186 isFastCheckableRightmostSelector(const CSSSelector* selector) argument 193 canUse(const CSSSelector* selector) argument [all...] |
H A D | RuleSet.cpp | 56 static inline bool isSelectorMatchingHTMLBasedOnRuleHash(const CSSSelector& selector) argument 58 if (selector.tagHistory()) 61 if (selector.m_match == CSSSelector::Tag) { 62 const AtomicString& selectorNamespace = selector.tagQName().namespaceURI(); 65 if (SelectorChecker::isCommonPseudoClassSelector(&selector)) 67 return selector.m_match == CSSSelector::Id || selector.m_match == CSSSelector::Class; 72 const CSSSelector* selector = &rootSelector; local 74 if (selector->matchesPseudoElement()) 77 if (const CSSSelectorList* selectorList = selector 89 selectorListContainsAttributeSelector(const CSSSelector* selector) argument 109 containsUncommonAttributeSelector(const CSSSelector* selector) argument 132 determinePropertyWhitelistType(const AddRuleFlags addRuleFlags, const CSSSelector* selector) argument 215 const CSSSelector* selector = ruleData.selector(); local [all...] |
H A D | CSSSelectorList.cpp | 59 for (CSSParserSelector* selector = selectorVector[i].get(); selector; selector = selector->tagHistory()) 69 // Move item from the parser selector vector into m_selectorArray without invoking destructor (Ugh.) 136 static bool forEachTagSelector(Functor& functor, const CSSSelector* selector) argument 138 ASSERT(selector); 141 if (functor(selector)) 143 if (const CSSSelectorList* selectorList = selector->selectorList()) { 149 } while ((selector 167 operator ()(const CSSSelector* selector) argument 185 operator ()(const CSSSelector* selector) argument [all...] |
H A D | SelectorFilter.cpp | 37 // Salt to separate otherwise identical string hashes so a class-selector like .article won't match <article> elements. 113 static inline void collectDescendantSelectorIdentifierHashes(const CSSSelector* selector, unsigned*& hash) argument 115 switch (selector->m_match) { 117 if (!selector->value().isEmpty()) 118 (*hash++) = selector->value().impl()->existingHash() * IdAttributeSalt; 121 if (!selector->value().isEmpty()) 122 (*hash++) = selector->value().impl()->existingHash() * ClassAttributeSalt; 125 if (selector->tagQName().localName() != starAtom) 126 (*hash++) = selector->tagQName().localName().impl()->existingHash() * TagNameSalt; 133 void SelectorFilter::collectIdentifierHashes(const CSSSelector* selector, unsigne argument [all...] |
H A D | RuleFeature.cpp | 36 void RuleFeatureSet::collectFeaturesFromSelector(const CSSSelector* selector) argument 38 if (selector->m_match == CSSSelector::Id) 39 idsInRules.add(selector->value().impl()); 40 else if (selector->m_match == CSSSelector::Class) 41 classesInRules.add(selector->value().impl()); 42 else if (selector->isAttributeSelector()) 43 attrsInRules.add(selector->attribute().localName().impl()); 44 else if (selector->m_match == CSSSelector::PseudoElement) { 45 switch (selector->pseudoElementType()) {
|
H A D | CSSParserValues.cpp | 166 auto selector = std::make_unique<CSSParserSelector>(); 167 selector->m_selector->m_match = CSSSelector::PagePseudoClass; 168 selector->m_selector->setPagePseudoType(pseudoType); 169 return selector.release(); 181 auto selector = std::make_unique<CSSParserSelector>(); 182 selector->m_selector->m_match = CSSSelector::PseudoElement; 183 selector->m_selector->setPseudoElementType(pseudoType); 184 selector->m_selector->setValue(name); 185 return selector.release(); 198 auto selector 210 auto selector = std::make_unique<CSSParserSelector>(); local 216 auto selector = std::make_unique<CSSParserSelector>(); local 241 std::unique_ptr<CSSParserSelector> selector = WTF::move(m_tagHistory); local 286 insertTagHistory(CSSSelector::Relation before, std::unique_ptr<CSSParserSelector> selector, CSSSelector::Relation after) argument 295 appendTagHistory(CSSSelector::Relation relation, std::unique_ptr<CSSParserSelector> selector) argument [all...] |
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/Lib/objc/ |
H A D | _functions.py | 19 from objc._objc import selector 22 return selector(func, **kw)
|
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...] |
/macosx-10.10/WebKit-7600.1.25/mac/WebView/ |
H A D | WebDelegateImplementationCaching.mm | 89 static inline id CallDelegate(WebView *self, id delegate, SEL selector) 92 if (!delegate || ![delegate respondsToSelector:selector]) 95 return wtfObjcMsgSend<id>(delegate, selector, self); 97 ReportDiscardedDelegateException(selector, exception); 101 if (!delegate || ![delegate respondsToSelector:selector]) 104 NSInvocation *invocation = WebThreadMakeNSInvocation(delegate, selector); 116 ReportDiscardedDelegateException(selector, exception); 122 static inline id CallDelegate(WebView *self, id delegate, SEL selector, id object) 125 if (!delegate || ![delegate respondsToSelector:selector]) 128 return wtfObjcMsgSend<id>(delegate, selector, sel [all...] |
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/Modules/objc/ |
H A D | informal-protocol.h | 19 PyObject* PyObjCInformalProtocol_FindSelector(PyObject* obj, SEL selector, int isClassMethod); 21 PyObject* PyObjCInformalProtocol_FindProtocol(SEL selector); 24 PyObject* findSelInDict(PyObject* clsdict, SEL selector);
|
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/Modules/objc/ |
H A D | informal-protocol.h | 19 PyObject* PyObjCInformalProtocol_FindSelector(PyObject* obj, SEL selector, int isClassMethod); 21 PyObject* PyObjCInformalProtocol_FindProtocol(SEL selector); 24 PyObject* findSelInDict(PyObject* clsdict, SEL selector);
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Modules/objc/ |
H A D | informal-protocol.h | 19 PyObject* PyObjCInformalProtocol_FindSelector(PyObject* obj, SEL selector, int isClassMethod); 21 PyObject* PyObjCInformalProtocol_FindProtocol(SEL selector); 24 PyObject* findSelInDict(PyObject* clsdict, SEL selector);
|
/macosx-10.10/WTF-7600.1.24/wtf/ |
H A D | ObjcRuntimeExtras.h | 36 inline ReturnType wtfObjcMsgSend(id target, SEL selector, ArgumentTypes... arguments) argument 38 return reinterpret_cast<ReturnType (*)(id, SEL, ArgumentTypes...)>(objc_msgSend)(target, selector, arguments...); 42 inline ReturnType wtfCallIMP(IMP implementation, id target, SEL selector, ArgumentTypes... arguments) argument 44 return reinterpret_cast<ReturnType (*)(id, SEL, ArgumentTypes...)>(implementation)(target, selector, arguments...);
|
/macosx-10.10/WebKit2-7600.1.25/Shared/API/Cocoa/ |
H A D | _WKRemoteObjectInterfaceInternal.h | 35 - (NSMethodSignature *)_methodSignatureForSelector:(SEL)selector; 36 - (const Vector<RetainPtr<NSSet>>&)_allowedArgumentClassesForSelector:(SEL)selector;
|
H A D | WKRemoteObject.mm | 57 static const char* methodArgumentTypeEncodingForSelector(Protocol *protocol, SEL selector) 60 struct objc_method_description method = protocol_getMethodDescription(protocol, selector, YES, YES); 65 method = protocol_getMethodDescription(protocol, selector, NO, YES); 72 - (NSMethodSignature *)methodSignatureForSelector:(SEL)selector 74 if (!selector) 79 const char* types = methodArgumentTypeEncodingForSelector(protocol, selector); 82 return [super methodSignatureForSelector:selector];
|
/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) 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))]
|
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/Security-57031.1.35/Security/include/security_cdsa_utilities/ |
H A D | acl_process.cpp | 70 //@@@ ownership of selector data is murky; revisit after leak-plugging pass 86 AclProcessSubjectSelector selector; local 87 selectorData->extract(selector); 90 if (selector.version != CSSM_ACL_PROCESS_SELECTOR_CURRENT_VERSION) 92 if (!selector.uses(CSSM_ACL_MATCH_BITS)) 96 return new ProcessAclSubject(selector); 101 AclProcessSubjectSelector selector; pub(selector); local 102 n2hi(selector.version); 103 n2hi(selector [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/ |
H A D | acl_process.cpp | 70 //@@@ ownership of selector data is murky; revisit after leak-plugging pass 86 AclProcessSubjectSelector selector; local 87 selectorData->extract(selector); 90 if (selector.version != CSSM_ACL_PROCESS_SELECTOR_CURRENT_VERSION) 92 if (!selector.uses(CSSM_ACL_MATCH_BITS)) 96 return new ProcessAclSubject(selector); 101 AclProcessSubjectSelector selector; pub(selector); local 102 n2hi(selector.version); 103 n2hi(selector [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", 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)
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Lib/objc/ |
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...] |
/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", 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 | test3_protocol.py | 20 objc.selector(None, selector=b"testMethod", signature=b"I@:", isRequired=1), 21 objc.selector(None, selector=b"testMethod2:", signature=b"v@:i", isRequired=0) 38 objc.selector(None, selector=b"protoMethod", signature=b"I@:"), 39 objc.selector(None, selector=b"anotherProto:with:", signature=b"v@:ii"), 44 objc.selector(None, selector [all...] |
/macosx-10.10/Chess-310.6/Sources/ |
H A D | MBCRemotePlayer.mm | 83 selector:@selector(opponentMoved:) 90 selector:@selector(opponentMoved:) 97 selector:@selector(takeback:) 102 selector:@selector(endOfGame:)
|
/macosx-10.10/WebKit-7600.1.25/mac/Plugins/ |
H A D | WebPluginContainerPrivate.h | 37 - (id)_webPluginContainerCheckIfAllowedToLoadRequest:(NSURLRequest *)Request inFrame:(NSString *)target resultObject:(id)obj selector:(SEL)selector;
|