HomeSort by relevance Sort by last modified time
    Searched refs:eval (Results 51 - 75 of 747) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/
15.5.4.8-2.js 100 eval("var s = new String( TEST_STRING ); s.split('').length") );
107 eval("var s = new String( TEST_STRING ); s.split('')["+i+"]") );
119 eval("var s = new String( TEST_STRING ); s.split(void 0).length") );
125 eval("var s = new String( TEST_STRING ); s.split(void 0)["+i+"]") );
135 eval("var s = new String( TEST_STRING ); s.split(null).length") );
141 eval("var s = new String( TEST_STRING ); s.split(null)["+i+"]") );
151 eval("var s = new String( TEST_STRING ); s.split(true).length") );
157 eval("var s = new String( TEST_STRING ); s.split(true)["+i+"]") );
167 eval("var s = new String( TEST_STRING ); s.split(123).length") );
173 eval("var s = new String( TEST_STRING ); s.split(123)["+i+"]") )
    [all...]
15.5.4.7-2.js 79 array[item++] = new TestCase( SECTION, "delete String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.length", 1, eval("delete String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.length" ) );
81 array[item++] = new TestCase( SECTION, "var s = new String(''); s.lastIndexOf('', 0)", LastIndexOf("","",0), eval("var s = new String(''); s.lastIndexOf('', 0)") );
82 array[item++] = new TestCase( SECTION, "var s = new String(''); s.lastIndexOf('')", LastIndexOf("",""), eval("var s = new String(''); s.lastIndexOf('')") );
83 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('', 0)", LastIndexOf("hello","",0), eval("var s = new String('hello'); s.lastIndexOf('',0)") );
84 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('')", LastIndexOf("hello",""), eval("var s = new String('hello'); s.lastIndexOf('')") );
86 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('ll')", LastIndexOf("hello","ll"), eval("var s = new String('hello'); s.lastIndexOf('ll')") );
87 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('ll', 0)", LastIndexOf("hello","ll",0), eval("var s = new String('hello'); s.lastIndexOf('ll', 0)") );
88 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('ll', 1)", LastIndexOf("hello","ll",1), eval("var s = new String('hello'); s.lastIndexOf('ll', 1)") );
89 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('ll', 2)", LastIndexOf("hello","ll",2), eval("var s = new String('hello'); s.lastIndexOf('ll', 2)") );
90 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('ll', 3)", LastIndexOf("hello","ll",3), eval("var s = new String('hello'); s.lastIndexOf('ll', 3)") )
    [all...]
15.5.4.8-3.js 101 eval("var s = new String(); s.split().length") );
106 eval("var s = new String(); s.split()[0]") );
113 eval("var s = new String(); s.split('').length") );
118 eval("var s = new String(); s.split(' ').length") );
124 eval("var s = new String(' '); s.split().length") );
129 eval("var s = new String(' '); s.split()[0]") );
134 eval("var s = new String(' '); s.split('').length") );
139 eval("var s = new String(' '); s.split('')[0]") );
144 eval("var s = new String(' '); s.split(' ').length") );
149 eval("var s = new String(' '); s.split(' ')[0]") )
    [all...]
  /external/clang/test/CXX/temp/temp.arg/temp.arg.template/
p3-0x.cpp 3 template <class T> struct eval; // expected-note 3{{template is declared here}}
6 struct eval<TT<T1, Rest...>> { }; struct
14 eval<A<int>> eA;
15 eval<B<int, float>> eB;
16 eval<C<17>> eC; // expected-error{{implicit instantiation of undefined template 'eval<C<17> >'}}
17 eval<D<int, 17>> eD; // expected-error{{implicit instantiation of undefined template 'eval<D<int, 17> >'}}
18 eval<E<int, float>> eE; // expected-error{{implicit instantiation of undefined template 'eval<E<int, float, 17> >}
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/
7.1-3.js 56 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") );
7.1-2.js 55 array[item++] = new TestCase( SECTION, "'var'+'\u000B'+'MYVAR1=10;MYVAR1'", 10, eval('var'+'\u000B'+'MYVAR1=10;MYVAR1') );
56 array[item++] = new TestCase( SECTION, "'var'+'\u0009'+'MYVAR2=10;MYVAR2'", 10, eval('var'+'\u0009'+'MYVAR2=10;MYVAR2') );
57 array[item++] = new TestCase( SECTION, "'var'+'\u000C'+'MYVAR3=10;MYVAR3'", 10, eval('var'+'\u000C'+'MYVAR3=10;MYVAR3') );
58 array[item++] = new TestCase( SECTION, "'var'+'\u0020'+'MYVAR4=10;MYVAR4'", 10, eval('var'+'\u0020'+'MYVAR4=10;MYVAR4') );
7.2-1.js 53 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") );
  /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/Array/
15.4.4.3-1.js 56 array[item++] = new TestCase( SECTION, "delete Array.prototype.join.length; Array.prototype.join.length", 1, eval("delete Array.prototype.join.length; Array.prototype.join.length") );
63 eval("var TEST_ARRAY = new Array(); TEST_ARRAY.join()") );
70 eval("var TEST_ARRAY = new Array(); TEST_ARRAY.join(' ')") );
76 eval("var TEST_ARRAY = new Array(null, void 0, true, false, 123, new Object(), new Boolean(true) ); TEST_ARRAY.join('&')") );
82 eval("var TEST_ARRAY = new Array(null, void 0, true, false, 123, new Object(), new Boolean(true) ); TEST_ARRAY.join('')") );
87 eval("var TEST_ARRAY = new Array(null, void 0, true, false, 123, new Object(), new Boolean(true) ); TEST_ARRAY.join(void 0)") );
93 eval("var TEST_ARRAY = new Array(null, void 0, true, false, 123, new Object(), new Boolean(true) ); TEST_ARRAY.join()") );
99 eval("var TEST_ARRAY = new Array(null, void 0, true, false, 123, new Object(), new Boolean(true) ); TEST_ARRAY.join('\v')") );
105 eval("var TEST_ARRAY = new Array(true); TEST_ARRAY.join('\v')") );
122 TEST_ARRAY = eval( "new Array( "+ARGUMENTS +")" )
    [all...]
15.4.5.2-1.js 51 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") );
  /external/v8/test/mjsunit/regress/
regress-1200351.js 40 eval("SetValueOf(typeof(break.prototype.name), Math.max(typeof(break)))")
44 eval("export Join((void), false.className(), null instanceof continue, return 'a', 0.__defineGetter__(x,function(){native}))")
48 eval("with ({ void&&null.push(goto NaN) : Math.max(undef).toText }) { {-1/null,1.isNull} }")
52 eval("new break>>>=native.charCodeAt(-1.valueOf())")
56 eval("new Number(this > native)")
60 eval("new {native,0.2}?continue+undef:IsSmi(0.2)")
64 eval("const x = break.toString()&&return continue")
68 eval("for (-1==continue.toJSONProtocol, GetFunctionFor(break.call(NaN)), (!new RegExp).prototype.new Object()<<void) { debugger.__defineSetter__(null,function(){continue})>>>=GetFunctionFor(-1) }")
72 eval("for (parseFloat(NaN).splice() in null.add(1).className()) { true[0.2]<<x.splice() }")
76 eval("let (debugger.constructor.valueOf()) { this.sort().true.splice() }"
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/LexicalConventions/
keywords-001.js 19 eval("super;");
  /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_3/Unicode/
uc-002.js 34 reportCompare ("no error", eval("'no'\u00A0+ ' error'"),
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_6/Regress/
regress-311157-01.js 48 eval('var x = <hi> <!-- duh -->\n there </hi>');
regress-311157-02.js 48 eval('var x = <hi> <![CDATA[ duh ]]>\n there </hi>');
  /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/clang/test/SemaCXX/
constant-expression.cpp 12 enum Enum { eval = 1 }; enumerator in enum:Enum
14 const Enum ceval = eval;
17 static const Enum seval = eval;
23 v2 = eval,
36 b2 : eval,
49 i2 = eval,
63 case 100 + eval:
80 template struct C<1, eval>;
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/
10.1.4-6.js 67 "with MyObject, eval should be [object Global].eval " );
76 testcases[0].actual = eval( INPUT );
82 this.eval = new Function( "x", "return(Math.pow(Number(x),2))" );
10.2.2-2.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";
68 testcases[tc++] = new TestCase( SECTION, "eval( 'this == THIS' )", true, eval("this == THIS") );
71 testcases[tc++] = new TestCase( SECTION, "eval(new MyObject('hello').value)", "hello", eval("value") );
73 testcases[tc++] = new TestCase( SECTION, "eval(new MyObject('hello').getClass())", "[object Object]", eval("getClass()") );
74 testcases[tc++] = new TestCase( SECTION, "eval(new MyObject('hello').toString())", "hello", eval("toString()") )
    [all...]
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...]
  /system/extras/tests/bionic/libstdc++/
Android.mk 31 $(eval include $(CLEAR_VARS)) \
32 $(eval LOCAL_SRC_FILES := $(file)) \
33 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
34 $(eval LOCAL_CFLAGS += $(EXTRA_CFLAGS)) \
35 $(eval LOCAL_MODULE_TAGS := tests) \
36 $(eval include $(BUILD_EXECUTABLE)) \
38 $(eval EXTRA_CFLAGS :=)
46 $(eval include $(CLEAR_VARS)) \
47 $(eval LOCAL_SRC_FILES := $(file)) \
48 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%)))
    [all...]
  /hardware/msm7k/libgralloc-qsd8k/tests/
Android.mk 37 $(eval include $(CLEAR_VARS)) \
38 $(eval LOCAL_CPP_EXTENSION := .cpp) \
39 $(eval LOCAL_SRC_FILES := $(file)) \
40 $(eval LOCAL_C_INCLUDES := $(libgralloc_test_includes)) \
41 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
42 $(eval LOCAL_CFLAGS += $(EXTRA_CFLAGS)) \
43 $(eval LOCAL_LDLIBS += $(EXTRA_LDLIBS)) \
44 $(eval LOCAL_STATIC_LIBRARIES := $(libgralloc_test_static_libs)) \
45 $(eval LOCAL_MODULE_TAGS := eng tests) \
46 $(eval include $(BUILD_HOST_EXECUTABLE))
    [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...]

Completed in 977 milliseconds

1 23 4 5 6 7 8 91011>>