/dalvik/vm/mterp/c/ |
OP_NEW_ARRAY.cpp | 4 ArrayObject* newArray; 29 newArray = dvmAllocArrayByClass(arrayClass, length, ALLOC_DONT_TRACK); 30 if (newArray == NULL) 32 SET_REGISTER(vdst, (u4) newArray);
|
/external/clang/test/Rewriter/ |
modern-write-bf-abi.mm | 42 __NSArrayM *newArray = (__NSArrayM *)__CFAllocateObject2(); 43 newArray->_size = count; 44 newArray->_mutations = 1; 45 newArray->_doHardRetain = (hasObjects && hasStrong); 46 newArray->_doWeakAccess = (objc_collectingEnabled() && !hasStrong); 47 newArray->_hasObjects = hasObjects; 48 newArray->_hasStrongReferences = hasStrong; 49 newArray->_list = 0; 50 return *newArray->_list;
|
/external/javassist/src/main/javassist/compiler/ast/ |
NewExpr.java | 25 protected boolean newArray; 30 newArray = false; 36 newArray = true; 45 e.newArray = true; 52 public boolean isArray() { return newArray; } 75 return newArray ? "new[]" : "new";
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Platform.java | 40 static <T> T[] newArray(Class<T> type, int length) { 42 "Platform.newArray is not supported in GWT yet."); 45 static <T> T[] newArray(T[] reference, int length) { 46 return GwtPlatform.newArray(reference, length);
|
ObjectArrays.java | 42 public static <T> T[] newArray(T[] reference, int length) { 43 return Platform.newArray(reference, length); 56 T[] result = newArray(array, array.length + 1); 79 T[] copy = newArray(original, newLength); 112 array = newArray(array, size);
|
ImmutableCollection.java | 46 Object[] newArray = new Object[size()]; 47 return toArray(newArray); 53 other = ObjectArrays.newArray(other, size);
|
/dalvik/vm/native/ |
java_lang_reflect_Array.cpp | 44 ArrayObject* newArray = 46 if (newArray == NULL) { 50 dvmReleaseTrackedAlloc((Object*) newArray, NULL); 52 RETURN_PTR(newArray); 72 ArrayObject* newArray; 131 newArray = dvmAllocMultiArray(arrayClass, numDim-1, dimensions); 132 if (newArray == NULL) { 137 dvmReleaseTrackedAlloc((Object*) newArray, NULL); 138 RETURN_PTR(newArray);
|
/libcore/luni/src/main/java/java/util/ |
UnsafeArrayList.java | 38 T[] newArray = (T[]) Array.newInstance(elementType, size * 2); 39 System.arraycopy(array, 0, newArray, 0, size); 40 array = newArray;
|
ArrayList.java | 99 Object[] newArray = new Object[a.length]; 100 System.arraycopy(a, 0, newArray, 0, a.length); 101 a = newArray; 118 Object[] newArray = new Object[s + 121 System.arraycopy(a, 0, newArray, 0, s); 122 array = a = newArray; 154 Object[] newArray = new Object[newCapacity(s)]; 155 System.arraycopy(a, 0, newArray, 0, index); 156 System.arraycopy(a, index, newArray, index + 1, s - index); 157 array = a = newArray; [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ObjectArraysTest.java | 45 @GwtIncompatible("ObjectArrays.newArray(Class, int)") 47 String[] empty = ObjectArrays.newArray(String.class, 0); 52 @GwtIncompatible("ObjectArrays.newArray(Class, int)") 54 String[] array = ObjectArrays.newArray(String.class, 2); 60 @GwtIncompatible("ObjectArrays.newArray(Class, int)") 62 String[][] array = ObjectArrays.newArray(String[].class, 1); 70 String[] empty = ObjectArrays.newArray(in, 0); 75 String[] array = ObjectArrays.newArray(new String[0], 2); 82 String[][] array = ObjectArrays.newArray(new String[0][0], 1);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TestParcelable.java | 26 public TestParcelable[] newArray(int size) {
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
IntFloat.java | 15 public IntFloat[] newArray(int size) {
|
StringString.java | 16 public StringString[] newArray(int size) {
|
StringFloat.java | 16 public StringFloat[] newArray(int size) {
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/ |
ParcelableCompatHoneycombMR2.java | 43 public T[] newArray(int size) { 44 return mCallbacks.newArray(size);
|
/frameworks/support/v4/java/android/support/v4/os/ |
ParcelableCompat.java | 55 public T[] newArray(int size) { 56 return mCallbacks.newArray(size);
|
/dalvik/dx/tests/106-verify-object-ops/ |
op_newarray.j | 23 newarray short
|
expected.txt | 28 newarray: expected failure occurred
|
/sdk/testapps/basicProjectWithAidl/src/com/android/tests/basicprojectwithaidl/ |
Rect.java | 17 public Rect[] newArray(int size) {
|
/external/guava/guava/src/com/google/common/collect/ |
ObjectArrays.java | 43 public static <T> T[] newArray(Class<T> type, int length) { 44 return Platform.newArray(type, length); 54 public static <T> T[] newArray(T[] reference, int length) { 55 return Platform.newArray(reference, length); 67 T[] result = newArray(type, first.length + second.length); 83 T[] result = newArray(array, array.length + 1); 106 T[] copy = newArray(original, newLength); 139 array = newArray(array, size);
|
/external/javassist/src/main/javassist/expr/ |
NewArray.java | 29 public class NewArray extends Expr { 32 protected NewArray(int pos, CodeIterator i, CtClass declaring, 80 if (opcode == Opcode.NEWARRAY) { 123 if (opcode == Opcode.NEWARRAY) 181 if (opcode == Opcode.NEWARRAY) { 265 else if (opcode == Opcode.NEWARRAY)
|
/dalvik/dx/tests/024-code-bytecode/ |
expected.txt | 256 016c: newarray boolean 257 016e: newarray char 258 0170: newarray float 259 0172: newarray double 260 0174: newarray byte 261 0176: newarray short 262 0178: newarray int 263 017a: newarray long
|
small-class.txt | 267 bc 04 # 016c: newarray boolean 268 bc 05 # 016e: newarray char 269 bc 06 # 0170: newarray float 270 bc 07 # 0172: newarray double 271 bc 08 # 0174: newarray byte 272 bc 09 # 0176: newarray short 273 bc 0a # 0178: newarray int 274 bc 0b # 017a: newarray long
|
/external/srec/shared/src/ |
IntArrayList.c | 73 ESR_ReturnCode IntArrayListToStaticArray(IntArrayList* self, int** newArray) 77 return self->toStaticArray(self, newArray);
|
/cts/tests/src/android/app/cts/ |
IBinderParcelable.java | 44 public IBinderParcelable[] newArray(int size) {
|