Home
last modified time | relevance | path

Searched refs:newArray (Results 1 – 25 of 84) sorted by relevance

1234

/external/lldb/test/functionalities/data-formatter/data-formatter-objc/
Dmain.m297 NSArray* newArray = [[NSMutableArray alloc] init];
298 [newArray addObject:str1];
299 [newArray addObject:str2];
300 [newArray addObject:str3];
301 [newArray addObject:str4];
302 [newArray addObject:str5];
303 [newArray addObject:str6];
304 [newArray addObject:str7];
305 [newArray addObject:str8];
306 [newArray addObject:str9];
[all …]
/external/proguard/src/proguard/util/
DArrayUtil.java339 boolean[] newArray = new boolean[size]; in extendArray()
342 newArray, 0, in extendArray()
345 return newArray; in extendArray()
455 byte[] newArray = new byte[size]; in extendArray()
458 newArray, 0, in extendArray()
461 return newArray; in extendArray()
571 short[] newArray = new short[size]; in extendArray() local
574 newArray, 0, in extendArray()
577 return newArray; in extendArray()
687 int[] newArray = new int[size]; in extendArray() local
[all …]
/external/clang/test/Rewriter/
Dmodern-write-bf-abi.mm42 __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/
DNewExpr.java25 protected boolean newArray; field in NewExpr
30 newArray = false; in NewExpr()
36 newArray = true; in NewExpr()
45 e.newArray = true; in makeObjectArray()
52 public boolean isArray() { return newArray; } in isArray()
75 return newArray ? "new[]" : "new"; in getTag()
/external/guava/guava/src/com/google/common/collect/
DObjectArrays.java43 public static <T> T[] newArray(Class<T> type, int length) { in newArray() method in ObjectArrays
44 return Platform.newArray(type, length); in newArray()
54 public static <T> T[] newArray(T[] reference, int length) { in newArray() method in ObjectArrays
55 return Platform.newArray(reference, length); in newArray()
67 T[] result = newArray(type, first.length + second.length); in concat()
83 T[] result = newArray(array, array.length + 1); in concat()
106 T[] copy = newArray(original, newLength); in arraysCopyOf()
139 array = newArray(array, size); in toArrayImpl()
DRegularImmutableList.java72 Object[] newArray = new Object[size()]; in toArray() local
73 System.arraycopy(array, offset, newArray, 0, size); in toArray()
74 return newArray; in toArray()
79 other = ObjectArrays.newArray(other, size); in toArray()
DPlatform.java64 static <T> T[] newArray(Class<T> type, int length) { in newArray() method in Platform
75 static <T> T[] newArray(T[] reference, int length) { in newArray() method in Platform
DForwardingCollection.java251 Object[] newArray = new Object[size()]; in standardToArray() local
252 return toArray(newArray); in standardToArray()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayType/
DNewInstanceTest.java106 TaggedObject newArray = reply.getNextValueAsTaggedObject(); in testNewInstance001() local
108 assertNotNull("ArrayType::NewInstance returned null newArray", newArray); in testNewInstance001()
111 + newArray.tag + " newArray.objectID=" + newArray.objectID); in testNewInstance001()
113 if (newArray.tag != JDWPConstants.Tag.ARRAY_TAG) { in testNewInstance001()
115 fail("Returned tag " + JDWPConstants.Tag.getName(newArray.tag) in testNewInstance001()
116 + "(" + newArray.tag + ") is not ARRAY_TAG"); in testNewInstance001()
123 packet.setNextValueAsObjectID(newArray.objectID); in testNewInstance001()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DObjectArrays.java42 public static <T> T[] newArray(T[] reference, int length) { in newArray() method in ObjectArrays
43 return Platform.newArray(reference, length); in newArray()
56 T[] result = newArray(array, array.length + 1); in concat()
79 T[] copy = newArray(original, newLength); in arraysCopyOf()
112 array = newArray(array, size); in toArrayImpl()
DPlatform.java40 static <T> T[] newArray(Class<T> type, int length) { in newArray() method in Platform
45 static <T> T[] newArray(T[] reference, int length) { in newArray() method in Platform
46 return GwtPlatform.newArray(reference, length); in newArray()
DImmutableCollection.java46 Object[] newArray = new Object[size()]; in toArray() local
47 return toArray(newArray); in toArray()
53 other = ObjectArrays.newArray(other, size); in toArray()
/external/chromium_org/ui/webui/resources/js/cr/ui/
Darray_data_model.js147 var newArray = [];
152 newIndexes.push(newArray.length);
154 newArray.push(this.array_[this.indexes_[i]]);
163 newIndexes.push(newArray.length);
164 newArray.push(arguments[j + 2]);
168 newIndexes.push(newArray.length);
170 newArray.push(this.array_[this.indexes_[i]]);
175 this.array_ = newArray;
/external/guava/guava-tests/test/com/google/common/collect/
DObjectArraysTest.java47 String[] empty = ObjectArrays.newArray(String.class, 0); in testNewArray_fromClass_Empty()
54 String[] array = ObjectArrays.newArray(String.class, 2); in testNewArray_fromClass_Nonempty()
62 String[][] array = ObjectArrays.newArray(String[].class, 1); in testNewArray_fromClass_OfArray()
70 String[] empty = ObjectArrays.newArray(in, 0); in testNewArray_fromArray_Empty()
75 String[] array = ObjectArrays.newArray(new String[0], 2); in testNewArray_fromArray_Nonempty()
82 String[][] array = ObjectArrays.newArray(new String[0][0], 1); in testNewArray_fromArray_OfArray()
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfolder_shortcuts_data_model.js417 calculatePermutation_: function(oldArray, newArray) { argument
424 if (newIndex >= newArray.length) {
430 while (newIndex < newArray.length) {
433 if (util.isSameEntry(oldArray[oldIndex], newArray[newIndex])) {
440 if (this.compare(oldArray[oldIndex], newArray[newIndex]) < 0) {
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassHeaderReader.java166 Object newArray = Array.newInstance(array.getClass().getComponentType(), length); in resizeArray() local
167 System.arraycopy(array, 0, newArray, 0, Array.getLength(array)); in resizeArray()
168 return newArray; in resizeArray()
/external/srec/shared/src/
DIntArrayList.c73 ESR_ReturnCode IntArrayListToStaticArray(IntArrayList* self, int** newArray) in IntArrayListToStaticArray() argument
77 return self->toStaticArray(self, newArray); in IntArrayListToStaticArray()
DInt8ArrayList.c96 ESR_ReturnCode Int8ArrayListToStaticArray(Int8ArrayList* self, asr_int8_t** newArray) in Int8ArrayListToStaticArray() argument
103 return self->toStaticArray(self, newArray); in Int8ArrayListToStaticArray()
/external/srec/shared/include/
DIntArrayList.h108 ESR_ReturnCode(*toStaticArray)(struct IntArrayList_t* self, int** newArray);
200 ESR_SHARED_API ESR_ReturnCode IntArrayListToStaticArray(IntArrayList* self, int** newArray);
DInt8ArrayList.h116 ESR_ReturnCode(*toStaticArray)(struct Int8ArrayList_t* self, asr_int8_t** newArray);
208 ESR_SHARED_API ESR_ReturnCode Int8ArrayListToStaticArray(Int8ArrayList* self, asr_int8_t** newArray
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
Dexportfig.m418 function newArray = LocalScale(inArray, scale, minValue)
420 newArray = cell(n,1); variable
422 newArray{k} = max(minValue,scale*inArray{k}(1));
425 function newArray = LocalMapToGray(inArray);
427 newArray = cell(n,1); variable
450 newArray{k} = color;
458 newArray{k} = color;
460 newArray{k} = [color color color];
464 function newArray = LocalMapCData(inArray);
466 newArray = cell(n,1); variable
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DExpandedNameTable.java223 ExtendedType[] newArray = new ExtendedType[m_extendedTypes.length * 2]; in getExpandedTypeID() local
224 System.arraycopy(m_extendedTypes, 0, newArray, 0, in getExpandedTypeID()
226 m_extendedTypes = newArray; in getExpandedTypeID()
/external/chromium_org/third_party/WebKit/Source/wtf/
DDefaultAllocator.h96 static void* newArray(size_t bytes) in newArray() function
180 void* operator new[](size_t size) { return Allocator::template newArray<ClassName>(size); } \
/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java215 byte[] newArray = Bytes.toArray(list); in testAsList_toArray_roundTrip()
220 new byte[] { (byte) 0, (byte) 1, (byte) 2 }, newArray)); in testAsList_toArray_roundTrip()
221 newArray[1] = (byte) 5; in testAsList_toArray_roundTrip()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DNamespaceMappings.java400 Object[] newArray = new Object[newMax]; in push() local
401 System.arraycopy(m_stack,0, newArray, 0, max); in push()
403 m_stack = newArray; in push()

1234