/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
7.6.js | 42 var testcases = new Array(); 287 "var a=new Array('hi');a[0]", 289 eval("var a=new Array('hi');a[0]") );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.1.js | 46 var array = new Array(); 49 array[item++] = new TestCase( SECTION, "Math.abs.length", 1, Math.abs.length ); 51 array[item++] = new TestCase( SECTION, "Math.abs()", Number.NaN, Math.abs() ); 52 array[item++] = new TestCase( SECTION, "Math.abs( void 0 )", Number.NaN, Math.abs(void 0) ); 53 array[item++] = new TestCase( SECTION, "Math.abs( null )", 0, Math.abs(null) ); 54 array[item++] = new TestCase( SECTION, "Math.abs( true )", 1, Math.abs(true) ); 55 array[item++] = new TestCase( SECTION, "Math.abs( false )", 0, Math.abs(false) ); 56 array[item++] = new TestCase( SECTION, "Math.abs( string primitive)", Number.NaN, Math.abs("a string primitive") ); 57 array[item++] = new TestCase( SECTION, "Math.abs( string object )", Number.NaN, Math.abs(new Str (…) [all...] |
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/Source/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/Source/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/Source/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/Source/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/Source/JavaScriptCore/tests/mozilla/js1_2/function/ |
tostring-2.js | 48 var testcases = new Array();
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/ |
jsref.js | 75 testcases = new Array();
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Object/ |
regress-90596-003.js | 164 var arr = new Array();
|
/external/webkit/Source/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". 46 setSubclassData(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...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
GeneralName.java | 46 import org.apache.harmony.security.utils.Array; 130 /** the name value (can be String or byte array) */ 215 * name is an array of bytes such as: 265 * [7] iPAddress - array of bytes such as: 482 case IP_ADDR: //iPAddress is returned as a String, not as a byte array 496 + Array.getBytesAsString(getEncoded()); 512 + Array.getBytesAsString(getEncoded()); 520 + Array.getBytesAsString(getEncoded()); 610 * Converts OID into array of ints.
|
/ndk/sources/host-tools/nawk-20071023/ |
run.c | 211 Cell **args; /* pointer to array of arguments after execute */ 254 i, NN(y->nval), y->fval, isarr(y) ? "(array)" : NN(y->sval), y->tval) ); 451 Cell *array(Node **a, int n) /* a[0] is symtab, a[1] is list of subscripts */ function 461 FATAL("out of memory in array"); 468 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "array")) 476 dprintf( ("making %s into an array\n", NN(x->nval)) ); 483 z = setsymtab(buf, "", 0.0, STR|NUM, (Array *) x->sval); 538 ap = execute(a[1]); /* array name */ 540 dprintf( ("making %s into an array\n", ap->nval) ); 561 k = lookup(buf, (Array *) ap->sval) [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineFunction.h | 417 /// Allocate an array of MachineOperands. This is only intended for use by 423 /// Dellocate an array of MachineOperands and recycle the memory. This is 425 /// Cap must be the same capacity that was used to allocate the array. 426 void deallocateOperandArray(OperandCapacity Cap, MachineOperand *Array) { 427 OperandRecycler.deallocate(Cap, Array); 430 /// allocateMemRefsArray - Allocate an array to hold MachineMemOperand 431 /// pointers. This array is owned by the MachineFunction. 434 /// extractLoadMemRefs - Allocate an array and populate it with just the 441 /// extractStoreMemRefs - Allocate an array and populate it with just the
|
/external/v8/src/ |
uri.js | 63 var octets = new $Array(3); 84 var octets = new $Array(4); 183 // on the incoming array. 212 // on the incoming array. 224 var octets = new $Array(n); 414 InstallFunctions(global, DONT_ENUM, $Array(
|