/external/libcxx/test/std/input.output/iostreams.base/ios.base/fmtflags.state/ |
H A D | setf_fmtflags.pass.cpp | 19 class test class in inherits:std::ios 23 test() function in class:test 31 test t; 32 assert(t.flags() == (test::skipws | test::dec)); 33 test::fmtflags f = t.setf(test::hex | test::right); 34 assert(f == (test::skipws | test [all...] |
H A D | setf_fmtflags_mask.pass.cpp | 19 class test class in inherits:std::ios 23 test() function in class:test 31 test t; 32 assert(t.flags() == (test::skipws | test::dec)); 33 test::fmtflags f = t.setf(test::hex | test::right, test::dec | test [all...] |
H A D | flags.pass.cpp | 19 class test class in inherits:std::ios 23 test() function in class:test 31 const test t; 32 assert(t.flags() == (test::skipws | test::dec));
|
/external/libcxx/test/std/experimental/string.view/string.view.find/ |
H A D | find_first_not_of_pointer_size_size.pass.cpp | 21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function 32 test(S(""), "", 0, 0, S::npos); 33 test(S(""), "irkhs", 0, 0, S::npos); 34 test(S(""), "kante", 0, 1, S::npos); 35 test(S(""), "oknlr", 0, 2, S::npos); 36 test(S(""), "pcdro", 0, 4, S::npos); 37 test(S(""), "bnrpe", 0, 5, S::npos); 38 test(S(""), "jtdaefblso", 0, 0, S::npos); 39 test(S(""), "oselktgbca", 0, 1, S::npos); 40 test( [all...] |
H A D | find_first_of_pointer_size_size.pass.cpp | 21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function 32 test(S(""), "", 0, 0, S::npos); 33 test(S(""), "irkhs", 0, 0, S::npos); 34 test(S(""), "kante", 0, 1, S::npos); 35 test(S(""), "oknlr", 0, 2, S::npos); 36 test(S(""), "pcdro", 0, 4, S::npos); 37 test(S(""), "bnrpe", 0, 5, S::npos); 38 test(S(""), "jtdaefblso", 0, 0, S::npos); 39 test(S(""), "oselktgbca", 0, 1, S::npos); 40 test( [all...] |
H A D | find_last_of_pointer_size_size.pass.cpp | 21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function 32 test(S(""), "", 0, 0, S::npos); 33 test(S(""), "irkhs", 0, 0, S::npos); 34 test(S(""), "kante", 0, 1, S::npos); 35 test(S(""), "oknlr", 0, 2, S::npos); 36 test(S(""), "pcdro", 0, 4, S::npos); 37 test(S(""), "bnrpe", 0, 5, S::npos); 38 test(S(""), "jtdaefblso", 0, 0, S::npos); 39 test(S(""), "oselktgbca", 0, 1, S::npos); 40 test( [all...] |
H A D | find_pointer_size_size.pass.cpp | 21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function 32 test(S(""), "", 0, 0, 0); 33 test(S(""), "abcde", 0, 0, 0); 34 test(S(""), "abcde", 0, 1, S::npos); 35 test(S(""), "abcde", 0, 2, S::npos); 36 test(S(""), "abcde", 0, 4, S::npos); 37 test(S(""), "abcde", 0, 5, S::npos); 38 test(S(""), "abcdeabcde", 0, 0, 0); 39 test(S(""), "abcdeabcde", 0, 1, S::npos); 40 test( [all...] |
/external/libcxx/test/std/strings/basic.string/string.ops/string_find/ |
H A D | pointer_size_size.pass.cpp | 21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function 32 test(S(""), "", 0, 0, 0); 33 test(S(""), "abcde", 0, 0, 0); 34 test(S(""), "abcde", 0, 1, S::npos); 35 test(S(""), "abcde", 0, 2, S::npos); 36 test(S(""), "abcde", 0, 4, S::npos); 37 test(S(""), "abcde", 0, 5, S::npos); 38 test(S(""), "abcdeabcde", 0, 0, 0); 39 test(S(""), "abcdeabcde", 0, 1, S::npos); 40 test( [all...] |
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.not.of/ |
H A D | pointer_size_size.pass.cpp | 21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function 32 test(S(""), "", 0, 0, S::npos); 33 test(S(""), "irkhs", 0, 0, S::npos); 34 test(S(""), "kante", 0, 1, S::npos); 35 test(S(""), "oknlr", 0, 2, S::npos); 36 test(S(""), "pcdro", 0, 4, S::npos); 37 test(S(""), "bnrpe", 0, 5, S::npos); 38 test(S(""), "jtdaefblso", 0, 0, S::npos); 39 test(S(""), "oselktgbca", 0, 1, S::npos); 40 test( [all...] |
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.of/ |
H A D | pointer_size_size.pass.cpp | 21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function 32 test(S(""), "", 0, 0, S::npos); 33 test(S(""), "irkhs", 0, 0, S::npos); 34 test(S(""), "kante", 0, 1, S::npos); 35 test(S(""), "oknlr", 0, 2, S::npos); 36 test(S(""), "pcdro", 0, 4, S::npos); 37 test(S(""), "bnrpe", 0, 5, S::npos); 38 test(S(""), "jtdaefblso", 0, 0, S::npos); 39 test(S(""), "oselktgbca", 0, 1, S::npos); 40 test( [all...] |
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.of/ |
H A D | pointer_size_size.pass.cpp | 21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function 32 test(S(""), "", 0, 0, S::npos); 33 test(S(""), "irkhs", 0, 0, S::npos); 34 test(S(""), "kante", 0, 1, S::npos); 35 test(S(""), "oknlr", 0, 2, S::npos); 36 test(S(""), "pcdro", 0, 4, S::npos); 37 test(S(""), "bnrpe", 0, 5, S::npos); 38 test(S(""), "jtdaefblso", 0, 0, S::npos); 39 test(S(""), "oselktgbca", 0, 1, S::npos); 40 test( [all...] |
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/ |
H A D | result_type.pass.cpp | 24 test() function 33 test<unsigned short>(); 34 test<unsigned int>(); 35 test<unsigned long>(); 36 test<unsigned long long>();
|
/external/v8/test/mjsunit/ |
H A D | array-shift2.js | 11 function test(array) { function 15 assertEquals(["element 1",2], test(["0",,2])); 16 assertEquals(["element 1",{}], test([{},,{}])); 17 %OptimizeFunctionOnNextCall(test); 18 assertEquals(["element 1",0], test([{},,0]));
|
/external/v8/test/mjsunit/compiler/ |
H A D | regress-3218915.js | 30 // Regression test for failure to deoptimize properly when the most recent 42 function test(x) { return observe(this, ((0, side_effect()), x + 1)); } function 44 // Run test enough times to get it optimized. 45 for (var i = 0; i < 5; ++i) test(0); 46 %OptimizeFunctionOnNextCall(test); 47 test(0); 49 // Force test to deopt. If it behaves normally, it should return the global 52 assertFalse(test("a") === "wrong");
|
/external/v8/test/mjsunit/regress/ |
H A D | comparison-in-effect-context-deopt.js | 31 %DeoptimizeFunction(test); 41 function test(x) { function 45 test(x); 46 %OptimizeFunctionOnNextCall(test); 47 assertEquals("result", test(x));
|
H A D | regress-1166.js | 34 function test(x) { return observe(1, ((false || false), x + 1)); } function 36 for (var i = 0; i < 5; ++i) test(0); 37 %OptimizeFunctionOnNextCall(test); 38 test(0); 40 test("a");
|
H A D | regress-125515.js | 30 function test(a) { function 35 test(a); 36 test(a); 40 test(a); 41 test(a);
|
H A D | regress-397.js | 32 function test() { function 40 test(); 41 test(); 42 %OptimizeFunctionOnNextCall(test); 43 test();
|
H A D | regress-crbug-145961.js | 28 // This test causes the operands to be passed in as Integer32 registers. 30 function test() { function 36 assertEquals(0, test()); 37 assertEquals(0, test()); 38 %OptimizeFunctionOnNextCall(test); 39 assertEquals(0, test());
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ |
H A D | copy.pass.cpp | 23 test() function 39 test<input_iterator<const int*>, output_iterator<int*> >(); 40 test<input_iterator<const int*>, input_iterator<int*> >(); 41 test<input_iterator<const int*>, forward_iterator<int*> >(); 42 test<input_iterator<const int*>, bidirectional_iterator<int*> >(); 43 test<input_iterator<const int*>, random_access_iterator<int*> >(); 44 test<input_iterator<const int*>, int*>(); 46 test<forward_iterator<const int*>, output_iterator<int*> >(); 47 test<forward_iterator<const int*>, input_iterator<int*> >(); 48 test<forward_iterato [all...] |
H A D | copy_if.pass.cpp | 30 test() function 46 test<input_iterator<const int*>, output_iterator<int*> >(); 47 test<input_iterator<const int*>, input_iterator<int*> >(); 48 test<input_iterator<const int*>, forward_iterator<int*> >(); 49 test<input_iterator<const int*>, bidirectional_iterator<int*> >(); 50 test<input_iterator<const int*>, random_access_iterator<int*> >(); 51 test<input_iterator<const int*>, int*>(); 53 test<forward_iterator<const int*>, output_iterator<int*> >(); 54 test<forward_iterator<const int*>, input_iterator<int*> >(); 55 test<forward_iterato [all...] |
H A D | copy_n.pass.cpp | 26 test() function 42 test<input_iterator<const int*>, output_iterator<int*> >(); 43 test<input_iterator<const int*>, input_iterator<int*> >(); 44 test<input_iterator<const int*>, forward_iterator<int*> >(); 45 test<input_iterator<const int*>, bidirectional_iterator<int*> >(); 46 test<input_iterator<const int*>, random_access_iterator<int*> >(); 47 test<input_iterator<const int*>, int*>(); 49 test<forward_iterator<const int*>, output_iterator<int*> >(); 50 test<forward_iterator<const int*>, input_iterator<int*> >(); 51 test<forward_iterato [all...] |
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ |
H A D | unary_transform.pass.cpp | 26 test() function 43 test<input_iterator<const int*>, output_iterator<int*> >(); 44 test<input_iterator<const int*>, input_iterator<int*> >(); 45 test<input_iterator<const int*>, forward_iterator<int*> >(); 46 test<input_iterator<const int*>, bidirectional_iterator<int*> >(); 47 test<input_iterator<const int*>, random_access_iterator<int*> >(); 48 test<input_iterator<const int*>, int*>(); 50 test<forward_iterator<const int*>, output_iterator<int*> >(); 51 test<forward_iterator<const int*>, input_iterator<int*> >(); 52 test<forward_iterato [all...] |
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
H A D | size_pointer.pass.cpp | 23 test(S s, typename S::size_type pos, const typename S::value_type* str, S expected) function 45 test(S(""), 0, "", S("")); 46 test(S(""), 0, "12345", S("12345")); 47 test(S(""), 0, "1234567890", S("1234567890")); 48 test(S(""), 0, "12345678901234567890", S("12345678901234567890")); 49 test(S(""), 1, "", S("can't happen")); 50 test(S(""), 1, "12345", S("can't happen")); 51 test(S(""), 1, "1234567890", S("can't happen")); 52 test(S(""), 1, "12345678901234567890", S("can't happen")); 53 test( [all...] |
H A D | size_size_char.pass.cpp | 23 test(S s, typename S::size_type pos, typename S::size_type n, function 46 test(S(""), 0, 0, '1', S("")); 47 test(S(""), 0, 5, '1', S("11111")); 48 test(S(""), 0, 10, '1', S("1111111111")); 49 test(S(""), 0, 20, '1', S("11111111111111111111")); 50 test(S(""), 1, 0, '1', S("can't happen")); 51 test(S(""), 1, 5, '1', S("can't happen")); 52 test(S(""), 1, 10, '1', S("can't happen")); 53 test(S(""), 1, 20, '1', S("can't happen")); 54 test( [all...] |