Home
last modified time | relevance | path

Searched refs:SEL (Results 1 – 25 of 212) sorted by relevance

123456789

/external/clang/test/SemaObjC/
Dselector-1.m12 SEL func()
19 SEL s = @selector((retain));
20 SEL s1 = @selector((meth1:));
21 SEL s2 = @selector((retainArgument::));
22 SEL s3 = @selector((retainArgument:::::));
23 SEL s4 = @selector((retainArgument:with:));
24 SEL s5 = @selector((meth1:with:with:));
25 SEL s6 = @selector((getEnum:enum:bool:));
26 SEL s7 = @selector((char:float:double:unsigned:short:long:));
27 SEL s9 = @selector((:enum:bool:));
[all …]
Dundeclared-selector.m3 typedef struct objc_selector *SEL; typedef
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 */
42 SEL e = @selector(methodE); /* Ok */
Dwarn-incompatible-builtin-types.m10 SEL s1, s2;
24 s1 = i; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'id'}}
25 i = s1; // expected-warning {{incompatible pointer types assigning to 'id' from 'SEL'}}
29 s1 = c; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Class'}}
31 c = s1; // expected-warning {{incompatible pointer types assigning to 'Class' from 'SEL'}}
37 f = s1; // expected-warning {{incompatible pointer types assigning to 'Foo *' from 'SEL'}}
41 s1 = f; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Foo *'}}
Darc-peformselector.m15 SEL sel1;
17 - (id)performSelector:(SEL)aSelector; argument
18 - (id)performSelector:(SEL)aSelector withObject:(id)object; argument
19 - (id)performSelector:(SEL)aSelector withObject:(id)object1 withObject:(id)object2; argument
35 - (id)performSelector:(SEL)aSelector { return 0; } argument
36 - (id)performSelector:(SEL)aSelector withObject:(id)object { return 0; } argument
37 - (id)performSelector:(SEL)aSelector withObject:(id)object1 withObject:(id)object2 { return 0; } argument
Dselector-3.m16 SEL a,b,c;
26 SEL func()
37 - (int)respondsToSelector:(SEL)aSelector; argument
68 extern SEL MySelector(SEL s);
125 SEL s = @selector(compare:); // spurious warning
134 SEL s = @selector(compare:);
148 SEL properties[] = {
Dwarn-cast-of-sel-expr.m5 SEL s;
7 SEL sel_registerName(const char *);
10 (char *)s; // expected-warning {{cast of type 'SEL' to 'char *' is deprecated; use sel_getName ins…
12 (const char *)sel_registerName("foo"); // expected-warning {{cast of type 'SEL' to 'const char *' …
23 (SEL)sel_registerName("foo"); // ok
Dbuiltin_objc_msgSend.m4 extern id objc_msgSend(id self, SEL op, ...);
12 extern __attribute__((visibility("default"))) id objc_msgSendSuper(struct objc_super *super, SEL op…
15 …bute__((visibility("default"))) void objc_msgSendSuper_stret(struct objc_super *super, SEL op, ...)
18 extern __attribute__((visibility("default"))) void objc_msgSend_stret(id self, SEL op, ...)
/external/llvm/test/CodeGen/Mips/llvm-ir/
Dselect.ll16 ; RUN: -check-prefix=ALL -check-prefix=SEL -check-prefix=SEL-32
30 ; RUN: -check-prefix=ALL -check-prefix=SEL -check-prefix=SEL-64
49 ; SEL: andi $[[T0:[0-9]+]], $4, 1
50 ; SEL: seleqz $[[T1:[0-9]+]], $6, $[[T0]]
51 ; SEL: selnez $[[T2:[0-9]+]], $5, $[[T0]]
52 ; SEL: or $2, $[[T2]], $[[T1]]
74 ; SEL: andi $[[T0:[0-9]+]], $4, 1
75 ; SEL: seleqz $[[T1:[0-9]+]], $6, $[[T0]]
76 ; SEL: selnez $[[T2:[0-9]+]], $5, $[[T0]]
77 ; SEL: or $2, $[[T2]], $[[T1]]
[all …]
/external/clang/test/Parser/
Dselector-1.m7 SEL s = @selector(retain);
8 SEL s1 = @selector(meth1:);
9 SEL s2 = @selector(retainArgument::);
10 SEL s3 = @selector(retainArgument:::::);
11 SEL s4 = @selector(retainArgument:with:);
12 SEL s5 = @selector(meth1:with:with:);
13 SEL s6 = @selector(getEnum:enum:bool:);
14 SEL s7 = @selector(char:float:double:unsigned:short:long:);
15 SEL s9 = @selector(:enum:bool:);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/
DFuzzy.h41 SEL synpred9_FuzzySelector;
42 SEL synpred2_FuzzySelector;
43 SEL synpred7_FuzzySelector;
44 SEL synpred4_FuzzySelector;
45 SEL synpred8_FuzzySelector;
46 SEL synpred6_FuzzySelector;
47 SEL synpred5_FuzzySelector;
48 SEL synpred3_FuzzySelector;
49 SEL synpred1_FuzzySelector;
DFuzzyLexer.h46 SEL synpred9_FuzzySelector;
47 SEL synpred7_FuzzySelector;
48 SEL synpred2_FuzzySelector;
49 SEL synpred4_FuzzySelector;
50 SEL synpred8_FuzzySelector;
51 SEL synpred6_FuzzySelector;
52 SEL synpred5_FuzzySelector;
53 SEL synpred3_FuzzySelector;
54 SEL synpred1_FuzzySelector;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/output1/
DFuzzyLexer.h46 SEL synpred9_FuzzySelector;
47 SEL synpred2_FuzzySelector;
48 SEL synpred7_FuzzySelector;
49 SEL synpred4_FuzzySelector;
50 SEL synpred8_FuzzySelector;
51 SEL synpred6_FuzzySelector;
52 SEL synpred5_FuzzySelector;
53 SEL synpred3_FuzzySelector;
54 SEL synpred1_FuzzySelector;
/external/llvm/test/Transforms/InstCombine/
Dabs_abs.ll14 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 %x, i32 [[NEG]]
15 ; CHECK-NEXT: ret i32 [[SEL]]
29 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 %x, i32 [[NEG]]
30 ; CHECK-NEXT: ret i32 [[SEL]]
44 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 [[NEG]], i32 %x
45 ; CHECK-NEXT: ret i32 [[SEL]]
59 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 [[NEG]], i32 %x
60 ; CHECK-NEXT: ret i32 [[SEL]]
74 ; CHECK-NEXT: [[SEL:%[a-z0-9]+]] = select i1 [[CMP]], i32 %x, i32 [[NEG]]
75 ; CHECK-NEXT: ret i32 [[SEL]]
[all …]
/external/clang/test/Rewriter/
Dobjc-modern-numeric-literal.mm59 // CHECK: NSNumber *theLetterZ = ((NSNumber *(*)(Class, SEL, char))(void *)objc_msgSend)(objc_getC…
60 // CHECK: NSNumber *fortyTwo = ((NSNumber *(*)(Class, SEL, int))(void *)objc_msgSend)(objc_getClas…
61 // CHECK: NSNumber *fortyTwoUnsigned = ((NSNumber *(*)(Class, SEL, unsigned int))(void *)objc_msgS…
62 // CHECK: NSNumber *fortyTwoLong = ((NSNumber *(*)(Class, SEL, long))(void *)objc_msgSend)(objc_ge…
63 // CHECK: NSNumber *fortyTwoLongLong = ((NSNumber *(*)(Class, SEL, long long))(void *)objc_msgSend…
64 // CHECK: NSNumber *piFloat = ((NSNumber *(*)(Class, SEL, float))(void *)objc_msgSend)(objc_getCla…
65 // CHECK: NSNumber *piDouble = ((NSNumber *(*)(Class, SEL, double))(void *)objc_msgSend)(objc_getC…
66 // CHECK: NSNumber *yesNumber = ((NSNumber *(*)(Class, SEL, BOOL))(void *)objc_msgSend)(objc_getCl…
67 // CHECK: NSNumber *noNumber = ((NSNumber *(*)(Class, SEL, BOOL))(void *)objc_msgSend)(objc_getCla…
68 // CHECK: NSNumber *trueNumber = ((NSNumber *(*)(Class, SEL, BOOL))(void *)objc_msgSend)(objc_getC…
[all …]
Dobjc-modern-boxing.mm4 …tax-only -Werror -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -U__declspec…
64 // CHECK: NSNumber *theLetterZ = ((NSNumber *(*)(Class, SEL, char))(void *)objc_msgSend)(objc_getC…
65 // CHECK: NSNumber *fortyTwo = ((NSNumber *(*)(Class, SEL, int))(void *)objc_msgSend)(objc_getClas…
66 // CHECK: NSNumber *fortyTwoUnsigned = ((NSNumber *(*)(Class, SEL, unsigned int))(void *)objc_msgS…
67 // CHECK: NSNumber *fortyTwoLong = ((NSNumber *(*)(Class, SEL, long))(void *)objc_msgSend)(objc_ge…
68 // CHECK: NSNumber *fortyTwoLongLong = ((NSNumber *(*)(Class, SEL, long long))(void *)objc_msgSend…
69 // CHECK: NSNumber *piFloat = ((NSNumber *(*)(Class, SEL, float))(void *)objc_msgSend)(objc_getCla…
70 // CHECK: NSNumber *piDouble = ((NSNumber *(*)(Class, SEL, double))(void *)objc_msgSend)(objc_getC…
71 // CHECK: NSNumber *nsb = ((NSNumber *(*)(Class, SEL, BOOL))(void *)objc_msgSend)(objc_getClass("N…
72 // CHECK: NSString *duplicateString = ((NSString *(*)(Class, SEL, const char *))(void *)objc_msgSe…
/external/llvm/test/Transforms/SimplifyCFG/R600/
Dcttz-ctlz.ll9 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTLZ]]
10 ; SI-NEXT: ret i64 [[SEL]]
29 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 32, i32 [[CTLZ]]
30 ; SI-NEXT: ret i32 [[SEL]]
49 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i16 16, i16 [[CTLZ]]
50 ; SI-NEXT: ret i16 [[SEL]]
69 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTTZ]]
70 ; SI-NEXT: ret i64 [[SEL]]
89 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 32, i32 [[CTTZ]]
90 ; SI-NEXT: ret i32 [[SEL]]
[all …]
/external/clang/test/CodeGenObjC/
Dencode-test.m66 __attribute__((objc_gc(weak))) SEL selector;
69 - (SEL**) meth : (SEL) arg : (SEL*****) arg1 : (SEL*)arg2 : (SEL**) arg3; argument
74 - (SEL**) meth : (SEL) arg : (SEL*****) arg1 : (SEL*)arg2 : (SEL**) arg3 {} argument
Doptimized-setter-ios-device.m5 // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset);
9 // void objc_setProperty_nonatomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
13 // void objc_setProperty_atomic(id self, SEL _cmd, id newValue, ptrdiff_t offset);
17 // void objc_setProperty_atomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
Dunoptimized-setter.m5 // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset);
9 // void objc_setProperty_nonatomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
13 // void objc_setProperty_atomic(id self, SEL _cmd, id newValue, ptrdiff_t offset);
17 // void objc_setProperty_atomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
Doptimized-setter.m7 // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset);
11 // void objc_setProperty_nonatomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
15 // void objc_setProperty_atomic(id self, SEL _cmd, id newValue, ptrdiff_t offset);
19 // void objc_setProperty_atomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
/external/clang/test/CodeGenCXX/
Dsel-address.mm4 void f(const SEL& v2) {}
8 SEL s = @selector(dealloc);
9 SEL* ps = &s;
13 SEL* ps2 = &@selector(dealloc);
/external/clang/test/CodeGenObjCXX/
Dselector-expr-lvalue.mm5 - (void)respondsToSelector:(const SEL&)s : (SEL*)s1; argument
15 - (void)respondsToSelector:(const SEL&)s : (SEL*)s1 {} argument
/external/clang/test/SemaCXX/
Dbuiltin_objc_msgSend.cpp5 typedef struct objc_selector *SEL; typedef
8 extern "C" __attribute__((visibility("default"))) id objc_msgSend(id self, SEL op, ...)
13 static SEL SEL_release; in TCFReleaseGC()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreeRewriter.h37 SEL ruleSEL;
40 + (ANTLRfptr *)newANTLRfptrWithRule:(SEL)aRuleAction withObject:(id)anObject;
41 -initWithRule:(SEL)ruleAction withObject:(id)anObject;
46 @property SEL ruleSEL;
/external/clang/test/Index/
Dprint-type.m4 -(const id) mymethod2:(id)x blah:(Class)y boo:(SEL)z; argument
11 …onst id] [resulttypekind=ObjCId] [args= [id] [ObjCId] [Class] [ObjCClass] [SEL] [ObjCSel]] [isPOD=…
12 // CHECK: ParmDecl=z:4:52 (Definition) [type=SEL] [typekind=ObjCSel] [canonicaltype=SEL *] [canonic…

123456789