Searched refs:selector (Results 1 - 25 of 115) sorted by relevance

12345

/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dasm-1.c5 int selector; member in struct:x
11 __asm__("mov %%gs,%0":"=r" ((unsigned short)addr->selector)); /* { dg-error "lvalue" "casts make rvalues" } */
/haiku-buildtools/gcc/gcc/testsuite/objc/execute/
H A Dselector-1.m8 SEL selector;
11 selector = @selector (alloc);
12 selname = sel_getName (selector);
H A DIMP.m25 SEL selector;
29 selector = @selector (next:);
31 (class_getClassMethod (class, selector));
33 if (imp (class, selector, 5) != 6)
H A Dclass-10.m63 test_that_class_has_instance_method ("SubClass", @selector (setState:));
64 test_that_class_has_instance_method ("SubClass", @selector (state));
67 test_that_class_has_instance_method ("SubSubClass", @selector (setState:));
68 test_that_class_has_instance_method ("SubSubClass", @selector (state));
69 test_that_class_has_instance_method ("SubSubClass", @selector (shift));
H A Dclass-11.m67 test_that_class_has_instance_method ("SubClass", @selector (setState:));
68 test_that_class_has_instance_method ("SubClass", @selector (state));
71 test_that_class_has_instance_method ("SubSubClass", @selector (setState:));
72 test_that_class_has_instance_method ("SubSubClass", @selector (state));
73 test_that_class_has_instance_method ("SubSubClass", @selector (shift));
H A Dclass-14.m61 test_that_class_has_class_method ("SubClass", @selector (setState:));
62 test_that_class_has_class_method ("SubClass", @selector (state));
65 test_that_class_has_class_method ("SubSubClass", @selector (setState:));
66 test_that_class_has_class_method ("SubSubClass", @selector (state));
67 test_that_class_has_class_method ("SubSubClass", @selector (shift));
/haiku-buildtools/binutils/ld/testsuite/ld-x86-64/
H A Dpr19939.s2 selector: label
6 .type selector, %gnu_indirect_function
9 jmp selector@PLT
H A Dpr18801.s2 .type selector, %function
6 selector: label
9 .type selector, %gnu_indirect_function
12 movabs $selector, %rax
H A Dpr18815.s2 .type selector, %function
6 selector: label
9 .type selector, %gnu_indirect_function
12 mov $selector, %rax
/haiku-buildtools/binutils/ld/testsuite/ld-i386/
H A Dpr19939.s2 selector: label
6 .type selector, %gnu_indirect_function
9 jmp selector@PLT
H A Dpr18801.s2 .type selector, %function
6 selector: label
9 .type selector, %gnu_indirect_function
12 mov $selector, %eax
H A Dpr18815.s2 .type selector, %function
6 selector: label
9 .type selector, %gnu_indirect_function
12 mov $selector, %eax
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/
H A Dundeclared-selector.m1 /* Test for -Wundeclared-selector. */
4 /* { dg-options "-Wundeclared-selector" } */
23 SEL d = @selector(methodD); /* Ok */
24 SEL e = @selector(methodE); /* { dg-warning "undeclared selector" } */
29 SEL e = @selector(methodE); /* Ok */
34 SEL e = @selector(methodE); /* Ok */
41 SEL a = @selector(methodA); /* Ok */
42 SEL b = @selector(methodB); /* Ok */
43 SEL c = @selector(method
[all...]
H A Dkeywords-2.m2 'protocol', 'selector', finally', 'synchronized', 'interface',
12 int selector = protocol * 2;
13 int finally = selector * 2;
H A Dgnu-api-2-sel.m81 name. We use @selector() here, which wouldn't really be
82 needed, just to register a second, untyped selector with name
84 if (strcmp (sel_getName (list[0]), sel_getName (@selector (method))) != 0)
87 if (strcmp (sel_getName (list[1]), sel_getName (@selector (method))) != 0)
97 if (strcmp (sel_getName (@selector (variable)), "variable") != 0)
100 if (strcmp (sel_getName (NULL), "<null selector>") != 0)
107 /* Get a selector from a real class, so it has interesting
110 @selector (variable));
124 /* First try with a selector where we know that a typed one has
126 SEL selector
[all...]
H A Dproto-lossage-3.m24 protocol_getMethodDescription (@protocol(NoInstanceMethods), @selector(name), YES, YES);
25 protocol_getMethodDescription (@protocol(NoInstanceMethods), @selector(name), YES, NO);
26 protocol_getMethodDescription (@protocol(NoClassMethods), @selector(name), YES, YES);
27 protocol_getMethodDescription (@protocol(NoClassMethods), @selector(name), YES, NO);
H A Dselector-2.m13 a = @selector(b1ar);
16 /* { dg-warning "creating selector for nonexistent method .b1ar." "" { target *-*-* } 0 } */
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/
H A Dkeywords-2.mm2 'protocol', 'selector', finally', 'synchronized', 'interface',
12 int selector = protocol * 2;
13 int finally = selector * 2;
H A Dselector-5.mm8 SEL foo = @selector(foo::);
H A Dselector-6.mm8 SEL foo = @selector(foo: a::);
H A Dgnu-api-2-sel.mm81 name. We use @selector() here, which wouldn't really be
82 needed, just to register a second, untyped selector with name
84 if (std::strcmp (sel_getName (list[0]), sel_getName (@selector (method))) != 0)
87 if (std::strcmp (sel_getName (list[1]), sel_getName (@selector (method))) != 0)
97 if (std::strcmp (sel_getName (@selector (variable)), "variable") != 0)
100 if (std::strcmp (sel_getName (NULL), "<null selector>") != 0)
107 /* Get a selector from a real class, so it has interesting
110 @selector (variable));
124 /* First try with a selector where we know that a typed one has
126 SEL selector
[all...]
H A Dproto-lossage-3.mm24 protocol_getMethodDescription (@protocol(NoInstanceMethods), @selector(name), YES, YES);
25 protocol_getMethodDescription (@protocol(NoInstanceMethods), @selector(name), YES, NO);
26 protocol_getMethodDescription (@protocol(NoClassMethods), @selector(name), YES, YES);
27 protocol_getMethodDescription (@protocol(NoClassMethods), @selector(name), YES, NO);
H A Dselector-2.mm13 a = @selector(b1ar);
16 /* { dg-warning "creating selector for nonexistent method .b1ar." "" { target *-*-* } 0 } */
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Darg3.C13 static const bool selector = true; member in struct:Y
14 typedef typename X<selector>::I helper;
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dallocate_with_source_5.f9017 subroutine selector_init (selector, weight)
18 class(selector_t), intent(out) :: selector
27 allocate (selector%map (n), &
29 allocate (selector%weight (n), &
32 allocate (selector%map (1), source = 1)
33 allocate (selector%weight (1), source = 0.)

Completed in 131 milliseconds

12345