Searched refs:eval (Results 26 - 50 of 897) sorted by relevance

1234567891011>>

/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Expressions/
H A D11.6.1-2.js96 eval("var EXP_1 = 'string'; var EXP_2 = false; EXP_1 + EXP_2") );
101 eval("var EXP_1 = true; var EXP_2 = 'string'; EXP_1 + EXP_2") );
106 eval("var EXP_1 = new Boolean(true); var EXP_2 = new String('string'); EXP_1 + EXP_2") );
111 eval("var EXP_1 = new Object(true); var EXP_2 = new Object('string'); EXP_1 + EXP_2") );
116 eval("var EXP_1 = new Object(new String('string')); var EXP_2 = new Object(new Boolean(false)); EXP_1 + EXP_2") );
121 eval("var EXP_1 = new MyObject(true); var EXP_2 = new MyObject('string'); EXP_1 + EXP_2") );
126 eval("var EXP_1 = new MyObject(new String('string')); var EXP_2 = new MyObject(new Boolean(false)); EXP_1 + EXP_2") );
131 eval("var EXP_1 = new MyValuelessObject('string'); var EXP_2 = new MyValuelessObject(false); EXP_1 + EXP_2") );
136 eval("var EXP_1 = new MyValuelessObject(new String('string')); var EXP_2 = new MyValuelessObject(new Boolean(false)); EXP_1 + EXP_2") );
145 eval("va
[all...]
H A D11.1.1.js43 // this in global code and eval(this) in global code should return the global object.
51 "Global Code: eval('this.toString()')",
53 eval('this.toString()') );
60 eval("var MYFUNC = new Function('return this.toString()'); MYFUNC()") );
62 // eval( this ) in anonymous code called as a function should return that function's activation object
65 "Anonymous Code: var MYFUNC = new Function('return (eval(\"this.toString()\")'); (MYFUNC()).toString()",
67 eval("var MYFUNC = new Function('return eval(\"this.toString()\")'); (MYFUNC()).toString()") );
69 // this and eval( this ) in anonymous code called as a constructor should return the object
74 eval("va
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Derr.c39 err(int eval, const char *fmt, ...) argument
43 verr(eval, fmt, ap);
H A Derrx.c39 errx(int eval, const char *fmt, ...) argument
43 verrx(eval, fmt, ap);
H A Dverr.c40 verr(int eval, const char *fmt, va_list ap) argument
43 exit(eval);
H A Dverrx.c40 verrx(int eval, const char *fmt, va_list ap) argument
43 exit(eval);
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/js1_5/Regress/
H A Dregress-131510-001.js61 * Put these examples in eval scope
64 eval(s);
67 eval(s);
H A Dregress-204210.js38 * SUMMARY: eval() is not a constructor, but don't crash on |new eval();|
46 var summary = "eval() is not a constructor, but don't crash on |new eval();|";
67 var x = new eval();
68 new eval();
83 var x = new eval();
84 new eval();
93 * eval scope -
98 s += ' var x = new eval();';
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/String/
H A D15.5.4.5-2.js71 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("
[all...]
H A D15.5.4.10-1.js78 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("va
[all...]
H A D15.5.4.5-5.js73 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)") );
74 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)") );
75 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)") );
76 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)") );
77 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)") );
78 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)") );
80 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)") );
81 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)") );
83 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(0)", Number.NaN, eval("x=new String();x.charCodeAt(0)") );
84 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(1)", Number.NaN, eval("
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Array/
H A D15.4-1.js51 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("va
[all...]
H A D15.4.5.2-1.js51 eval("var A = new Array(); A.length") );
56 eval("var A = new Array(); A[Math.pow(2,32)-2] = 'hi'; A.length") );
61 eval("var A = new Array(); A.length = 123; A.length") );
66 eval("var A = new Array(); A.length = 123; var PROPS = ''; for ( var p in A ) { PROPS += ( p == 'length' ? p : ''); } PROPS") );
72 eval("var A = new Array(); A.length = 123; delete A.length") );
77 eval("var A = new Array(); A.length = 123; delete A.length; A.length") );
H A D15.4-2.js55 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,16)] = 'hi'; arr.length", Math.pow(2,16)+1, eval("var arr=new Array(); arr[Math.pow(2,16)] = 'hi'; arr.length") );
57 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)-2] = 'hi'; arr.length", Math.pow(2,30)-1, eval("var arr=new Array(); arr[Math.pow(2,30)-2] = 'hi'; arr.length") );
58 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)-1] = 'hi'; arr.length", Math.pow(2,30), eval("var arr=new Array(); arr[Math.pow(2,30)-1] = 'hi'; arr.length") );
59 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)] = 'hi'; arr.length", Math.pow(2,30)+1, eval("var arr=new Array(); arr[Math.pow(2,30)] = 'hi'; arr.length") );
61 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,31)-2] = 'hi'; arr.length", Math.pow(2,31)-1, eval("var arr=new Array(); arr[Math.pow(2,31)-2] = 'hi'; arr.length") );
62 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,31)-1] = 'hi'; arr.length", Math.pow(2,31), eval("var arr=new Array(); arr[Math.pow(2,31)-1] = 'hi'; arr.length") );
63 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,31)] = 'hi'; arr.length", Math.pow(2,31)+1, eval("var arr=new Array(); arr[Math.pow(2,31)] = 'hi'; arr.length") );
65 array[item++] = new TestCase( SECTION, "var arr = new Array(0,1,2,3,4,5); arr.length = 2; String(arr)", "0,1", eval("var arr = new Array(0,1,2,3,4,5); arr.length = 2; String(arr)") );
66 array[item++] = new TestCase( SECTION, "var arr = new Array(0,1); arr.length = 3; String(arr)", "0,1,", eval("var arr = new Array(0,1); arr.length = 3; String(arr)") );
67 // array[item++] = new TestCase( SECTION, "var arr = new Array(0,1,2,3,4,5); delete arr[0]; arr.length", 5, eval("va
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/LexicalConventions/
H A D7.1-3.js56 array[item++] = new TestCase( SECTION, "'var'+'\u000B'+'MYVAR1=10;MYVAR1'", 10, eval('var'+'\u000B'+'MYVAR1=10;MYVAR1') );
57 array[item++] = new TestCase( SECTION, "'var'+'\u0009'+'MYVAR2=10;MYVAR2'", 10, eval('var'+'\u0009'+'MYVAR2=10;MYVAR2') );
58 array[item++] = new TestCase( SECTION, "'var'+'\u000C'+'MYVAR3=10;MYVAR3'", 10, eval('var'+'\u000C'+'MYVAR3=10;MYVAR3') );
59 array[item++] = new TestCase( SECTION, "'var'+'\u0020'+'MYVAR4=10;MYVAR4'", 10, eval('var'+'\u0020'+'MYVAR4=10;MYVAR4') );
66 eval("var VAR = 12345; + + VAR") );
71 eval("var VAR = 12345;VAR+ +VAR") );
75 eval("var VAR = 12345;VAR- -VAR") );
H A D7.2-1.js53 array[item++] = new TestCase( SECTION, "var a\nb = 5; ab=10;ab;", 10, eval("var a\nb = 5; ab=10;ab") );
54 array[item++] = new TestCase( SECTION, "var a\nb = 5; ab=10;b;", 5, eval("var a\nb = 5; ab=10;b") );
55 array[item++] = new TestCase( SECTION, "var a\rb = 5; ab=10;ab;", 10, eval("var a\rb = 5; ab=10;ab") );
56 array[item++] = new TestCase( SECTION, "var a\rb = 5; ab=10;b;", 5, eval("var a\rb = 5; ab=10;b") );
57 array[item++] = new TestCase( SECTION, "var a\r\nb = 5; ab=10;ab;", 10, eval("var a\r\nb = 5; ab=10;ab") );
58 array[item++] = new TestCase( SECTION, "var a\r\nb = 5; ab=10;b;", 5, eval("var a\r\nb = 5; ab=10;b") );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_3/Statements/
H A Dregress-194364.js38 * 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('
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Statements/
H A D12.5-1.js57 eval("var MYVAR; if ( true ) MYVAR='PASSED'; else MYVAR= 'FAILED';") );
62 eval("var MYVAR; if ( false ) MYVAR='FAILED'; else MYVAR= 'PASSED';") );
67 eval("var MYVAR; if ( new Boolean(true) ) MYVAR='PASSED'; else MYVAR= 'FAILED';") );
72 eval("var MYVAR; if ( new Boolean(false) ) MYVAR='PASSED'; else MYVAR= 'FAILED';") );
77 eval("var MYVAR; if ( 1 ) MYVAR='PASSED'; else MYVAR= 'FAILED';") );
82 eval("var MYVAR; if ( 0 ) MYVAR='FAILED'; else MYVAR= 'PASSED';") );
H A D12.5-2.js55 eval("var MYVAR; if ( true ) MYVAR='PASSED'; MYVAR") );
60 eval("var MYVAR=\"PASSED\"; if ( false ) MYVAR='FAILED'; MYVAR;") );
65 eval("var MYVAR; if ( new Boolean(true) ) MYVAR='PASSED'; MYVAR") );
70 eval("var MYVAR; if ( new Boolean(false) ) MYVAR='PASSED'; MYVAR") );
75 eval("var MYVAR; if ( 1 ) MYVAR='PASSED'; MYVAR") );
80 eval("var MYVAR=\"PASSED\"; if ( 0 ) MYVAR='FAILED'; MYVAR;") );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_3/ExecutionContexts/
H A D10.1.4-1.js44 eval("var x = 1");
50 reportFailure ("x did not remain defined after eval()");
52 reportFailure ("x did not retain it's value after eval()");
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_3/Unicode/
H A Duc-002.js34 reportCompare ("no error", eval("'no'\u00A0+ ' error'"),
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/js1_6/Regress/
H A Dregress-311157-01.js48 eval('var x = <hi> <!-- duh -->\n there </hi>');
H A Dregress-311157-02.js48 eval('var x = <hi> <![CDATA[ duh ]]>\n there </hi>');
/macosx-10.9.5/bash-92/bash-3.2/support/
H A Dprintenv.c40 register char **envp, *eval; local
60 eval = *envp + len;
62 if (*eval == '=')
64 puts (eval + 1);
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Types/
H A D8.6.2.1-1.js67 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("va
[all...]

Completed in 120 milliseconds

1234567891011>>