/external/v8/test/mjsunit/regress/ |
H A D | regress-6-9-regexp.js | 30 assertFalse(/[6-9]/.test('2'));
|
H A D | regress-1592.js | 34 function test(a) { function 39 test(1); 40 test(1); 42 %OptimizeFunctionOnNextCall(test); 45 test(1);
|
H A D | regress-2032.js | 31 assertTrue(/[@-A]/i.test("a")); 32 assertTrue(/[@-A]/i.test("A")); 33 assertTrue(/[@-A]/i.test("@")); 35 assertFalse(/[@-A]/.test("a")); 36 assertTrue(/[@-A]/.test("A")); 37 assertTrue(/[@-A]/.test("@")); 39 assertFalse(/[¿-À]/i.test('¾')); 40 assertTrue(/[¿-À]/i.test('¿')); 41 assertTrue(/[¿-À]/i.test('À')); 42 assertTrue(/[¿-À]/i.test('à')); [all...] |
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
H A D | has_denorm_loss.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::has_denorm_loss == expected, "has_denorm_loss test 1"); 21 static_assert(std::numeric_limits<const T>::has_denorm_loss == expected, "has_denorm_loss test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_denorm_loss == expected, "has_denorm_loss test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_denorm_loss == expected, "has_denorm_loss test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigne [all...] |
H A D | has_infinity.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::has_infinity == expected, "has_infinity test 1"); 21 static_assert(std::numeric_limits<const T>::has_infinity == expected, "has_infinity test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_infinity == expected, "has_infinity test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_infinity == expected, "has_infinity test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigne [all...] |
H A D | has_quiet_NaN.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::has_quiet_NaN == expected, "has_quiet_NaN test 1"); 21 static_assert(std::numeric_limits<const T>::has_quiet_NaN == expected, "has_quiet_NaN test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_quiet_NaN == expected, "has_quiet_NaN test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_quiet_NaN == expected, "has_quiet_NaN test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigne [all...] |
H A D | has_signaling_NaN.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::has_signaling_NaN == expected, "has_signaling_NaN test 1"); 21 static_assert(std::numeric_limits<const T>::has_signaling_NaN == expected, "has_signaling_NaN test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_signaling_NaN == expected, "has_signaling_NaN test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_signaling_NaN == expected, "has_signaling_NaN test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigne [all...] |
H A D | is_bounded.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_bounded == expected, "is_bounded test 1"); 21 static_assert(std::numeric_limits<const T>::is_bounded == expected, "is_bounded test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_bounded == expected, "is_bounded test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_bounded == expected, "is_bounded test 4"); 28 test<bool, true>(); 29 test<char, true>(); 30 test<signed char, true>(); 31 test<unsigne [all...] |
H A D | is_exact.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_exact == expected, "is_exact test 1"); 21 static_assert(std::numeric_limits<const T>::is_exact == expected, "is_exact test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_exact == expected, "is_exact test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_exact == expected, "is_exact test 4"); 28 test<bool, true>(); 29 test<char, true>(); 30 test<signed char, true>(); 31 test<unsigne [all...] |
H A D | is_integer.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_integer == expected, "is_integer test 1"); 21 static_assert(std::numeric_limits<const T>::is_integer == expected, "is_integer test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_integer == expected, "is_integer test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_integer == expected, "is_integer test 4"); 28 test<bool, true>(); 29 test<char, true>(); 30 test<signed char, true>(); 31 test<unsigne [all...] |
H A D | is_signed.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_signed == expected, "is_signed test 1"); 21 static_assert(std::numeric_limits<const T>::is_signed == expected, "is_signed test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_signed == expected, "is_signed test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_signed == expected, "is_signed test 4"); 28 test<bool, false>(); 29 test<char, char(-1) < char(0)>(); 30 test<signed char, true>(); 31 test<unsigne [all...] |
H A D | tinyness_before.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::tinyness_before == expected, "tinyness_before test 1"); 21 static_assert(std::numeric_limits<const T>::tinyness_before == expected, "tinyness_before test 2"); 22 static_assert(std::numeric_limits<volatile T>::tinyness_before == expected, "tinyness_before test 3"); 23 static_assert(std::numeric_limits<const volatile T>::tinyness_before == expected, "tinyness_before test 4"); 28 test<bool, false>(); 29 test<char, false>(); 30 test<signed char, false>(); 31 test<unsigne [all...] |
H A D | is_modulo.pass.cpp | 10 // test numeric_limits 18 test() function 20 static_assert(std::numeric_limits<T>::is_modulo == expected, "is_modulo test 1"); 21 static_assert(std::numeric_limits<const T>::is_modulo == expected, "is_modulo test 2"); 22 static_assert(std::numeric_limits<volatile T>::is_modulo == expected, "is_modulo test 3"); 23 static_assert(std::numeric_limits<const volatile T>::is_modulo == expected, "is_modulo test 4"); 28 test<bool, false>(); 29 // test<char, false>(); // don't know 30 test<signed char, false>(); 31 test<unsigne [all...] |
/external/libcxx/test/std/utilities/ratio/ratio.ratio/ |
H A D | ratio.pass.cpp | 10 // test ratio: The static data members num and den shall have thcommon 16 void test() function 24 test<1, 1, 1, 1>(); 25 test<1, 10, 1, 10>(); 26 test<10, 10, 1, 1>(); 27 test<10, 1, 10, 1>(); 28 test<12, 4, 3, 1>(); 29 test<12, -4, -3, 1>(); 30 test<-12, 4, -3, 1>(); 31 test< [all...] |
/external/libcxx/test/std/strings/basic.string/string.ops/string_substr/ |
H A D | substr.pass.cpp | 23 test(const S& s, typename S::size_type pos, typename S::size_type n) function 44 test(S(""), 0, 0); 45 test(S(""), 1, 0); 46 test(S("pniot"), 0, 0); 47 test(S("htaob"), 0, 1); 48 test(S("fodgq"), 0, 2); 49 test(S("hpqia"), 0, 4); 50 test(S("qanej"), 0, 5); 51 test(S("dfkap"), 1, 0); 52 test( [all...] |
/external/libcxx/test/std/experimental/string.view/string.view.find/ |
H A D | find_last_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 | rfind_pointer_size_size.pass.cpp | 20 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function 31 test(S(""), "", 0, 0, 0); 32 test(S(""), "abcde", 0, 0, 0); 33 test(S(""), "abcde", 0, 1, S::npos); 34 test(S(""), "abcde", 0, 2, S::npos); 35 test(S(""), "abcde", 0, 4, S::npos); 36 test(S(""), "abcde", 0, 5, S::npos); 37 test(S(""), "abcdeabcde", 0, 0, 0); 38 test(S(""), "abcdeabcde", 0, 1, S::npos); 39 test( [all...] |
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.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_rfind/ |
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/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/ |
H A D | default.pass.cpp | 22 test() function 29 test<bidirectional_iterator<const char*> >(); 30 test<random_access_iterator<char*> >(); 31 test<char*>(); 32 test<const char*>();
|
/external/v8/test/mjsunit/ |
H A D | array-shift3.js | 8 function test(a) { function 12 assertEquals(["element 1",{}], test([0,,{}])); 13 assertEquals(["element 1",10], test([9,,10])); 14 %OptimizeFunctionOnNextCall(test); 15 assertEquals(["element 1",10], test([9,,10]));
|
H A D | compare-nil.js | 30 function test(v) { function 33 assertFalse(test(true)); 34 assertFalse(test(true)); 35 assertTrue(test(null)); 36 assertTrue(test(null));
|
H A D | global-load-from-eval-in-with.js | 32 function test(obj, source) { function 39 test({ x: 42 }, "assertEquals(42, x)"); 40 test({ y: 42 }, "assertEquals(27, x)"); 43 test({ x: 42 }, "function f() { assertEquals(42, x) }; f();"); 44 test({ y: 42 }, "function f() { assertEquals(27, x) }; f();"); 48 test({ x: 42 }, "function f() { function g() { assertEquals(42, x) }; g() }; f();"); 49 test({ y: 42 }, "function f() { function g() { assertEquals(27, x) }; g() }; f();"); 52 test({ x: 42 }, "function f() { eval('1'); assertEquals(42, x) }; f();"); 53 test({ y: 42 }, "function f() { eval('1'); assertEquals(27, x) }; f();"); 57 test({ [all...] |
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
H A D | atomic_is_lock_free.pass.cpp | 26 test() function 42 test<A>(); 43 test<char>(); 44 test<signed char>(); 45 test<unsigned char>(); 46 test<short>(); 47 test<unsigned short>(); 48 test<int>(); 49 test<unsigned int>(); 50 test<lon [all...] |
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
H A D | size_pointer_size.pass.cpp | 23 test(S s, typename S::size_type pos, const typename S::value_type* str, function 46 test(S(""), 0, "", 0, S("")); 47 test(S(""), 0, "12345", 0, S("")); 48 test(S(""), 0, "12345", 1, S("1")); 49 test(S(""), 0, "12345", 2, S("12")); 50 test(S(""), 0, "12345", 4, S("1234")); 51 test(S(""), 0, "12345", 5, S("12345")); 52 test(S(""), 0, "1234567890", 0, S("")); 53 test(S(""), 0, "1234567890", 1, S("1")); 54 test( [all...] |