/external/clang/test/CodeGen/ |
2002-03-12-ArrayInitialization.c | 4 specified for an array. 17 struct Test Array[10] = { { 2, 12.0 }, { 3, 24.0 } };
|
/external/easymock/src/org/easymock/internal/ |
ArgumentToString.java | 18 import java.lang.reflect.Array;
40 for (int i = 0; i < Array.getLength(value); i++) {
44 appendArgument(Array.get(value, i), buffer);
|
/external/v8/test/mjsunit/ |
apply.js | 39 assertSame(this, f0.apply(this, new Array(1)), "2b"); 40 assertSame(this, f0.apply(this, new Array(2)), "2c"); 41 assertSame(this, f0.apply(this, new Array(4242)), "2d"); 44 assertSame(this, f0.apply(null, new Array(1)), "3b"); 45 assertSame(this, f0.apply(null, new Array(2)), "3c"); 46 assertSame(this, f0.apply(this, new Array(4242)), "3d"); 49 assertSame(this, f0.apply(void 0, new Array(1)), "4b"); 50 assertSame(this, f0.apply(void 0, new Array(2)), "4c"); 55 assertEquals(void 0, f1.apply(this, new Array(1)), "5b"); 56 assertEquals(void 0, f1.apply(this, new Array(2)), "5c") [all...] |
array-splice.js | 28 // Check that splicing array of holes keeps it as array of holes 31 var array = new Array(10); 32 var spliced = array.splice(1, 1, 'one', 'two'); 36 assertEquals(11, array.length); 37 assertFalse(0 in array, "0 in array"); 38 assertTrue(1 in array); 39 assertTrue(2 in array); [all...] |
obj-construct.js | 34 function Array() {
|
sparse-array-reverse.js | 39 // Simple test of reverse on sparse array. 44 Array.prototype[30] = 'B'; // Should be hidden by a[30]. 52 delete Array.prototype[30]; 59 // CONG pseudo random number generator. Used for fuzzing the sparse array 70 // Fuzzing test of reverse on sparse array. 78 // Make sure we test both array-backed and hash-table backed 81 a = new Array(size); 83 a = new Array(); 98 Array.prototype[pos] = letter; 114 Array.prototype[pos] = letter [all...] |
undeletable-functions.js | 31 var array; variable 33 array = [ 37 CheckEcmaSemantics(Array.prototype, array, "Array prototype"); 39 var old_Array_prototype = Array.prototype; 42 Array.prototype = new_Array_prototype; 43 assertEquals(old_Array_prototype, Array.prototype); 46 array = [ 57 CheckEcmaSemantics(Date.prototype, array, "Date prototype") [all...] |
array-functions-prototype-misc.js | 61 return new Array(length); 63 the_prototype = Array.prototype; 64 push_function = function(array, elt) { 65 return array.push(elt); 67 concat_function = function(array, other) { 68 return array.concat(other); 70 slice_function = function(array, start, len) { 71 return array.slice(start, len); 73 splice_function = function(array, start, len) { 74 return array.splice(start, len) [all...] |
/libcore/luni/src/main/java/java/sql/ |
Array.java | 23 * A Java representation of the SQL {@code ARRAY} type. 25 public interface Array { 28 * Retrieves the contents of the SQL {@code ARRAY} value as a Java array 31 * @return A Java array containing the elements of this Array 38 * Returns part of the SQL {@code ARRAY} associated with this array, 40 * successive elements of the SQL array. 43 * the start position in the array where the values ar [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
array5.cpp | 6 // array of class. 35 struct Array 37 A array[2][2][2]; member in struct:Array 45 Array A;
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
array5.cpp | 6 // array of class. 35 struct Array 37 A array[2][2][2]; member in struct:Array 45 Array A;
|
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/ |
jquery.js | 55 // HANDLE: $(html) -> $(array) 92 // HANDLE: $(array) 93 selector.constructor == Array && selector || 96 // Watch for when an array-like object, contains DOM nodes, is passed in as the selector 115 // Get the whole matched element set as a clean array 119 // Return a 'clean' array 126 // Take an array of elements and push it onto the stack 140 // the specified array of elements (destroying the stack in the process) 143 // Resetting the length to 0, then using the native Array push 144 // is a super-fast way to populate an object with array-like propertie [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
pixelzoomer.js | 112 Array.prototype.forEach.call(document.querySelectorAll('.pixel-zoom-container .scaled-image-container'), draw);
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
array-find.js | 30 assertEquals(1, Array.prototype.find.length); 42 // Test predicate is not called when array is empty 95 // Test predicate is called array.length times 111 // Test Array.prototype.find works with String 119 var found = Array.prototype.find.call(a, function(val, key, obj) { 134 found = Array.prototype.find.apply(a, [function(val, key, obj) { 152 // Test Array.prototype.find works with exotic object 167 Array.prototype.push.apply(a, [30, 31, 32]); 168 var found = Array.prototype.find.call(a, function(val, key, obj) { 186 // Test array modification [all...] |
array-findindex.js | 30 assertEquals(1, Array.prototype.findIndex.length); 42 // Test predicate is not called when array is empty 95 // Test predicate is called array.length times 111 // Test Array.prototype.findIndex works with String 120 var index = Array.prototype.findIndex.call(a, function(val, key, obj) { 135 index = Array.prototype.findIndex.apply(a, [function(val, key, obj) { 153 // Test Array.prototype.findIndex works with exotic object 168 Array.prototype.push.apply(a, [30, 31, 32]); 170 var index = Array.prototype.findIndex.call(a, function(val, key, obj) { 188 // Test array modification [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2419.js | 35 Array.prototype.sort.call(b);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-tagcloud.js | 40 Array.prototype.toJSONString = function (w) { 41 var a = [], // The array holding the partial texts. 100 var a = [], // The array holding the partial texts. [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-tagcloud.js | 40 Array.prototype.toJSONString = function (w) { 41 var a = [], // The array holding the partial texts. 100 var a = [], // The array holding the partial texts. [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
string-tagcloud.js | 40 Array.prototype.toJSONString = function (w) { 41 var a = [], // The array holding the partial texts. 100 var a = [], // The array holding the partial texts. [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
ScriptFormatterWorker.js | 159 Array.prototype.keySet = function()
|
TracingAgent.js | 72 Array.prototype.push.apply(this._events, events);
|
/external/chromium_org/v8/test/mjsunit/ |
array-functions-prototype-misc.js | 61 return new Array(length); 63 the_prototype = Array.prototype; 64 push_function = function(array, elt) { 65 return array.push(elt); 67 concat_function = function(array, other) { 68 return array.concat(other); 70 slice_function = function(array, start, len) { 71 return array.slice(start, len); 73 splice_function = function(array, start, len) { 74 return array.splice(start, len) [all...] |
array-functions-prototype.js | 28 // This file contains a number of tests of array functions and their 39 // Set elements on the array prototype. 40 Array.prototype[0] = 'zero'; 41 Array.prototype[1] = 'one'; 42 Array.prototype[2] = 'two'; 60 var array = ['zero', , 'two']; 62 assertEquals('zero', array.shift()); 63 assertEquals('zero', Array.prototype.shift.call(nonArray)); 66 assertEquals(2, array.length); 68 assertHasOwnProperties(array, 2) [all...] |
/external/chromium_org/v8/test/webkit/fast/js/ |
array-functions-non-arrays.js | 25 "Test some array functions on non-array objects." 102 shouldBe("Array.prototype.toString.call({})", '"' + ({}).toString() + '"'); 103 shouldBe("Array.prototype.toString.call(new Date)", '"' + Object.prototype.toString.call(new Date) + '"'); 104 shouldBe("Array.prototype.toString.call({sort: function() { return 'sort' }})", '"' + Object.prototype.toString.call({}) + '"'); 105 shouldBe("Array.prototype.toString.call({join: function() { return 'join' }})", '"join"'); 106 shouldBe("Array.prototype.toString.call({__proto__: Array.prototype, 0: 'a', 1: 'b', 2: 'c', length: 3})", '"a,b,c"'); 107 shouldBe("({__proto__: Array.prototype, 0: 'a', 1: 'b', 2: 'c', length: 3}).toString()", '"a,b,c"'); 108 shouldBe("Array.prototype.toString.call({__proto__: Array.prototype, 0: 'a', 1: 'b', 2: 'c', length: 3, join: func (…) [all...] |
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p6.cpp | 42 template<class T> class Array { /* ... */ }; 44 template<class T> void sort(Array<T>& v) { /* ... */ } 48 void f(Array<String>& v) { 52 // sort(Array<T>&), T is String 55 template<> void sort<String>(Array<String>& v); // // expected-error{{after instantiation}} 56 template<> void sort<>(Array<char*>& v); // OK: sort<char*> not yet used
|