/external/chromium_org/v8/test/mjsunit/ |
number-literal.js | 6 assertSame(eval(a), eval(b), message); 10 assertSame(eval(a), eval(b), message);
|
arguments-load-across-eval.js | 28 // Tests loading of aguments across eval calls. 30 // Test loading across an eval call that does not shadow variables. 33 eval('1'); 47 // Test loading across eval calls that do not shadow variables. 49 eval('1'); 51 eval('1'); 65 // Test loading across an eval call that shadows variables. 70 eval('var x = 3; var h = function() { return 4; };');
|
object-literal.js | 146 eval("var " + keyword + " = 42;"); 153 var x = eval("({" + keyword + ": 42})"); 155 assertEquals(42, eval("x." + keyword)); 156 eval("x." + keyword + " = 37"); 158 assertEquals(37, eval("x." + keyword)); 161 var y = eval("({value : 42, get " + keyword + "(){return this.value}," + 164 assertEquals(42, eval("y." + keyword)); 165 eval("y." + keyword + " = 37"); 167 assertEquals(37, eval("y." + keyword)); 170 var z = eval("({\"" + keyword + "\": 42})") [all...] |
property-load-across-eval.js | 28 // Tests loading of properties across eval calls. 35 // Test loading across an eval call that does not shadow variables. 42 eval('1'); 94 // Test loading across eval calls that do not shadow variables. 98 eval('1'); 100 eval('1'); 118 // Test loading across an eval call that shadows variables. 123 eval('var x = 3; var y = 4;'); 126 eval('function local_function() { return "new_local"; }'); 127 eval('function global_function() { return "new_nonglobal"; }') [all...] |
debug-compile-event.js | 39 var eval_compilations = 0; // Number of scources compiled through eval. 44 eval(current_source); 63 case Debug.ScriptCompilationType.Eval: 71 // If the compiled source contains 'eval' there will be additional compile 72 // events for the source inside eval. 73 if (current_source.indexOf('eval') == 0) { 74 // For source with 'eval' there will be compile events with substrings 78 // For source without 'eval' there will be a compile events with the 84 var msg = eval('(' + json + ')'); 106 compileSource('eval("a=2")') [all...] |
strict-mode-eval.js | 30 var code1 = "function f(eval) {}"; 36 // (using aliased eval to force non-strict mode) 37 var eval_alias = eval; 47 eval(code1); 57 eval(code2); 67 eval(code3); 77 eval(code4);
|
contextual-calls.js | 35 Realm.eval(realms[i], name + " = Realm.shared['" + name + "'];"); 47 Realm.eval(realms[i]," \ 66 assertSame(globals[0], Realm.eval(realms[i],'return_this.apply()')) ; 67 assertSame(undefined, Realm.eval(realms[i],'return_this_strict.apply()')); 68 assertSame(globals[0], Realm.eval(realms[i],'return_this.apply(null)')) ; 69 assertSame(null, Realm.eval(realms[i],'return_this_strict.apply(null)')); 71 assertSame(globals[0], Realm.eval(realms[i],'return_this.call()')) ; 72 assertSame(undefined, Realm.eval(realms[i],'return_this_strict.call()')); 73 assertSame(globals[0], Realm.eval(realms[i],'return_this.call(null)')) ; 74 assertSame(null, Realm.eval(realms[i],'return_this_strict.call(null)')) [all...] |
argument-assigned.js | 63 eval(s); 73 eval(s); 83 eval(s); 93 eval(s); 103 eval(s); 126 eval(s);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-crbug-357137.js | 7 eval("function f() {" + locals + "f();}");
|
regress-186.js | 28 // Make sure that eval can introduce a local variable called __proto__. 43 eval("var __proto__ = o"); 45 eval("var x = 27"); 47 assertEquals(o, eval("__proto__")); 52 eval("const __proto__ = o"); 54 eval("var x = 27"); 56 assertEquals(o, eval("__proto__")); 61 eval("__proto__ = o"); 63 eval("x = 27"); 66 assertEquals(o, eval("__proto__")) [all...] |
regress-2594.js | 36 eval("var h = function() { return XXX }") 45 eval("function h(){ return XXX }") 55 eval("function h(){ return XXX }") 66 eval("function h(){ return XXX }") 76 eval('eval("function h(){ return XXX }")') 85 eval("var h = (function() { function g(){ return XXX } return g })()") 94 eval("function h() { var XXX=2; function g(){ return XXX } return g }") 102 eval("function h(){ return XXX }")
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
TestController.js | 41 var result = window.eval(script);
|
/external/eigen/doc/snippets/ |
MatrixBase_eval.cpp | 9 cout << "Now let us instead do m.col(1) = m.row(0).eval(). Then m becomes" << endl; 11 m.col(1) = m.row(0).eval();
|
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
completion.js | 36 try { eval("return;"); } catch(e) { caught = true; } 40 var val = eval("11; { }"); 42 val = eval("12; ;"); 44 val = eval("13; if(false);"); 46 val = eval("14; function f() {}"); 48 val = eval("15; var v = 0");
|
/external/clang/lib/CodeGen/ |
CGCUDARuntime.cpp | 33 CodeGenFunction::ConditionalEvaluation eval(CGF); 37 eval.begin(CGF); 53 eval.end(CGF);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/share/doc/mpfr/examples/ |
divworst.c | 45 eval (mpfr_t x, mpfr_t y, mpfr_t z, mpfr_t t, mpfr_rnd_t rnd) function 87 rz = eval (x, y, z, t, GMP_RNDZ); 88 rn = eval (x, y, z, t, GMP_RNDN);
|
/external/chromium_org/v8/test/mjsunit/compiler/ |
eval-introduced-closure.js | 28 // Test that functions introduced by eval work both when there are 29 // strict mode and non-strict mode eval in scopes. 41 return eval(str); 52 return eval(str); 62 var f = eval(str); 63 eval('var x = 1'); 73 function strict_eval(str) { "use strict"; return eval(str); } 78 eval("var x = 3"); 86 function strict_eval(str) { "use strict"; return eval(str); } 91 eval("var x = 3") [all...] |
/ndk/build/core/ |
definitions-tests.mk | 45 $(eval _test_name := $1)\ 46 $(eval _test_list += $1)\ 47 $(eval _test_failed :=)\ 55 $(eval _test_failures += $$(_test_name))\ 74 $(eval _test_failed := true)\ 83 $(eval _test_failed := true)\ 91 $(eval _test_list :=)\ 92 $(eval _test_failures :=)\ 98 $(eval _test_count := $$(words $$(_test_list)))\ 99 $(eval _test_fail_count := $$(words $$(_test_failures))) [all...] |
/art/test/ |
Android.run-test.mk | 168 # Helper to create individual build targets for tests. Must be called with $(eval). 181 $(foreach test, $(TEST_ART_RUN_TESTS), $(eval $(call define-build-art-run-test,$(test)))) 530 $$(eval $$(call define-test-art-run-test,$(1),$(2),default,$$(ART_PHONY_TEST_$$(group_uc_host_or_target)_SUFFIX),,$(3))) 531 $$(eval $$(call define-test-art-run-test,$(1),$(2),interpreter,$$(ART_PHONY_TEST_$$(group_uc_host_or_target)_SUFFIX),,$(3))) 532 $$(eval $$(call define-test-art-run-test,$(1),$(2),optimizing,$$(ART_PHONY_TEST_$$(group_uc_host_or_target)_SUFFIX),,$(3))) 533 $$(eval $$(call define-test-art-run-test,$(1),$(2),default,$$(ART_PHONY_TEST_$$(group_uc_host_or_target)_SUFFIX),trace,$(3))) 534 $$(eval $$(call define-test-art-run-test,$(1),$(2),interpreter,$$(ART_PHONY_TEST_$$(group_uc_host_or_target)_SUFFIX),trace,$(3))) 535 $$(eval $$(call define-test-art-run-test,$(1),$(2),optimizing,$$(ART_PHONY_TEST_$$(group_uc_host_or_target)_SUFFIX),trace,$(3))) 536 $$(eval $$(call define-test-art-run-test,$(1),$(2),default,$$(ART_PHONY_TEST_$$(group_uc_host_or_target)_SUFFIX),gcverify,$(3))) 537 $$(eval $$(call define-test-art-run-test,$(1),$(2),interpreter,$$(ART_PHONY_TEST_$$(group_uc_host_or_targe (…) [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/ |
block-leave.js | 73 eval('xx'); 88 assertEquals('outer', eval('x')); 100 assertEquals('outer', eval('x')); 109 assertEquals('outer', eval('x')); 121 assertEquals('outer', eval('x')); 130 assertEquals('outer', eval('x')); 143 assertEquals('outer', eval('x')); 154 assertEquals('outer', eval('x')); 171 assertEquals('outer', eval('x')); 189 assertEquals('outer', eval('x')) [all...] |
block-const-assign.js | 47 // Function local const, assign from eval. 49 use = "eval('(function() { " + use + " })')"; 55 use = "eval('(function() { " + use + " })')"; 71 // Block local const, assign from eval. 73 use = "eval('(function() {" + use + "})')"; 79 use = "eval('(function() {" + use + "})')"; 90 // Function expression name, assign from eval. 92 use = "eval('(function(){" + use + "})')"; 117 eval(d(u));
|
block-scoping.js | 55 assertEquals(1, eval('one')); 56 assertEquals(2, eval('x')); 57 assertEquals(3, eval('y')); 58 assertEquals(4, eval('z')); 59 assertEquals(5, eval('u')); 60 assertEquals(6, eval('v')); 98 assertEquals(1, eval('one')); 99 assertEquals(2, eval('x')); 100 assertEquals(3, eval('y')); 101 assertEquals(4, eval('z')) [all...] |
/external/chromium_org/v8/test/mjsunit/bugs/ |
bug-proto.js | 35 assertSame(Realm.eval(realmB, "this"), Realm.global(realmB)); 41 assertThrows("Realm.eval(realmB, 'x')"); 42 assertSame(undefined, Realm.eval(realmB, "this.x")); 43 assertSame(undefined, Realm.eval(realmB, "Realm.shared.x")); 45 Realm.eval(realmB, "Realm.global(0).y = 1"); 53 assertSame(1, Realm.eval(realmB, "Realm.shared.a")); 54 assertSame(2, Realm.eval(realmB, "Realm.shared.b")); 57 assertSame(undefined, Realm.eval(realmB, "Realm.shared.__proto__")); 59 Realm.eval(realmB, "Realm.shared.__proto__ = {c: 3}");
|
/external/eigen/test/eigen2/ |
gsl_helper.h | 35 static void eigen_symm(const Matrix& m, Vector& eval, Matrix& evec) 40 gsl_eigen_symmv(a,eval,evec,w); 41 gsl_eigen_symmv_sort(eval, evec, GSL_EIGEN_SORT_VAL_ASC); 45 static void eigen_symm_gen(const Matrix& m, const Matrix& _b, Vector& eval, Matrix& evec) 52 gsl_eigen_gensymmv(a,b,eval,evec,w); 53 gsl_eigen_symmv_sort(eval, evec, GSL_EIGEN_SORT_VAL_ASC); 71 static void eigen_symm(const Matrix& m, gsl_vector* &eval, Matrix& evec) 76 gsl_eigen_hermv(a,eval,evec,w); 77 gsl_eigen_hermv_sort(eval, evec, GSL_EIGEN_SORT_VAL_ASC); 81 static void eigen_symm_gen(const Matrix& m, const Matrix& _b, gsl_vector* &eval, Matrix& evec [all...] |
/external/eigen/test/ |
product_large.cpp | 35 VERIFY_IS_APPROX((a = a * b), (c * b).eval()); 58 VERIFY_IS_APPROX(r1, (mat1.row(2)*mat2.transpose()).eval()); 61 VERIFY_IS_APPROX(r2, (mat1.row(2)*mat2).eval());
|