/external/libcxx/test/utilities/function.objects/arithmetic.operations/ |
minus.pass.cpp | 25 typedef std::minus<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(3,2) == 1); 28 assert(f2(3.0, 2) == 1); 29 assert(f2(3, 2.5) == 0.5);
|
modulus.pass.cpp | 25 typedef std::modulus<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(36, 8) == 4); 28 assert(f2(36L, 8) == 4); 29 assert(f2(36, 8L) == 4);
|
multiplies.pass.cpp | 25 typedef std::multiplies<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(3,2) == 6); 28 assert(f2(3.0, 2) == 6); 29 assert(f2(3, 2.5) == 7.5); // exact in binary
|
negate.pass.cpp | 25 typedef std::negate<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(36) == -36); 28 assert(f2(36L) == -36); 29 assert(f2(36.0) == -36);
|
plus.pass.cpp | 25 typedef std::plus<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(3,2) == 5); 28 assert(f2(3.0, 2) == 5); 29 assert(f2(3, 2.5) == 5.5);
|
/external/libcxx/test/utilities/function.objects/bitwise.operations/ |
bit_not.pass.cpp | 29 typedef std::bit_not<> F2; 30 const F2 f2 = F2(); local 31 assert((f2(0xEA95) & 0xFFFF ) == 0x156A); 32 assert((f2(0xEA95L) & 0xFFFF ) == 0x156A); 33 assert((f2(0x58D3) & 0xFFFF ) == 0xA72C); 34 assert((f2(0x58D3L) & 0xFFFF ) == 0xA72C); 35 assert((f2(0) & 0xFFFF ) == 0xFFFF); 36 assert((f2(0L) & 0xFFFF ) == 0xFFFF) [all...] |
/external/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
copy_assign.pass.cpp | 73 std::function<int(int)> f2; local 74 f2 = f; 77 assert(f2.target<A>()); 78 assert(f2.target<int(*)(int)>() == 0); 87 std::function<int(int)> f2; local 88 f2 = f; 90 assert(f2.target<int(*)(int)>()); 91 assert(f2.target<A>() == 0); 99 std::function<int(int)> f2; local 100 f2 = f 113 std::function<int(int)> f2; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/arithmetic.operations/ |
divides.pass.cpp | 25 typedef std::divides<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(36, 4) == 9); 28 assert(f2(36.0, 4) == 9); 29 assert(f2(18, 4.0) == 4.5); // exact in binary
|
minus.pass.cpp | 25 typedef std::minus<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(3,2) == 1); 28 assert(f2(3.0, 2) == 1); 29 assert(f2(3, 2.5) == 0.5);
|
modulus.pass.cpp | 25 typedef std::modulus<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(36, 8) == 4); 28 assert(f2(36L, 8) == 4); 29 assert(f2(36, 8L) == 4);
|
multiplies.pass.cpp | 25 typedef std::multiplies<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(3,2) == 6); 28 assert(f2(3.0, 2) == 6); 29 assert(f2(3, 2.5) == 7.5); // exact in binary
|
negate.pass.cpp | 25 typedef std::negate<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(36) == -36); 28 assert(f2(36L) == -36); 29 assert(f2(36.0) == -36);
|
plus.pass.cpp | 25 typedef std::plus<> F2; 26 const F2 f2 = F2(); local 27 assert(f2(3,2) == 5); 28 assert(f2(3.0, 2) == 5); 29 assert(f2(3, 2.5) == 5.5);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/bitwise.operations/ |
bit_not.pass.cpp | 29 typedef std::bit_not<> F2; 30 const F2 f2 = F2(); local 31 assert((f2(0xEA95) & 0xFFFF ) == 0x156A); 32 assert((f2(0xEA95L) & 0xFFFF ) == 0x156A); 33 assert((f2(0x58D3) & 0xFFFF ) == 0xA72C); 34 assert((f2(0x58D3L) & 0xFFFF ) == 0xA72C); 35 assert((f2(0) & 0xFFFF ) == 0xFFFF); 36 assert((f2(0L) & 0xFFFF ) == 0xFFFF) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
copy_assign.pass.cpp | 73 std::function<int(int)> f2; local 74 f2 = f; 77 assert(f2.target<A>()); 78 assert(f2.target<int(*)(int)>() == 0); 87 std::function<int(int)> f2; local 88 f2 = f; 90 assert(f2.target<int(*)(int)>()); 91 assert(f2.target<A>() == 0); 99 std::function<int(int)> f2; local 100 f2 = f 113 std::function<int(int)> f2; local [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-crbug-350867.js | 8 function f2(a, b, c, index) { function 12 f2(2, 3, 4, "foo"); 13 f2(2, 3, 4, "foo"); 15 assertEquals(22, f2(22, 33, 44, 0));
|
/external/clang/test/CodeGenCXX/ |
sparcv9-abi.cpp | 15 void f2(struct notpod); 25 f2(p2);
|
/external/clang/test/SemaCXX/ |
attr-regparm.cpp | 8 void __attribute__((regparm(3))) f2(); // expected-note{{previous declaration is here}} 14 void __attribute__((regparm(2))) X0::f2() { } // expected-error{{function declared with regparm(2) attribute was previously declared with the regparm(3) attribute}} function in class:X0
|
/external/libcxx/test/depr/exception.unexpected/set.unexpected/ |
set_unexpected.pass.cpp | 17 void f2() {} function 29 // verify f1 was replace with f2 30 assert(std::set_unexpected(f2) == f1);
|
/external/libcxx/test/input.output/file.streams/fstreams/filebuf.assign/ |
member_swap.pass.cpp | 32 std::filebuf f2; local 33 f2.swap(f); 35 assert(f2.is_open()); 36 assert(f2.sgetc() == '2'); 47 std::wfilebuf f2; local 48 f2.swap(f); 50 assert(f2.is_open()); 51 assert(f2.sgetc() == L'2');
|
move_assign.pass.cpp | 33 std::filebuf f2; local 34 f2 = move(f); 36 assert(f2.is_open()); 37 assert(f2.sgetc() == '2'); 48 std::wfilebuf f2; local 49 f2 = move(f); 51 assert(f2.is_open()); 52 assert(f2.sgetc() == L'2');
|
nonmember_swap.pass.cpp | 34 std::filebuf f2; local 35 swap(f2, f); 37 assert(f2.is_open()); 38 assert(f2.sgetc() == '2'); 49 std::wfilebuf f2; local 50 swap(f2, f); 52 assert(f2.is_open()); 53 assert(f2.sgetc() == L'2');
|
/external/lldb/test/functionalities/dead-strip/ |
main.c | 13 int f2 (char *s); 27 // We want f2 to start on line 30, this should get stripped 28 int f2 (char *s) function 30 return printf("f2: %s\n", s);
|
/external/llvm/test/MC/ELF/ |
comdat-dup-group-name.s | 23 // CHECK: Name: f2 39 .section .foo,"axG",@progbits,f2,comdat
|
/external/llvm/utils/ |
GetRepositoryPath | 18 svn info | grep '^URL:' | cut -d: -f2- 20 git svn info | grep 'URL:' | cut -d: -f2-
|