/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/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/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
|
p1.cpp | 98 template<class T> class Array { /* ... */ }; 99 template<class T> void sort(Array<T>& v) { /* ... */ } 100 template<> void sort<char*>(Array<char*>&) ;
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
p2.cpp | 4 template<class T> class Array { void mf() { } }; 6 template class Array<char>; 7 template void Array<int>::mf(); 8 template<class T> void sort(Array<T>& v) { /* ... */ } 9 template void sort(Array<char>&);
|
p6.cpp | 4 template<class T> class Array { /* ... */ }; 5 template<class T> void sort(Array<T>& v) { } 7 // instantiate sort(Array<int>&) - template-argument deduced 8 template void sort<>(Array<int>&); 10 template void sort(Array<long>&);
|
/external/clang/test/SemaTemplate/ |
instantiate-member-initializers.cpp | 39 template<typename T> struct Array { 41 Array() : a() {} 43 Array<int> s;
|
/external/libcxxabi/test/ |
test_vector3.cpp | 53 typedef test1::A Array[10]; 54 Array a[10]; // calls _cxa_vec_dtor
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
ExtensionValue.java | 20 import org.apache.harmony.security.utils.Array; 51 sb.append(Array.toString(encoding, prefix));
|
SubjectKeyIdentifier.java | 22 import org.apache.harmony.security.utils.Array; 77 sb.append(Array.toString(keyIdentifier, prefix));
|
/libcore/luni/src/test/java/dalvik/system/ |
VMRuntimeTest.java | 19 import java.lang.reflect.Array; 30 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, -1); local 36 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, Integer.MIN_VALUE); local 43 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, i); local 44 assertTrue(array.getClass().isArray()); 45 assertEquals(array.getClass().getComponentType(), componentType); 46 assertEquals(Array.getLength(array), i); 53 Object array = VMRuntime.getRuntime().newNonMovableArray(null, 0); local 60 Object array = VMRuntime.getRuntime().newNonMovableArray(void.class, 0) local 84 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, -1); local 90 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, Integer.MIN_VALUE); local 97 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, i); local 107 Object array = VMRuntime.getRuntime().newUnpaddedArray(null, 0); local 114 Object array = VMRuntime.getRuntime().newUnpaddedArray(void.class, 0); local [all...] |
/ndk/sources/cxx-stl/gabi++/tests/ |
test_vector3.cpp | 62 typedef test1::A Array[10]; 63 Array a[10]; // calls _cxa_vec_dtor
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
test_vector3.cpp | 53 typedef test1::A Array[10]; 54 Array a[10]; // calls _cxa_vec_dtor
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
Extension.java | 34 import java.lang.reflect.Array; 116 * @param clazz the Java array type of this extension, with an unboxed component type 131 * Protocol Buffer {@link #type}; for a repeated extension, this is an array type whose 184 T result = clazz.cast(Array.newInstance(clazz.getComponentType(), resultSize)); 186 Array.set(result, i, resultList.get(i)); 266 protected void writeRepeatedData(Object array, CodedOutputByteBufferNano output) { 268 int arrayLength = Array.getLength(array); 270 Object element = Array.get(array, i) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
externs.js | 57 * @this {Array.<T>} 60 Array.prototype.remove = function(value, onlyFirst) {} 62 * @param {!Array.<!T>} array 63 * @this {Array.<!T>} 66 Array.prototype.pushAll = function(array) {} 69 * @this {Array.<T>} 72 Array.prototype.keySet = function() {} 75 * @return {!Array.<!T> [all...] |
/external/chromium_org/mojo/public/cpp/bindings/ |
array.h | 20 // Provides read-only access to array data. 22 class Array { 23 MOJO_MOVE_ONLY_TYPE_FOR_CPP_03(Array, RValue) 35 Array() : is_null_(true) {} 36 explicit Array(size_t size) : vec_(size), is_null_(false) { 39 ~Array() { Traits::Finalize(&vec_); } 41 Array(RValue other) : is_null_(true) { Take(other.object); } 42 Array& operator=(RValue other) { 47 static Array New(size_t size) { 48 return Array(size).Pass() [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/devices/ |
DevicesView.js | 38 * @typedef {{id: string, adbModel: string, adbSerial: string, browsers: !Array.<!Adb.Browser>, adbPortStatus: !Array.<number>, adbConnected: boolean}} 49 this._updateDeviceList(/** @type {!Array.<!Adb.Device>} */(event.data)); 53 * @param {!Array.<!Adb.Device>} devices 97 * @param {!Array.<string>} validIds 111 Array.prototype.forEach.call( 143 Array.prototype.forEach.call(deviceSection.querySelectorAll(".browser"), removeObsolete.bind(null, newBrowserIds));
|
/art/runtime/mirror/ |
array.h | 31 class MANAGED Array : public Object { 33 // The size of a java.lang.Class representing an array. 36 // Allocates an array with the given properties, if fill_usable is true the array will be of at 38 // array will fill it. 40 static Array* Alloc(Thread* self, Class* array_class, int32_t component_count, 45 static Array* CreateMultiArray(Thread* self, Handle<Class> element_class, 54 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Array, length_)); 61 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); 65 return OFFSET_OF_OBJECT_MEMBER(Array, length_) [all...] |
/external/clang/test/SemaCXX/ |
warn-bool-conversion.cpp | 70 namespace Array { 85 // expected-warning@-1{{address of array 'b' will always evaluate to 'true'}} 87 // expected-warning@-1{{address of array 'b' will always evaluate to 'true'}} 89 // expected-warning@-1{{address of array 'c.x' will always evaluate to 'true'}} 91 // expected-warning@-1{{address of array 'str' will always evaluate to 'true'}}
|