/ndk/tests/device/test-stlport_shared-exception/jni/ |
spec9.cpp | 4 typedef int IntArray[10]; 5 IntArray i; 7 void test_array() throw (IntArray) 18 catch (IntArray) {}
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
spec9.cpp | 4 typedef int IntArray[10]; 5 IntArray i; 7 void test_array() throw (IntArray) 18 catch (IntArray) {}
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/misc/ |
IntArrayTest.m | 10 #import "IntArray.h" 16 IntArray *intArray = [IntArray newIntArrayWithLen:10]; 17 [intArray addInteger:1]; 18 STAssertTrue([intArray count] == 1, @"Int array should be of size 1"); 19 STAssertTrue([intArray integerAtIndex:0] == 1, @"First item in int array should be 1"); 20 [intArray release]; 25 IntArray *intArray = [IntArray newIntArrayWithLen:10] [all...] |
ANTLRIntArrayTest.m | 16 ANTLRIntArray *intArray = [ANTLRIntArray newArrayWithLen:10]; 17 [intArray addInteger:1]; 18 STAssertTrue([intArray count] == 1, @"Int array should be of size 1"); 19 STAssertTrue([intArray integerAtIndex:0] == 1, @"First item in int array should be 1"); 20 [intArray release]; 25 ANTLRIntArray *intArray = [ANTLRIntArray newArrayWithLen:10]; 28 [intArray push:i + 1]; 30 NSInteger popped = [intArray pop]; 33 [intArray release]; 38 ANTLRIntArray *intArray = [ANTLRIntArray newArrayWithLen:10] [all...] |
/packages/apps/TV/usbtuner/src/com/android/usbtuner/util/ |
Ints.java | 13 int[] intArray = new int[integerList.size()]; 16 intArray[i++] = data; 18 return intArray; 21 public static List<Integer> asList(int[] intArray) { 22 List<Integer> integerList = new ArrayList<>(intArray.length); 23 for (int data : intArray) {
|
/external/llvm/test/CodeGen/X86/GC/ |
inline.ll | 3 %IntArray = type { i32, [0 x i32*] } 15 %obj = call %IntArray* @h( ) ; <%IntArray*> [#uses=2] 16 %obj.2 = bitcast %IntArray* %obj to i8* ; <i8*> [#uses=1] 18 %Length.ptr = getelementptr %IntArray, %IntArray* %obj, i32 0, i32 0 ; <i32*> [#uses=1] 23 declare %IntArray* @h()
|
inline2.ll | 4 %IntArray = type { i32, [0 x i32*] } 16 %obj = call %IntArray* @h( ) ; <%IntArray*> [#uses=2] 17 %obj.2 = bitcast %IntArray* %obj to i8* ; <i8*> [#uses=1] 19 %Length.ptr = getelementptr %IntArray, %IntArray* %obj, i32 0, i32 0 ; <i32*> [#uses=1] 24 declare %IntArray* @h()
|
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/ |
SerializableBean.java | 32 private int[] intArray; 64 return intArray; 67 public void setIntArray(int[] intArray) { 68 this.intArray = intArray;
|
/external/clang/test/SemaTemplate/ |
instantiate-array.cpp | 12 template <int N> class IntArray { 16 static_assert(sizeof(IntArray<10>) == sizeof(int) * 10, "Array size mismatch"); 17 static_assert(sizeof(IntArray<1>) == sizeof(int) * 1, "Array size mismatch");
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldAndroidArrayTest.java | 28 Object intArray = Array.newInstance(Integer.TYPE, 2); 30 int[] array = (int[]) intArray; 32 Array.setInt(intArray, 1, 6); 34 assertEquals(5, Array.getInt(intArray, 0)); 45 assertEquals(Array.getLength(intArray), array.length); 48 int[][] wrongArray = (int[][]) intArray; 54 intArray = Array.newInstance(Integer.TYPE, 0); 55 assertEquals(0, Array.getLength(intArray));
|
/external/skia/src/gpu/batches/ |
GrAAHairLinePathRenderer.h | 19 typedef SkTArray<int, true> IntArray;
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
DirectReadWriteIntBufferAdapter.java | 40 private final Int32Array intArray; 46 this.intArray = TypedArrays.createInt32Array(byteBuffer.byteArray.buffer(), byteBuffer.byteArray.byteOffset(), capacity); 85 return intArray.get(position++); 93 return intArray.get(index); 131 intArray.set(position++, c); 140 intArray.set(index, c); 154 return intArray;
|
DirectReadOnlyIntBufferAdapter.java | 41 private final Int32Array intArray; 47 this.intArray = TypedArrays.createInt32Array(byteBuffer.byteArray.buffer(), byteBuffer.byteArray.byteOffset(), capacity); 78 return intArray.get(position++); 86 return intArray.get(index); 139 return intArray;
|
/art/test/045-reflect-array/src/ |
Main.java | 25 Object intArray; 27 intArray = Array.newInstance(Integer.TYPE, 2); 29 int[] array = (int[]) intArray; 31 Array.setInt(intArray, 1, 6); 33 if (Array.getInt(intArray, 0) != 5) 42 Array.setInt(intArray, 2, 27); 45 if (array.length != Array.getLength(intArray) || 54 Array.set(intArray, 0, x123); 55 Array.set(intArray, 1, x456); 56 if (!Array.get(intArray, 0).equals(x123) || !Array.get(intArray, 1).equals(x456)) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
SignatureTest.java | 89 int[] intArray = new int[1]; 93 char[] charArray = signature.toChars(existingCharArray, intArray); 102 // intArray[0] represents the length of array. 103 assertEquals(intArray[0], SIGNATURE_BYTE_ARRAY.length); 108 int[] intArray = new int[1]; 111 char[] charArray = signature.toChars(existingCharArray, intArray); 120 // intArray[0] represents the length of array. 121 assertEquals(intArray[0], SIGNATURE_BYTE_ARRAY.length); 126 int[] intArray = null; 129 char[] charArray = signature.toChars(existingCharArray, intArray); [all...] |
/frameworks/base/core/java/android/util/ |
IntArray.java | 29 public class IntArray implements Cloneable { 36 * Creates an empty IntArray with the default initial capacity. 38 public IntArray() { 43 * Creates an empty IntArray with the specified initial capacity. 45 public IntArray(int initialCapacity) { 102 public void addAll(IntArray values) { 134 public IntArray clone() throws CloneNotSupportedException { 135 final IntArray clone = (IntArray) super.clone(); 183 * Returns a new array with the contents of this IntArray [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
IconListPreference.java | 90 IntArray iconIds = new IntArray(); 91 IntArray largeIconIds = new IntArray(); 92 IntArray imageIds = new IntArray();
|
/art/test/011-array-copy/src/ |
Main.java | 85 int[] intArray = new int[ARRAY_SIZE]; 91 initIntArray(intArray); 97 System.arraycopy(intArray, srcPos, intArray, dstPos, length); 102 if (intArray[i] != byteArray[i]) { 106 } else if (intArray[i] != shortArray[i]) { 110 } else if (intArray[i] != longArray[i]) { 114 } else if (intArray[i] != charArray[i]) { 122 ": " + Arrays.toString(intArray));
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/ |
ParticleControllerInfluencer.java | 14 import com.badlogic.gdx.utils.IntArray; 191 Array<IntArray>effectsIndices = new Array<IntArray>(); 197 IntArray indices = null; 203 indices = new IntArray(); 221 Array<IntArray>effectsIndices = data.load("indices"); 223 Iterator<IntArray> iterator = effectsIndices.iterator(); 229 IntArray effectIndices = iterator.next();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DirectByteBufferTest.java | 91 int[] intArray = new int[]{967, 1983}; 93 intBuf.put(intArray); 96 intBuf.get(intArray); 98 assertEquals(967, intArray[0]); 99 assertEquals(1983, intArray[1]);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1Impl.java | 158 * intArray - int array containing bytes to which to append; 159 * intArray.length >= (BYTES_OFFSET+6) 168 static void updateHash(int[] intArray, byte[] byteInput, int fromByte, int toByte) { 170 // As intArray contains a packed bytes 171 // the buffer's index is in the intArray[BYTES_OFFSET] element 173 int index = intArray[BYTES_OFFSET]; 181 intArray[BYTES_OFFSET] = ( index + toByte - fromByte + 1 ) & 077 ; 191 intArray[wordIndex] |= ( byteInput[i] & 0xFF ) << ((3 - byteIndex)<<3) ; 196 if ( wordIndex == 16 ) { // intArray is full, computing hash 198 computeHash(intArray); [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
ArrayReferenceDebuggee.java | 38 static int[] intArray = new int[10]; 53 for (int i=0; i<intArray.length; i++) { 54 intArray[i] = i;
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
IntArray.java | 26 public class IntArray {
32 public IntArray () {
37 public IntArray (int capacity) {
44 public IntArray (boolean ordered, int capacity) {
52 public IntArray (IntArray array) {
61 public IntArray (int[] array) {
69 public IntArray (boolean ordered, int[] array, int startIndex, int count) {
81 public void addAll (IntArray array) {
85 public void addAll (IntArray array, int offset, int length) { [all...] |
/external/skia/tests/ |
TArrayTest.cpp | 63 typedef SkTArray<int> IntArray; 64 return new IntArray; 68 typedef SkSTArray<N, int> IntArray; 69 return new IntArray;
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/ |
Kerning.java | 19 import com.badlogic.gdx.utils.IntArray;
232 IntArray[] glyphsByClass1 = readClassDefinition(subTablePosition + classDefOffset1, class1Count);
233 IntArray[] glyphsByClass2 = readClassDefinition(subTablePosition + classDefOffset2, class2Count);
269 private IntArray[] readClassDefinition (int position, int classCount) throws IOException {
272 IntArray[] glyphsByClass = new IntArray[classCount];
274 glyphsByClass[i] = new IntArray();
288 private void readClassDefinitionFormat1 (IntArray[] glyphsByClass) throws IOException {
301 private void readClassDefinitionFormat2 (IntArray[] glyphsByClass) throws IOException {
323 IntArray glyphArray = new IntArray(); [all...] |