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

12

/external/javassist/src/main/javassist/compiler/ast/
H A DNewExpr.java25 protected boolean newArray; field in class:NewExpr
30 newArray = false;
36 newArray = true;
45 e.newArray = true;
52 public boolean isArray() { return newArray; }
75 return newArray ? "new[]" : "new";
/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);
/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/webkit/Source/JavaScriptCore/qt/api/
H A Dqscriptengine.cpp355 \sa newArray(), QScriptValue::setProperty()
367 QScriptValue QScriptEngine::newArray(uint length) function in class:QScriptEngine
369 return QScriptValuePrivate::get(d_ptr->newArray(length));
H A Dqscriptengine.h72 QScriptValue newArray(uint length = 0);
H A Dqscriptengine_p.cpp130 QScriptValuePrivate* QScriptEnginePrivate::newArray(uint length) function in class:QScriptEnginePrivate
/external/skia/gpu/include/
H A DGrTDArray.h199 T* newArray = (T*)GrMalloc(fAllocated * sizeof(T)); local
200 memcpy(newArray, fArray, index * sizeof(T));
201 memcpy(newArray + index + 1, fArray + index,
204 fArray = newArray;
/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/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DExpandedNameTable.java223 ExtendedType[] newArray = new ExtendedType[m_extendedTypes.length * 2];
224 System.arraycopy(m_extendedTypes, 0, newArray, 0,
226 m_extendedTypes = newArray;
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A DNamespaceMappings.java400 Object[] newArray = new Object[newMax];
401 System.arraycopy(m_stack,0, newArray, 0, max);
403 m_stack = 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DPriorityQueueTest.java126 Integer[] newArray = new Integer[array.length - 1];
127 for (int i = 0; i < newArray.length; i++) {
128 newArray[i] = iter.next();
131 Arrays.sort(newArray);
133 assertEquals(newArray[i], integerQueue.poll());
587 Integer[] newArray = { 2, 45, 7, -12, 9, 23, 17, 1118, 10, 39 };
588 Arrays.sort(newArray);
589 for (int i = 0; i < newArray.length; i++) {
590 assertEquals(newArray[i], integerQueue.poll());

Completed in 516 milliseconds

12