/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = EMPTY; in setContents() 100 newBytes = new byte[contents.length]; in setContents() 101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents() 103 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = EMPTY; in setContents() 100 newBytes = new byte[contents.length]; in setContents() 101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents() 103 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = EMPTY; in setContents() 100 newBytes = new byte[contents.length]; in setContents() 101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents() 103 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = EMPTY; in setContents() 100 newBytes = new byte[contents.length]; in setContents() 101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents() 103 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = EMPTY; in setContents() 100 newBytes = new byte[contents.length]; in setContents() 101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents() 103 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = EMPTY; in setContents() 100 newBytes = new byte[contents.length]; in setContents() 101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents() 103 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = EMPTY; in setContents() 100 newBytes = new byte[contents.length]; in setContents() 101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents() 103 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = EMPTY; in setContents() 100 newBytes = new byte[contents.length]; in setContents() 101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents() 103 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = (contents != null) ? new String(contents).getBytes() : EMPTY; in setContents() 99 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = (contents != null) ? new String(contents).getBytes() : EMPTY; in setContents() 99 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 88 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 89 setContentsInternal(newBytes); in setContents() 99 byte[] newBytes = (contents != null) ? new String(contents).getBytes() : EMPTY; in setContents() 100 setContentsInternal(newBytes); in setContents()
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
D | FileEntry.java | 87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents() 88 setContentsInternal(newBytes); in setContents() 98 byte[] newBytes = (contents != null) ? new String(contents).getBytes() : EMPTY; in setContents() 99 setContentsInternal(newBytes); in setContents()
|
/external/icu/icu4c/source/i18n/ |
D | sortkey.cpp | 102 uint8_t *newBytes = static_cast<uint8_t *>(uprv_malloc(newCapacity)); in reallocate() local 103 if(newBytes == NULL) { return NULL; } in reallocate() 105 uprv_memcpy(newBytes, getBytes(), length); in reallocate() 108 fUnion.fFields.fBytes = newBytes; in reallocate() 111 return newBytes; in reallocate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnicodeDecompressor.java | 193 int newBytes = 0; in decompress() local 197 newBytes = fBuffer.length - fBufferLength; in decompress() 200 if(byteBufferLimit - byteBufferStart < newBytes) in decompress() 201 newBytes = byteBufferLimit - byteBufferStart; in decompress() 204 fBuffer, fBufferLength, newBytes); in decompress() 217 bytePos += newBytes; in decompress()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UnicodeDecompressor.java | 190 int newBytes = 0; in decompress() local 194 newBytes = fBuffer.length - fBufferLength; in decompress() 197 if(byteBufferLimit - byteBufferStart < newBytes) in decompress() 198 newBytes = byteBufferLimit - byteBufferStart; in decompress() 201 fBuffer, fBufferLength, newBytes); in decompress() 214 bytePos += newBytes; in decompress()
|
D | RuleBasedCollator.java | 1104 byte[] newBytes = new byte[newCapacity]; in Resize() 1105 System.arraycopy(buffer_, 0, newBytes, 0, length); in Resize() 1106 buffer_ = key_.bytes = newBytes; in Resize()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | BytesTrieBuilder.java | 163 byte[] newBytes=new byte[newCapacity]; in ensureCapacity() 165 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity() 166 bytes=newBytes; in ensureCapacity()
|
D | BytesTrie.java | 519 byte[] newBytes=new byte[Math.min(2*bytes.length, 2*len)]; 520 System.arraycopy(bytes, 0, newBytes, 0, length); 521 bytes=newBytes;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BytesTrieBuilder.java | 167 byte[] newBytes=new byte[newCapacity]; in ensureCapacity() 169 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity() 170 bytes=newBytes; in ensureCapacity()
|
D | BytesTrie.java | 550 byte[] newBytes=new byte[Math.min(2*bytes.length, 2*len)]; 551 System.arraycopy(bytes, 0, newBytes, 0, length); 552 bytes=newBytes;
|
/external/icu/icu4c/source/common/ |
D | bytestriebuilder.cpp | 385 char *newBytes=static_cast<char *>(uprv_malloc(newCapacity)); in ensureCapacity() local 386 if(newBytes==NULL) { in ensureCapacity() 393 uprv_memcpy(newBytes+(newCapacity-bytesLength), in ensureCapacity() 396 bytes=newBytes; in ensureCapacity()
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | ByteSourceTest.java | 265 byte[] newBytes = Arrays.copyOf(bytes, bytes.length + b.length); in append() 266 System.arraycopy(b, 0, newBytes, bytes.length, b.length); in append() 267 bytes = newBytes; in append()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteSourceTest.java | 265 byte[] newBytes = Arrays.copyOf(bytes, bytes.length + b.length); in append() 266 System.arraycopy(b, 0, newBytes, bytes.length, b.length); in append() 267 bytes = newBytes; in append()
|
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | LiteralByteStringTest.java | 253 byte[] newBytes = stringUnderTest.toByteArray(); in testWriteTo_mutating() 255 Arrays.equals(referenceBytes, newBytes)); in testWriteTo_mutating()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | RuleBasedCollator.java | 1130 byte[] newBytes = new byte[newCapacity]; in Resize() 1131 System.arraycopy(buffer_, 0, newBytes, 0, length); in Resize() 1132 buffer_ = key_.bytes = newBytes; in Resize()
|