| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Object/ |
| regress-72773.js | 52 eval(sToEval);
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_4/Eval/ |
| eval-002.js | 23 * File Name: eval-002.js 26 * The global eval function may not be accessed indirectly and then called. 40 * Indirect eval IS NOT ILLEGAL per ECMA3!!! See 47 * doesn't throw EvalError must allow assignment to eval and indirect calls 51 var SECTION = "eval-002.js"; 53 var TITLE = "Calling eval indirectly should NOT fail in version 140"; 61 var MY_EVAL = eval; 76 "Call eval indirectly",
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
| 15.2.2.1.js | 59 array[item++] = new TestCase( SECTION, "MYOB = new Object(null); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Object]", eval("MYOB = new Object(null); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 62 array[item++] = new TestCase( SECTION, "MYOB = new Object(new Object(void 0)); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Object]", eval("MYOB = new Object(new Object(void 0)); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 65 array[item++] = new TestCase( SECTION, "MYOB = (new Object('string'); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object String]", eval("MYOB = new Object('string'); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 69 array[item++] = new TestCase( SECTION, "MYOB = (new Object(''); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object String]", eval("MYOB = new Object(''); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 73 array[item++] = new TestCase( SECTION, "MYOB = (new Object(Number.NaN); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Number]", eval("MYOB = new Object(Number.NaN); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 77 array[item++] = new TestCase( SECTION, "MYOB = (new Object(0); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Number]", eval("MYOB = new Object(0); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 81 array[item++] = new TestCase( SECTION, "MYOB = (new Object(-0); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Number]", eval("MYOB = new Object(-0); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 85 array[item++] = new TestCase( SECTION, "MYOB = (new Object(1); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Number]", eval("MYOB = new Object(1); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 89 array[item++] = new TestCase( SECTION, "MYOB = (new Object(-1); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Number]", eval("MYOB = new Object(-1); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 93 array[item++] = new TestCase( SECTION, "MYOB = (new Object(true); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Boolean]", eval("MYOB = new Object(true); MYOB.toString = Object.prototype.toString; MYOB.toString()") ) [all...] |
| /external/v8/test/mjsunit/ |
| object-literal.js | 146 eval("var " + keyword + " = 42;"); 151 var x = eval("({" + keyword + ": 42})"); 153 assertEquals(42, eval("x." + keyword)); 154 eval("x." + keyword + " = 37"); 156 assertEquals(37, eval("x." + keyword)); 159 var y = eval("({value : 42, get " + keyword + "(){return this.value}," + 162 assertEquals(42, eval("y." + keyword)); 163 eval("y." + keyword + " = 37"); 165 assertEquals(37, eval("y." + keyword)); 168 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'); 90 // Test loading across eval calls that do not shadow variables. 94 eval('1'); 96 eval('1'); 114 // Test loading across an eval call that shadows variables. 119 eval('var x = 3; var y = 4;'); 122 eval('function local_function() { return "new_local"; }'); 123 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...] |
| strict-mode-eval.js | 30 var code1 = "function f(eval) {}"; 36 // (using aliased eval to force non-strict mode) 37 var eval_alias = eval; 46 eval(code1); 54 eval(code2); 62 eval(code3); 70 eval(code4);
|
| /external/v8/test/mjsunit/regress/ |
| 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...] |
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
| 15.7.2.js | 73 eval("NUMB = new Number();NUMB.toString=Object.prototype.toString;NUMB.toString()") ); 81 eval("NUMB = new Number(0);NUMB.toString=Object.prototype.toString;NUMB.toString()") ); 89 eval("NUMB = new Number(1);NUMB.toString=Object.prototype.toString;NUMB.toString()") ); 97 eval("NUMB = new Number(-1);NUMB.toString=Object.prototype.toString;NUMB.toString()") ); 105 eval("NUMB = new Number(Number.NaN);NUMB.toString=Object.prototype.toString;NUMB.toString()") ); 113 eval("NUMB = new Number('string');NUMB.toString=Object.prototype.toString;NUMB.toString()") ); 121 eval("NUMB = new Number(new String());NUMB.toString=Object.prototype.toString;NUMB.toString()") ); 129 eval("NUMB = new Number('');NUMB.toString=Object.prototype.toString;NUMB.toString()") ); 137 eval("NUMB = new Number(Number.POSITIVE_INFINITY);NUMB.toString=Object.prototype.toString;NUMB.toString()") ); 145 eval("NUMB = new Number(Number.NEGATIVE_INFINITY);NUMB.toString=Object.prototype.toString;NUMB.toString (…) [all...] |
| /development/tools/emulator/opengl/ |
| common.mk | 35 $(eval include $(CLEAR_VARS)) \ 36 $(eval LOCAL_MODULE := $1) \ 37 $(eval LOCAL_MODULE_TAGS := debug) \ 38 $(eval LOCAL_MODULE_CLASS := $(patsubst HOST_%,%,$(patsubst %EXECUTABLE,%EXECUTABLES,$(patsubst %LIBRARY,%LIBRARIES,$2)))) \ 39 $(eval LOCAL_IS_HOST_MODULE := $(if $3,true,))\ 40 $(eval LOCAL_C_INCLUDES := $(EMUGL_COMMON_INCLUDES)) \ 41 $(eval LOCAL_CFLAGS := $(EMUGL_COMMON_CFLAGS)) \ 42 $(eval LOCAL_PRELINK_MODULE := false)\ 43 $(eval _EMUGL_INCLUDE_TYPE := $(BUILD_$2)) \ 48 $(eval include $(_EMUGL_INCLUDE_TYPE)) [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...] |
| /bionic/libc/zoneinfo/ |
| Android.mk | 19 $(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.dat,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.dat)) 22 $(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.idx,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.idx)) 25 $(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.version,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.version))
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
| 15.3.1.1-1.js | 69 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") ); 71 array[item++] = new TestCase( SECTION, "OBJ.toString = Object.prototype.toString; OBJ.toString()", "[object Object]", eval("OBJ.toString = Object.prototype.toString; OBJ.toString()") ); 72 array[item++] = new TestCase( SECTION, "MyObject.toString = Object.prototype.toString; MyObject.toString()", "[object Function]", eval("MyObject.toString = Object.prototype.toString; MyObject.toString()") );
|
| 15.3.2.1-1.js | 71 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") ); 73 array[item++] = new TestCase( SECTION, "OBJ.toString = Object.prototype.toString; OBJ.toString()", "[object Object]", eval("OBJ.toString = Object.prototype.toString; OBJ.toString()") ); 74 array[item++] = new TestCase( SECTION, "MyObject.toString = Object.prototype.toString; MyObject.toString()", "[object Function]", eval("MyObject.toString = Object.prototype.toString; MyObject.toString()") );
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Function/ |
| regress-58274.js | 81 eval(sEval); 104 eval(sEval); 175 * Note we can't simply do |eval(str)|, since in practice |str| will be an 176 * identifier somewhere in the program (e.g. a function name); thus |eval(str)| 188 * js> eval("'" + '\nHello' + "'"); 196 return eval("'" + str + "'");
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Scope/ |
| regress-77578-001.js | 22 * SUMMARY: Testing eval scope inside a function. 28 var summary = 'Testing eval scope inside a function'; 88 // eval the test, so it compiles AFTER version() has executed - 94 sTestScript += "actual = eval('i');"; 98 eval(sTestScript); 107 // eval the test, so it compiles AFTER version() has executed - 114 sTestScript += " actual = eval('j');"; 119 eval(sTestScript); 128 // eval the test, so it compiles AFTER version() has executed - 136 sTestScript += " actual = eval('k');" [all...] |
| /external/chromium/third_party/libevent/ |
| log.c | 70 event_err(int eval, const char *fmt, ...) 77 exit(eval); 91 event_errx(int eval, const char *fmt, ...) 98 exit(eval);
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
| 15.6.4.js | 61 eval("Boolean.prototype.toString = Object.prototype.toString; Boolean.prototype.toString()") );
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
| 11.12-2-n.js | 53 // get around parse time error by putting expression in an eval statement 55 testcases[tc].actual = eval ( testcases[tc].actual );
|
| 11.12-3.js | 53 // get around potential parse time error by putting expression in an eval statement 55 testcases[tc].actual = eval ( testcases[tc].actual );
|
| 11.12-4.js | 53 // get around potential parse time error by putting expression in an eval statement 55 testcases[tc].actual = eval ( testcases[tc].actual );
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
| 15.1-1-n.js | 53 testcases[tc].actual = eval(testcases[tc].actual);
|
| 15.1-2-n.js | 51 testcases[tc].actual = eval(testcases[tc].actual);
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
| 7.2-2-n.js | 55 eval( a );
|
| 7.2-3-n.js | 57 eval( a );
|