Home
last modified time | relevance | path

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

123456

/external/proguard/src/proguard/util/
DArrayUtil.java394 boolean[] newArray = new boolean[size]; in extendArray()
397 newArray, 0, in extendArray()
400 return newArray; in extendArray()
510 byte[] newArray = new byte[size]; in extendArray()
513 newArray, 0, in extendArray()
516 return newArray; in extendArray()
626 short[] newArray = new short[size]; in extendArray() local
629 newArray, 0, in extendArray()
632 return newArray; in extendArray()
742 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/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/src/com/google/common/collect/
DObjectArrays.java49 public static <T> T[] newArray(Class<T> type, int length) { in newArray() method in ObjectArrays
60 public static <T> T[] newArray(T[] reference, int length) { in newArray() method in ObjectArrays
61 return Platform.newArray(reference, length); in newArray()
73 T[] result = newArray(type, first.length + second.length); in concat()
89 T[] result = newArray(array, array.length + 1); in concat()
112 T[] copy = newArray(original, newLength); in arraysCopyOf()
145 array = newArray(array, size); in toArrayImpl()
168 dst = newArray(dst, len); in toArrayImpl()
/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()
206 checkArrayEquals(new Long[5], ObjectArrays.newArray(new Long[0], 5)); in testEmptyArrayToNonEmpty()
210 checkArrayEquals(new String[9], ObjectArrays.newArray(new String[10], 9)); in testNonEmptyToShorter()
219 ObjectArrays.newArray(new String[] { "a", "b", "c", "d", "e" }, 10)); in testNonEmptyToLonger()
234 checkArrayEquals(expected, ObjectArrays.newArray(expected, length)); in doTestNewArrayEquals()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DObjectArrays.java46 public static <T> T[] newArray(T[] reference, int length) { in newArray() method in ObjectArrays
47 return Platform.newArray(reference, length); in newArray()
60 T[] result = newArray(array, array.length + 1); in concat()
83 T[] copy = newArray(original, newLength); in arraysCopyOf()
116 array = newArray(array, size); in toArrayImpl()
139 dst = newArray(dst, len); in toArrayImpl()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DObjectArraysTest.java38 String[] empty = ObjectArrays.newArray(in, 0); in testNewArray_fromArray_Empty()
43 String[] array = ObjectArrays.newArray(new String[0], 2); in testNewArray_fromArray_Nonempty()
50 String[][] array = ObjectArrays.newArray(new String[0][0], 1); in testNewArray_fromArray_OfArray()
135 checkArrayEquals(new Long[5], ObjectArrays.newArray(new Long[0], 5)); in testEmptyArrayToNonEmpty()
139 checkArrayEquals(new String[9], ObjectArrays.newArray(new String[10], 9)); in testNonEmptyToShorter()
148 ObjectArrays.newArray(new String[] { "a", "b", "c", "d", "e" }, 10)); in testNonEmptyToLonger()
163 checkArrayEquals(expected, ObjectArrays.newArray(expected, length)); in doTestNewArrayEquals()
/external/pdfium/xfa/src/fxbarcode/common/
DBC_CommonByteArray.cpp74 uint8_t* newArray = FX_Alloc(uint8_t, capacity); in Reserve() local
75 FXSYS_memset(newArray, 0, capacity); in Reserve()
77 FXSYS_memcpy(newArray, m_bytes, m_size); in Reserve()
80 m_bytes = newArray; in Reserve()
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/core/command/
DCommand.java124 String[] newArray = new String[array.length]; in copy() local
125 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
126 return newArray; in copy()
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/core/command/
DCommand.java124 String[] newArray = new String[array.length]; in copy() local
125 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
126 return newArray; in copy()
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/core/command/
DCommand.java124 String[] newArray = new String[array.length]; in copy() local
125 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
126 return newArray; in copy()
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/core/command/
DCommand.java124 String[] newArray = new String[array.length]; in copy() local
125 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
126 return newArray; in copy()
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/core/command/
DCommand.java124 String[] newArray = new String[array.length]; in copy() local
125 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
126 return newArray; in copy()
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/
DCommand.java124 String[] newArray = new String[array.length]; in copy() local
125 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
126 return newArray; in copy()
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/core/command/
DCommand.java124 String[] newArray = new String[array.length]; in copy() local
125 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
126 return newArray; in copy()
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/core/command/
DCommand.java124 String[] newArray = new String[array.length]; in copy() local
125 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
126 return newArray; in copy()
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/core/command/
DCommand.java144 String[] newArray = new String[array.length]; in copy() local
145 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
146 return newArray; in copy()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/command/
DCommand.java153 String[] newArray = new String[array.length]; in copy() local
154 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
155 return newArray; in copy()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/command/
DCommand.java153 String[] newArray = new String[array.length]; in copy() local
154 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
155 return newArray; in copy()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/command/
DCommand.java153 String[] newArray = new String[array.length]; in copy() local
154 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
155 return newArray; in copy()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/command/
DCommand.java153 String[] newArray = new String[array.length]; in copy() local
154 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
155 return newArray; in copy()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/
DCommand.java153 String[] newArray = new String[array.length]; in copy() local
154 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
155 return newArray; in copy()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/command/
DCommand.java153 String[] newArray = new String[array.length]; in copy() local
154 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
155 return newArray; in copy()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/command/
DCommand.java153 String[] newArray = new String[array.length]; in copy() local
154 System.arraycopy(array, 0, newArray, 0, array.length); in copy()
155 return newArray; in copy()

123456