/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BytesTrieBuilder.java | 82 return new BytesTrie(bytes, bytes.length-bytesLength); in build() 106 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength); in buildByteBuffer() 126 bytesLength=0; in clear() 171 System.arraycopy(bytes, bytes.length-bytesLength, in ensureCapacity() 172 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity() 184 int newLength=bytesLength+1; in write() 186 bytesLength=newLength; in write() 187 bytes[bytes.length-bytesLength]=(byte)b; in write() 188 return bytesLength; in write() 198 int newLength=bytesLength+length; in write() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | BytesTrieBuilder.java | 77 return new BytesTrie(bytes, bytes.length-bytesLength); in build() 100 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength); in buildByteBuffer() 119 bytesLength=0; in clear() 164 System.arraycopy(bytes, bytes.length-bytesLength, in ensureCapacity() 165 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity() 177 int newLength=bytesLength+1; in write() 179 bytesLength=newLength; in write() 180 bytes[bytes.length-bytesLength]=(byte)b; in write() 181 return bytesLength; in write() 191 int newLength=bytesLength+length; in write() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | bytestriebuilder.cpp | 131 bytes(NULL), bytesCapacity(0), bytesLength(0) { in BytesTrieBuilder() 152 if(bytesLength>0) { in add() 197 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build() 213 result.set(bytes+(bytesCapacity-bytesLength), bytesLength); in buildStringPiece() 223 if(bytes!=NULL && bytesLength>0) { in buildBytes() 227 if(bytesLength==0) { in buildBytes() 251 bytesLength=0; in buildBytes() 276 bytesLength=0; in clear() 393 uprv_memcpy(newBytes+(newCapacity-bytesLength), in ensureCapacity() 394 bytes+(bytesCapacity-bytesLength), bytesLength); in ensureCapacity() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | bytestriebuilder.cpp | 131 bytes(NULL), bytesCapacity(0), bytesLength(0) { in BytesTrieBuilder() 152 if(bytesLength>0) { in add() 197 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build() 213 result.set(bytes+(bytesCapacity-bytesLength), bytesLength); in buildStringPiece() 223 if(bytes!=NULL && bytesLength>0) { in buildBytes() 227 if(bytesLength==0) { in buildBytes() 251 bytesLength=0; in buildBytes() 276 bytesLength=0; in clear() 393 uprv_memcpy(newBytes+(newCapacity-bytesLength), in ensureCapacity() 394 bytes+(bytesCapacity-bytesLength), bytesLength); in ensureCapacity() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | bytestriebuilder.cpp | 131 bytes(NULL), bytesCapacity(0), bytesLength(0) { in BytesTrieBuilder() 152 if(bytesLength>0) { in add() 197 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build() 213 result.set(bytes+(bytesCapacity-bytesLength), bytesLength); in buildStringPiece() 223 if(bytes!=NULL && bytesLength>0) { in buildBytes() 227 if(bytesLength==0) { in buildBytes() 251 bytesLength=0; in buildBytes() 276 bytesLength=0; in clear() 393 uprv_memcpy(newBytes+(newCapacity-bytesLength), in ensureCapacity() 394 bytes+(bytesCapacity-bytesLength), bytesLength); in ensureCapacity() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | bytestriebuilder.cpp | 131 bytes(NULL), bytesCapacity(0), bytesLength(0) { in BytesTrieBuilder() 152 if(bytesLength>0) { in add() 197 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build() 213 result.set(bytes+(bytesCapacity-bytesLength), bytesLength); in buildStringPiece() 223 if(bytes!=NULL && bytesLength>0) { in buildBytes() 227 if(bytesLength==0) { in buildBytes() 251 bytesLength=0; in buildBytes() 276 bytesLength=0; in clear() 393 uprv_memcpy(newBytes+(newCapacity-bytesLength), in ensureCapacity() 394 bytes+(bytesCapacity-bytesLength), bytesLength); in ensureCapacity() [all …]
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | CodedInputStreamTest.java | 951 final int bytesLength = 16 * 1024; in testReadByteArray() local 952 byte[] bytes = new byte[bytesLength]; in testReadByteArray() 954 bytes[bytesLength - 1] = (byte) 89; in testReadByteArray() 955 output.writeRawVarint32(bytesLength); in testReadByteArray() 973 assertEquals(inputType.name(), bytesLength, result.length); in testReadByteArray() local 975 assertEquals(inputType.name(), (byte) 89, result[bytesLength - 1]); in testReadByteArray() 1039 final int bytesLength = 16 * 1024; in testReadByteBuffer() local 1040 byte[] bytes = new byte[bytesLength]; in testReadByteBuffer() 1042 bytes[bytesLength - 1] = (byte) 89; in testReadByteBuffer() 1043 output.writeRawVarint32(bytesLength); in testReadByteBuffer() [all …]
|
/third_party/icu/icu4c/source/tools/toolutil/ |
D | xmlparser.cpp | 172 int32_t fileLength, bytesLength, length, capacity; in parseFile() local 185 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 186 if(bytesLength<(int32_t)sizeof(bytes)) { in parseFile() 188 fileLength=bytesLength; in parseFile() 200 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); in parseFile() 212 buffer=toUCharPtr(src.getBuffer(bytesLength)); in parseFile() 223 &pb, bytes+bytesLength, in parseFile() 291 &pb, bytes+bytesLength, in parseFile() 311 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 312 if(bytesLength==0) { in parseFile()
|
D | ucm.cpp | 911 table->bytesLength=table->codePointsLength=0; in ucm_resetTable() 980 idx=table->bytesLength; in ucm_addMapping() 981 table->bytesLength+=m->bLen; in ucm_addMapping() 982 if(table->bytesLength>table->bytesCapacity) { in ucm_addMapping()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
D | xmlparser.cpp | 172 int32_t fileLength, bytesLength, length, capacity; in parseFile() local 185 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 186 if(bytesLength<(int32_t)sizeof(bytes)) { in parseFile() 188 fileLength=bytesLength; in parseFile() 200 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); in parseFile() 212 buffer=toUCharPtr(src.getBuffer(bytesLength)); in parseFile() 223 &pb, bytes+bytesLength, in parseFile() 291 &pb, bytes+bytesLength, in parseFile() 311 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 312 if(bytesLength==0) { in parseFile()
|
D | ucm.cpp | 911 table->bytesLength=table->codePointsLength=0; in ucm_resetTable() 980 idx=table->bytesLength; in ucm_addMapping() 981 table->bytesLength+=m->bLen; in ucm_addMapping() 982 if(table->bytesLength>table->bytesCapacity) { in ucm_addMapping()
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/ |
D | xmlparser.cpp | 172 int32_t fileLength, bytesLength, length, capacity; in parseFile() local 185 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 186 if(bytesLength<(int32_t)sizeof(bytes)) { in parseFile() 188 fileLength=bytesLength; in parseFile() 200 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); in parseFile() 212 buffer=toUCharPtr(src.getBuffer(bytesLength)); in parseFile() 223 &pb, bytes+bytesLength, in parseFile() 291 &pb, bytes+bytesLength, in parseFile() 311 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 312 if(bytesLength==0) { in parseFile()
|
D | ucm.cpp | 911 table->bytesLength=table->codePointsLength=0; in ucm_resetTable() 980 idx=table->bytesLength; in ucm_addMapping() 981 table->bytesLength+=m->bLen; in ucm_addMapping() 982 if(table->bytesLength>table->bytesCapacity) { in ucm_addMapping()
|
D | ucm.h | 78 int32_t bytesCapacity, bytesLength; member
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
D | xmlparser.cpp | 172 int32_t fileLength, bytesLength, length, capacity; in parseFile() local 185 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 186 if(bytesLength<(int32_t)sizeof(bytes)) { in parseFile() 188 fileLength=bytesLength; in parseFile() 200 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); in parseFile() 212 buffer=toUCharPtr(src.getBuffer(bytesLength)); in parseFile() 223 &pb, bytes+bytesLength, in parseFile() 291 &pb, bytes+bytesLength, in parseFile() 311 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 312 if(bytesLength==0) { in parseFile()
|
D | ucm.cpp | 911 table->bytesLength=table->codePointsLength=0; in ucm_resetTable() 980 idx=table->bytesLength; in ucm_addMapping() 981 table->bytesLength+=m->bLen; in ucm_addMapping() 982 if(table->bytesLength>table->bytesCapacity) { in ucm_addMapping()
|
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetEncoderICU.java | 699 byte[] bytesArray, int bytesBegin, int bytesLength, ByteBuffer out, in fromUWriteBytes() argument 703 int obl = bytesLength; in fromUWriteBytes() 705 int bytesLimit = bytesBegin + bytesLength; in fromUWriteBytes() 712 bytesLength = 0; in fromUWriteBytes() 718 while (obl > bytesLength) { in fromUWriteBytes()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | convtest.cpp | 120 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestToUnicode() 236 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestFromUnicode() 242 } else if(offsetsLength!=cc.bytesLength) { in TestFromUnicode() 244 i, cc.bytesLength, offsetsLength); in TestFromUnicode() 1011 bytesLimit=source+cc.bytesLength; in stepToUnicode() 1288 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase() 1304 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase() 1368 s=printBytes(cc.bytes, cc.bytesLength, bytesString); in checkToUnicode() 1391 bytesString, cc.bytesLength, in checkToUnicode() 1800 if(cc.bytesLength!=resultLength) { in checkFromUnicode() [all …]
|
D | convtest.h | 41 int32_t bytesLength; member
|
/third_party/icu/icu4c/source/common/unicode/ |
D | bytestriebuilder.h | 186 int32_t bytesLength; variable
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | bytestriebuilder.h | 186 int32_t bytesLength; variable
|
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/ |
D | bytestriebuilder.h | 177 int32_t bytesLength; variable
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 1538 private final int bytesLength; field in BoundedByteString 1554 this.bytesLength = length; in BoundedByteString() 1581 return bytesLength; in size()
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | bytestriebuilder.h | 186 int32_t bytesLength; variable
|
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
D | TestData.java | 131 int length = entry.bytesLength(); in getTrieTable()
|