HomeSort by relevance Sort by last modified time
    Searched refs:eval (Results 76 - 100 of 751) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/
10.2.2-1.js 24 ECMA Section: 10.2.2 Eval Code
27 When control enters an execution context for eval code, the previous
50 var TITLE = "Eval Code";
56 var THIS = eval("this");
74 eval(GLOBAL_PROPERTIES[i]) == eval( "THIS[GLOBAL_PROPERTIES[i]]") );
77 // this in eval statements is the same as this value of the calling context
82 "eval( 'this == THIS' )",
89 "eval( 'this + \"\"' )",
95 "eval( 'this == THIS' )"
    [all...]
10.1.4-4.js 73 eval( INPUT );
76 testcases[tc].actual = eval( INPUT );
94 array[item++] = new TestCase( "SECTION", "with MyObject, eval should be [object Global].eval " );
100 this.eval = new Function( "x", "return(Math.pow(Number(x),2))" );
10.1.4-5.js 73 eval = null;
76 testcases[tc].actual = eval( INPUT );
94 array[item++] = new TestCase( "SECTION", "with MyObject, eval should be [object Global].eval " );
100 this.eval = new Function( "x", "return(Math.pow(Number(x),2))" );
10.1.4-7.js 73 delete( eval );
74 testcases[tc].actual = eval( INPUT );
93 array[item++] = new TestCase( "SECTION", "with MyObject, eval should be [object Global].eval " );
99 this.eval = new Function( "x", "return(Math.pow(Number(x),2))" );
10.1.4-8.js 73 eval = new Function ( "x", "return(Math.pow(Number(x),3))" );
75 testcases[tc].actual = eval( INPUT );
94 array[item++] = new TestCase( "SECTION", "with MyObject, eval should cube INPUT: " );
100 this.eval = new Function( "x", "return(Math.pow(Number(x),2))" );
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.1.1-3.js 68 MyFunc = 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");
69 MyObject = Function( args, "for (var i = 0; i < MyFunc.length; i++ ) { if ( eval('arg'+i) == void 0) break; eval('this.arg'+i +'=arg'+i); };");
71 var MY_OB = eval( "MyFunc("+ s +")" );
74 testcases[testcases.length] = new TestCase( SECTION, "var MY_OB = eval('MyFunc(s)')", 1, MY_OB );
75 testcases[testcases.length] = new TestCase( SECTION, "var MY_OB = eval('MyFunc(s)')", 1, eval("var MY_OB = MyFunc("+s+"); MY_OB") );
79 testcases[testcases.length] = new TestCase( SECTION, "FUN1 = Function( 'a','b','c', 'return FUN1.length' ); FUN1.length", 3, eval("FUN1 = Function( 'a','b','c', 'return FUN1.length' ); FUN1.length") );
80 testcases[testcases.length] = new TestCase( SECTION, "FUN1 = Function( 'a','b','c', 'return FUN1.length' ); FUN1()", 3, eval("FUN1 = Function( 'a','b','c', 'return FUN1.length' ); FUN1()") )
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/
15.5.4.2.js 58 eval("TESTSTRING = new String();TESTSTRING.valueOf() == TESTSTRING.toString()") );
62 eval("TESTSTRING = new String(true);TESTSTRING.valueOf() == TESTSTRING.toString()") );
66 eval("TESTSTRING = new String(false);TESTSTRING.valueOf() == TESTSTRING.toString()") );
70 eval("TESTSTRING = new String(Math.PI);TESTSTRING.valueOf() == TESTSTRING.toString()") );
74 eval("TESTSTRING = new String();TESTSTRING.valueOf() == TESTSTRING.toString()") );
15.5.4.5-6.js 69 eval("var obj = true; obj.__proto__.charCodeAt = String.prototype.charCodeAt; var s = ''; for ( var i = 0; i < 4; i++ ) s+= String.fromCharCode( obj.charCodeAt(i) ); s") );
74 eval("var obj = 1234; obj.__proto__.charCodeAt = String.prototype.charCodeAt; var s = ''; for ( var i = 0; i < 4; i++ ) s+= String.fromCharCode( obj.charCodeAt(i) ); s") );
79 eval("var obj = 'hello'; obj.__proto__.charCodeAt = String.prototype.charCodeAt; var s = ''; for ( var i = 0; i < 5; i++ ) s+= String.fromCharCode( obj.charCodeAt(i) ); s") );
15.5.4.6-2.js 105 array[item++] = new TestCase( SECTION, "String.prototype.indexOf.length = null; String.prototype.indexOf.length", 1, eval("String.prototype.indexOf.length = null; String.prototype.indexOf.length") );
107 array[item++] = new TestCase( SECTION, "delete String.prototype.indexOf.length; String.prototype.indexOf.length", 1, eval("delete String.prototype.indexOf.length; String.prototype.indexOf.length") );
109 array[item++] = new TestCase( SECTION, "var s = new String(); s.indexOf()", -1, eval("var s = new String(); s.indexOf()") );
170 eval("var arr = new Array('new','zoo','revue'); arr.indexOf = String.prototype.indexOf; arr.indexOf('new')") );
175 eval("var arr = new Array('new','zoo','revue'); arr.indexOf = String.prototype.indexOf; arr.indexOf(',zoo,')") );
180 eval("var obj = new Object(); obj.indexOf = String.prototype.indexOf; obj.indexOf('[object Object]')") );
185 eval("var obj = new Object(); obj.indexOf = String.prototype.indexOf; obj.indexOf('bject')") );
190 eval("var f = new Object( String.prototype.indexOf ); f('"+GLOBAL+"')") );
195 eval("var f = new Function(); f.toString = Object.prototype.toString; f.indexOf = String.prototype.indexOf; f.indexOf('[object Function]')") );
200 eval("var b = new Boolean(); b.indexOf = String.prototype.indexOf; b.indexOf('true')") )
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/
regress-110286.js 55 actual = eval("/* /* */3");
60 actual = eval("3/* /* */");
65 actual = eval("/* 3/* */");
70 actual = eval("/* /*3 */");
78 eval("/* blah blah /* blah blah */");
  /external/v8/test/mjsunit/compiler/
literals-assignment.js 31 assertEquals(8, eval("(function() { return 8; })()"));
39 assertEquals(8, eval(code));
46 assertEquals("abc", eval(code));
55 assertEquals(8, eval(code));
63 assertEquals(8, eval(code));
70 assertEquals(8, eval(code));
75 eval(code);
79 eval(code);
85 assertEquals(10, eval(code));
88 eval(code)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/
15.4.3.1-2.js 47 array[item++] = new TestCase( SECTION, "var props = ''; for ( p in Array ) { props += p } props", "", eval("var props = ''; for ( p in Array ) { props += p } props") );
49 array[item++] = new TestCase( SECTION, "Array.prototype = null; Array.prototype", ARRAY_PROTO, eval("Array.prototype = null; Array.prototype") );
52 array[item++] = new TestCase( SECTION, "delete Array.prototype; Array.prototype", ARRAY_PROTO, eval("delete Array.prototype; Array.prototype") );
15.4.1.js 63 eval("var arr = Array(); arr.getClass = Object.prototype.toString; arr.getClass()") );
68 eval("var arr = Array(); arr.toString == Array.prototype.toString") );
89 eval("var arr = Array(1,2,3); arr.getClass = Object.prototype.toString; arr.getClass()") );
94 eval("var arr = Array(1,2,3); arr.toString == Array.prototype.toString") );
109 eval("var arr = Array(12345); arr.getClass = Object.prototype.toString; arr.getClass()") );
114 eval("var arr = Array(1,2,3,4,5); arr.toString == Array.prototype.toString") );
15.4.4.4-1.js 88 testcases[testcases.length] = new TestCase( SECTION, "delete Array.prototype.reverse.length; Array.prototype.reverse.length", 0, eval("delete Array.prototype.reverse.length; Array.prototype.reverse.length") );
94 eval("var A = new Array(); A.reverse(); A.length") );
103 eval("var A = new Array(true); A.reverse(); A.length") );
108 eval(S);
115 eval( S + "; A.reverse(); A.length") );
121 eval(S);
127 eval( S + "; A.reverse(); A.length") );
132 eval(S);
138 eval( S + "; A.reverse(); A.length") );
144 eval(S)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.14-1.js 69 array[item++] = new TestCase( SECTION, "true, false", false, eval("true, false") );
70 array[item++] = new TestCase( SECTION, "VAR1=true, VAR2=false", false, eval("VAR1=true, VAR2=false") );
71 array[item++] = new TestCase( SECTION, "VAR1=true, VAR2=false;VAR1", true, eval("VAR1=true, VAR2=false; VAR1") );
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.3.1-2.js 53 eval("var NUM_PROT = Number.prototype; Number.prototype = null; Number.prototype == NUM_PROT") );
58 eval("Number.prototype=0; Number.prototype") );
65 testcases[tc].actual = eval( testcases[tc].actual );
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Statements/
12.6.1-1.js 43 eval("var MYVAR = 0; while( MYVAR++ < 100) { if ( MYVAR < 100 ) break; } MYVAR "));
48 eval("var MYVAR = 0; while( MYVAR++ < 100) { if ( MYVAR < 100 ) continue; else break; } MYVAR "));
53 eval("function MYFUN( arg1 ) { while ( arg1++ < 100 ) { if ( arg1 < 100 ) return arg1; } }; MYFUN(1)"));
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Types/
8.1.js 46 eval("var x; typeof x") );
51 eval("var x; typeof x == 'undefined'") );
56 eval("var x; x == void 0") );
  /external/v8/test/mjsunit/
global-const-var-conflicts.js 33 eval("const a");
34 try { eval("var a"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
36 try { eval("var a = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
39 eval("const b = 0");
40 try { eval("var b"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
42 try { eval("var b = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
45 eval("var c");
46 try { eval("const c"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
48 try { eval("const c = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
51 eval("var d = 0")
    [all...]
global-load-from-nested-eval.js 28 // Tests global loads from nested eval.
34 eval('eval(' + source +')');
41 eval('eval(' + source +')');
46 // Shadow variable with an eval-introduced variable.
48 eval('var x = 1');
50 eval('eval('+ source + ')');
56 // Eval that does not shadow
    [all...]
global-load-from-eval-in-with.js 28 // Tests global loads from eval inside of a with statement.
34 eval(source);
38 // Test shadowing in eval scope.
42 // Test shadowing in local scope inside an eval scope.
46 // Test shadowing in local scope inside an eval scope. Deeper nesting
51 // Test shadowing in local scope inside an eval scope with eval calls in the eval scopes.
52 test({ x: 42 }, "function f() { eval('1'); assertEquals(42, x) }; f();");
53 test({ y: 42 }, "function f() { eval('1'); assertEquals(27, x) }; f();")
    [all...]
  /external/chromium/third_party/libevent/
log.h 36 void event_err(int eval, const char *fmt, ...) EV_CHECK_FMT(2,3);
38 void event_errx(int eval, const char *fmt, ...) EV_CHECK_FMT(2,3);
  /external/skia/src/utils/
SkBoundaryPatch.cpp 25 SkPoint SkBoundaryPatch::eval(SkScalar unitU, SkScalar unitV) { function in class:SkBoundaryPatch
27 SkPoint u = SkPointInterp(b->eval(SkBoundary::kLeft, SK_Scalar1 - unitV),
28 b->eval(SkBoundary::kRight, unitV),
30 SkPoint v = SkPointInterp(b->eval(SkBoundary::kTop, unitU),
31 b->eval(SkBoundary::kBottom, SK_Scalar1 - unitU),
48 *verts++ = this->eval(x * invR, yy);
58 SkPoint SkLineBoundary::eval(Edge e, SkScalar t) { function in class:SkLineBoundary
63 SkPoint SkCubicBoundary::eval(Edge e, SkScalar t) { function in class:SkCubicBoundary
  /external/webkit/Source/WebCore/css/
MediaQueryEvaluator.h 78 bool eval(const MediaList*, CSSStyleSelector* = 0) const;
81 bool eval(const MediaQueryExp*) const;
  /development/testrunner/tests/
Android_gtestlib.mk 44 $(eval include $(CLEAR_VARS)) \
45 $(eval LOCAL_SHARED_LIBRARIES := $(shared_libraries)) \
46 $(eval LOCAL_STATIC_LIBRARIES := $(static_libraries)) \
47 $(eval LOCAL_C_INCLUDES := $(c_includes)) \
48 $(eval LOCAL_SRC_FILES := $(file)) \
49 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
50 $(eval LOCAL_MODULE_TAGS := $(module_tags)) \
51 $(eval include $(BUILD_EXECUTABLE)) \

Completed in 753 milliseconds

1 2 34 5 6 7 8 91011>>