/external/clang/test/SemaObjC/ |
D | selector-1.m | 12 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 …]
|
D | undeclared-selector.m | 3 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 */
|
D | warn-incompatible-builtin-types.m | 10 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 *'}}
|
D | arc-peformselector.m | 15 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
|
D | selector-3.m | 16 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[] = {
|
D | warn-cast-of-sel-expr.m | 5 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
|
D | builtin_objc_msgSend.m | 4 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/ |
D | select.ll | 16 ; 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/ |
D | selector-1.m | 7 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/ |
D | Fuzzy.h | 41 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;
|
D | FuzzyLexer.h | 46 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/ |
D | FuzzyLexer.h | 46 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/ |
D | abs_abs.ll | 14 ; 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/ |
D | objc-modern-numeric-literal.mm | 59 // 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 …]
|
D | objc-modern-boxing.mm | 4 …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/ |
D | cttz-ctlz.ll | 9 ; 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/ |
D | encode-test.m | 66 __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
|
D | optimized-setter-ios-device.m | 5 // 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);
|
D | unoptimized-setter.m | 5 // 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);
|
D | optimized-setter.m | 7 // 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/ |
D | sel-address.mm | 4 void f(const SEL& v2) {} 8 SEL s = @selector(dealloc); 9 SEL* ps = &s; 13 SEL* ps2 = &@selector(dealloc);
|
/external/clang/test/CodeGenObjCXX/ |
D | selector-expr-lvalue.mm | 5 - (void)respondsToSelector:(const SEL&)s : (SEL*)s1; argument 15 - (void)respondsToSelector:(const SEL&)s : (SEL*)s1 {} argument
|
/external/clang/test/SemaCXX/ |
D | builtin_objc_msgSend.cpp | 5 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/ |
D | ANTLRTreeRewriter.h | 37 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/ |
D | print-type.m | 4 -(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…
|