/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.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.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.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/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/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.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.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-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/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-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/icu/icu4c/source/i18n/ |
D | sortkey.cpp | 100 uint8_t *newBytes = static_cast<uint8_t *>(uprv_malloc(newCapacity)); in reallocate() local 101 if(newBytes == NULL) { return NULL; } in reallocate() 103 uprv_memcpy(newBytes, getBytes(), length); in reallocate() 106 fUnion.fFields.fBytes = newBytes; in reallocate() 109 return newBytes; in reallocate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnicodeDecompressor.java | 191 int newBytes = 0; in decompress() local 195 newBytes = fBuffer.length - fBufferLength; in decompress() 198 if(byteBufferLimit - byteBufferStart < newBytes) in decompress() 199 newBytes = byteBufferLimit - byteBufferStart; in decompress() 202 fBuffer, fBufferLength, newBytes); in decompress() 215 bytePos += newBytes; in decompress()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UnicodeDecompressor.java | 188 int newBytes = 0; in decompress() local 192 newBytes = fBuffer.length - fBufferLength; in decompress() 195 if(byteBufferLimit - byteBufferStart < newBytes) in decompress() 196 newBytes = byteBufferLimit - byteBufferStart; in decompress() 199 fBuffer, fBufferLength, newBytes); in decompress() 212 bytePos += newBytes; in decompress()
|
D | RuleBasedCollator.java | 1099 byte[] newBytes = new byte[newCapacity]; in Resize() 1100 System.arraycopy(buffer_, 0, newBytes, 0, length); in Resize() 1101 buffer_ = key_.bytes = newBytes; in Resize()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BytesTrieBuilder.java | 165 byte[] newBytes=new byte[newCapacity]; in ensureCapacity() 167 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity() 168 bytes=newBytes; in ensureCapacity()
|
D | BytesTrie.java | 498 byte[] newBytes=new byte[Math.min(2*bytes.length, 2*len)]; 499 System.arraycopy(bytes, 0, newBytes, 0, length); 500 bytes=newBytes;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | BytesTrieBuilder.java | 161 byte[] newBytes=new byte[newCapacity]; in ensureCapacity() 163 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity() 164 bytes=newBytes; in ensureCapacity()
|
D | BytesTrie.java | 468 byte[] newBytes=new byte[Math.min(2*bytes.length, 2*len)]; 469 System.arraycopy(bytes, 0, newBytes, 0, length); 470 bytes=newBytes;
|
/external/icu/icu4c/source/common/ |
D | bytestriebuilder.cpp | 382 char *newBytes=static_cast<char *>(uprv_malloc(newCapacity)); in ensureCapacity() local 383 if(newBytes==NULL) { in ensureCapacity() 390 uprv_memcpy(newBytes+(newCapacity-bytesLength), in ensureCapacity() 393 bytes=newBytes; in ensureCapacity()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUBinary.java | 739 byte[] newBytes = new byte[capacity]; 740 System.arraycopy(bytes, 0, newBytes, 0, length); 741 bytes = newBytes;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUBinary.java | 735 byte[] newBytes = new byte[capacity]; 736 System.arraycopy(bytes, 0, newBytes, 0, length); 737 bytes = newBytes;
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | LiteralByteStringTest.java | 265 byte[] newBytes = stringUnderTest.toByteArray(); in testWriteTo_mutating() 267 Arrays.equals(referenceBytes, newBytes)); in testWriteTo_mutating()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | RuleBasedCollator.java | 1127 byte[] newBytes = new byte[newCapacity]; in Resize() 1128 System.arraycopy(buffer_, 0, newBytes, 0, length); in Resize() 1129 buffer_ = key_.bytes = newBytes; in Resize()
|