Searched refs:test (Results 26 - 50 of 2784) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/
H A Dmath-sqrt.js30 function test(expected_sqrt, value) { function
42 test(2, 4);
43 test(0.1, 0.01);
46 test(NaN, NaN);
47 test(NaN, -1);
48 test(+0, +0);
49 test(-0, -0);
50 test(Infinity, Infinity);
52 test(NaN, -Infinity);
H A Dregexp-multiline-stack-trace.js28 // The flags below are to test the trace-calls functionality and the
37 assertTrue(/^bar/.test("bar"));
38 assertTrue(/^bar/.test("bar\nfoo"));
39 assertFalse(/^bar/.test("foo\nbar"));
40 assertTrue(/^bar/m.test("bar"));
41 assertTrue(/^bar/m.test("bar\nfoo"));
42 assertTrue(/^bar/m.test("foo\nbar"));
44 assertTrue(/bar$/.test("bar"));
45 assertFalse(/bar$/.test("bar\nfoo"));
46 assertTrue(/bar$/.test("fo
[all...]
H A Dregexp-multiline.js33 assertTrue(/^bar/.test("bar"));
34 assertTrue(/^bar/.test("bar\nfoo"));
35 assertFalse(/^bar/.test("foo\nbar"));
36 assertTrue(/^bar/m.test("bar"));
37 assertTrue(/^bar/m.test("bar\nfoo"));
38 assertTrue(/^bar/m.test("foo\nbar"));
40 assertTrue(/bar$/.test("bar"));
41 assertFalse(/bar$/.test("bar\nfoo"));
42 assertTrue(/bar$/.test("foo\nbar"));
43 assertTrue(/bar$/m.test("ba
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-1132.js33 // If the test starts to fail in Genesis, consider increasing this constant.
35 function test() { function
37 test(1, test(1));
46 test();
H A Dregress-1104.js31 function test(f) { function
37 test();
H A Dregress-286.js30 function test() { function
36 assertEquals(1, test());
H A Dregress-74.js31 function test() { function
40 test();
H A Dregress-1166.js34 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 Dregress-125515.js30 function test(a) { function
35 test(a);
36 test(a);
40 test(a);
41 test(a);
H A Dregress-397.js32 function test() { function
40 test();
41 test();
42 %OptimizeFunctionOnNextCall(test);
43 test();
H A Dregress-643.js28 // Regression test for http://code.google.com/p/v8/issues/detail?id=643.
31 var test = {x:1};
32 var a = test;
34 return test.x;
/external/clang/test/CodeGen/
H A D2002-07-30-VarArgsCallFailure.c4 void test(char *, const char*, int);
7 test(Buf, "n%%%d", tcount++);
H A D2007-02-16-VoidPtrDiff.c3 void foo(void *ptr, int test) { argument
4 (ptr - ((void *) test + 0x2000));
H A D2008-02-07-bitfield-bug.c4 struct test { struct
9 void f(struct test *t) {
H A D2002-02-13-ReloadProblem.c12 const char *rangematch(const char *pattern, int test, int c) { argument
14 if ((c <= test) | (tolower(c) <= tolower((unsigned char)test)))
H A D2002-04-08-LocalArray.c6 double test(unsigned X) { function
H A D2003-08-17-DeadCodeShortCircuit.c3 int test(_Bool pos, _Bool color) { function
/external/clang/test/CodeGenCXX/
H A Dswitch-case-folding-2.cpp5 int test(int val){ function
18 return test(5);
H A Ddebug-info-globalinit.cpp8 int test() { function
13 static int i = test();
14 __attribute__((nodebug)) static int j = test();
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/FunctionObjects/
H A Dapply-001-n.js25 print ("STATUS: f.apply crash test.");
33 test ();
35 function test () function
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Unicode/
H A Duc-001.js25 test();
27 function test() function
29 enterFunc ("test");
31 printStatus ("Unicode format-control character (Category Cf) test.");
35 "Unicode format-control character test (Category Cf.)");
37 exitFunc ("test");
H A Duc-002-n.js25 test();
27 function test() function
29 enterFunc ("test");
31 printStatus ("Non-character escapes in identifiers negative test.");
35 "Non-character escapes in identifiers negative test.");
37 exitFunc ("test");
/external/webkit/Source/WebCore/manual-tests/inspector/resources/
H A Dscript-error.js1 var test = document.body; variable
4 function test() { function
/external/v8/test/mjsunit/compiler/
H A Dregress-3218915.js30 // 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/clang/test/Lexer/
H A Dchar-escapes.c3 int test['\\' == 92 ? 1 : -1]; variable
4 int test['\"' == 34 ? 1 : -1]; variable
5 int test['\'' == 39 ? 1 : -1]; variable
6 int test['\?' == 63 ? 1 : -1]; variable
7 int test['\a' == 7 ? 1 : -1]; variable
8 int test['\b' == 8 ? 1 : -1]; variable
9 int test['\e' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
10 int test['\E' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
11 int test['\f' == 12 ? 1 : -1]; variable
12 int test['\ variable
13 int test['\\r' == 13 ? 1 : -1]; variable
14 int test['\\t' == 9 ? 1 : -1]; variable
15 int test['\\v' == 11 ? 1 : -1]; variable
16 int test['\\xa' == 10 ? 1 : -1]; variable
17 int test['\\1' == 1 ? 1 : -1]; variable
18 int test['\\(' == 40 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
19 int test['\\{' == 123 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
20 int test['\\[' == 91 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
21 int test['\\%' == 37 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
[all...]

Completed in 254 milliseconds

1234567891011>>