Home
last modified time | relevance | path

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

/third_party/node/deps/icu-small/source/i18n/
Dsortkey.cpp102 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()
/third_party/skia/third_party/externals/icu/source/i18n/
Dsortkey.cpp102 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()
/third_party/icu/icu4c/source/i18n/
Dsortkey.cpp102 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()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dsortkey.cpp102 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DUnicodeDecompressor.java190 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()
DRuleBasedCollator.java1102 byte[] newBytes = new byte[newCapacity]; in Resize()
1103 System.arraycopy(buffer_, 0, newBytes, 0, length); in Resize()
1104 buffer_ = key_.bytes = newBytes; in Resize()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeDecompressor.java193 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()
/third_party/protobuf/js/experimental/runtime/kernel/
Dkernel_test.js289 const newBytes = createArrayBuffer(0x08, 0x01); constant
291 expect(accessor.serialize()).toEqual(newBytes);
747 const newBytes = createArrayBuffer(0x0A, 0x01, 0x01); constant
749 expect(accessor.serialize()).toEqual(newBytes);
845 const newBytes = createArrayBuffer(0x0D, 0x00, 0x00, 0x00, 0x00); constant
847 expect(accessor.serialize()).toEqual(newBytes);
953 const newBytes = constant
956 expect(accessor.serialize()).toEqual(newBytes);
1047 const newBytes = createArrayBuffer(0x0D, 0x00, 0x00, 0x00, 0x00); constant
1049 expect(accessor.serialize()).toEqual(newBytes);
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrieBuilder.java170 byte[] newBytes=new byte[newCapacity]; in ensureCapacity()
172 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity()
173 bytes=newBytes; in ensureCapacity()
DBytesTrie.java550 byte[] newBytes=new byte[Math.min(2*bytes.length, 2*len)];
551 System.arraycopy(bytes, 0, newBytes, 0, length);
552 bytes=newBytes;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DBytesTrieBuilder.java163 byte[] newBytes=new byte[newCapacity]; in ensureCapacity()
165 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity()
166 bytes=newBytes; in ensureCapacity()
DBytesTrie.java519 byte[] newBytes=new byte[Math.min(2*bytes.length, 2*len)];
520 System.arraycopy(bytes, 0, newBytes, 0, length);
521 bytes=newBytes;
/third_party/flutter/flutter/packages/flutter_test/test/
Dgoldens_test.dart172 const List<int> newBytes = <int>[11, 12, 13];
173 await comparator.update(fs.file('golden.png').uri, Uint8List.fromList(newBytes));
174 expect(fs.file(fix('/golden.png')).readAsBytesSync(), newBytes);
179 const List<int> newBytes = <int>[11, 12, 13];
180 await comparator.update(fs.file('foo.png').uri, Uint8List.fromList(newBytes));
182 expect(fs.file(fix('/foo.png')).readAsBytesSync(), newBytes);
/third_party/icu/icu4c/source/common/
Dbytestriebuilder.cpp385 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()
/third_party/node/deps/icu-small/source/common/
Dbytestriebuilder.cpp385 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()
/third_party/skia/third_party/externals/icu/source/common/
Dbytestriebuilder.cpp385 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()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dbytestriebuilder.cpp385 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()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLiteralByteStringTest.java253 byte[] newBytes = stringUnderTest.toByteArray(); in testWriteTo_mutating()
255 Arrays.equals(referenceBytes, newBytes)); in testWriteTo_mutating()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java1130 byte[] newBytes = new byte[newCapacity]; in Resize()
1131 System.arraycopy(buffer_, 0, newBytes, 0, length); in Resize()
1132 buffer_ = key_.bytes = newBytes; in Resize()