/external/v8/test/mjsunit/ |
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);
|
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 | 38 var eval_compilations = 0; // Number of scources compiled through eval. 43 eval(current_source); 61 case Debug.ScriptCompilationType.Eval: 67 // If the compiled source contains 'eval' there will be additional compile 68 // events for the source inside eval. 69 if (current_source.indexOf('eval') == 0) { 70 // For source with 'eval' there will be compile events with substrings 74 // For source without 'eval' there will be a compile events with the 80 var msg = eval('(' + json + ')'); 100 compileSource('eval("a=2")') [all...] |
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...] |
argument-assigned.js | 63 eval(s); 73 eval(s); 83 eval(s); 93 eval(s); 103 eval(s); 126 eval(s);
|
/external/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...] |
/system/extras/tests/bionic/libc/ |
Android.mk | 30 $(eval include $(CLEAR_VARS)) \ 31 $(eval LOCAL_SRC_FILES := $(file)) \ 32 $(eval LOCAL_MODULE := $(notdir $(file:%.c=%))) \ 33 $(eval LOCAL_MODULE := $(LOCAL_MODULE:%.cpp=%)) \ 34 $(eval LOCAL_CFLAGS += $(EXTRA_CFLAGS)) \ 35 $(eval LOCAL_LDFLAGS += $(EXTRA_LDLIBS)) \ 36 $(eval LOCAL_MODULE_TAGS := tests) \ 37 $(eval include $(BUILD_EXECUTABLE)) \ 39 $(eval EXTRA_CFLAGS :=) \ 40 $(eval EXTRA_LDLIBS := [all...] |
/external/webkit/Source/WebKit/qt/Api/ |
DerivedSources.pro | 35 # Quotes need to be escaped once more when placed in eval() 36 eval(qtheader_module.commands += echo $${DOUBLE_ESCAPED_QUOTE}\$${LITERAL_HASH}include \\\"$$basename(HEADER)\\\"$${DOUBLE_ESCAPED_QUOTE} >> $${qtheader_module.target} &&) 49 eval($${HEADER_TARGET}.target = $${DESTDIR}/$${HEADER_NAME}) 50 eval($${HEADER_TARGET}.depends = $$HEADER) 51 eval($${HEADER_TARGET}.commands = echo $${DOUBLE_ESCAPED_QUOTE}\$${LITERAL_HASH}include \\\"$$PATH_TO_HEADER\\\"$${DOUBLE_ESCAPED_QUOTE} > $$eval($${HEADER_TARGET}.target)) 54 qtheader_module.depends += $$eval($${HEADER_TARGET}.target) 74 eval($$exp) 78 eval($${CLASS_TARGET}.target = $${DESTDIR}/$${EXPORTED_CLASS}) 79 eval($${CLASS_TARGET}.depends = $$eval($${HEADER_TARGET}.target) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.4-1.js | 89 array[item++] = new TestCase( SECTION, "td = new Date(Number.NaN); td.valueOf()", Number.NaN, eval("td = new Date(Number.NaN); td.valueOf()") ); 90 array[item++] = new TestCase( SECTION, "td = new Date(Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.POSITIVE_INFINITY); td.valueOf()") ); 91 array[item++] = new TestCase( SECTION, "td = new Date(-Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.NEGATIVE_INFINITY); td.valueOf()") ); 92 array[item++] = new TestCase( SECTION, "td = new Date(-0); td.valueOf()", -0, eval("td = new Date(-0); td.valueOf()" ) ); 93 array[item++] = new TestCase( SECTION, "td = new Date(0); td.valueOf()", 0, eval("td = new Date(0); td.valueOf()") ); 97 array[item++] = new TestCase( SECTION, "td = new Date(3.14159); td.valueOf()", 3, eval("td = new Date(3.14159); td.valueOf()") ); 98 array[item++] = new TestCase( SECTION, "td = new Date(Math.PI); td.valueOf()", 3, eval("td = new Date(Math.PI); td.valueOf()") ); 99 array[item++] = new TestCase( SECTION, "td = new Date(-Math.PI);td.valueOf()", -3, eval("td = new Date(-Math.PI);td.valueOf()") ); 100 array[item++] = new TestCase( SECTION, "td = new Date(3.14159e2); td.valueOf()", 314, eval("td = new Date(3.14159e2); td.valueOf()") ); 102 array[item++] = new TestCase( SECTION, "td = new Date(.692147e1); td.valueOf()", 6, eval("td = new Date(.692147e1);td.valueOf()") ) [all...] |
9.4-2.js | 89 array[item++] = new TestCase( SECTION, "td = new Date(Number.NaN); td.valueOf()", Number.NaN, eval("td = new Date(Number.NaN); td.valueOf()") ); 90 array[item++] = new TestCase( SECTION, "td = new Date(Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.POSITIVE_INFINITY); td.valueOf()") ); 91 array[item++] = new TestCase( SECTION, "td = new Date(-Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.NEGATIVE_INFINITY); td.valueOf()") ); 92 array[item++] = new TestCase( SECTION, "td = new Date(-0); td.valueOf()", -0, eval("td = new Date(-0); td.valueOf()" ) ); 93 array[item++] = new TestCase( SECTION, "td = new Date(0); td.valueOf()", 0, eval("td = new Date(0); td.valueOf()") ); 97 array[item++] = new TestCase( SECTION, "td = new Date(3.14159); td.valueOf()", 3, eval("td = new Date(3.14159); td.valueOf()") ); 98 array[item++] = new TestCase( SECTION, "td = new Date(Math.PI); td.valueOf()", 3, eval("td = new Date(Math.PI); td.valueOf()") ); 99 array[item++] = new TestCase( SECTION, "td = new Date(-Math.PI);td.valueOf()", -3, eval("td = new Date(-Math.PI);td.valueOf()") ); 100 array[item++] = new TestCase( SECTION, "td = new Date(3.14159e2); td.valueOf()", 314, eval("td = new Date(3.14159e2); td.valueOf()") ); 102 array[item++] = new TestCase( SECTION, "td = new Date(.692147e1); td.valueOf()", 6, eval("td = new Date(.692147e1);td.valueOf()") ) [all...] |
/external/eigen/test/ |
geo_homogeneous.cpp | 51 VERIFY_IS_APPROX(t1 * (v0.homogeneous().eval()), t1 * v0.homogeneous()); 52 VERIFY_IS_APPROX(t1 * (m0.colwise().homogeneous().eval()), t1 * m0.colwise().homogeneous()); 55 VERIFY_IS_APPROX(t2 * (v0.homogeneous().eval()), t2 * v0.homogeneous()); 56 VERIFY_IS_APPROX(t2 * (m0.colwise().homogeneous().eval()), t2 * m0.colwise().homogeneous()); 58 VERIFY_IS_APPROX((v0.transpose().rowwise().homogeneous().eval()) * t2, 60 m0.transpose().rowwise().homogeneous().eval(); 61 VERIFY_IS_APPROX((m0.transpose().rowwise().homogeneous().eval()) * t2, 65 VERIFY_IS_APPROX((v0.transpose().rowwise().homogeneous().eval()) * t3, 67 VERIFY_IS_APPROX((m0.transpose().rowwise().homogeneous().eval()) * t3,
|
/external/v8/test/mjsunit/harmony/ |
block-const-assign.js | 48 // Function local const, assign from eval. 50 use = "eval('(function() { " + use + " })')"; 56 use = "eval('(function() { " + use + " })')"; 72 // Block local const, assign from eval. 74 use = "eval('(function() {" + use + "})')"; 80 use = "eval('(function() {" + use + "})')"; 91 // Function expression name, assign from eval. 93 use = "eval('(function(){" + use + "})')"; 118 eval(d(u));
|
block-leave.js | 74 eval('xx'); 89 assertEquals('outer', eval('x')); 101 assertEquals('outer', eval('x')); 110 assertEquals('outer', eval('x')); 122 assertEquals('outer', eval('x')); 131 assertEquals('outer', eval('x')); 144 assertEquals('outer', eval('x')); 155 assertEquals('outer', eval('x')); 172 assertEquals('outer', eval('x')); 190 assertEquals('outer', eval('x')) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.2.1-3.js | 71 MyFunc = new Function( args, "var r=0; for (var i = 0; i < MyFunc.length; i++ ) { if ( eval('arg'+i) == void 0) break; else r += eval('arg'+i); }; return r"); 72 MyObject = new Function( args, "for (var i = 0; i < MyFunc.length; i++ ) { if ( eval('arg'+i) == void 0) break; eval('this.arg'+i +'=arg'+i); };"); 75 array[item++] = new TestCase( SECTION, "var MY_OB = eval('MyFunc(s)')", 1, eval("var MY_OB = MyFunc("+s+"); MY_OB") ); 79 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1.length", 3, eval("FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1.length") ); 80 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1()", 3, eval("FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1()") ); 81 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1(1,2,3,4,5)", 3, eval("FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1(1,2,3,4,5)") );
|
/external/webkit/Source/WebCore/manual-tests/inspector/ |
hidden-evals.html | 4 <p>The following manual test creates functions via <tt>eval()</tt> and the 19 <li>(program): f_named_1.eval 20 <li>(program): f_named_2.eval 21 <li>(program): f_named_3.eval 54 eval([ 59 "//@sourceURL=f_named_1.eval" 62 eval([ 73 "//@sourceURL=f_named_2.eval" 87 "//@sourceURL=f_named_3.eval"
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
15.2.4.2.js | 56 eval("myvar = this; myvar.toString = Object.prototype.toString; myvar.toString()") ); 60 eval("myvar = MyObject; myvar.toString = Object.prototype.toString; myvar.toString()") ); 64 eval("myvar = new MyObject( true ); myvar.toString = Object.prototype.toString; myvar.toString()") ); 68 eval("myvar = new Number(0); myvar.toString = Object.prototype.toString; myvar.toString()") ); 72 eval("myvar = new String(''); myvar.toString = Object.prototype.toString; myvar.toString()") ); 76 eval("myvar = Math; myvar.toString = Object.prototype.toString; myvar.toString()") ); 80 eval("myvar = new Function(); myvar.toString = Object.prototype.toString; myvar.toString()") ); 84 eval("myvar = new Array(); myvar.toString = Object.prototype.toString; myvar.toString()") ); 88 eval("myvar = new Boolean(); myvar.toString = Object.prototype.toString; myvar.toString()") ); 92 eval("myvar = new Date(); myvar.toString = Object.prototype.toString; myvar.toString()") ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Object/ |
regress-96284-001.js | 28 * Method: define obj2 = eval(obj1.toSource()) and verify that 49 obj2 = eval(obj1.toSource()); 56 obj2 = eval(obj1.toSource()); 63 obj2 = eval(obj1.toSource()); 70 obj2 = eval(obj1.toSource()); 77 obj2 = eval(obj1.toSource()); 84 obj2 = eval(obj1.toSource()); 91 obj2 = eval(obj1.toSource()); 100 obj2 = eval(obj1.toSource()); 107 obj2 = eval(obj1.toSource()) [all...] |
regress-96284-002.js | 28 * Method: define obj2 = eval(uneval(obj1)) and verify that 49 obj2 = eval(uneval(obj1)); 56 obj2 = eval(uneval(obj1)); 63 obj2 = eval(uneval(obj1)); 70 obj2 = eval(uneval(obj1)); 77 obj2 = eval(uneval(obj1)); 84 obj2 = eval(uneval(obj1)); 91 obj2 = eval(uneval(obj1)); 100 obj2 = eval(uneval(obj1)); 107 obj2 = eval(uneval(obj1)) [all...] |
/bionic/libc/bionic/ |
err.c | 40 err(int eval, const char *fmt, ...) 45 verr(eval, fmt, ap); 50 errx(int eval, const char *fmt, ...) 55 verrx(eval, fmt, ap); 60 verr(int eval, const char *fmt, va_list ap) 71 exit(eval); 76 verrx(int eval, const char *fmt, va_list ap) 82 exit(eval);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
exception-008.js | 30 result = eval("continue;"); 37 "eval(\"continue\") [ exception is " + exception +" ]",
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
try-004.js | 39 result = eval( value ); 46 "eval( " + value +" )",
|
/external/antlr/antlr-3.4/runtime/Perl5/t/author/ |
perlcritic.t | 9 eval {
|
/external/llvm/test/Analysis/BasicAA/ |
2003-04-25-GEPCrash.ll | 1 ; RUN: opt < %s -basicaa -aa-eval -disable-output 2>/dev/null
|
2008-11-23-NoaliasRet.ll | 1 ; RUN: opt < %s -basicaa -aa-eval -disable-output 2>&1 | FileCheck %s
|
/external/qemu/android/build/ |
binary.make | 31 $(eval $(call compile-c-source,$(src))) \ 35 $(eval $(call compile-generated-c-source,$(src))) \ 39 $(eval $(call compile-cxx-source,$(src))) \ 43 $(eval $(call compile-objc-source,$(src))) \
|