Home
last modified time | relevance | path

Searched refs:f1 (Results 1 – 25 of 100) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/
Dswap.pass.cpp75 std::function<int(int)> f1 = A(1); in main() local
79 assert(f1.target<A>()->id() == 1); in main()
81 f1.swap(f2); in main()
84 assert(f1.target<A>()->id() == 2); in main()
90 std::function<int(int)> f1 = A(1); in main() local
94 assert(f1.target<A>()->id() == 1); in main()
96 f1.swap(f2); in main()
99 assert(*f1.target<int(*)(int)>() == g); in main()
105 std::function<int(int)> f1 = g; in main() local
109 assert(*f1.target<int(*)(int)>() == g); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/
Dswap.pass.cpp76 std::function<int(int)> f1 = A(1); in main() local
80 assert(f1.target<A>()->id() == 1); in main()
82 swap(f1, f2); in main()
85 assert(f1.target<A>()->id() == 2); in main()
91 std::function<int(int)> f1 = A(1); in main() local
95 assert(f1.target<A>()->id() == 1); in main()
97 swap(f1, f2); in main()
100 assert(*f1.target<int(*)(int)>() == g); in main()
106 std::function<int(int)> f1 = g; in main() local
110 assert(*f1.target<int(*)(int)>() == g); in main()
[all …]
/ndk/sources/host-tools/toolbox/
Dcmp_win.c57 FILE *f1 = _tfopen(argv[1], L"rb"); in main() local
58 if (!f1) { in main()
65 fclose(f1); in main()
72 n1 = fread(buf1, 1, BUFSIZE, f1); in main()
76 fclose(f1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.exception/exception.terminate/set.terminate/
Dset_terminate.pass.cpp16 void f1() {} in f1() function
21 std::set_terminate(f1); in main()
22 assert(std::set_terminate(f2) == f1); in main()
Dget_terminate.pass.cpp16 void f1() {} in f1() function
21 std::set_terminate(f1); in main()
22 assert(std::get_terminate() == f1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/alloc.errors/set.new.handler/
Dset_new_handler.pass.cpp15 void f1() {} in f1() function
20 assert(std::set_new_handler(f1) == 0); in main()
21 assert(std::set_new_handler(f2) == f1); in main()
Dget_new_handler.pass.cpp15 void f1() {} in f1() function
21 std::set_new_handler(f1); in main()
22 assert(std::get_new_handler() == f1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios.base/ios.base.callback/
Dregister_callback.pass.cpp35 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() function
49 b.register_callback(f1, 4); in main()
50 b.register_callback(f1, 4); in main()
51 b.register_callback(f1, 4); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/exception.unexpected/set.unexpected/
Dset_unexpected.pass.cpp16 void f1() {} in f1() function
26 std::unexpected_handler old = std::set_unexpected(f1); in main()
30 assert(std::set_unexpected(f2) == f1); in main()
Dget_unexpected.pass.cpp16 void f1() {} in f1() function
30 std::set_unexpected(f1); in main()
31 assert(std::get_unexpected() == f1); in main()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
Dinherited_exception.cpp24 void f1() { in f1() function
52 f1(); in main()
70 f1(); in main()
88 f1(); in main()
/ndk/tests/device/test-stlport_shared-exception/jni/
Dfp-regs.cpp21 double a1, b1, c1, d1, e1, f1, g1, h1, i1, j1; in main() local
39 f1 = e1 + 1; in main()
40 g1 = f1 + 1; in main()
82 if (f1 != 5.0) in main()
Ddelete2.cpp58 void f1 (D*);
63 f1 (::new D); in main()
67 void f1 ( D* p) { ::delete p; } in f1() function
Dspbp.cpp11 void f1(int t) in f1() function
21 f1(100); in main()
Domit-frame-pointer2.cpp16 void f1 (void) in f1() function
32 f1 (); in main()
/ndk/tests/device/test-stlport_static-exception/jni/
Dfp-regs.cpp21 double a1, b1, c1, d1, e1, f1, g1, h1, i1, j1; in main() local
39 f1 = e1 + 1; in main()
40 g1 = f1 + 1; in main()
82 if (f1 != 5.0) in main()
Ddelete2.cpp58 void f1 (D*);
63 f1 (::new D); in main()
67 void f1 ( D* p) { ::delete p; } in f1() function
Dspbp.cpp11 void f1(int t) in f1() function
21 f1(100); in main()
Domit-frame-pointer2.cpp16 void f1 (void) in f1() function
32 f1 (); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/exception.unexpected/unexpected/
Dunexpected.pass.cpp16 void f1() in f1() function
23 std::set_unexpected(f1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.exception/exception.terminate/terminate/
Dterminate.pass.cpp16 void f1() in f1() function
23 std::set_terminate(f1); in main()
/ndk/tests/device/test-stlport/unit/
Dmfunptr_test.cpp43 int f1(S1&);
56 int f1(const S1&);
78 ptr_fun(f1)(s1); in mem_ptr_fun() local
95 mem_fun(&Class::f1)(&obj, s1); in mem_ptr_fun()
115 mem_fun_ref(&Class::f1)(obj, s1); in mem_ptr_fun() local
131 int f1(S1&) in f1() function
158 int Class::f1(const S1&) in f1() function in Class
/ndk/tests/device/test-gnustl-full/unit/
Dmfunptr_test.cpp43 int f1(S1&);
56 int f1(const S1&);
78 ptr_fun(f1)(s1); in mem_ptr_fun() local
95 mem_fun(&Class::f1)(&obj, s1); in mem_ptr_fun()
115 mem_fun_ref(&Class::f1)(obj, s1); in mem_ptr_fun() local
131 int f1(S1&) in f1() function
158 int Class::f1(const S1&) in f1() function in Class
/ndk/tests/device/math/jni/
Dmath.cpp23 float f, f1, fn; variable
41 sincosf(0.71f, &f, &f1); in main()
47 TEST_EQ(f1, 0.7583619f); in main()
Dmath.c23 float f, f1, fn; variable
41 sincosf(0.71f, &f, &f1); in main()
47 TEST_EQ(f1, 0.7583619f); in main()

1234