Searched refs:this (Results 1 - 25 of 2737) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/lambda/
H A Dlambda-this20.C4 auto f = []{ sizeof(this); }; // { dg-error "this" }
H A Dlambda-nsdmi3.C8 int i = [this]() { return this->j; }();
H A Dlambda-capture-redundancy.C10 [=, this]{ }; // { dg-error "" } this when = is the default
12 [this, this]{ }; // { dg-error "" } i repeated
H A Dlambda-this10.C4 auto foo = [&](int a) { return a > this->b; }; // { dg-error "this" }
H A Dlambda-uneval2.C6 decltype( [](){ return this; }() ) x; // { dg-error "unevaluated" }
H A Dlambda-in-class-neg.C11 [] { this; } (); // { dg-error "not captured" }
12 [this] () -> void { m_i = 0; } ();
14 [this] () -> void { this->m_i = 1; } ();
18 [&] () -> void { this->m_i = 3; } ();
20 [=] () -> void { m_i = 4; } (); // copies 'this' or --copies-m_i--?
22 [=] () -> void { this->m_i = 5; } ();
31 [this] () -> void {} (); // { dg-error "use of 'this' in non-member function" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dtrailing6.C5 auto a() const -> decltype(this) { return this; }
H A Drv-this.C6 void f(){ A*&& a = this; }
H A Dgen-attrs-55.C6 int i alignas(this); // { dg-error "17:invalid use of 'this'" }
11 int j alignas(this); // { dg-error "17:invalid use of 'this'" }
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/arm/
H A Dpr42172-1.c11 void init_A (struct A *this) argument
13 this->f1 = 0;
14 this->f2 = 1;
15 this->f3 = 0;
16 this->f4 = 0;
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A Dpr46866.c6 void destroy(union { void *this; } __attribute__((transparent_union)));
8 void destroy(void *this);
11 T *this = malloc(sizeof(*this)); local
12 *this = (typeof(*this)){ _destroy };
13 return this;
17 T *this = create_empty(); local
18 destroy(this);
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dfinalize_14.f9015 procedure , pass(this) :: getx
16 procedure , pass(this) :: gety
17 procedure , pass(this) :: setx
18 procedure , pass(this) :: sety
19 procedure , pass(this) :: moveto
20 procedure , pass(this) :: draw
29 integer function getx(this)
31 class (shape_type) , intent(in) :: this
32 getx=this%x_
35 integer function gety(this)
[all...]
H A Dwhole_file_14.f9010 type(mytype),pointer :: this component in type:mytype
18 print *, "base%this%this=>base?" , associated(base%this%this,base)
19 print *, "base%this%this=>?" , associated(base%this%this)
20 print *, "base%this
[all...]
H A Dtypebound_proc_20.f9021 subroutine calc(this)
22 class(t), target :: this
25 this%x => this%find_x(that, .true.)
26 if (associated (this%x)) call abort()
27 this%x => this%find_x(that, .false.)
28 if(any (this%x%i /= [5, 7])) call abort()
29 if (.not.associated (this%x,that)) call abort()
30 allocate(this
[all...]
H A Dclass_32.f9017 SUBROUTINE create(this)
19 CLASS(t) :: this
25 FUNCTION get(this)
26 CLASS(t) :: this
27 REAL, DIMENSION(this%n) :: get
30 SUBROUTINE destroy(this)
31 CLASS(t) :: this
H A Dtypebound_proc_32.f9023 function get_array( this ) result(array)
24 class(base_class), intent(in) :: this
25 integer, dimension( this%get_num() ) :: array
28 function get_array2( this ) result(array)
29 class(base_class), intent(in) :: this
30 integer, dimension( this%get_num(), this%get_num() ) :: array
H A Dtypebound_deferred_1.f9016 subroutine inter(this)
17 class(t) :: this
18 call this%foo()
H A Dtypebound_proc_31.f9021 function get_array( this ) result(array)
22 class(base_class), intent(in) :: this
23 integer, dimension( this%get_num() ) :: array
H A Dalloc_comp_default_init_2.f903 ! so that this test faied on the second recursive call.
12 type(t_type) :: this variable in program:testprog
13 allocate ( this % chars ( 4))
14 if (.not.recursivefunc (this) .or. (callnb .ne. 10)) call abort ()
16 recursive function recursivefunc ( this ) result ( match )
17 type(t_type), intent(in) :: this local in function:recursivefunc
22 if ((.NOT. allocated (this % chars)) .OR. match) return
H A Dtypebound_proc_21.f9016 subroutine calc(this)
17 class(t), target :: this
18 this%x = this%find_x()
20 function find_x(this)
21 class(t), intent(in) :: this
/haiku-buildtools/binutils/gas/testsuite/gas/arm/
H A Dblank.s1 @ this file left intentionally blank
/haiku-buildtools/binutils/ld/testsuite/ld-arm/
H A Dblank.s1 @ this file left intentionally blank
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/powerpc/
H A Dpr54240.c14 S *this; local
17 this = s;
18 if (this->b)
19 next = this->l;
21 next = this->r;
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/mips/
H A Dpr54240.c15 S *this; local
18 this = s;
19 if (this->b)
20 next = this->l;
22 next = this->r;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash40.C14 (this->*manip)(*this);
16 return *this;

Completed in 242 milliseconds

1234567891011>>