| /external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
| 15.8.2.11.js | 50 var array = new Array(); 53 array[item++] = new TestCase( SECTION, "Math.max.length", 2, Math.max.length ); 55 array[item++] = new TestCase( SECTION, "Math.max()", -Infinity, Math.max() ); 56 array[item++] = new TestCase( SECTION, "Math.max(void 0, 1)", Number.NaN, Math.max( void 0, 1 ) ); 57 array[item++] = new TestCase( SECTION, "Math.max(void 0, void 0)", Number.NaN, Math.max( void 0, void 0 ) ); 58 array[item++] = new TestCase( SECTION, "Math.max(null, 1)", 1, Math.max( null, 1 ) ); 59 array[item++] = new TestCase( SECTION, "Math.max(-1, null)", 0, Math.max( -1, null ) ); 60 array[item++] = new TestCase( SECTION, "Math.max(true, false)", 1, Math.max(true,false) ); 62 array[item++] = new TestCase( SECTION, "Math.max('-99','99')", 99, Math.max( "-99" (…) [all...] |
| 15.8.2.12.js | 51 var array = new Array(); 54 array[item++] = new TestCase( SECTION, "Math.min.length", 2, Math.min.length ); 56 array[item++] = new TestCase( SECTION, "Math.min()", Infinity, Math.min() ); 57 array[item++] = new TestCase( SECTION, "Math.min(void 0, 1)", Number.NaN, Math.min( void 0, 1 ) ); 58 array[item++] = new TestCase( SECTION, "Math.min(void 0, void 0)", Number.NaN, Math.min( void 0, void 0 ) ); 59 array[item++] = new TestCase( SECTION, "Math.min(null, 1)", 0, Math.min( null, 1 ) ); 60 array[item++] = new TestCase( SECTION, "Math.min(-1, null)", -1, Math.min( -1, null ) ); 61 array[item++] = new TestCase( SECTION, "Math.min(true, false)", 0, Math.min(true,false) ); 63 array[item++] = new TestCase( SECTION, "Math.min('-99','99')", -99, Math.min( "-99" (…) [all...] |
| 15.8.2.17.js | 47 var array = new Array(); 50 array[item++] = new TestCase( SECTION, "Math.sqrt.length", 1, Math.sqrt.length ); 52 array[item++] = new TestCase( SECTION, "Math.sqrt()", Number.NaN, Math.sqrt() ); 53 array[item++] = new TestCase( SECTION, "Math.sqrt(void 0)", Number.NaN, Math.sqrt(void 0) ); 54 array[item++] = new TestCase( SECTION, "Math.sqrt(null)", 0, Math.sqrt(null) ); 55 array[item++] = new TestCase( SECTION, "Math.sqrt(true)", 1, Math.sqrt(1) ); 56 array[item++] = new TestCase( SECTION, "Math.sqrt(false)", 0, Math.sqrt(false) ); 57 array[item++] = new TestCase( SECTION, "Math.sqrt('225')", 15, Math.sqrt('225') ); 59 array[item++] = new TestCase( SECTION, "Math.sqrt(NaN)", Number.NaN, Math.sqrt(Number.NaN) ) [all...] |
| 15.8.2.6.js | 51 var array = new Array(); 54 array[item++] = new TestCase( SECTION, "Math.ceil.length", 1, Math.ceil.length ); 56 array[item++] = new TestCase( SECTION, "Math.ceil(NaN)", Number.NaN, Math.ceil(Number.NaN) ); 57 array[item++] = new TestCase( SECTION, "Math.ceil(null)", 0, Math.ceil(null) ); 58 array[item++] = new TestCase( SECTION, "Math.ceil()", Number.NaN, Math.ceil() ); 59 array[item++] = new TestCase( SECTION, "Math.ceil(void 0)", Number.NaN, Math.ceil(void 0) ); 61 array[item++] = new TestCase( SECTION, "Math.ceil('0')", 0, Math.ceil('0') ); 62 array[item++] = new TestCase( SECTION, "Math.ceil('-0')", -0, Math.ceil('-0') ); 63 array[item++] = new TestCase( SECTION, "Infinity/Math.ceil('0')", Infinity, Infinity/Math.ceil('0')) [all...] |
| 15.8.2.9.js | 52 var array = new Array(); 55 array[item++] = new TestCase( SECTION, "Math.floor.length", 1, Math.floor.length ); 57 array[item++] = new TestCase( SECTION, "Math.floor()", Number.NaN, Math.floor() ); 58 array[item++] = new TestCase( SECTION, "Math.floor(void 0)", Number.NaN, Math.floor(void 0) ); 59 array[item++] = new TestCase( SECTION, "Math.floor(null)", 0, Math.floor(null) ); 60 array[item++] = new TestCase( SECTION, "Math.floor(true)", 1, Math.floor(true) ); 61 array[item++] = new TestCase( SECTION, "Math.floor(false)", 0, Math.floor(false) ); 63 array[item++] = new TestCase( SECTION, "Math.floor('1.1')", 1, Math.floor("1.1") ); 64 array[item++] = new TestCase( SECTION, "Math.floor('-1.1')", -2, Math.flo (…) [all...] |
| /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/ |
| 15.5.2.js | 54 var array = new Array(); 57 array[item++] = new TestCase( SECTION, "typeof new String('string primitive')", "object", typeof new String('string primitive') ); 58 array[item++] = new TestCase( SECTION, "var TESTSTRING = new String('string primitive'); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()", "[object String]", eval("var TESTSTRING = new String('string primitive'); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()") ); 59 array[item++] = new TestCase( SECTION, "(new String('string primitive')).valueOf()", 'string primitive', (new String('string primitive')).valueOf() ); 60 array[item++] = new TestCase( SECTION, "(new String('string primitive')).substring", String.prototype.substring, (new String('string primitive')).substring ); 62 array[item++] = new TestCase( SECTION, "typeof new String(void 0)", "object", typeof new String(void 0) ); 63 array[item++] = new TestCase( SECTION, "var TESTSTRING = new String(void 0); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()", "[object String]", eval("var TESTSTRING = new String(void 0); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()") ); 64 array[item++] = new TestCase( SECTION, "(new String(void 0)).valueOf()", "undefined", (new String(void 0)).valueOf() ); 65 array[item++] = new TestCase( SECTION, "(new String(void 0)).toString", String.prototype. (…) [all...] |
| 15.5.4.4-2.js | 59 var array = new Array(); 61 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(0)", "t", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(0)") ); 62 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(1)", "r", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(1)") ); 63 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(2)", "u", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(2)") ); 64 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(3)", "e", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(3)") ); 65 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(4)", "", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(4)") ); 66 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(-1)", "", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(-1)") ); 68 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(true)", "r", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(true)") ); 69 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.ch (…) [all...] |
| 15.5.4.5-2.js | 66 var array = new Array(); 71 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.charCod (…) [all...] |
| 15.5.4.5-3.js | 71 var array = new Array(); 76 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(0)", 0x0068, foo.charCodeAt(0) ); 77 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(1)", 0x0065, foo.charCodeAt(1) ); 78 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(2)", 0x006c, foo.charCodeAt(2) ); 79 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(3)", 0x006c, foo.charCodeAt(3) ); 80 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(4)", 0x006f, foo.charCodeAt(4) ); 81 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(-1)", Number.NaN, foo.charCodeAt(-1) ); 82 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(5)", Number.NaN, foo.charCodeAt(5) ); 86 array[item++] = new TestCase( SECTION, "var boo = new MyObject(true);boo.charCodeAt(0)", 0x0074, boo.cha (…) [all...] |
| 15.5.4.6-1.js | 76 var array = new Array(); 80 array[j] = new TestCase( SECTION, 87 array[j] = new TestCase( SECTION, 94 array[j] = new TestCase( SECTION, 101 array[j] = new TestCase( SECTION, 113 array[j] = new TestCase( SECTION, 124 array[j] = new TestCase( SECTION, 135 array[j++] = new TestCase( SECTION, "String.indexOf(" +TEST_STRING + ", 0 )", 0, TEST_STRING.indexOf( TEST_STRING, 0 ) ); 136 array[j++] = new TestCase( SECTION, "String.indexOf(" +TEST_STRING + ", 1 )", -1, TEST_STRING.indexOf( (…) [all...] |
| /external/webkit/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
| 9.6.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, "-0 >>> 0", 0, -0 >>> 0 ); 97 array[item++] = new TestCase( SECTION, "'Infinity' >>> 0", 0, "Infinity" >>> 0 ); 98 array[item++] = new TestCase( SECTION, "'-Infinity' >>> 0", 0, "-Infinity" >>> 0); 99 array[item++] = new TestCase( SECTION, "'+Infinity' >>> 0", 0, "+Infinity" >>> 0 ); 100 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY >>> 0", 0, Number.POSITIVE_INFINITY >>> 0 ); 101 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY >>> 0", 0, Number.NEGATIV (…) [all...] |
| /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
| regress-103087.js | 88 var rePatterns = new Array(AttValSE, CDATA_CE, CDATA_RE, CDATA_SPE, CGRef_APE, CommentCE, CommentRE, CommentSPE, DT_IdentSE, DT_ItemSE, DeclCE, DocTypeCE, DocTypeSPE, ElemTagCE, ElemTagRE, ElemTagSE, ElemTagSPE, EndTagCE, EndTagRE, EndTagSPE, EntityValue_PE, Erroneous_PI_SE, HexPart, MarkupDeclCE, MarkupSPE, Name, NameChar, NameStrt, NumPart, PERef_APE, PI_CE, PI_RE, PI_SPE, PI_Tail, QuoteSE, S, S1, TextSE, Text_PE, Until2Hyphens, UntilHyphen, UntilQMs, UntilRSBs, XML_SPE);
|
| /external/webkit/JavaScriptCore/tests/mozilla/js1_2/Array/ |
| splice1.js | 24 Description: 'Tests Array.splice(x,y) w/no var args' 40 var testcases = new Array();
|
| splice2.js | 24 Description: 'Tests Array.splice(x,y) w/4 var args' 40 var testcases = new Array();
|
| /external/webkit/JavaScriptCore/tests/mozilla/js1_2/function/ |
| tostring-2.js | 48 var testcases = new Array();
|
| /external/webkit/JavaScriptCore/tests/mozilla/js1_2/ |
| jsref.js | 75 testcases = new Array();
|
| /external/webkit/JavaScriptCore/tests/mozilla/js1_5/Object/ |
| regress-90596-003.js | 164 var arr = new Array();
|
| /external/webkit/LayoutTests/fast/js/resources/ |
| getOwnPropertyDescriptor.js | 22 descriptorShouldBe("Array.prototype", "'concat'", {writable: true, enumerable: false, configurable: true, value:"Array.prototype.concat"});
|
| /external/webkit/SunSpider/tests/sunspider-0.9/ |
| crypto-md5.js | 38 * Calculate the MD5 of an array of little-endian words, and a bit length 131 return Array(a, b, c, d); 167 var ipad = Array(16), opad = Array(16); 198 * Convert a string to an array of little-endian words 203 var bin = Array(); 211 * Convert an array of little-endian words to a string 223 * Convert an array of little-endian words to a hex string. 238 * Convert an array of little-endian words to a base-64 string
|
| /external/webkit/SunSpider/tests/sunspider-0.9.1/ |
| crypto-md5.js | 38 * Calculate the MD5 of an array of little-endian words, and a bit length 131 return Array(a, b, c, d); 167 var ipad = Array(16), opad = Array(16); 198 * Convert a string to an array of little-endian words 203 var bin = Array(); 211 * Convert an array of little-endian words to a string 223 * Convert an array of little-endian words to a hex string. 238 * Convert an array of little-endian words to a base-64 string
|
| /external/webkit/WebCore/bridge/ |
| runtime_array.cpp | 40 RuntimeArray::RuntimeArray(ExecState* exec, Bindings::Array* array) 42 // We need to pass in the right global object for "array". 44 , _array(array)
|
| /hardware/ril/mock-ril/src/cpp/ |
| node_buffer.cpp | 187 Local<Array> a = Local<Array>::Cast(args[0]); 526 // Starting at 'index', unpacks binary from the buffer into an array. 549 Local<Array> array = Array::New(format.length()); local 561 array->Set(Integer::New(i), Integer::NewFromUnsigned(uint32)); 569 array->Set(Integer::New(i), Integer::NewFromUnsigned(uint16)); 577 array->Set(Integer::New(i), Integer::NewFromUnsigned(uint8)); 589 return scope.Close(array); [all...] |
| /hardware/ril/mock-ril/src/js/ |
| mock_ril.js | 213 * and contains an array of components this request 218 * DispatchTable[RIL_REQUEST_xxx].components = Array of components 221 var dispatchTable = new Array();
|
| /libcore/luni/src/main/java/java/sql/ |
| PreparedStatement.java | 130 * Sets the value of a specified parameter to the supplied {@code Array}. 136 * a {@code java.sql.Array} giving the new value of the parameter at {@code 140 * @see Array 142 public void setArray(int parameterIndex, Array theArray) 254 * Sets the value of a specified parameter to a supplied array of bytes. The 255 * array is mapped to a {@code VARBINARY} or {@code LONGVARBINARY} in the 262 * the array of bytes to which the parameter at {@code 424 * JAVA_OBJECT} and named array types. 458 * {@code Struct}, or {@code Array}, the driver passes it to the database as 481 * {@code Struct}, or {@code Array}, the driver will pass it to the databas [all...] |
| /external/v8/include/ |
| v8.h | 112 class Array; 728 * Returns true if this value is an array. 772 * Attempts to convert a string to an array index. [all...] |