/external/mockito/src/org/mockito/internal/matchers/ |
ArrayEquals.java | 8 import java.lang.reflect.Array; 55 private void appendArray(Object[] array, Description description) { 57 for (int i = 0; i < array.length; i++) { 58 new Equals(array[i]).describeTo(description); 59 if (i != array.length - 1) { 66 public static Object[] createObjectArray(Object array) { 67 if (array instanceof Object[]) { 68 return (Object[]) array; 70 Object[] result = new Object[Array.getLength(array)]; [all...] |
VarargCapturingMatcher.java | 8 import java.lang.reflect.Array; 50 Object[] primitiveArray = new Object[Array.getLength(varArgArray)]; 52 primitiveArray[i] = Array.get(varArgArray, i);
|
/external/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-push6.js | 7 function push_wrapper(array, value) { 8 array.push(value); 11 // Test that optimization of Array.push() for non-Arrays works correctly. 14 object.__proto__ = Array.prototype;
|
array-unshift.js | 28 // Check that unshifting array of holes keeps the original array 29 // as array of holes 31 var array = new Array(10); 32 assertEquals(13, array.unshift('1st', '2ns', '3rd')); 33 assertTrue(0 in array); 34 assertTrue(1 in array); 35 assertTrue(2 in array); 36 assertFalse(3 in array); [all...] |
array-feedback.js | 63 // array calls (as long as the call is made through an IC, and not 67 return Array(); 80 return Array(arg); 97 return Array(arg1, arg2, arg3); 117 name = "Array"; 130 foo(Array); 132 foo(Array); 136 a = foo(Array); 138 b = foo(Array); 147 return Array(); [all...] |
/external/v8/test/mjsunit/regress/ |
regress-602970.js | 11 Array.prototype.__defineGetter__(0,function(){ 14 Array.prototype.__defineSetter__(0,function(value){
|
regress-crbug-485410.js | 20 for (var i = 0; i < 3; i++) Fail(new Array(1), 1, i); 23 Fail(new Array(1), ToHeapNumber(1050), 3);
|
/external/v8/tools/turbolizer/ |
monkey.js | 5 Array.prototype.getStaggeredFromMiddle = function(i) { 14 Array.prototype.contains = function(obj) {
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
Extension.java | 34 import java.lang.reflect.Array; 134 * @param clazz the Java array type of this extension, with an unboxed component type 150 * Protocol Buffer {@link #type}; for a repeated extension, this is an array type whose 203 T result = clazz.cast(Array.newInstance(clazz.getComponentType(), resultSize)); 205 Array.set(result, i, resultList.get(i)); 285 protected void writeRepeatedData(Object array, CodedOutputByteBufferNano output) { 287 int arrayLength = Array.getLength(array); 289 Object element = Array.get(array, i) [all...] |
/external/bison/lib/ |
argmatch.h | 29 # define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
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/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidApplicationBase.java | 31 import com.badlogic.gdx.utils.Array; 50 * @return the {@link Runnable} array */ 51 Array<Runnable> getRunnables (); 55 * @return the {@link Runnable} array */ 56 Array<Runnable> getExecutedRunnables (); 74 /** Returns the {@link LifecycleListener} array associated with this {@link AndroidApplicationBase} 76 * @return the array of {@link LifecycleListener}'s */
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/ |
Attribute.java | 19 import com.badlogic.gdx.utils.Array;
27 private final static Array<String> types = new Array<String>();
|
Material.java | 19 import com.badlogic.gdx.utils.Array;
49 public Material (final Array<Attribute> attributes) {
55 public Material (final String id, final Array<Attribute> attributes) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/attributes/ |
DirectionalLightsAttribute.java | 7 import com.badlogic.gdx.utils.Array; 9 /** An {@link Attribute} which can be used to send an {@link Array} of {@link DirectionalLight} instances to the {@link Shader}. 21 public final Array<DirectionalLight> lights; 25 lights = new Array<DirectionalLight>(1);
|
PointLightsAttribute.java | 7 import com.badlogic.gdx.utils.Array; 9 /** An {@link Attribute} which can be used to send an {@link Array} of {@link PointLight} instances to the {@link Shader}. The 21 public final Array<PointLight> lights; 25 lights = new Array<PointLight>(1);
|
SpotLightsAttribute.java | 7 import com.badlogic.gdx.utils.Array; 9 /** An {@link Attribute} which can be used to send an {@link Array} of {@link SpotLight} instances to the {@link Shader}. The 21 public final Array<SpotLight> lights; 25 lights = new Array<SpotLight>(1);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
ParticleEffectLoader.java | 19 import com.badlogic.gdx.utils.Array; 33 protected Array<ObjectMap.Entry<String, ResourceData<ParticleEffect>>> items = new Array<ObjectMap.Entry<String, ResourceData<ParticleEffect>>>(); 44 public Array<AssetDescriptor> getDependencies (String fileName, FileHandle file, ParticleEffectLoadParameter parameter) { 47 Array<AssetData> assets = null; 56 Array<AssetDescriptor> descriptors = new Array<AssetDescriptor>(); 127 private <T> T find (Array<?> array, Class<T> type) { 128 for (Object object : array) { [all...] |
ResourceData.java | 5 import com.badlogic.gdx.utils.Array; 23 * as an {@link Array} within the {@link ResourceData}, while the global {@link SaveData} instances can be accessed in any order because 36 * {@link #assets} is an array of indices addressing a given 124 private Array<SaveData> data; 127 Array<AssetData> sharedAssets; 133 data = new Array<SaveData>(true, 3, SaveData.class); 134 sharedAssets = new Array<AssetData>(); 154 public Array<AssetDescriptor> getAssetDescriptors () { 155 Array<AssetDescriptor> descriptors = new Array<AssetDescriptor>() [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/ |
TiledMapTileSets.java | 21 import com.badlogic.gdx.utils.Array; 26 private Array<TiledMapTileSet> tilesets; 30 tilesets = new Array<TiledMapTileSet>();
|
/external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
DirectXHelper.h | 19 inline Concurrency::task<Platform::Array<byte>^> ReadDataAsync(Platform::String^ filename) 34 }).then([] (Streams::IBuffer^ fileBuffer) -> Platform::Array<byte>^ 36 auto fileData = ref new Platform::Array<byte>(fileBuffer->Length);
|
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
DirectXHelper.h | 19 inline Concurrency::task<Platform::Array<byte>^> ReadDataAsync(Platform::String^ filename) 34 }).then([] (Streams::IBuffer^ fileBuffer) -> Platform::Array<byte>^ 36 auto fileData = ref new Platform::Array<byte>(fileBuffer->Length);
|
/external/vixl/examples/ |
sum-array.cc | 29 #define ARRAY_SIZE(Array) (sizeof(Array) / sizeof((Array)[0])) 34 // uint32_t sum_array(uint8_t* array, uint32_t size) 36 // array (pointer) -> x0 44 // There's nothing to do if the array is empty. 47 // Go through the array and sum the elements.
|
/external/webrtc/webrtc/system_wrappers/source/ |
aligned_array_unittest.cc | 29 ASSERT_TRUE(IsAligned(arr.Array(), 128)); 32 ASSERT_EQ(arr.Row(i), arr.Array()[i]); 49 ASSERT_EQ(arr.Array()[i][j], 20 * i + j);
|