/external/v8/test/mjsunit/ |
H A D | math-sqrt.js | 30 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 D | regexp-multiline-stack-trace.js | 28 // 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 D | regexp-multiline.js | 33 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 D | regress-1132.js | 33 // 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 D | regress-1104.js | 31 function test(f) { function 37 test();
|
H A D | regress-286.js | 30 function test() { function 36 assertEquals(1, test());
|
H A D | regress-74.js | 31 function test() { function 40 test();
|
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-643.js | 28 // 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 D | 2002-07-30-VarArgsCallFailure.c | 4 void test(char *, const char*, int); 7 test(Buf, "n%%%d", tcount++);
|
H A D | 2007-02-16-VoidPtrDiff.c | 3 void foo(void *ptr, int test) { argument 4 (ptr - ((void *) test + 0x2000));
|
H A D | 2008-02-07-bitfield-bug.c | 4 struct test { struct 9 void f(struct test *t) {
|
H A D | 2002-02-13-ReloadProblem.c | 12 const char *rangematch(const char *pattern, int test, int c) { argument 14 if ((c <= test) | (tolower(c) <= tolower((unsigned char)test)))
|
H A D | 2002-04-08-LocalArray.c | 6 double test(unsigned X) { function
|
H A D | 2003-08-17-DeadCodeShortCircuit.c | 3 int test(_Bool pos, _Bool color) { function
|
/external/clang/test/CodeGenCXX/ |
H A D | switch-case-folding-2.cpp | 5 int test(int val){ function 18 return test(5);
|
H A D | debug-info-globalinit.cpp | 8 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 D | apply-001-n.js | 25 print ("STATUS: f.apply crash test."); 33 test (); 35 function test () function
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Unicode/ |
H A D | uc-001.js | 25 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 D | uc-002-n.js | 25 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 D | script-error.js | 1 var test = document.body; variable 4 function test() { function
|
/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/clang/test/Lexer/ |
H A D | char-escapes.c | 3 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...] |