/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.7.js | 48 var array = new Array(); 51 array[item++] = new TestCase( SECTION, "isFinite.length", 1, isFinite.length ); 52 array[item++] = new TestCase( SECTION, "isFinite.length = null; isFinite.length", 1, eval("isFinite.length=null; isFinite.length") ); 53 array[item++] = new TestCase( SECTION, "delete isFinite.length", false, delete isFinite.length ); 54 array[item++] = new TestCase( SECTION, "delete isFinite.length; isFinite.length", 1, eval("delete isFinite.length; isFinite.length") ); 55 array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( p in isFinite ) { MYPROPS+= p }; MYPROPS", "", eval("var MYPROPS=''; for ( p in isFinite ) { MYPROPS += p }; MYPROPS") ); 57 array[item++] = new TestCase( SECTION, "isFinite()", false, isFinite() ); 58 array[item++] = new TestCase( SECTION, "isFinite( null )", true, isFinite(null) ); 59 array[item++] = new TestCase( SECTION, "isFinite( void 0 )", false, isFinite(void 0) ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.5.js | 43 var array = new Array(); 46 array[item++] = new TestCase( SECTION, "Math.atan2.length", 2, Math.atan2.length ); 48 array[item++] = new TestCase( SECTION, "Math.atan2(NaN, 0)", Number.NaN, Math.atan2(Number.NaN,0) ); 49 array[item++] = new TestCase( SECTION, "Math.atan2(null, null)", 0, Math.atan2(null, null) ); 50 array[item++] = new TestCase( SECTION, "Math.atan2(void 0, void 0)", Number.NaN, Math.atan2(void 0, void 0) ); 51 array[item++] = new TestCase( SECTION, "Math.atan2()", Number.NaN, Math.atan2() ); 53 array[item++] = new TestCase( SECTION, "Math.atan2(0, NaN)", Number.NaN, Math.atan2(0,Number.NaN) ); 54 array[item++] = new TestCase( SECTION, "Math.atan2(1, 0)", Math.PI/2, Math.atan2(1,0) ); 55 array[item++] = new TestCase( SECTION, "Math.atan2(1,-0)", Math.PI/2, Math.atan2(1,-0) (…) [all...] |
15.8.2.7.js | 43 var array = new Array(); 46 array[item++] = new TestCase( SECTION, "Math.cos.length", 1, Math.cos.length ); 48 array[item++] = new TestCase( SECTION, "Math.cos()", Number.NaN, Math.cos() ); 49 array[item++] = new TestCase( SECTION, "Math.cos(void 0)", Number.NaN, Math.cos(void 0) ); 50 array[item++] = new TestCase( SECTION, "Math.cos(false)", 1, Math.cos(false) ); 51 array[item++] = new TestCase( SECTION, "Math.cos(null)", 1, Math.cos(null) ); 53 array[item++] = new TestCase( SECTION, "Math.cos('0')", 1, Math.cos('0') ); 54 array[item++] = new TestCase( SECTION, "Math.cos('Infinity')", Number.NaN, Math.cos("Infinity") ); 55 array[item++] = new TestCase( SECTION, "Math.cos('3.14159265359')", -1, Math.cos('3.141 (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.2.js | 60 var array = new Array(); 66 array[item++] = new TestCase(SECTION, "(new Number()).constructor", Number.prototype.constructor, (new Number()).constructor ); 68 array[item++] = new TestCase(SECTION, "typeof (new Number())", "object", typeof (new Number()) ); 69 array[item++] = new TestCase(SECTION, "(new Number()).valueOf()", 0, (new Number()).valueOf() ); 70 array[item++] = new TestCase(SECTION, 75 array[item++] = new TestCase(SECTION, "(new Number(0)).constructor", Number.prototype.constructor, (new Number(0)).constructor ); 76 array[item++] = new TestCase(SECTION, "typeof (new Number(0))", "object", typeof (new Number(0)) ); 77 array[item++] = new TestCase(SECTION, "(new Number(0)).valueOf()", 0, (new Number(0)).valueOf() ); 78 array[item++] = new TestCase(SECTION [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
15.2.1.1.js | 60 var array = new Array(); 65 array[item++] = new TestCase( SECTION, "Object(null).valueOf()", NULL_OBJECT, (NULL_OBJECT).valueOf() ); 66 array[item++] = new TestCase( SECTION, "typeof Object(null)", "object", typeof (Object(null)) ); 67 array[item++] = new TestCase( SECTION, "Object(null).__proto__", Object.prototype, (Object(null)).__proto__ ); 71 array[item++] = new TestCase( SECTION, "Object(void 0).valueOf()", UNDEFINED_OBJECT, (UNDEFINED_OBJECT).valueOf() ); 72 array[item++] = new TestCase( SECTION, "typeof Object(void 0)", "object", typeof (Object(void 0)) ); 73 array[item++] = new TestCase( SECTION, "Object(void 0).__proto__", Object.prototype, (Object(void 0)).__proto__ ); 75 array[item++] = new TestCase( SECTION, "Object(true).valueOf()", true, (Object(true)).valueOf() ); 76 array[item++] = new TestCase( SECTION, "typeof Object(true)", "object", typeof Objec (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.11-4.js | 54 var array = new Array(); 63 array[item++] = new TestCase( SECTION, 68 array[item++] = new TestCase( SECTION, 74 return array;
|
15.5.4.4-4.js | 61 var array = new Array(); 64 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "n", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") ); 65 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "u", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(1)") ); 66 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(2)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(2)") ); 67 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(3)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(3)") ); 69 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "u", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") ); 70 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "n", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(1)") ); 71 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(2)", "d", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(2)") ); 72 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x (…) [all...] |
15.5.4.6-2.js | 96 var array = new Array(); 101 array[item++] = new TestCase( SECTION, "function f() { return this; }; function g() { var h = f; return h(); }; g().toString()", GLOBAL, g().toString() ); 104 array[item++] = new TestCase( SECTION, "String.prototype.indexOf.length", 1, String.prototype.indexOf.length ); 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") ); 106 array[item++] = new TestCase( SECTION, "delete String.prototype.indexOf.length", false, delete 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()") ); 122 array[item++] = new TestCase( SECTION, 128 array[item++] = new TestCase( SECTION [all...] |
15.5.4.7-1.js | 71 var array = new Array(); 75 array[j] = new TestCase( SECTION, 82 array[j] = new TestCase( SECTION, 89 array[j] = new TestCase( SECTION, 96 array[j] = new TestCase( SECTION, 110 array[j] = new TestCase( SECTION, 121 array[j] = new TestCase( SECTION, 132 array[j] = new TestCase( SECTION, 145 array[j++] = new TestCase( SECTION, "String.lastIndexOf(" +TEST_STRING + ", 0 )", 0, TEST_STRING.lastIn (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.5-2.js | 91 var array = new Array(); 94 array[item++] = new TestCase( SECTION, "0 << 0", 0, 0 << 0 ); 95 array[item++] = new TestCase( SECTION, "-0 << 0", 0, -0 << 0 ); 96 array[item++] = new TestCase( SECTION, "Infinity << 0", 0, "Infinity" << 0 ); 97 array[item++] = new TestCase( SECTION, "-Infinity << 0", 0, "-Infinity" << 0 ); 98 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY << 0", 0, Number.POSITIVE_INFINITY << 0 ); 99 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY << 0", 0, Number.NEGATIVE_INFINITY << 0 ); 100 array[item++] = new TestCase( SECTION, "Number.NaN << 0", 0, Number.NaN << 0 ); 102 array[item++] = new TestCase( SECTION, "Number.MIN_VALUE << 0", 0, Number.MIN_VAL (…) [all...] |
9.7.js | 79 var array = new Array(); 82 array[item++] = new TestCase( "9.7", "String.fromCharCode(0).charCodeAt(0)", 0, String.fromCharCode(0).charCodeAt(0) ); 83 array[item++] = new TestCase( "9.7", "String.fromCharCode(-0).charCodeAt(0)", 0, String.fromCharCode(-0).charCodeAt(0) ); 84 array[item++] = new TestCase( "9.7", "String.fromCharCode(1).charCodeAt(0)", 1, String.fromCharCode(1).charCodeAt(0) ); 85 array[item++] = new TestCase( "9.7", "String.fromCharCode(64).charCodeAt(0)", 64, String.fromCharCode(64).charCodeAt(0) ); 86 array[item++] = new TestCase( "9.7", "String.fromCharCode(126).charCodeAt(0)", 126, String.fromCharCode(126).charCodeAt(0) ); 87 array[item++] = new TestCase( "9.7", "String.fromCharCode(127).charCodeAt(0)", 127, String.fromCharCode(127).charCodeAt(0) ); 88 array[item++] = new TestCase( "9.7", "String.fromCharCode(128).charCodeAt(0)", 128, String.fromCharCode(128).charCodeAt(0) ); 89 array[item++] = new TestCase( "9.7", "String.fromCharCode(130).charCodeAt(0)", 130, String.f (…) [all...] |
9.9-1.js | 48 // all tests must call a function that returns an array of TestCase objects. 52 var array = new Array(); 55 array[item++] = new TestCase( SECTION, "Object(true).valueOf()", true, (Object(true)).valueOf() ); 56 array[item++] = new TestCase( SECTION, "typeof Object(true)", "object", typeof Object(true) ); 57 array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Object(true)).__proto__ ); 59 array[item++] = new TestCase( SECTION, "Object(false).valueOf()", false, (Object(false)).valueOf() ); 60 array[item++] = new TestCase( SECTION, "typeof Object(false)", "object", typeof Object(false) ); 61 array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Object(true)).__proto__ ); 63 array[item++] = new TestCase( SECTION, "Object(0).valueOf()", 0, (Object(0)). (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
special_characters.js | 39 var testcases = new Array();
|
/external/webkit/Source/WebCore/bridge/jni/jsc/ |
JavaArrayJSC.cpp | 53 JavaArray::JavaArray(jobject array, const char* type, PassRefPtr<RootObject> rootObject) 54 : Array(rootObject) 56 m_array = new JobjectWrapper(array); 57 // Java array are fixed length, so we can cache length. 80 // The type of the array will be something like: 164 // Nested array? 167 // or array of other object type?
|
/external/webkit/Source/WebCore/bridge/qt/ |
qt_runtime.h | 97 template <typename T> class QtArray : public Array
|
/external/webkit/Source/WebCore/inspector/front-end/ |
HeapSnapshotProxy.js | 207 var result = new Array(count);
|
RemoteObject.js | 193 case "array": 237 if (this._value instanceof Array) 238 return "array";
|
/external/webkit/Tools/iExploder/iexploder-1.3.2/htdocs/ |
iexploder.rb | 75 list = Array.new
|
/libcore/luni/src/main/java/java/security/cert/ |
X509CertSelector.java | 34 import org.apache.harmony.security.utils.Array; 553 * the boolean array in the format as returned by 569 * @return the boolean array in the format as returned by 654 * array specifying the name (in string or ASN.1 DER encoded form) 735 * second entry is byte array specifying the name in ASN.1 DER encoded form) 920 * array specifying the name (in string or ASN.1 DER encoded form) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
perlstress-002.js | 63 var statusmessages = new Array(); 65 var patterns = new Array(); 67 var strings = new Array(); 69 var actualmatches = new Array(); 71 var expectedmatches = new Array(); 355 expectedmatch = Array("", undefined); 364 expectedmatch = Array("ax", "ax", "", "a"); [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
Scala.stg | 94 state.ruleMemo = new Array[java.util.Map[_,_]](<numRules>+1)<\n> <! index from 1..n !> 187 val tokenNames = Array( 224 override def getTokenNames: Array[String] = tokenNames 247 this.state.ruleMemo = new Array[java.util.Map[_,_]](<length(grammar.allImportedRules)>+1)<\n> <! index from 1..n !> 1019 val DFA<dfa.decisionNumber>_transitionS: Array[String] = Array( 1023 val DFA<dfa.decisionNumber>_eot: Array[Short] = DFA.unpackEncodedString(DFA<dfa.decisionNumber>_eotS) 1024 val DFA<dfa.decisionNumber>_eof: Array[Short] = DFA.unpackEncodedString(DFA<dfa.decisionNumber>_eofS) 1025 val DFA<dfa.decisionNumber>_min: Array[Char] = DFA.unpackEncodedStringToUnsignedChars(DFA<dfa.decisionNumber>_minS [all...] |
/external/v8/benchmarks/ |
crypto.js | 59 this.array = new Array(); 78 var this_array = this.array; 79 var w_array = w.array; 92 var this_array = this.array; 93 var w_array = w.array; 109 var this_array = this.array; 110 var w_array = w.array; 127 var this_array = this.array; 128 var w_array = w.array; [all...] |
/external/v8/src/ |
runtime.js | 45 var $Array = global.Array; 441 // array. This is the fast case. If this fails, we do the slow case 662 // NOTE: Setting the prototype for Array must take place as early as 663 // possible due to code generation for array literals. When 664 // generating code for a array literal a boilerplate array is created 667 %FunctionSetPrototype($Array, new $Array(0));
|
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-crypto.js | 51 this.array = new Array(); 70 var this_array = this.array; 71 var w_array = w.array; 84 var this_array = this.array; 85 var w_array = w.array; 101 var this_array = this.array; 102 var w_array = w.array; 119 var this_array = this.array; 120 var w_array = w.array; [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-crypto.js | 51 this.array = new Array(); 70 var this_array = this.array; 71 var w_array = w.array; 84 var this_array = this.array; 85 var w_array = w.array; 101 var this_array = this.array; 102 var w_array = w.array; 119 var this_array = this.array; 120 var w_array = w.array; [all...] |