/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
EncodedArrayItem.java | 24 * Encoded array of constant values. 30 /** {@code non-null;} the array to represent */ 31 private final CstArray array; field in class:EncodedArrayItem 42 * @param array {@code non-null;} array to represent 44 public EncodedArrayItem(CstArray array) { 51 if (array == null) { 52 throw new NullPointerException("array == null"); 55 this.array = array; [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
IoTestCase.java | 36 /** Returns a byte array of length size that has values 0 .. size - 1. */ 42 * Returns a byte array of length size that has values 46 byte[] array = new byte[size]; 48 array[i] = (byte) (offset + i); 50 return array;
|
/external/icu4c/layoutex/ |
LXUtilities.h | 20 static le_int32 search(le_int32 value, const le_int32 array[], le_int32 count); 21 static void reverse(le_int32 array[], le_int32 count); 22 static void reverse(float array[], le_int32 count);
|
/external/stlport/test/unit/ |
unary_test.cpp | 46 int array [3] = { 1, 2, 3 }; local 48 int* p = find_if((int*)array, (int*)array + 3, unary_negate<odd>(odd())); 49 CPPUNIT_ASSERT((p != array + 3)); 54 int array [3] = { 1, 2, 3 }; local 55 int* p = find_if((int*)array, (int*)array + 3, not1(odd())); 56 CPPUNIT_ASSERT(p != array + 3); 66 int array [3] = { 1, 2, 3 }; local 67 int* p = find_if((int*)array, (int*)array + 3, not1(ptr_fun(test_func))) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4-2.js | 24 ECMA Section: 15.4 Array Objects 26 Description: Whenever a property is added whose name is an array 28 to be one more than the numeric value of that array 30 every property whose name is an array index whose value 32 deleted. This constraint applies only to the Array 33 object itself, and is unaffected by length or array 44 var TITLE = "Array Objects"; 52 var array = new Array(); 55 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,16)] = 'hi'; arr.length", (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
7.8.2-n.js | 40 var array = new Array(); 43 // array[item++] = new TestCase( "7.8.2", "{ 1 \n 2 } 3", 3, "{ 1 \n 2 } 3" ); 44 array[item++] = new TestCase( "7.8.2", "{ 1 2 } 3", "error", eval("{1 2 } 3") ); 46 return ( array );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.2.js | 42 var array = new Array(); 45 array[item++] = new TestCase( SECTION, "String.prototype.toString.__proto__", Function.prototype, String.prototype.toString.__proto__ ); 46 array[item++] = new TestCase( SECTION, 51 array[item++] = new TestCase( SECTION, "String.prototype.toString()", "", String.prototype.toString() ); 52 array[item++] = new TestCase( SECTION, "String.prototype.toString.length", 0, String.prototype.toString.length ); 55 array[item++] = new TestCase( SECTION, 59 array[item++] = new TestCase( SECTION, 63 array[item++] = new TestCase( SECTION, 67 array[item++] = new TestCase( SECTION [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-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...] |
/external/webkit/Source/WebKit2/Shared/API/c/ |
WKMutableArray.h | 41 WK_EXPORT bool WKArrayIsMutable(WKArrayRef array); 43 WK_EXPORT void WKArrayAppendItem(WKMutableArrayRef array, WKTypeRef item); 45 WK_EXPORT void WKArrayRemoveItemAtIndex(WKMutableArrayRef array, size_t index);
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/array/array.cons/ |
default.pass.cpp | 10 // <array> 12 // array(); 14 #include <array> 21 typedef std::array<T, 3> C; 27 typedef std::array<T, 0> C;
|
initializer_list.pass.cpp | 10 // <array> 14 #include <array> 21 typedef std::array<T, 3> C; 30 typedef std::array<T, 0> C;
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/array/array.data/ |
data.pass.cpp | 10 // <array> 14 #include <array> 21 typedef std::array<T, 3> C; 30 typedef std::array<T, 0> C;
|
data_const.pass.cpp | 10 // <array> 14 #include <array> 21 typedef std::array<T, 3> C; 30 typedef std::array<T, 0> C;
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/array/array.tuple/ |
tuple_size.pass.cpp | 10 // <array> 12 // tuple_size<array<T, N> >::value 14 #include <array> 20 typedef std::array<T, 3> C; 25 typedef std::array<T, 0> C;
|
/ndk/tests/device/test-gnustl-full/unit/ |
unary_test.cpp | 46 int array [3] = { 1, 2, 3 }; local 48 int* p = find_if((int*)array, (int*)array + 3, unary_negate<odd>(odd())); 49 CPPUNIT_ASSERT((p != array + 3)); 54 int array [3] = { 1, 2, 3 }; local 55 int* p = find_if((int*)array, (int*)array + 3, not1(odd())); 56 CPPUNIT_ASSERT(p != array + 3); 66 int array [3] = { 1, 2, 3 }; local 67 int* p = find_if((int*)array, (int*)array + 3, not1(ptr_fun(test_func))) [all...] |
/ndk/tests/device/test-stlport/unit/ |
unary_test.cpp | 46 int array [3] = { 1, 2, 3 }; local 48 int* p = find_if((int*)array, (int*)array + 3, unary_negate<odd>(odd())); 49 CPPUNIT_ASSERT((p != array + 3)); 54 int array [3] = { 1, 2, 3 }; local 55 int* p = find_if((int*)array, (int*)array + 3, not1(odd())); 56 CPPUNIT_ASSERT(p != array + 3); 66 int array [3] = { 1, 2, 3 }; local 67 int* p = find_if((int*)array, (int*)array + 3, not1(ptr_fun(test_func))) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.3.js | 48 var array = new Array(); 51 array[item++] = new TestCase( SECTION, "Math.asin()", Number.NaN, Math.asin() ); 52 array[item++] = new TestCase( SECTION, "Math.asin(void 0)", Number.NaN, Math.asin(void 0) ); 53 array[item++] = new TestCase( SECTION, "Math.asin(null)", 0, Math.asin(null) ); 54 array[item++] = new TestCase( SECTION, "Math.asin(NaN)", Number.NaN, Math.asin(Number.NaN) ); 56 array[item++] = new TestCase( SECTION, "Math.asin('string')", Number.NaN, Math.asin("string") ); 57 array[item++] = new TestCase( SECTION, "Math.asin('0')", 0, Math.asin("0") ); 58 array[item++] = new TestCase( SECTION, "Math.asin('1')", Math.PI/2, Math.asin("1") ); 59 array[item++] = new TestCase( SECTION, "Math.asin('-1')", -Math.PI/2, Math.asin("-1") ) [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/TypeConversion/ |
9.4-1.js | 84 var array = new Array(); 89 array[item++] = new TestCase( SECTION, "td = new Date(Number.NaN); td.valueOf()", Number.NaN, eval("td = new Date(Number.NaN); td.valueOf()") ); 90 array[item++] = new TestCase( SECTION, "td = new Date(Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.POSITIVE_INFINITY); td.valueOf()") ); 91 array[item++] = new TestCase( SECTION, "td = new Date(-Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.NEGATIVE_INFINITY); td.valueOf()") ); 92 array[item++] = new TestCase( SECTION, "td = new Date(-0); td.valueOf()", -0, eval("td = new Date(-0); td.valueOf()" ) ); 93 array[item++] = new TestCase( SECTION, "td = new Date(0); td.valueOf()", 0, eval("td = new Date(0); td.valueOf()") ); 97 array[item++] = new TestCase( SECTION, "td = new Date(3.14159); td.valueOf()", 3, eval("td = new Date(3.14159); td.valueOf()") ); 98 array[item++] = new TestCase( SECTION, "td = new Date(Math.PI); td.valueOf()", 3, eval("td = new Date(Math.PI); td.valueOf()") ); 99 array[item++] = new TestCase( SECTION, "td = new Date(-Math.PI);td.valueOf()", -3, eval("td (…) [all...] |
9.4-2.js | 84 var array = new Array(); 89 array[item++] = new TestCase( SECTION, "td = new Date(Number.NaN); td.valueOf()", Number.NaN, eval("td = new Date(Number.NaN); td.valueOf()") ); 90 array[item++] = new TestCase( SECTION, "td = new Date(Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.POSITIVE_INFINITY); td.valueOf()") ); 91 array[item++] = new TestCase( SECTION, "td = new Date(-Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.NEGATIVE_INFINITY); td.valueOf()") ); 92 array[item++] = new TestCase( SECTION, "td = new Date(-0); td.valueOf()", -0, eval("td = new Date(-0); td.valueOf()" ) ); 93 array[item++] = new TestCase( SECTION, "td = new Date(0); td.valueOf()", 0, eval("td = new Date(0); td.valueOf()") ); 97 array[item++] = new TestCase( SECTION, "td = new Date(3.14159); td.valueOf()", 3, eval("td = new Date(3.14159); td.valueOf()") ); 98 array[item++] = new TestCase( SECTION, "td = new Date(Math.PI); td.valueOf()", 3, eval("td = new Date(Math.PI); td.valueOf()") ); 99 array[item++] = new TestCase( SECTION, "td = new Date(-Math.PI);td.valueOf()", -3, eval("td (…) [all...] |
/external/webkit/Source/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...] |
/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/FunctionObjects/ |
15.3.1.1-1.js | 51 var array = new Array(); 58 // array[item++] = new TestCase( SECTION, "myfunc.toString()", "function anonymous() { }", myfunc.toString() ); 61 array[item++] = new TestCase( SECTION, 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() ); 67 array[item++] = new TestCase( SECTION, "myfunc.prototype.constructor", myfunc, myfunc.prototype.constructor ); 68 array[item++] = new TestCase( SECTION, "myfunc.arguments", null, myfunc.arguments ); 69 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") ); 70 array[item++] = new TestCase( SECTION, "OBJ.toString()", "true", (…) [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...] |