Home
last modified time | relevance | path

Searched refs:bytesLength (Results 1 – 25 of 32) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrieBuilder.java77 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 …]
DBytesTrie.java442 public int bytesLength() { return length; }
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrieBuilder.java79 return new BytesTrie(bytes, bytes.length-bytesLength); in build()
103 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength); in buildByteBuffer()
123 bytesLength=0; in clear()
168 System.arraycopy(bytes, bytes.length-bytesLength, in ensureCapacity()
169 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity()
181 int newLength=bytesLength+1; in write()
183 bytesLength=newLength; in write()
184 bytes[bytes.length-bytesLength]=(byte)b; in write()
185 return bytesLength; in write()
195 int newLength=bytesLength+length; in write()
[all …]
DBytesTrie.java468 public int bytesLength() { return length; }
/external/icu/icu4c/source/common/
Dbytestriebuilder.cpp131 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()
392 uprv_memcpy(newBytes+(newCapacity-bytesLength), in ensureCapacity()
393 bytes+(bytesCapacity-bytesLength), bytesLength); in ensureCapacity()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java686 final int bytesLength = 16 * 1024; in testReadByteArray() local
687 byte[] bytes = new byte[bytesLength]; in testReadByteArray()
689 bytes[bytesLength - 1] = (byte) 89; in testReadByteArray()
690 output.writeRawVarint32(bytesLength); in testReadByteArray()
705 assertEquals(bytesLength, result.length); in testReadByteArray()
707 assertEquals((byte) 89, result[bytesLength - 1]); in testReadByteArray()
722 final int bytesLength = 16 * 1024; in testReadByteBuffer() local
723 byte[] bytes = new byte[bytesLength]; in testReadByteBuffer()
725 bytes[bytesLength - 1] = (byte) 89; in testReadByteBuffer()
726 output.writeRawVarint32(bytesLength); in testReadByteBuffer()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dxmlparser.cpp172 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()
Ducm.cpp911 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()
Ducm.h78 int32_t bytesCapacity, bytesLength; member
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java699 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()
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp128 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestToUnicode()
253 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestFromUnicode()
259 } else if(offsetsLength!=cc.bytesLength) { in TestFromUnicode()
261 i, cc.bytesLength, offsetsLength); in TestFromUnicode()
940 bytesLimit=source+cc.bytesLength; in stepToUnicode()
1213 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase()
1229 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase()
1293 s=printBytes(cc.bytes, cc.bytesLength, bytesString); in checkToUnicode()
1316 bytesString, cc.bytesLength, in checkToUnicode()
1721 if(cc.bytesLength!=resultLength) { in checkFromUnicode()
[all …]
Dconvtest.h41 int32_t bytesLength; member
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java1471 private final int bytesLength; field in BoundedByteString
1489 this.bytesLength = length; in BoundedByteString()
1512 return bytesLength; in size()
/external/icu/icu4c/source/common/unicode/
Dbytestriebuilder.h178 int32_t bytesLength; variable
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMap.java564 int len = entry.bytesLength(); in getChars()
591 int len = bytesEntry.bytesLength(); in toString()
DBytesTrieTest.java759 for(int j=0; j<entry.bytesLength(); ++j) { in checkIterator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMap.java563 int len = entry.bytesLength(); in getChars()
590 int len = bytesEntry.bytesLength(); in toString()
DBytesTrieTest.java756 for(int j=0; j<entry.bytesLength(); ++j) { in checkIterator()
/external/robolectric/v1/src/main/java/android/net/
DUri__FromAndroid.java1744 int bytesLength = bytes.length; in encode() local
1745 for (int i = 0; i < bytesLength; i++) { in encode()
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz
Dicu4j52.api3.gz
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j49.api3.gz
Dicu4j51.api3.gz12;ICU4J 51.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j55.api3.gz

12