/external/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.2.1-2.js | 44 var array = new Array(); 55 array[item++] = new TestCase( SECTION, "myfunc1 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()", 59 array[item++] = new TestCase( SECTION, "myfunc1.length", 3, myfunc1.length ); 60 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() ); 62 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor ); 63 array[item++] = new TestCase( SECTION, "myfunc1.arguments", null, myfunc1.arguments ); 64 array[item++] = new TestCase( SECTION, "myfunc1(1,2,3)", 6, myfunc1(1,2,3) ); 65 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS", 69 array[item++] = new TestCase( SECTION, "myfunc2 = new Function('a','b','c'); myfunc.toString = Object.p (…) [all...] |
15.3.2.1-1.js | 52 var array = new Array(); 58 // array[item++] = new TestCase( SECTION, "myfunc.toString()", "function anonymous() { }", myfunc.toString() ); 62 array[item++] = new TestCase( SECTION, "myfunc = new Function(); myfunc.toString = Object.prototype.toString; myfunc.toString()", 65 array[item++] = new TestCase( SECTION, "myfunc.length", 0, myfunc.length ); 66 array[item++] = new TestCase( SECTION, "myfunc.prototype.toString()", "[object Object]", myfunc.prototype.toString() ); 68 array[item++] = new TestCase( SECTION, "myfunc.prototype.constructor", myfunc, myfunc.prototype.constructor ); 69 array[item++] = new TestCase( SECTION, "myfunc.arguments", null, myfunc.arguments ); 71 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, "OBJ.toString()", "true", (…) [all...] |
/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.2.8.js | 49 var array = new Array(); 52 array[item++] = new TestCase( SECTION, "Math.exp.length", 1, Math.exp.length ); 54 array[item++] = new TestCase( SECTION, "Math.exp()", Number.NaN, Math.exp() ); 55 array[item++] = new TestCase( SECTION, "Math.exp(null)", 1, Math.exp(null) ); 56 array[item++] = new TestCase( SECTION, "Math.exp(void 0)", Number.NaN, Math.exp(void 0) ); 57 array[item++] = new TestCase( SECTION, "Math.exp(1)", Math.E, Math.exp(1) ); 58 array[item++] = new TestCase( SECTION, "Math.exp(true)", Math.E, Math.exp(true) ); 59 array[item++] = new TestCase( SECTION, "Math.exp(false)", 1, Math.exp(false) ); 61 array[item++] = new TestCase( SECTION, "Math.exp('1')", Math.E, Math.exp('1') ) [all...] |
/external/clearsilver/cs/ |
test14.cs.gold | 75 array exists test 81 array element exists test 87 array element exists test false
|
/external/icu4c/layout/ |
OpenTypeUtilities.h | 25 static le_int32 search(le_uint16 value, const le_uint16 array[], le_int32 count); 26 static le_int32 search(le_uint32 value, const le_uint32 array[], le_int32 count); 27 static void sort(le_uint16 *array, le_int32 count);
|
/external/skia/include/core/ |
SkEndian.h | 46 low two bytes of each value in the array. 48 inline void SkEndianSwap16s(uint16_t array[], int count) 50 SkASSERT(count == 0 || array != NULL); 54 *array = SkEndianSwap16(*array); 55 array += 1; 71 bytes of each value in the array. 73 inline void SkEndianSwap32s(uint32_t array[], int count) 75 SkASSERT(count == 0 || array != NULL); 79 *array = SkEndianSwap32(*array) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.5.2.js | 77 var array = new Array(); 82 array[item++] = new TestCase( SECTION, "Number.NaN / Number.NaN", Number.NaN, Number.NaN / Number.NaN ); 83 array[item++] = new TestCase( SECTION, "Number.NaN / 1", Number.NaN, Number.NaN / 1 ); 84 array[item++] = new TestCase( SECTION, "1 / Number.NaN", Number.NaN, 1 / Number.NaN ); 86 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY / Number.NaN", Number.NaN, Number.POSITIVE_INFINITY / Number.NaN ); 87 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY / Number.NaN", Number.NaN, Number.NEGATIVE_INFINITY / Number.NaN ); 91 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY / Number.NEGATIVE_INFINITY", Number.NaN, Number.NEGATIVE_INFINITY / Number.NEGATIVE_INFINITY ); 92 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY / Number.NEGATIVE_INFINITY", Number.NaN, Number.POSITIVE_INFINITY / Number.NEGATIVE_INFINITY ); 93 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY / Number.POSITIVE_INFINITY", Numb (…) [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...] |
11.13.2-2.js | 55 var array = new Array(); 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 /= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 /= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 /= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 /= VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 /= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 /= VAR2") ); 63 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 /= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 /= VAR2; VAR1") ); 64 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 /= VAR2", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 /= VAR2") ); 65 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 /= VAR2; VAR1", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 /= VAR2; VAR1") ); 68 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=1; VAR1 /= VAR2", 0, eval("VAR1 = 0; VAR2=1; VAR1 /= VAR2") ); 69 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=1; VAR1 /= VAR2;VAR1", 0, eval("VA (…) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
15.2.2.1.js | 55 var array = new Array(); 58 array[item++] = new TestCase( SECTION, "typeof new Object(null)", "object", typeof new Object(null) ); 59 array[item++] = new TestCase( SECTION, "MYOB = new Object(null); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Object]", eval("MYOB = new Object(null); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 61 array[item++] = new TestCase( SECTION, "typeof new Object(void 0)", "object", typeof new Object(void 0) ); 62 array[item++] = new TestCase( SECTION, "MYOB = new Object(new Object(void 0)); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object Object]", eval("MYOB = new Object(new Object(void 0)); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 64 array[item++] = new TestCase( SECTION, "typeof new Object('string')", "object", typeof new Object('string') ); 65 array[item++] = new TestCase( SECTION, "MYOB = (new Object('string'); MYOB.toString = Object.prototype.toString; MYOB.toString()", "[object String]", eval("MYOB = new Object('string'); MYOB.toString = Object.prototype.toString; MYOB.toString()") ); 66 array[item++] = new TestCase( SECTION, "(new Object('string').valueOf()", "string", (new Object('string')).valueOf() ); 68 array[item++] = new TestCase( SECTION, "typeof new Object('')", "object", typeof n (…) [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.8-1.js | 27 Returns an Array object into which substrings of the result of converting 30 occurrences are not part of any substring in the returned array, but serve 34 up into individual characters; the length of the result array equals the 37 If the separator is not supplied, then the result array contains just one 60 var array = new Array(); 63 array[item++] = new TestCase( SECTION, "String.prototype.split.length", 2, String.prototype.split.length ); 64 array[item++] = new TestCase( SECTION, "delete String.prototype.split.length", false, delete String.prototype.split.length ); 65 array[item++] = new TestCase( SECTION, "delete String.prototype.split.length; String.prototype.split.length", 2, eval("delete String.prototype.split.length; String.prototype.split.length") ); 71 array[item++] = new TestCase( SECTION [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.1.js | 53 var array = new Array(); 56 array[item++] = new TestCase(SECTION, "Number()", 0, Number() ); 57 array[item++] = new TestCase(SECTION, "Number(void 0)", Number.NaN, Number(void 0) ); 58 array[item++] = new TestCase(SECTION, "Number(null)", 0, Number(null) ); 59 array[item++] = new TestCase(SECTION, "Number()", 0, Number() ); 60 array[item++] = new TestCase(SECTION, "Number(new Number())", 0, Number( new Number() ) ); 61 array[item++] = new TestCase(SECTION, "Number(0)", 0, Number(0) ); 62 array[item++] = new TestCase(SECTION, "Number(1)", 1, Number(1) ); 63 array[item++] = new TestCase(SECTION, "Number(-1)", -1, Number(-1) ) [all...] |
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/dhcpcd/ |
showlease.c | 18 #define ARRAY (1 << 9) 32 { 3, IPV4 | ARRAY | REQUEST, "routers" }, 33 { 4, IPV4 | ARRAY, "time_servers" }, 34 { 5, IPV4 | ARRAY, "ien116_name_servers" }, 35 { 6, IPV4 | ARRAY, "domain_name_servers" }, 36 { 7, IPV4 | ARRAY, "log_servers" }, 37 { 8, IPV4 | ARRAY, "cookie_servers" }, 38 { 9, IPV4 | ARRAY, "lpr_servers" }, 39 { 10, IPV4 | ARRAY, "impress_servers" }, 40 { 11, IPV4 | ARRAY, "resource_location_servers" } [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...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
LongBufferTest.java | 73 assertNotNull(testBuf.array()); 80 assertNotNull(testBuf.array()); 97 method = "array", 101 long array[] = buf.array(); local 102 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 104 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 105 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 107 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 108 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()) 124 long array[] = buf.array(); local 359 long array[] = new long[1]; local 396 long array[] = new long[buf.capacity()]; local 591 long array[] = new long[1]; local 626 long array[] = new long[buf.capacity()]; local 826 long array[] = new long[BUFFER_LENGTH]; local 858 long array[] = new long[BUFFER_LENGTH]; local 917 assertEquals(buf.get(i), array[offset + i]); local [all...] |
DoubleBufferTest.java | 72 assertNotNull(testBuf.array()); 79 assertNotNull(testBuf.array()); 127 method = "array", 131 double array[] = buf.array(); local 132 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 134 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 135 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 137 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 138 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()) 154 double array[] = buf.array(); local 409 double array[] = new double[1]; local 446 double array[] = new double[buf.capacity()]; local 642 double array[] = new double[1]; local 671 double array[] = new double[buf.capacity()]; local 861 double array[] = new double[BUFFER_LENGTH]; local 893 double array[] = new double[BUFFER_LENGTH]; local 952 assertEquals(buf.get(i), array[offset + i], 0.01); local [all...] |
FloatBufferTest.java | 73 assertNotNull(testBuf.array()); 80 assertNotNull(testBuf.array()); 123 method = "array", 127 float array[] = buf.array(); local 128 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 130 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 131 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 133 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 134 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()) 150 float array[] = buf.array(); local 404 float array[] = new float[1]; local 441 float array[] = new float[buf.capacity()]; local 639 float array[] = new float[1]; local 674 float array[] = new float[buf.capacity()]; local 868 float array[] = new float[BUFFER_LENGTH]; local 900 float array[] = new float[BUFFER_LENGTH]; local 959 assertEquals(buf.get(i), array[offset + i], 0.01); local [all...] |
IntBufferTest.java | 74 assertNotNull(testBuf.array()); 81 assertNotNull(testBuf.array()); 98 method = "array", 102 int array[] = buf.array(); local 103 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 105 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 106 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 108 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 109 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()) 125 int array[] = buf.array(); local 360 int array[] = new int[1]; local 397 int array[] = new int[buf.capacity()]; local 592 int array[] = new int[1]; local 627 int array[] = new int[buf.capacity()]; local 844 int array[] = new int[BUFFER_LENGTH]; local 876 int array[] = new int[BUFFER_LENGTH]; local 935 assertEquals(buf.get(i), array[offset + i]); local [all...] |
ShortBufferTest.java | 73 assertNotNull(testBuf.array()); 80 assertNotNull(testBuf.array()); 97 method = "array", 101 short array[] = buf.array(); local 102 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 104 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 105 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 107 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 108 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()) 124 short array[] = buf.array(); local 359 short array[] = new short[1]; local 396 short array[] = new short[buf.capacity()]; local 585 short array[] = new short[1]; local 620 short array[] = new short[buf.capacity()]; local 837 short array[] = new short[BUFFER_LENGTH]; local 869 short array[] = new short[BUFFER_LENGTH]; local 928 assertEquals(buf.get(i), array[offset + i]); local [all...] |
/external/astl/tests/ |
test_algorithm.cpp | 75 int array[10]; local 77 std::fill(array, array + 10, 0xaa); 78 EXPECT_TRUE(array[0] == 0xaa); 79 EXPECT_TRUE(array[1] == 0xaa); 80 EXPECT_TRUE(array[2] == 0xaa); 81 EXPECT_TRUE(array[3] == 0xaa); 82 EXPECT_TRUE(array[4] == 0xaa); 83 EXPECT_TRUE(array[5] == 0xaa); 84 EXPECT_TRUE(array[6] == 0xaa) 93 int array[10]; local [all...] |
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
arrays.sgml | 13 Array elements can be of any size (though all elements of one array are the 14 same size), and the array can be automatically cleared to '0's and 18 To create a new array use g_array_new(). 21 To add elements to an array, use g_array_append_val(), g_array_append_vals(), 25 To access an element of an array, use g_array_index(). 28 To set the size of an array, use g_array_set_size(). 31 To free an array, use g_array_free(). 39 /* We create a new array to store gint values. 63 Contains the public fields of an <link linkend="glib-arrays">Array</link> [all...] |
/external/v8/test/mjsunit/ |
apply.js | 39 assertTrue(this === f0.apply(this, new Array(1)), "2b"); 40 assertTrue(this === f0.apply(this, new Array(2)), "2c"); 41 assertTrue(this === f0.apply(this, new Array(4242)), "2d"); 44 assertTrue(this === f0.apply(null, new Array(1)), "3b"); 45 assertTrue(this === f0.apply(null, new Array(2)), "3c"); 46 assertTrue(this === f0.apply(this, new Array(4242)), "3d"); 49 assertTrue(this === f0.apply(void 0, new Array(1)), "4b"); 50 assertTrue(this === f0.apply(void 0, new Array(2)), "4c"); 55 assertTrue(void 0 === f1.apply(this, new Array(1)), "5b"); 56 assertTrue(void 0 === f1.apply(this, new Array(2)), "5c") [all...] |