Home
last modified time | relevance | path

Searched refs:newBytes (Results 1 – 25 of 26) sorted by relevance

12

/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java87 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/
DFileEntry.java87 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/
DFileEntry.java87 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/
DFileEntry.java87 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/
DFileEntry.java87 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/
DFileEntry.java87 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/
DFileEntry.java87 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/
DFileEntry.java87 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/
DFileEntry.java87 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/
DFileEntry.java88 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/
DFileEntry.java87 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/
DFileEntry.java87 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/
Dsortkey.cpp100 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/
DUnicodeDecompressor.java191 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/
DUnicodeDecompressor.java188 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()
DRuleBasedCollator.java1099 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/
DBytesTrieBuilder.java165 byte[] newBytes=new byte[newCapacity]; in ensureCapacity()
167 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity()
168 bytes=newBytes; in ensureCapacity()
DBytesTrie.java498 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/
DBytesTrieBuilder.java161 byte[] newBytes=new byte[newCapacity]; in ensureCapacity()
163 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity()
164 bytes=newBytes; in ensureCapacity()
DBytesTrie.java468 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/
Dbytestriebuilder.cpp382 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/
DICUBinary.java739 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/
DICUBinary.java735 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/
DLiteralByteStringTest.java265 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/
DRuleBasedCollator.java1127 byte[] newBytes = new byte[newCapacity]; in Resize()
1128 System.arraycopy(buffer_, 0, newBytes, 0, length); in Resize()
1129 buffer_ = key_.bytes = newBytes; in Resize()

12