/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/ |
UnsafeByteSequence.java | 52 byte[] newBytes = new byte[(count + length) * 2]; 53 System.arraycopy(bytes, 0, newBytes, 0, count); 54 bytes = newBytes; 62 byte[] newBytes = new byte[count * 2]; 63 System.arraycopy(bytes, 0, newBytes, 0, count); 64 bytes = newBytes;
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY;
88 setContentsInternal(newBytes);
98 byte[] newBytes = EMPTY;
100 newBytes = new byte[contents.length];
101 System.arraycopy(contents, 0, newBytes, 0, contents.length);
103 setContentsInternal(newBytes);
|
/external/icu/icu4c/source/i18n/ |
sortkey.cpp | 102 uint8_t *newBytes = static_cast<uint8_t *>(uprv_malloc(newCapacity)); 103 if(newBytes == NULL) { return NULL; } 105 uprv_memcpy(newBytes, getBytes(), length); 108 fUnion.fFields.fBytes = newBytes; 111 return newBytes;
|
/libcore/luni/src/main/java/libcore/io/ |
IoUtils.java | 241 byte[] newBytes = new byte[newCapacity]; 242 System.arraycopy(bytes, 0, newBytes, 0, capacity); 243 bytes = newBytes;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
BytesTrieBuilder.java | 163 byte[] newBytes=new byte[newCapacity]; 165 newBytes, newBytes.length-bytesLength, bytesLength); 166 bytes=newBytes;
|
ByteArrayWrapper.java | 112 byte[] newbytes = new byte[capacity]; 114 copyBytes(bytes, 0, newbytes, 0, size); 116 bytes = newbytes;
|
BytesTrie.java | 471 byte[] newBytes=new byte[Math.min(2*bytes.length, 2*len)]; 472 System.arraycopy(bytes, 0, newBytes, 0, length); 473 bytes=newBytes; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BytesTrieBuilder.java | 167 byte[] newBytes=new byte[newCapacity]; 169 newBytes, newBytes.length-bytesLength, bytesLength); 170 bytes=newBytes;
|
ByteArrayWrapper.java | 117 byte[] newbytes = new byte[capacity]; 119 copyBytes(bytes, 0, newbytes, 0, size); 121 bytes = newbytes;
|
BytesTrie.java | 501 byte[] newBytes=new byte[Math.min(2*bytes.length, 2*len)]; 502 System.arraycopy(bytes, 0, newBytes, 0, length); 503 bytes=newBytes; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UnicodeDecompressor.java | 190 int newBytes = 0; 194 newBytes = fBuffer.length - fBufferLength; 196 // verify there are newBytes bytes in byteBuffer 197 if(byteBufferLimit - byteBufferStart < newBytes) 198 newBytes = byteBufferLimit - byteBufferStart; 201 fBuffer, fBufferLength, newBytes); 214 bytePos += newBytes;
|
RuleBasedCollator.java | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
UnicodeDecompressor.java | 193 int newBytes = 0; 197 newBytes = fBuffer.length - fBufferLength; 199 // verify there are newBytes bytes in byteBuffer 200 if(byteBufferLimit - byteBufferStart < newBytes) 201 newBytes = byteBufferLimit - byteBufferStart; 204 fBuffer, fBufferLength, newBytes); 217 bytePos += newBytes;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
FileChannelTest.java | 147 byte[] newBytes = "6789A".getBytes("US-ASCII"); 148 fc.write(ByteBuffer.wrap(newBytes)); 150 int expectedNewLength = positionBeyondSize + newBytes.length;
|
/external/icu/icu4c/source/common/ |
bytestriebuilder.cpp | 384 char *newBytes=static_cast<char *>(uprv_malloc(newCapacity)); 385 if(newBytes==NULL) { 392 uprv_memcpy(newBytes+(newCapacity-bytesLength), 395 bytes=newBytes;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
InetAddressTest.java | 72 byte[] newBytes = address.getAddress(); 73 assertSame((byte) 0, newBytes[0]);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUBinary.java | 741 byte[] newBytes = new byte[capacity]; 742 System.arraycopy(bytes, 0, newBytes, 0, length); 743 bytes = newBytes;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUBinary.java | 737 byte[] newBytes = new byte[capacity]; 738 System.arraycopy(bytes, 0, newBytes, 0, length); 739 bytes = newBytes;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
bytearrayobject.c | 2700 PyObject *newbytes; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
bytearrayobject.c | 2692 PyObject *newbytes; local [all...] |
/external/python/cpython2/Objects/ |
bytearrayobject.c | 2713 PyObject *newbytes; local [all...] |
/external/python/cpython3/Modules/ |
arraymodule.c | 820 Py_ssize_t oldbytes, newbytes; local 833 newbytes = oldbytes * n; 836 memset(np->ob_item, a->ob_item[0], newbytes); 840 while (done < newbytes) { 841 Py_ssize_t ncopy = (done <= newbytes-done) ? done : newbytes-done; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
arraymodule.c | 1209 size_t newbytes; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
arraymodule.c | 1209 size_t newbytes; local [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
RuleBasedCollator.java | [all...] |