/external/clang/test/PCH/ |
selector-warning.h | 10 SEL a = @selector(b1ar); 11 a = @selector(b1ar); 12 a = @selector(bar); 13 a = @selector(ok); // expected-warning {{unimplemented selector 'ok'}} 14 a = @selector(ok); 15 a = @selector(NotOK); // expected-warning {{unimplemented selector 'NotOK'}} 16 a = @selector(NotOK); 18 a = @selector(clNotOk); // expected-warning {{unimplemented selector 'clNotOk'} [all...] |
objc_exprs.h | 9 typedef typeof(@selector(noArgs)) objc_selector_noArgs; 10 typedef typeof(@selector(oneArg:)) objc_selector_oneArg; 11 typedef typeof(@selector(foo:bar:)) objc_selector_twoArg;
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509CertStoreSelector.java | 3 import org.bouncycastle.util.Selector; 11 * This class is a Selector implementation for X.509 certificates. 13 * @see org.bouncycastle.util.Selector 19 implements Selector 40 X509CertStoreSelector selector = (X509CertStoreSelector)super.clone(); local 42 return selector; 48 * @param selector A <code>X509CertSelector</code> instance. 50 * @exception IllegalArgumentException if selector is null or creation fails. 52 public static X509CertStoreSelector getInstance(X509CertSelector selector) 54 if (selector == null [all...] |
X509StoreSpi.java | 3 import org.bouncycastle.util.Selector; 11 public abstract Collection engineGetMatches(Selector selector);
|
/external/clang/test/Parser/ |
selector-1.m | 6 SEL s = @selector(retain); 7 SEL s1 = @selector(meth1:); 8 SEL s2 = @selector(retainArgument::); 9 SEL s3 = @selector(retainArgument:::::); 10 SEL s4 = @selector(retainArgument:with:); 11 SEL s5 = @selector(meth1:with:with:); 12 SEL s6 = @selector(getEnum:enum:bool:); 13 SEL s7 = @selector(char:float:double:unsigned:short:long:); 14 SEL s9 = @selector(:enum:bool:); 16 (void) @selector(foo:) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
color1-expected-completion45.txt | 1 Code completion in color1.xml for ^<selector: 2 <selector ></selector> : Required. This must be the root element. Contains one or more <item> elements.
|
color1.xml | 2 <selector 6 </selector>
|
/external/bouncycastle/src/main/java/org/bouncycastle/util/ |
Store.java | 7 Collection getMatches(Selector selector)
|
Selector.java | 3 public interface Selector
|
/external/clang/test/SemaObjC/ |
selector-1.m | 14 return @selector(compare:); // Non warning on multiple selector found. 18 SEL s = @selector(retain); 19 SEL s1 = @selector(meth1:); 20 SEL s2 = @selector(retainArgument::); 21 SEL s3 = @selector(retainArgument:::::); 22 SEL s4 = @selector(retainArgument:with:); 23 SEL s5 = @selector(meth1:with:with:); 24 SEL s6 = @selector(getEnum:enum:bool:); 25 SEL s7 = @selector(char:float:double:unsigned:short:long:) [all...] |
undeclared-selector.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wundeclared-selector -verify %s 20 SEL d = @selector(methodD); /* Ok */ 21 SEL e = @selector(methodE); 26 SEL e = @selector(methodE); /* Ok */ 31 SEL e = @selector(methodE); /* Ok */ 38 SEL a = @selector(methodA); /* Ok */ 39 SEL b = @selector(methodB); /* Ok */ 40 SEL c = @selector(methodC); // expected-warning {{undeclared selector 'methodC'}} 41 SEL d = @selector(methodD); /* Ok * [all...] |
selector-error.m | 16 a = (char*)@selector(bar); // expected-error {{cannot type cast @selector expression}} 17 return (char*)@selector(bar); // expected-error {{cannot type cast @selector expression}}
|
selector-3.m | 17 a = @selector(b1ar); // expected-warning {{unimplemented selector 'b1ar'}} 18 b = @selector(bar); 28 return @selector(length); // expected-warning {{unimplemented selector 'length'}} 49 if ([_delegate respondsToSelector:@selector(pauseManagerDidPause:)])
|
arc-peformselector.m | 24 return [self performSelector : @selector(copy)]; // expected-error {{performSelector names a selector which retains the object}} 25 return [self performSelector : @selector(test)]; // expected-error {{performSelector names a selector which retains the object}} 26 return [self performSelector : @selector(new)]; // expected-error {{performSelector names a selector which retains the object}} 27 return [self performSelector : @selector(init)]; 28 return [self performSelector : sel1]; // expected-warning {{performSelector may cause a leak because its selector is unknown}} \ 31 return [self performSelector : @selector(PlusZero)]; 32 return [self performSelector : @selector(PlusOne)]; // expected-error {{performSelector names a selector which retains the object} [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
objc_method_swizzle_unittest.mm | 43 EXPECT_EQ(class_getInstanceMethod([NSObject class], @selector(dealloc)), 44 GetImplementedInstanceMethod([NSObject class], @selector(dealloc))); 45 EXPECT_EQ(class_getInstanceMethod([NSObject class], @selector(self)), 46 GetImplementedInstanceMethod([NSObject class], @selector(self))); 47 EXPECT_EQ(class_getInstanceMethod([NSObject class], @selector(hash)), 48 GetImplementedInstanceMethod([NSObject class], @selector(hash))); 51 EXPECT_EQ(class_getInstanceMethod(testClass, @selector(self)), 52 GetImplementedInstanceMethod(testClass, @selector(self))); 53 EXPECT_NE(class_getInstanceMethod([NSObject class], @selector(self)), 54 class_getInstanceMethod(testClass, @selector(self))) [all...] |
/external/clang/test/CodeGenCXX/ |
sel-address.mm | 6 f(@selector(dealloc)); 8 SEL s = @selector(dealloc); 11 @selector(dealloc) = s; // expected-error {{expression is not assignable}} 13 SEL* ps2 = &@selector(dealloc);
|
/system/core/libcutils/ |
selector.c | 17 #define LOG_TAG "selector" 28 #include <cutils/selector.h> 32 struct Selector { 58 static void setInSelect(Selector* selector, bool inSelect) { 59 pthread_mutex_lock(&selector->inSelectLock); 60 selector->inSelect = inSelect; 61 pthread_mutex_unlock(&selector->inSelectLock); 64 static bool isInSelect(Selector* selector) { 88 Selector* selector = calloc(1, sizeof(Selector)); local [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebDelegateImplementationCaching.mm | 82 static inline id CallDelegate(WebView *self, id delegate, SEL selector) 84 if (!delegate || ![delegate respondsToSelector:selector]) 87 return objc_msgSend(delegate, selector, self); 89 return objc_msgSend(delegate, selector, self); 91 ReportDiscardedDelegateException(selector, exception); 96 static inline id CallDelegate(WebView *self, id delegate, SEL selector, id object) 98 if (!delegate || ![delegate respondsToSelector:selector]) 101 return objc_msgSend(delegate, selector, self, object); 103 return objc_msgSend(delegate, selector, self, object); 105 ReportDiscardedDelegateException(selector, exception) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
SelectorTest.java | 23 import java.nio.channels.Selector; 34 Selector selector = Selector.open(); local 43 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT); 44 assertEquals(1, selector.select()); 48 selector.close(); 55 Selector selector = Selector.open() local 74 Selector selector = Selector.open(); local 85 final Selector selector = Selector.open(); local 120 Selector selector = Selector.open(); local [all...] |
/system/core/include/cutils/ |
selector.h | 18 * Framework for multiplexing I/O. A selector manages a set of file 35 typedef struct Selector Selector; 38 * A selectable descriptor. Contains callbacks which the selector can invoke 44 * selector by setting the 'remove' flag. The selector will remove the 47 * SelectableFd fields should only be modified from the selector loop. 59 * Set this flag when you no longer wish to be selected. The selector 65 * Invoked by the selector before calling select. You can set up other 71 * Invoked by the selector when the descriptor has data available. Set t 97 Selector* selector; member in struct:SelectableFd [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SelectorTest.java | 27 import java.nio.channels.Selector; 39 * Tests for Selector and its default implementation 50 Selector selector; field in class:SelectorTest 65 selector = Selector.open(); 75 selector.close(); 83 * @tests java.nio.channels.Selector#open() 86 assertNotNull(selector); 90 * @tests Selector#isOpen( 457 Selector selector = Selector.open(); local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CertSelectorTest.java | 217 X509CertSelector selector = null; local 219 selector = new X509CertSelector(); 223 assertEquals(-1, selector.getBasicConstraints()); 224 assertTrue(selector.getMatchAllSubjectAltNames()); 231 X509CertSelector selector = new X509CertSelector(); local 232 X509CertSelector selector1 = (X509CertSelector) selector.clone(); 234 assertEquals(selector.getMatchAllSubjectAltNames(), selector1 236 assertEquals(selector.getAuthorityKeyIdentifier(), selector1 238 assertEquals(selector.getBasicConstraints(), selector1 240 assertEquals(selector.getCertificate(), selector1.getCertificate()) 286 X509CertSelector selector = new X509CertSelector(); local 303 X509CertSelector selector = new X509CertSelector(); local 315 X509CertSelector selector = new X509CertSelector(); local 342 X509CertSelector selector = new X509CertSelector(); local 371 X509CertSelector selector = new X509CertSelector(); local 397 X509CertSelector selector = new X509CertSelector(); local 422 X509CertSelector selector = new X509CertSelector(); local 448 X509CertSelector selector = new X509CertSelector(); local 467 X509CertSelector selector = new X509CertSelector(); local 483 X509CertSelector selector = new X509CertSelector(); local 522 X509CertSelector selector = new X509CertSelector(); local 560 X509CertSelector selector = new X509CertSelector(); local 593 X509CertSelector selector = new X509CertSelector(); local 611 X509CertSelector selector = new X509CertSelector(); local 630 X509CertSelector selector = new X509CertSelector(); local 646 X509CertSelector selector = new X509CertSelector(); local 669 X509CertSelector selector = new X509CertSelector(); local 702 X509CertSelector selector = new X509CertSelector(); local 728 X509CertSelector selector = new X509CertSelector(); local 747 X509CertSelector selector = new X509CertSelector(); local 776 X509CertSelector selector = new X509CertSelector(); local 798 X509CertSelector selector = new X509CertSelector(); local 834 X509CertSelector selector = new X509CertSelector(); local 859 X509CertSelector selector = new X509CertSelector(); local 893 X509CertSelector selector = new X509CertSelector(); local 919 X509CertSelector selector = new X509CertSelector(); local 942 X509CertSelector selector = new X509CertSelector(); local 980 X509CertSelector selector = new X509CertSelector(); local 1022 X509CertSelector selector = new X509CertSelector(); local 1062 X509CertSelector selector = new X509CertSelector(); local 1099 X509CertSelector selector = new X509CertSelector(); local 1128 X509CertSelector selector = new X509CertSelector(); local 1153 X509CertSelector selector = new X509CertSelector(); local 1185 X509CertSelector selector = new X509CertSelector(); local 1223 X509CertSelector selector = new X509CertSelector(); local 1256 X509CertSelector selector = new X509CertSelector(); local 1292 X509CertSelector selector = new X509CertSelector(); local 1318 X509CertSelector selector = new X509CertSelector(); local 1351 X509CertSelector selector = new X509CertSelector(); local 1389 X509CertSelector selector = new X509CertSelector(); local 1427 X509CertSelector selector = new X509CertSelector(); local 1474 X509CertSelector selector = new X509CertSelector(); local 1502 X509CertSelector selector = new X509CertSelector(); local 1534 X509CertSelector selector = new X509CertSelector(); local 1560 X509CertSelector selector = new X509CertSelector(); local 1582 X509CertSelector selector = new X509CertSelector(); local 1654 X509CertSelector selector = new X509CertSelector(); local 2205 X509CertSelector selector = new X509CertSelector(); local 2242 X509CertSelector selector = new X509CertSelector(); local [all...] |
X509CRLSelector2Test.java | 51 X509CRLSelector selector = new X509CRLSelector(); local 52 assertNull(selector.getDateAndTime()); 53 assertNull(selector.getCertificateChecking()); 54 assertNull(selector.getIssuerNames()); 55 assertNull(selector.getIssuers()); 56 assertNull(selector.getMaxCRL()); 57 assertNull(selector.getMinCRL()); 62 * specified issuers match the selector, and if not specified issuer does 63 * not match the selector. 66 X509CRLSelector selector = new X509CRLSelector() local 88 X509CRLSelector selector = new X509CRLSelector(); local 123 X509CRLSelector selector = new X509CRLSelector(); local 170 X509CRLSelector selector = new X509CRLSelector(); local 202 X509CRLSelector selector = new X509CRLSelector(); local 243 X509CRLSelector selector = new X509CRLSelector(); local 267 X509CRLSelector selector = new X509CRLSelector(); local 288 X509CRLSelector selector = new X509CRLSelector(); local 315 X509CRLSelector selector = new X509CRLSelector(); local 340 X509CRLSelector selector = new X509CRLSelector(); local 363 X509CRLSelector selector = new X509CRLSelector(); local 391 X509CRLSelector selector = new X509CRLSelector(); local 405 X509CRLSelector selector = new X509CRLSelector(); local 419 X509CRLSelector selector = new X509CRLSelector(); local 433 X509CRLSelector selector = new X509CRLSelector(); local 452 X509CRLSelector selector = new X509CRLSelector(); local 466 X509CRLSelector selector = new X509CRLSelector(); local 493 X509CRLSelector selector = new X509CRLSelector(); local [all...] |
/external/clang/test/SemaObjCXX/ |
expr-objcxx.mm | 4 void *P = @selector(foo::bar::);
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CRLSelectorTest.java | 181 * Tests if CRLs with any issuers match the selector in the case of 182 * null issuerNames criteria, if specified issuers match the selector, 183 * and if not specified issuer does not match the selector. 186 X509CRLSelector selector = new X509CRLSelector(); local 194 selector.setIssuers(null); 196 selector.match(crl1) && selector.match(crl2)); 201 selector.setIssuers(issuers); 203 selector.match(crl1) && selector.match(crl2)) 219 X509CRLSelector selector = new X509CRLSelector(); local 263 X509CRLSelector selector = new X509CRLSelector(); local 285 X509CRLSelector selector = new X509CRLSelector(); local 317 X509CRLSelector selector = new X509CRLSelector(); local 356 X509CRLSelector selector = new X509CRLSelector(); local 378 X509CRLSelector selector = new X509CRLSelector(); local 400 X509CRLSelector selector = new X509CRLSelector(); local 429 X509CRLSelector selector = new X509CRLSelector(); local 471 X509CRLSelector selector = new X509CRLSelector(); local 500 X509CRLSelector selector = new X509CRLSelector(); local 515 X509CRLSelector selector = new X509CRLSelector(); local 530 X509CRLSelector selector = new X509CRLSelector(); local 544 X509CRLSelector selector = new X509CRLSelector(); local 556 X509CRLSelector selector = new X509CRLSelector(); local 584 X509CRLSelector selector = new X509CRLSelector(); local [all...] |