Searched refs:newArray (Results 1 - 22 of 22) sorted by relevance

/external/guava/src/com/google/common/collect/
H A DObjectArrays.java44 public static <T> T[] newArray(Class<T> type, int length) { method in class:ObjectArrays
45 return Platform.newArray(type, length);
55 public static <T> T[] newArray(T[] reference, int length) { method in class:ObjectArrays
56 return Platform.newArray(reference, length);
68 T[] result = newArray(type, first.length + second.length);
84 T[] result = newArray(array, array.length + 1);
107 T[] copy = newArray(original, newLength);
141 array = newArray(array, size);
H A DPlatform.java88 static <T> T[] newArray(Class<T> type, int length) { method in class:Platform
99 static <T> T[] newArray(T[] reference, int length) { method in class:Platform
H A DImmutableCollection.java56 Object[] newArray = new Object[size()];
57 return toArray(newArray);
63 other = ObjectArrays.newArray(other, size);
H A DRegularImmutableList.java69 Object[] newArray = new Object[size()];
70 Platform.unsafeArrayCopy(array, offset, newArray, 0, size);
71 return newArray;
76 other = ObjectArrays.newArray(other, size);
H A DSingletonImmutableList.java110 array = ObjectArrays.newArray(array, 1);
H A DSingletonImmutableSet.java75 array = ObjectArrays.newArray(array, 1);
H A DImmutableSet.java326 array = ObjectArrays.newArray(array, size);
395 array = ObjectArrays.newArray(array, size);
H A DRegularImmutableSortedSet.java159 array = ObjectArrays.newArray(array, size);
H A DIterables.java241 T[] array = ObjectArrays.newArray(type, collection.size());
/external/srec/shared/include/
H A DIntArrayList.h106 * @param newArray Pointer to resulting array
108 ESR_ReturnCode(*toStaticArray)(struct IntArrayList_t* self, int** newArray);
198 * @param newArray Pointer to resulting array
200 ESR_SHARED_API ESR_ReturnCode IntArrayListToStaticArray(IntArrayList* self, int** newArray);
H A DIntArrayListImpl.h91 ESR_SHARED_API ESR_ReturnCode IntArrayList_ToStaticArray(IntArrayList* self, int** newArray);
H A DInt8ArrayList.h114 * @param newArray Pointer to resulting array
116 ESR_ReturnCode(*toStaticArray)(struct Int8ArrayList_t* self, asr_int8_t** newArray);
206 * @param newArray Pointer to resulting array
208 ESR_SHARED_API ESR_ReturnCode Int8ArrayListToStaticArray(Int8ArrayList* self, asr_int8_t** newArray);
H A DInt8ArrayListImpl.h91 ESR_SHARED_API ESR_ReturnCode Int8ArrayList_ToStaticArray(Int8ArrayList* self, asr_int8_t** newArray);
/external/srec/shared/src/
H A DIntArrayList.c73 ESR_ReturnCode IntArrayListToStaticArray(IntArrayList* self, int** newArray) argument
77 return self->toStaticArray(self, newArray);
H A DInt8ArrayList.c96 ESR_ReturnCode Int8ArrayListToStaticArray(Int8ArrayList* self, asr_int8_t** newArray) argument
103 return self->toStaticArray(self, newArray);
H A DIntArrayListImpl.c175 ESR_ReturnCode IntArrayList_ToStaticArray(IntArrayList* self, int** newArray) argument
179 *newArray = impl->contents;
H A DInt8ArrayListImpl.c176 ESR_ReturnCode Int8ArrayList_ToStaticArray(Int8ArrayList* self, asr_int8_t** newArray) argument
180 *newArray = impl->contents;
/external/srec/portable/include/
H A DArrayList.h138 * @param newArray Pointer to resulting array
141 ESR_ReturnCode(*toStaticArray)(struct ArrayList_t* self, void** newArray);
/external/proguard/src/proguard/shrink/
H A DClassShrinker.java416 Clazz[] newArray = new Clazz[length];
417 System.arraycopy(array, 0, newArray, 0, length);
418 return newArray;
/external/v8/test/mjsunit/
H A Darray-reduce.js36 var newArray = new Array(v.length);
38 newArray[i] = v[i];
40 return newArray;
/external/chromium/third_party/icu/source/common/
H A Dunistr.cpp1274 UChar *newArray = getArrayStart(); local
1275 if(newArray != oldArray) {
1277 us_arrayCopy(oldArray, 0, newArray, 0, start);
1279 newArray, start + srcLength,
1284 newArray, start + srcLength,
1289 us_arrayCopy(srcChars, srcStart, newArray, start, srcLength);
/external/icu4c/common/
H A Dunistr.cpp1306 UChar *newArray = getArrayStart(); local
1307 if(newArray != oldArray) {
1309 us_arrayCopy(oldArray, 0, newArray, 0, start);
1311 newArray, start + srcLength,
1316 newArray, start + srcLength,
1321 us_arrayCopy(srcChars, srcStart, newArray, start, srcLength);

Completed in 238 milliseconds