Searched refs:newElements (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 409 Object[] newElements = Arrays.copyOf(elements, len); in set() local 410 newElements[index] = element; in set() 411 setArray(newElements); in set() 430 Object[] newElements = Arrays.copyOf(elements, len + 1); in add() local 431 newElements[len] = e; in add() 432 setArray(newElements); in add() 450 Object[] newElements; in add() local 453 newElements = Arrays.copyOf(elements, len + 1); in add() 455 newElements = new Object[len + 1]; in add() 456 System.arraycopy(elements, 0, newElements, 0, index); in add() [all …]
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexPathList.java | 218 final Element[] newElements = makeDexElements(splitDexPath(dexPath), optimizedDirectory, in addDexPath() local 221 if (newElements != null && newElements.length > 0) { in addDexPath() 223 dexElements = new Element[oldElements.length + newElements.length]; in addDexPath() 227 newElements, 0, dexElements, oldElements.length, newElements.length); in addDexPath()
|