/external/v8/test/mjsunit/ |
local-load-from-eval.js | 28 // Tests loads of local properties from eval. 32 eval(source); 37 test("(function() { var y = 42; eval('1'); assertEquals(42, y); })();"); 38 test("(function() { var y = 42; eval('var y = 2; var z = 2;'); assertEquals(2, y); })();");
|
stack-traces.js | 58 eval("function Doo() { FAIL; }; Doo();"); 63 eval("function Outer() { eval('function Inner() { eval(x); }'); Inner(); }; Outer();"); 67 eval("function Doo() { FAIL; }; Doo();\n//@ sourceURL=res://name"); 72 var innerEval = 'function Inner() { eval(x); }\n//@ sourceURL=res://inner-eval'; 73 eval("function Outer() { eval(innerEval); Inner(); }; Outer();\n//@ sourceURL=res://outer-eval"); [all...] |
strict-mode.js | 92 // Function named 'eval'. 93 CheckStrictMode("function eval() {}", SyntaxError); 98 // Function parameter named 'eval'. 99 CheckStrictMode("function foo(a, b, eval, c, d) {}", SyntaxError); 104 // Property accessor parameter named 'eval'. 105 CheckStrictMode("var o = { set foo(eval) {} }", SyntaxError); 113 // Function constructor: eval parameter name. 114 CheckFunctionConstructorStrictMode("eval"); 123 // catch(eval) 124 CheckStrictMode("try{}catch(eval){};", SyntaxError) [all...] |
/external/v8/test/mjsunit/regress/ |
regress-496.js | 30 // Tests that we do not treat the unaliased eval call in g as an 31 // aliased call to eval. 34 function f() { return eval; } 35 function g() { var x = 44; return eval("x"); }
|
regress-1178598.js | 40 eval("const e=1"); 48 // Make sure that catch variables can be accessed using eval. 54 result = eval("e"); 74 result = eval("e"); 80 eval("e");
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
forin-002.js | 50 "eval ( " + property +" )", 52 object[property] == eval(property) ); 67 "eval ( " + property +" )", 69 object[property] == eval(property) );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/ExecutionContexts/ |
10.1.4-1.js | 32 * Eval Code 44 eval("var x = 1"); 50 reportFailure ("x did not remain defined after eval()"); 52 reportFailure ("x did not retain it's value after eval()");
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.5-2.js | 71 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(0)", 0x0074, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(0)") ); 72 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(1)", 0x0072, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(1)") ); 73 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(2)", 0x0075, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(2)") ); 74 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(3)", 0x0065, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(3)") ); 75 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)") ); 76 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)") ); 78 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(true)", 0x0072, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(true)") ); 79 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(false)", 0x0074, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(false)") ); 81 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(0)", Number.NaN, eval("x=new String();x.charCodeAt(0)") ); 82 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(1)", Number.NaN, eval("x=new String();x.charCodeAt(1)") ) [all...] |
15.5.4.10-1.js | 78 array[item++] = new TestCase( SECTION, "delete String.prototype.substring.length; String.prototype.substring.length", 2, eval("delete String.prototype.substring.length; String.prototype.substring.length") ); 87 eval("var s = new String('this is a string object'); typeof s.substring()") ); 92 eval("var s = new String(''); s.substring(1,0)") ); 97 eval("var s = new String('this is a string object'); s.substring(false, true)") ); 102 eval("var s = new String('this is a string object'); s.substring(NaN, Infinity)") ); 108 eval("var s = new String('this is a string object'); s.substring(Infinity, NaN)") ); 114 eval("var s = new String('this is a string object'); s.substring(Infinity, Infinity)") ); 119 eval("var s = new String('this is a string object'); s.substring(-0.01,0)") ); 125 eval("var s = new String('this is a string object'); s.substring(s.length, s.length)") ); 130 eval("var s = new String('this is a string object'); s.substring(s.length+1, 0)") ) [all...] |
15.5.4.8-1.js | 65 array[item++] = new TestCase( SECTION, "delete String.prototype.split.length; String.prototype.split.length", 2, eval("delete String.prototype.split.length; String.prototype.split.length") ); 74 eval("var s = new String('this is a string object'); typeof s.split()") ); 79 eval("var s = new String('this is a string object'); Array.prototype.getClass = Object.prototype.toString; (s.split()).getClass()") ); 84 eval("var s = new String('this is a string object'); s.split().length") ); 89 eval("var s = new String('this is a string object'); s.split()[0]") ); 95 eval("var obj = new Object(); obj.split = String.prototype.split; typeof obj.split()") ); 100 eval("var obj = new Object(); obj.split = String.prototype.split; Array.prototype.getClass = Object.prototype.toString; obj.split().getClass()") ); 105 eval("var obj = new Object(); obj.split = String.prototype.split; obj.split().length") ); 110 eval("var obj = new Object(); obj.split = String.prototype.split; obj.split()[0]") ); 116 eval("var obj = new Function(); obj.split = String.prototype.split; typeof obj.split()") ) [all...] |
15.5.4.9-1.js | 68 array[item++] = new TestCase( SECTION, "delete String.prototype.substring.length; String.prototype.substring.length", 2, eval("delete String.prototype.substring.length; String.prototype.substring.length") ); 77 eval("var s = new String('this is a string object'); typeof s.substring()") ); 82 eval("var s = new String(''); s.substring()") ); 88 eval("var s = new String('this is a string object'); s.substring()") ); 93 eval("var s = new String('this is a string object'); s.substring(NaN)") ); 99 eval("var s = new String('this is a string object'); s.substring(-0.01)") ); 105 eval("var s = new String('this is a string object'); s.substring(s.length)") ); 110 eval("var s = new String('this is a string object'); s.substring(s.length+1)") ); 116 eval("var s = new String('this is a string object'); s.substring(Infinity)") ); 121 eval("var s = new String('this is a string object'); s.substring(-Infinity)") ) [all...] |
15.5.5.1.js | 54 eval("var s = new String(); s.length") ); 59 eval("var s = new String(); s.length = 10; s.length") ); 64 eval("var s = new String(); var props = ''; for ( var p in s ) { props += p; }; props") ); 69 eval("var s = new String(); delete s.length") ); 74 eval("var s = new String('hello'); delete s.length; s.length") );
|
/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_syrk.cpp | 37 ((s1 * rhs2 * rhs2.adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); 41 (s1 * rhs2 * rhs2.adjoint()).eval().template triangularView<Upper>().toDenseMatrix()); 45 (s1 * rhs1.adjoint() * rhs1).eval().template triangularView<Lower>().toDenseMatrix()); 49 (s1 * rhs1.adjoint() * rhs1).eval().template triangularView<Upper>().toDenseMatrix()); 53 (s1 * rhs3.adjoint() * rhs3).eval().template triangularView<Lower>().toDenseMatrix()); 57 (s1 * rhs3.adjoint() * rhs3).eval().template triangularView<Upper>().toDenseMatrix()); 61 ((s1 * m1.col(c) * m1.col(c).adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); 65 ((s1 * m1.col(c) * m1.col(c).adjoint()).eval().template triangularView<Upper>().toDenseMatrix())); 69 ((s1 * m1.col(c).conjugate() * m1.col(c).conjugate().adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); 73 ((s1 * m1.col(c).conjugate() * m1.col(c).conjugate().adjoint()).eval().template triangularView<Upper>().toDenseMatrix())) [all...] |
/external/v8/test/mjsunit/harmony/ |
block-scoping.js | 54 assertEquals(1, eval('one')); 55 assertEquals(2, eval('x')); 56 assertEquals(3, eval('y')); 57 assertEquals(4, eval('z')); 58 assertEquals(5, eval('u')); 59 assertEquals(6, eval('v')); 94 assertEquals(1, eval('one')); 95 assertEquals(2, eval('x')); 96 assertEquals(3, eval('y')); 97 assertEquals(4, eval('z')) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4-1.js | 51 eval("var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr[Math.pow(2,32)-2]") 56 eval("var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr.length") 61 eval("var myarr = new Array(); myarr[Math.pow(2,32)-3]='hi'; myarr[Math.pow(2,32)-3]") 66 eval("var myarr = new Array(); myarr[Math.pow(2,32)-3]='hi'; myarr.length") 72 eval("var myarr = new Array(); myarr[Math.pow(2,31)-2]='hi'; myarr[Math.pow(2,31)-2]") 77 eval("var myarr = new Array(); myarr[Math.pow(2,31)-2]='hi'; myarr.length") 83 eval("var myarr = new Array(); myarr[Math.pow(2,31)-1]='hi'; myarr[Math.pow(2,31)-1]") 88 eval("var myarr = new Array(); myarr[Math.pow(2,31)-1]='hi'; myarr.length") 95 eval("var myarr = new Array(); myarr[Math.pow(2,31)]='hi'; myarr[Math.pow(2,31)]") 100 eval("var myarr = new Array(); myarr[Math.pow(2,31)]='hi'; myarr.length" [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Types/ |
8.6.2.1-1.js | 67 array[item++] = new TestCase( SECTION, "var OBJ = new MyValuelessObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyValuelessObject(true); OBJ.valueOf()") ); 68 // array[item++] = new TestCase( SECTION, "var OBJ = new MyProtoValuelessObject(true); OBJ + ''", "undefined", eval("var OBJ = new MyProtoValuelessObject(); OBJ + ''") ); 69 array[item++] = new TestCase( SECTION, "var OBJ = new MyProtolessObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyProtolessObject(true); OBJ.valueOf()") ); 70 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") ); 72 array[item++] = new TestCase( SECTION, "var OBJ = new MyValuelessObject(Number.POSITIVE_INFINITY); OBJ.valueOf()", Number.POSITIVE_INFINITY, eval("var OBJ = new MyValuelessObject(Number.POSITIVE_INFINITY); OBJ.valueOf()") ); 73 // array[item++] = new TestCase( SECTION, "var OBJ = new MyProtoValuelessObject(Number.POSITIVE_INFINITY); OBJ + ''", "undefined", eval("var OBJ = new MyProtoValuelessObject(); OBJ + ''") ); 74 array[item++] = new TestCase( SECTION, "var OBJ = new MyProtolessObject(Number.POSITIVE_INFINITY); OBJ.valueOf()", Number.POSITIVE_INFINITY, eval("var OBJ = new MyProtolessObject(Number.POSITIVE_INFINITY); OBJ.valueOf()") ); 75 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(Number.POSITIVE_INFINITY); OBJ.valueOf()", Number.POSITIVE_INFINITY, eval("var OBJ = new MyObject(Number.POSITIVE_INFINITY); OBJ.valueOf()") ); 77 array[item++] = new TestCase( SECTION, "var OBJ = new MyValuelessObject('string'); OBJ.valueOf()", 'string', eval("var OBJ = new MyValuelessObject('string'); OBJ.valueOf()") ); 78 // array[item++] = new TestCase( SECTION, "var OBJ = new MyProtoValuelessObject('string'); OJ + ''", "undefined", eval("var OBJ = new MyProtoValuelessObject(); OBJ + ''") ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Statements/ |
regress-194364.js | 38 * SUMMARY: Testing eval statements containing conditional function expressions 46 var summary = 'Testing eval statements with conditional function expressions'; 56 actual = eval('1; function() {}'); 61 actual = eval('2; function f() {}'); 66 actual = eval('3; if (true) function() {}'); 71 actual = eval('4; if (true) function f() {}'); 76 actual = eval('5; if (false) function() {}'); 81 actual = eval('6; if (false) function f() {}'); 86 actual = eval('7; switch(true) { case true: function() {} }'); 91 actual = eval('8; switch(true) { case true: function f() {} }') [all...] |
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
eval.good | 34 ../sed/sed 1q eval.in2 38 ../sed/sed 1q eval.in2 40 ../sed/sed 1q eval.in2
|
/external/dropbear/ |
configure | 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 358 eval "$ac_prev=\$ac_option" 402 eval "enable_$ac_feature=no" ;; 415 eval "enable_$ac_feature='$ac_optarg'" ;; 597 eval "with_$ac_package='$ac_optarg'" ;; 606 eval "with_$ac_package=no" ;; 638 eval "$ac_envvar='$ac_optarg' [all...] |
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/ |
buildpkb.sh | 194 eval AUT_WORD${i}_FN=${LANG}_aut_wpho${i}.utf 195 eval AUT_PKB_WORD${i}_FN=${LANG}_kfst_wpho${i}.pkb 199 eval AUT_SENT${i}_FN=${LANG}_aut_spho${i}.utf 200 eval AUT_PKB_SENT${i}_FN=${LANG}_kfst_spho${i}.pkb 205 eval AUT_SENT${i}_FN=${LANG}_${VOICE}_aut_spho${i}.utf 206 eval AUT_PKB_SENT${i}_FN=${LANG}_${VOICE}_kfst_spho${i}.pkb 243 eval DT_LFZ${i}_FN=${LANG}_${VOICE}_kdt_lfz${i}.utf 244 eval DT_PKB_LFZ${i}_FN=${LANG}_${VOICE}_kdt_lfz${i}.pkb 247 eval DT_MGC${i}_FN=${LANG}_${VOICE}_kdt_mgc${i}.utf 248 eval DT_PKB_MGC${i}_FN=${LANG}_${VOICE}_kdt_mgc${i}.pk [all...] |
/build/core/ |
cleanbuild.mk | 31 $(eval _acs_makefile_prefix := $(lastword $(MAKEFILE_LIST))) 32 $(eval _acs_makefile_prefix := $(subst /,_,$(_acs_makefile_prefix))) 33 $(eval _acs_makefile_prefix := $(subst .,-,$(_acs_makefile_prefix))) 34 $(eval _acs_makefile_prefix := $(_acs_makefile_prefix)_acs) 36 $(eval $(_acs_makefile_prefix) := $(INTERNAL_CLEAN_BUILD_VERSION))) 37 $(eval $(_acs_makefile_prefix) := $($(_acs_makefile_prefix))@) 38 $(if $(strip $(2)),$(eval _acs_id := $($(_acs_makefile_prefix))),\ 39 $(eval _acs_id := $(_acs_makefile_prefix)$($(_acs_makefile_prefix)))) 40 $(eval INTERNAL_CLEAN_STEPS += $(_acs_id)) 41 $(eval INTERNAL_CLEAN_STEP.$(_acs_id) := $(1) [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
rhino-python.prog | 25 eval(loadFile("../../lib/antlr3-all.js")); 26 eval(loadFile("../../lib/antlr3-cli.js")); 27 eval(loadFile("PythonLexer.js")); 28 eval(loadFile("PythonParser.js")); 29 eval(loadFile("rhino-python.extensions"));
|
/external/qemu/distrib/sdl-1.2.15/ |
Makefile.android | 86 $(eval $(call install-target,objs/sdl-config,$(target)/bin/sdl-config)) \ 87 $(eval $(call install-target,objs/SDL_config.h,$(target)/include/SDL/SDL_config.h)) \ 88 $(eval $(call install-target,objs/libs/libSDL.a,$(target)/libs/libSDL.a)) \ 89 $(eval $(call install-target,objs/libs/libSDLmain.a,$(target)/libs/libSDLmain.a)) \ 91 $(eval $(call install-target,include/$(header),$(target)/include/SDL/$(header))) \
|
/external/v8/test/mjsunit/compiler/ |
unary-add.js | 38 assertEquals(1, eval("+'1'; 1")); 39 assertEquals(1, eval("+1; 1")); 40 assertEquals(1, eval("+1.12; 1")); 41 assertEquals(1, eval("+undefined; 1")); 42 assertEquals(1, eval("+{}; 1"));
|