Searched refs:bind (Results 76 - 100 of 256) sorted by relevance

1234567891011

/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/bind/
H A Dref2.cc18 // 20.7.11 Function template bind
34 std::bind(&inc, _1)(counter);
36 std::bind(&inc, std::ref(counter))();
53 std::bind(Inc(), _1)(counter);
55 std::bind(&Inc::f, Inc(), std::ref(counter))();
H A D60497.cc35 auto binder = std::bind(f, std::ref(p), std::placeholders::_1);
37 auto binderbinder = std::bind(binder, std::placeholders::_1);
H A Dmove.cc36 auto b = std::bind(f());
45 auto b = std::bind<int>(f());
H A D45924.cc34 auto b = std::bind<int>(f(), _1, _2);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/thread/
H A Dadl.cc38 std::thread t(std::bind(&::f, C()));
/haiku-buildtools/binutils/ld/testsuite/ld-aarch64/
H A Dpie-bind-locally.d1 #source: pie-bind-locally-a.s
2 #source: pie-bind-locally-b.s
/haiku-buildtools/binutils/ld/testsuite/ld-arm/
H A Dpie-bind-locally.d1 #source: pie-bind-locally-a.s
2 #source: pie-bind-locally-b.s
/haiku-buildtools/gcc/gcc/testsuite/gfortran.fortran-torture/execute/
H A Denum_2.f906 enum, bind (c)
11 enum, bind (c)
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dc_loc_test.f907 subroutine test0() bind(c)
13 subroutine test_address(x, expected_value) bind(c)
H A Dcom_block_driver.f908 bind(c) :: /COM2/
21 bind(c) :: /COM/
H A Dsizeof_3.f9011 integer(c_int), bind(C) :: MPI_Status_C_obj
19 integer(c_int), bind(C) :: MPI_Status_C_obj2
H A Dproc_decl_1.f9012 subroutine sub2() bind(c)
17 procedure(sub),bind(C) :: a2 ! { dg-error "requires an interface with BIND.C." }
18 procedure(sub2), public, bind(c, name="myEF") :: e, f ! { dg-error "Multiple identifiers provided with single NAME= specifier" }
19 procedure(sub2), bind(C, name=""), pointer :: g ! { dg-error "may not have POINTER attribute" }
70 subroutine b() bind(C)
73 procedure(b), bind(c,name="hjj") :: a ! { dg-error "may not have BIND.C. attribute with NAME" }
H A Dbind_c_coms.f9013 bind(c) :: /COM/, /SINGLE/, /MYCOM/
19 bind(c) :: /mycom2/
23 bind(c, name="f03_com2") /com2/
27 bind(c, name="") /com3/
30 subroutine test_coms() bind(c)
48 bind(c, name="") /com3/
H A Dc_loc_tests_16.f905 type, bind(c) :: t1
8 type, bind(c):: t2
11 type, bind(c) :: t3
H A Dbind_c_usage_24.f9012 subroutine c_proc (is_present, var) bind(C)
19 subroutine subtest (is_present, var) bind(C)
H A Dallocate_with_source_3.f908 type, bind(c) :: cstruct
13 subroutine psub(this, that) bind(c, name='Psub')
H A Dproc_decl_24.f9011 subroutine all_subs(x,y) bind(C)
H A Dc_assoc.f909 function test_c_assoc_0(my_c_ptr) bind(c)
21 function test_c_assoc_1(my_c_ptr_1, my_c_ptr_2) bind(c)
34 function test_c_assoc_2(my_c_ptr_1, my_c_ptr_2, num_ptrs) bind(c)
55 subroutine verify_assoc(my_c_ptr_1, my_c_ptr_2) bind(c)
H A Dc_ptr_tests_17.f9016 function kill_C_PTR() bind(C)
25 function kill_C_FUNPTR() bind(C)
45 function fun() bind(C)
58 function fun() bind(C)
65 function kill_C_PTR() bind(C)
74 function kill_C_FUNPTR() bind(C)
79 function fun() bind(C)
H A Dtest_only_clause.f906 subroutine testOnly(cIntPtr) bind(c, name="testOnly")
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/3_function_objects/bind/
H A Dplaceholders.cc36 VERIFY( std::tr1::bind(std::minus<int>(), _1, _2)(five, seven) == -2 );
37 VERIFY( std::tr1::bind(std::minus<int>(), _2, _1)(five, seven) == 2 );
H A Dmixed.cc26 // std::tr1::bind and std::bind should work together
46 auto b1 = std::bind(minus<int>(), 6, p2::_2);
47 auto b2 = std::tr1::bind(minus<int>(), 6, p1::_2);
52 VERIFY( std::tr1::bind(multiplies<int>(), p1::_1, b1)(five, seven) == -5 );
53 VERIFY( std::bind(multiplies<int>(), p2::_1, b2)(seven, five) == 7 );
55 VERIFY( std::tr1::bind<int>(multiplies<int>(), p1::_1, b1)(five, seven) == -5 );
56 VERIFY( std::bind<int>(multiplies<int>(), p2::_1, b2)(seven, five) == 7 );
59 "TR1 bind expression is a std bind expressio
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/
H A Dpr30965.C10 std::tr1::bind( std::plus< long >(), 0L, v ) );
15 std::tr1::bind( std::plus< long >(), 0L, v ) );
/haiku-buildtools/gcc/liboffloadmic/runtime/
H A Dmic_lib.f9044 enum, bind(C)
53 type, bind (C) :: offload_status
62 bind (C, name = "_Offload_number_of_devices")
71 bind (C, name = "_Offload_signaled")
81 bind (C, name = "_Offload_report")
89 bind (C, name = "_Offload_get_device_number")
97 bind (C, name = "_Offload_get_physical_device_number")
109 bind (C, name = "omp_set_num_threads_target")
116 bind (C, name = "omp_get_max_threads_target")
124 bind (
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dvariadic97.C24 bind(_Functor, _Arg) { } function
32 bind(&State::ready, this);

Completed in 153 milliseconds

1234567891011