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

1234

/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DPlatform.java40 static <T> T[] newArray(Class<T> type, int length) { method in class:Platform
42 "Platform.newArray is not supported in GWT yet.");
45 static <T> T[] newArray(T[] reference, int length) { method in class:Platform
46 return GwtPlatform.newArray(reference, length);
H A DObjectArrays.java42 public static <T> T[] newArray(T[] reference, int length) { method in class:ObjectArrays
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);
H A DGwtPlatform.java41 public static <T> T[] newArray(T[] reference, int length) { method in class:GwtPlatform
H A DImmutableCollection.java46 Object[] newArray = new Object[size()];
47 return toArray(newArray);
53 other = ObjectArrays.newArray(other, size);
/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/guava/src/com/google/common/collect/
H A DObjectArrays.java43 public static <T> T[] newArray(Class<T> type, int length) { method in class:ObjectArrays
44 return Platform.newArray(type, length);
54 public static <T> T[] newArray(T[] reference, int length) { method in class:ObjectArrays
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);
H A DPlatform.java64 static <T> T[] newArray(Class<T> type, int length) { method in class:Platform
75 static <T> T[] newArray(T[] reference, int length) { method in class:Platform
H A DRegularImmutableList.java72 Object[] newArray = new Object[size()];
73 System.arraycopy(array, offset, newArray, 0, size);
74 return newArray;
79 other = ObjectArrays.newArray(other, size);
H A DForwardingCollection.java251 Object[] newArray = new Object[size()];
252 return toArray(newArray);
H A DSingletonImmutableSet.java83 array = ObjectArrays.newArray(array, 1);
/external/chromium-trace/src/shared/js/cr/ui/
H A Darray_data_model.js143 var newArray = [];
148 newIndexes.push(newArray.length);
150 newArray.push(this.array_[this.indexes_[i]]);
159 newIndexes.push(newArray.length);
160 newArray.push(arguments[j + 2]);
164 newIndexes.push(newArray.length);
166 newArray.push(this.array_[this.indexes_[i]]);
171 this.array_ = newArray;
/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;
/external/guava/guava-tests/test/com/google/common/collect/
H A DObjectArraysTest.java45 @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/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);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DAMutableArray.h21 + (id) newArray; variable
H A DANTLRIntArray.h44 + (ANTLRIntArray *)newArray; variable
/external/skia/src/gpu/
H A DGrTDArray.h193 T* newArray = (T*)GrMalloc(fAllocated * sizeof(T)); local
194 memcpy(newArray, fArray, index * sizeof(T));
195 memcpy(newArray + index + 1, fArray + index,
198 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);

Completed in 516 milliseconds

1234