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

1 23 4 5 6 7 8 91011>>

  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.15.js 66 var array = new Array();
69 array[item++] = new TestCase( SECTION, "Math.round.length", 1, Math.round.length );
71 array[item++] = new TestCase( SECTION, "Math.round()", Number.NaN, Math.round() );
72 array[item++] = new TestCase( SECTION, "Math.round(null)", 0, Math.round(0) );
73 array[item++] = new TestCase( SECTION, "Math.round(void 0)", Number.NaN, Math.round(void 0) );
74 array[item++] = new TestCase( SECTION, "Math.round(true)", 1, Math.round(true) );
75 array[item++] = new TestCase( SECTION, "Math.round(false)", 0, Math.round(false) );
76 array[item++] = new TestCase( SECTION, "Math.round('.99999')", 1, Math.round('.99999') );
77 array[item++] = new TestCase( SECTION, "Math.round('12345e-2')", 123, Math.round('12345e-2') (…)
    [all...]
15.8.1.js 49 var array = new Array();
52 array[item++] = new TestCase( "15.8.1.1", "Math.E", 2.7182818284590452354, Math.E );
53 array[item++] = new TestCase( "15.8.1.1", "typeof Math.E", "number", typeof Math.E );
54 array[item++] = new TestCase( "15.8.1.2", "Math.LN10", 2.302585092994046, Math.LN10 );
55 array[item++] = new TestCase( "15.8.1.2", "typeof Math.LN10", "number", typeof Math.LN10 );
56 array[item++] = new TestCase( "15.8.1.3", "Math.LN2", 0.6931471805599453, Math.LN2 );
57 array[item++] = new TestCase( "15.8.1.3", "typeof Math.LN2", "number", typeof Math.LN2 );
58 array[item++] = new TestCase( "15.8.1.4", "Math.LOG2E", 1.4426950408889634, Math.LOG2E );
59 array[item++] = new TestCase( "15.8.1.4", "typeof Math.LOG2E", "number", typeof Math.LOG2 (…)
    [all...]
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.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...]
  /external/webkit/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.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...]
9.3.1-2.js 67 var array = new Array();
72 array[item++] = new TestCase( SECTION, "Number(00)", 0, Number("00"));
73 array[item++] = new TestCase( SECTION, "Number(01)", 1, Number("01"));
74 array[item++] = new TestCase( SECTION, "Number(02)", 2, Number("02"));
75 array[item++] = new TestCase( SECTION, "Number(03)", 3, Number("03"));
76 array[item++] = new TestCase( SECTION, "Number(04)", 4, Number("04"));
77 array[item++] = new TestCase( SECTION, "Number(05)", 5, Number("05"));
78 array[item++] = new TestCase( SECTION, "Number(06)", 6, Number("06"));
79 array[item++] = new TestCase( SECTION, "Number(07)", 7, Number("07"))
    [all...]
  /external/webkit/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...]
15.1.2.1-1.js 45 var array = new Array();
48 array[item++] = new TestCase( SECTION, "eval.length", 1, eval.length );
49 array[item++] = new TestCase( SECTION, "delete eval.length", false, delete eval.length );
50 array[item++] = new TestCase( SECTION, "var PROPS = ''; for ( p in eval ) { PROPS += p }; PROPS", "", eval("var PROPS = ''; for ( p in eval ) { PROPS += p }; PROPS") );
51 array[item++] = new TestCase( SECTION, "eval.length = null; eval.length", 1, eval( "eval.length = null; eval.length") );
52 // array[item++] = new TestCase( SECTION, "eval.__proto__", Function.prototype, eval.__proto__ );
56 array[item++] = new TestCase( SECTION, "eval()", void 0, eval() );
57 array[item++] = new TestCase( SECTION, "eval(void 0)", void 0, eval( void 0) );
58 array[item++] = new TestCase( SECTION, "eval(null)", null, (…)
    [all...]
  /dalvik/libcore/luni/src/main/java/java/util/
Arrays.java 21 import java.lang.reflect.Array;
146 contents = (T[]) Array.newInstance(ct, size);
161 * Returns a {@code List} of the objects in the specified array. The size of the
164 * array.
166 * @param array
167 * the array.
168 * @return a {@code List} of the elements of the specified array.
170 public static <T> List<T> asList(T... array) {
171 return new ArrayList<T>(array);
176 * ascending sorted array. Searching in an unsorted array has an undefine
    [all...]
  /external/bluetooth/bluez/tools/
bccmd.c 242 uint8_t array[8]; local
251 memset(array, 0, sizeof(array));
252 array[0] = def & 0xff;
253 array[1] = def >> 8;
255 err = transport_read(transport, CSR_VARID_GET_NEXT_BUILDDEF, array, 8);
261 nextdef = array[2] | (array[3] << 8);
276 uint8_t array[8]; local
284 memset(array, 0, sizeof(array))
304 uint8_t array[8]; local
327 uint8_t array[8]; local
350 uint8_t array[8]; local
410 uint8_t array[130]; local
435 uint8_t array[8]; local
459 uint8_t array[8]; local
503 uint8_t array[8]; local
532 uint8_t array[8]; local
557 uint8_t array[8]; local
584 uint8_t array[8]; local
670 uint8_t array[128]; local
745 uint8_t array[128]; local
851 uint8_t array[8]; local
888 uint8_t array[8]; local
933 uint8_t array[256]; local
1002 uint8_t array[256]; local
1050 uint8_t array[256]; local
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.12-1.js 58 var array = new Array();
61 array[item++] = new TestCase( SECTION, "true ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED"));
62 array[item++] = new TestCase( SECTION, "false ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED"));
64 array[item++] = new TestCase( SECTION, "1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED"));
65 array[item++] = new TestCase( SECTION, "0 ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED"));
66 array[item++] = new TestCase( SECTION, "-1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED"));
68 array[item++] = new TestCase( SECTION, "NaN ? 'FAILED' : 'PASSED'", "PASSED", (Number.NaN?"FAILED":"PASSED"));
70 array[item++] = new TestCase( SECTION, "var VAR = true ? , : 'FAILED'", "PASSED", (VAR = true ? "PASSED" : "FAILED") );
72 return ( array );
    [all...]
11.13.js 58 var array = new Array();
61 array[item++] = new TestCase( SECTION, "true ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED"));
62 array[item++] = new TestCase( SECTION, "false ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED"));
64 array[item++] = new TestCase( SECTION, "1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED"));
65 array[item++] = new TestCase( SECTION, "0 ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED"));
66 array[item++] = new TestCase( SECTION, "-1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED"));
68 array[item++] = new TestCase( SECTION, "NaN ? 'FAILED' : 'PASSED'", "PASSED", (Number.NaN?"FAILED":"PASSED"));
70 array[item++] = new TestCase( SECTION, "var VAR = true ? , : 'FAILED'", "PASSED", (VAR = true ? "PASSED" : "FAILED") );
72 return ( array );
    [all...]
11.6.3.js 79 var array = new Array();
82 array[item++] = new TestCase( SECTION, "Number.NaN + 1", Number.NaN, Number.NaN + 1 );
83 array[item++] = new TestCase( SECTION, "1 + Number.NaN", Number.NaN, 1 + Number.NaN );
85 array[item++] = new TestCase( SECTION, "Number.NaN - 1", Number.NaN, Number.NaN - 1 );
86 array[item++] = new TestCase( SECTION, "1 - Number.NaN", Number.NaN, 1 - Number.NaN );
88 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY + Number.POSITIVE_INFINITY", Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY + Number.POSITIVE_INFINITY);
89 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY + Number.NEGATIVE_INFINITY", Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY + Number.NEGATIVE_INFINITY);
91 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY + Number.NEGATIVE_INFINITY", Number.NaN, Number.POSITIVE_INFINITY + Number.NEGATIVE_INFINITY);
92 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY + Number.POSITIVE_INFINITY", Number.N (…)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
15.5.4.10-1.js 73 var array = new Array();
76 array[item++] = new TestCase( SECTION, "String.prototype.substring.length", 2, String.prototype.substring.length );
77 array[item++] = new TestCase( SECTION, "delete String.prototype.substring.length", false, delete String.prototype.substring.length );
78 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") );
84 array[item++] = new TestCase( SECTION,
89 array[item++] = new TestCase( SECTION,
94 array[item++] = new TestCase( SECTION,
99 array[item++] = new TestCase( SECTION,
105 array[item++] = new TestCase( SECTION
    [all...]
15.5.4.9-1.js 63 var array = new Array();
66 array[item++] = new TestCase( SECTION, "String.prototype.substring.length", 2, String.prototype.substring.length );
67 array[item++] = new TestCase( SECTION, "delete String.prototype.substring.length", false, delete String.prototype.substring.length );
68 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") );
74 array[item++] = new TestCase( SECTION,
79 array[item++] = new TestCase( SECTION,
85 array[item++] = new TestCase( SECTION,
90 array[item++] = new TestCase( SECTION,
96 array[item++] = new TestCase( SECTION
    [all...]
  /dalvik/libcore/nio/src/main/java/java/nio/
BufferFactory.java 31 * Returns a new byte buffer based on the specified byte array.
33 * @param array
34 * The byte array
35 * @return A new byte buffer based on the specified byte array.
37 public static ByteBuffer newByteBuffer(byte array[]) {
38 return new ReadWriteHeapByteBuffer(array);
42 * Returns a new array based byte buffer with the specified capacity.
46 * @return A new array based byte buffer with the specified capacity.
53 * Returns a new char buffer based on the specified char array.
55 * @param array
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/
15.4-1.js 24 ECMA Section: 15.4 Array Objects
26 Description: Every Array object has a length property whose value
37 var TITLE = "Array Objects";
45 var array = new Array();
48 array[item++] = new TestCase( SECTION,
49 "var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr[Math.pow(2,32)-2]",
51 eval("var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr[Math.pow(2,32)-2]")
53 array[item++] = new TestCase( SECTION,
54 "var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr.length"
    [all...]
  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/atomic/
AtomicReferenceArray.java 12 * An array of object references in which elements may be updated
18 * @param <E> The base class of elements held in this array
28 private final Object[] array; field in class:AtomicReferenceArray
31 if (i < 0 || i >= array.length)
41 * @param length the length of the array
44 array = new Object[length];
47 unsafe.putObjectVolatile(array, rawIndex(0), null);
52 * all elements copied from, the given array.
54 * @param array the array to copy elements fro
    [all...]
  /external/guava/src/com/google/common/primitives/
SignedBytes.java 85 * Returns the least value present in {@code array}.
87 * @param array a <i>nonempty</i> array of {@code byte} values
88 * @return the value present in {@code array} that is less than or equal to
89 * every other value in the array
90 * @throws IllegalArgumentException if {@code array} is empty
92 public static byte min(byte... array) {
93 checkArgument(array.length > 0);
94 byte min = array[0];
95 for (int i = 1; i < array.length; i++)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/
15.2.4.2.js 49 var array = new Array();
52 array[item++] = new TestCase( SECTION, "(new Object()).toString()", "[object Object]", (new Object()).toString() );
54 array[item++] = new TestCase( SECTION, "myvar = this; myvar.toString = Object.prototype.toString; myvar.toString()",
58 array[item++] = new TestCase( SECTION, "myvar = MyObject; myvar.toString = Object.prototype.toString; myvar.toString()",
62 array[item++] = new TestCase( SECTION, "myvar = new MyObject( true ); myvar.toString = Object.prototype.toString; myvar.toString()",
66 array[item++] = new TestCase( SECTION, "myvar = new Number(0); myvar.toString = Object.prototype.toString; myvar.toString()",
70 array[item++] = new TestCase( SECTION, "myvar = new String(''); myvar.toString = Object.prototype.toString; myvar.toString()",
74 array[item++] = new TestCase( SECTION, "myvar = Math; myvar.toString = Object.prototype.toString; myvar.toString()",
78 array[item++] = new TestCase( SECTION, "myvar = new Function(); myvar.toString = Object.prototype.toStr (…)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/
15.6.2.js 51 var array = new Array();
54 array[item++] = new TestCase( SECTION, "typeof (new Boolean(1))", "object", typeof (new Boolean(1)) );
55 array[item++] = new TestCase( SECTION, "(new Boolean(1)).constructor", Boolean.prototype.constructor, (new Boolean(1)).constructor );
56 array[item++] = new TestCase( SECTION,
60 array[item++] = new TestCase( SECTION, "(new Boolean(1)).valueOf()", true, (new Boolean(1)).valueOf() );
61 array[item++] = new TestCase( SECTION, "typeof new Boolean(1)", "object", typeof new Boolean(1) );
62 array[item++] = new TestCase( SECTION, "(new Boolean(0)).constructor", Boolean.prototype.constructor, (new Boolean(0)).constructor );
63 array[item++] = new TestCase( SECTION,
67 array[item++] = new TestCase( SECTION, "(new Boolean(0)).valueOf()", false, (new Boolean(0)).v (…)
    [all...]
15.6.4.3-1.js 47 var array = new Array();
50 array[item++] = new TestCase( SECTION, "new Boolean(1)", true, (new Boolean(1)).valueOf() );
52 array[item++] = new TestCase( SECTION, "new Boolean(0)", false, (new Boolean(0)).valueOf() );
53 array[item++] = new TestCase( SECTION, "new Boolean(-1)", true, (new Boolean(-1)).valueOf() );
54 array[item++] = new TestCase( SECTION, "new Boolean('1')", true, (new Boolean("1")).valueOf() );
55 array[item++] = new TestCase( SECTION, "new Boolean('0')", true, (new Boolean("0")).valueOf() );
56 array[item++] = new TestCase( SECTION, "new Boolean(true)", true, (new Boolean(true)).valueOf() );
57 array[item++] = new TestCase( SECTION, "new Boolean(false)", false, (new Boolean(false)).valueOf() );
58 array[item++] = new TestCase( SECTION, "new Boolean('true')", true, (new Boolean("true")).valueOf() (…)
    [all...]
  /external/bluetooth/glib/tests/
qsort-test.c 8 guint32 array[SIZE]; variable
22 array[i] = g_random_int ();
24 g_qsort_with_data (array, SIZE, sizeof (guint32), sort, NULL);
27 g_assert (array[i] <= array[i+1]);
30 g_qsort_with_data (array, 0, sizeof (guint32), sort, NULL);
  /external/webkit/WebKit/mac/Plugins/Hosted/
WebKitPluginHostTypes.defs 31 type plist_bytes_t = ^array [] of uint8_t;
32 type application_name_t = ^array [] of uint8_t;
33 type data_t = ^array [] of char;

Completed in 158 milliseconds

1 23 4 5 6 7 8 91011>>