Home
last modified time | relevance | path

Searched refs:f2 (Results 1 – 25 of 60) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dcopy_assign.pass.cpp73 std::function<int(int)> f2; in main() local
74 f2 = f; in main()
77 assert(f2.target<A>()); in main()
78 assert(f2.target<int(*)(int)>() == 0); in main()
87 std::function<int(int)> f2; in main() local
88 f2 = f; in main()
90 assert(f2.target<int(*)(int)>()); in main()
91 assert(f2.target<A>() == 0); in main()
99 std::function<int(int)> f2; in main() local
100 f2 = f; in main()
[all …]
Dcopy.pass.cpp73 std::function<int(int)> f2 = f; in main() local
76 assert(f2.target<A>()); in main()
77 assert(f2.target<int(*)(int)>() == 0); in main()
86 std::function<int(int)> f2 = f; in main() local
88 assert(f2.target<int(*)(int)>()); in main()
89 assert(f2.target<A>() == 0); in main()
97 std::function<int(int)> f2 = f; in main() local
99 assert(f2.target<int(*)(int)>() == 0); in main()
100 assert(f2.target<A>() == 0); in main()
110 std::function<int(int)> f2 = std::move(f); in main() local
[all …]
Dalloc_function.pass.cpp75 std::function<int(int)> f2(std::allocator_arg, test_allocator<A>(), f); in main() local
78 assert(f2.target<A>()); in main()
79 assert(f2.target<int(*)(int)>() == 0); in main()
88 std::function<int(int)> f2(std::allocator_arg, test_allocator<int(*)(int)>(), f); in main()
90 assert(f2.target<int(*)(int)>()); in main()
91 assert(f2.target<A>() == 0); in main()
99 std::function<int(int)> f2(std::allocator_arg, test_allocator<int>(), f); in main()
101 assert(f2.target<int(*)(int)>() == 0); in main()
102 assert(f2.target<A>() == 0); in main()
Dalloc_rfunction.pass.cpp72 std::function<int(int)> f2(std::allocator_arg, test_allocator<A>(), std::move(f)); in main() local
75 assert(f2.target<A>()); in main()
76 assert(f2.target<int(*)(int)>() == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/
Dswap.pass.cpp77 std::function<int(int)> f2 = A(2); in main() local
81 assert(f2.target<A>()->id() == 2); in main()
82 swap(f1, f2); in main()
86 assert(f2.target<A>()->id() == 1); in main()
92 std::function<int(int)> f2 = g; in main() local
96 assert(*f2.target<int(*)(int)>() == g); in main()
97 swap(f1, f2); in main()
101 assert(f2.target<A>()->id() == 1); in main()
107 std::function<int(int)> f2 = A(1); in main() local
111 assert(f2.target<A>()->id() == 1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/
Dswap.pass.cpp76 std::function<int(int)> f2 = A(2); in main() local
80 assert(f2.target<A>()->id() == 2); in main()
81 f1.swap(f2); in main()
85 assert(f2.target<A>()->id() == 1); in main()
91 std::function<int(int)> f2 = g; in main() local
95 assert(*f2.target<int(*)(int)>() == g); in main()
96 f1.swap(f2); in main()
100 assert(f2.target<A>()->id() == 1); in main()
106 std::function<int(int)> f2 = A(1); in main() local
110 assert(f2.target<A>()->id() == 1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/filebuf.assign/
Dnonmember_swap.pass.cpp34 std::filebuf f2; in main() local
35 swap(f2, f); in main()
37 assert(f2.is_open()); in main()
38 assert(f2.sgetc() == '2'); in main()
49 std::wfilebuf f2; in main() local
50 swap(f2, f); in main()
52 assert(f2.is_open()); in main()
53 assert(f2.sgetc() == L'2'); in main()
Dmove_assign.pass.cpp33 std::filebuf f2; in main() local
34 f2 = move(f); in main()
36 assert(f2.is_open()); in main()
37 assert(f2.sgetc() == '2'); in main()
48 std::wfilebuf f2; in main() local
49 f2 = move(f); in main()
51 assert(f2.is_open()); in main()
52 assert(f2.sgetc() == L'2'); in main()
Dmember_swap.pass.cpp32 std::filebuf f2; in main() local
33 f2.swap(f); in main()
35 assert(f2.is_open()); in main()
36 assert(f2.sgetc() == '2'); in main()
47 std::wfilebuf f2; in main() local
48 f2.swap(f); in main()
50 assert(f2.is_open()); in main()
51 assert(f2.sgetc() == L'2'); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/filebuf.cons/
Dmove.pass.cpp33 std::filebuf f2(move(f)); in main() local
35 assert(f2.is_open()); in main()
36 assert(f2.sgetc() == '2'); in main()
47 std::wfilebuf f2(move(f)); in main() local
49 assert(f2.is_open()); in main()
50 assert(f2.sgetc() == L'2'); in main()
/ndk/sources/host-tools/make-3.81/
Dfile.c632 struct file *f2; in snap_deps() local
661 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
662 f2->precious = 1; in snap_deps()
666 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
667 f2->low_resolution_time = 1; in snap_deps()
671 for (f2 = d->file; f2 != 0; f2 = f2->prev) in snap_deps()
674 f2->phony = 1; in snap_deps()
675 f2->is_target = 1; in snap_deps()
676 f2->last_mtime = NONEXISTENT_MTIME; in snap_deps()
677 f2->mtime_before_update = NONEXISTENT_MTIME; in snap_deps()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.exception/exception.terminate/set.terminate/
Dget_terminate.pass.cpp17 void f2() {} in f2() function
23 std::set_terminate(f2); in main()
24 assert(std::get_terminate() == f2); in main()
Dset_terminate.pass.cpp17 void f2() {} in f2() function
22 assert(std::set_terminate(f2) == f1); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.dynamic/alloc.errors/set.new.handler/
Dget_new_handler.pass.cpp16 void f2() {} in f2() function
23 std::set_new_handler(f2); in main()
24 assert(std::get_new_handler() == f2); in main()
Dset_new_handler.pass.cpp16 void f2() {} in f2() function
21 assert(std::set_new_handler(f2) == f1); in main()
/ndk/sources/host-tools/toolbox/
Dcmp_win.c62 FILE *f2 = _tfopen(argv[2], L"rb"); in main() local
63 if (!f2) { in main()
73 n2 = fread(buf2, 1, BUFSIZE, f2); in main()
77 fclose(f2); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/depr/exception.unexpected/set.unexpected/
Dget_unexpected.pass.cpp17 void f2() {} in f2() function
33 std::set_unexpected(f2); in main()
34 assert(std::get_unexpected() == f2); in main()
Dset_unexpected.pass.cpp17 void f2() {} in f2() function
30 assert(std::set_unexpected(f2) == f1); in main()
/ndk/tests/device/test-stlport_shared-exception/jni/
Ddelete2.cpp45 void f2 (B2*);
50 f2 (::new D); in main()
54 void f2 (B2* p) { ::delete p; } in f2() function
Domit-frame-pointer2.cpp10 void f2 (void) in f2() function
21 f2 (); in f1()
/ndk/tests/device/test-stlport_static-exception/jni/
Ddelete2.cpp45 void f2 (B2*);
50 f2 (::new D); in main()
54 void f2 (B2* p) { ::delete p; } in f2() function
Domit-frame-pointer2.cpp10 void f2 (void) in f2() function
21 f2 (); in f1()
Dice990323-2.cpp16 void f2() in f2() function
50 f2(); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.once/thread.once.onceflag/
Dassign.fail.cpp21 std::once_flag f2; in main() local
22 f2 = f; in main()
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Ddouble_colon24 foo:: f2.h ; @echo foo SECOND
37 f1.h f2.h: ; @echo $@
76 &utouch(-5, 'f2.h');
94 unlink('f2.h');
98 $answer = "f2.h\nfoo SECOND\n";
105 $answer = "f2.h\nfoo SECOND\n";
125 unlink('foo','f1.h','f2.h');

123