Searched refs:bind (Results 1 - 25 of 256) sorted by relevance

1234567891011

/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dproc_ptr_common_2.f9010 subroutine foo() bind(C)
14 procedure(foo), pointer, bind(C) :: proc
H A Dproc_ptr_35.f9010 subroutine s() bind(c)
H A Dinterface_abstract_1.f909 subroutine two() bind(C)
11 subroutine three() bind(C,name="three") ! { dg-error "NAME not allowed on BIND.C. for ABSTRACT INTERFACE" }
19 subroutine sub() bind(C,name="subC")
H A Dc_funloc_tests_6.f9014 subroutine sub() bind(C)
H A Dbind_c_module.f9013 bind(c) :: a ! { dg-error "applied to" }
20 bind(c) :: a ! { dg-error "applied to" }
H A Dempty_derived_type.f904 type, bind(C) :: junk ! { dg-warning "may be inaccessible by the C companion" }
H A Dbind_c_array_params_2.f9010 subroutine test (xx) bind(C, name="myBindC")
H A Dbinding_label_tests_26a.f9012 function f() bind(c)
H A Dbind_c_vars.f907 integer(c_int), bind(c) :: myF90Int
8 real(c_float), bind(c, name="myF90Real") :: f90_real
12 bind(c, name="myVariable") :: c2
13 bind(c) c3, c4
15 integer(c_int), bind(c, name="myF90Array3D") :: A(18, 3:7, 10)
16 integer(c_int), bind(c, name="myF90Array2D") :: B(3, 2)
20 subroutine changeF90Globals() bind(c, name='changeF90Globals')
H A Dbinding_label_tests_27.f9011 bind(c,name=" foo ") :: i1
12 bind(c, name=trim("Hello ") // "There") :: i2
13 bind(c, name=1_"name") :: i3
14 bind(c, name=4_"") :: i4 ! { dg-error "scalar of default character kind" }
15 bind(c, name=1) :: i5 ! { dg-error "scalar of default character kind" }
16 bind(c, name=1.0) :: i6 ! { dg-error "scalar of default character kind" }
17 bind(c, name=["","",""]) :: i7 ! { dg-error "scalar of default character kind" }
18 bind(c, name=s) :: i8
19 bind(c, name=t(2)) :: i9
26 bind(
[all...]
H A Dconflicts_2.f9018 TYPE, bind(C) :: the_distribution
21 TYPE (the_distribution), parameter, bind(C) :: & ! { dg-error "PARAMETER attribute conflicts with BIND.C." }
H A Denum_4.f906 enum, bind (c)
11 enum, bind (c)
H A Denum_7.f907 enum, bind (c)
9 enum, bind (c) ! { dg-error "Unexpected" }
H A Denum_8.f907 enum, bind (c)
11 enum, bind (c)
H A Dglobal_vars_c_init.f907 integer(c_int), bind(c, name='i') :: I
10 subroutine test_globals() bind(c)
H A Dglobal_vars_f90_init.f907 integer(c_int), bind(c, name='i') :: I = 2
10 subroutine test_globals() bind(c)
H A Dbind_c_usage_29.f907 SUBROUTINE wrapper(y_c) bind(c)
9 type, bind(c) :: ty_c
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/bind/
H A D49058_2.cc27 std::bind( []{} );
H A D38889.cc18 // 20.7.11 Function template bind
27 std::bind (goo,1)();
28 std::bind (goo,std::placeholders::_1)(1);
H A Dall_bound.cc19 // 20.7.11 Function template bind
29 VERIFY( std::bind(std::plus<int>(), 3, 5)() == 8 );
30 VERIFY( std::bind(std::minus<int>(), 3, 5)() == -2 );
31 VERIFY( std::bind<int>(std::plus<int>(), 3, 5)() == 8 );
32 VERIFY( std::bind<int>(std::minus<int>(), 3, 5)() == -2 );
H A D49058_1.cc33 std::bind( F() );
H A D35569.cc18 // 20.7.11 Function template bind
30 bind(multiplies<int>(),4,_1)(5);
H A Dconv_result.cc19 // 20.7.11 Function template bind
34 using std::bind;
38 // test bind<R> form
39 bind<void>(ref(x), 1)();
40 VERIFY( bind<long>(ref(x), 1)() == 2 );
41 bind<void>(&::X::b, ref(x))();
42 VERIFY( bind<int>(&::X::b, ref(x))() == 1 );
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dvariadic66.C4 Result bind(Functor, ArgTypes...) { } function
8 bind<int>(17, 20, 22);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Ddependent-expr5.C7 template<class F> void bind(F f) {} // { dg-message "note" } function
32 bind (&baist);
33 bind (&foo::baist);
34 bind (&bait); // { dg-error "non-static data member" }
35 bind (&foo::bait);
37 bind (&baikst);
38 bind (&bar::baikst);
39 bind (&baikt); // ok, this->baikt
40 bind (&bar::baikt);
42 bind (
[all...]

Completed in 351 milliseconds

1234567891011