Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrieBuilder.java75 return new BytesTrie(bytes, bytes.length-bytesLength); in build()
98 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength); in buildByteBuffer()
117 bytesLength=0; in clear()
162 System.arraycopy(bytes, bytes.length-bytesLength, in ensureCapacity()
163 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity()
175 int newLength=bytesLength+1; in write()
177 bytesLength=newLength; in write()
178 bytes[bytes.length-bytesLength]=(byte)b; in write()
179 return bytesLength; in write()
189 int newLength=bytesLength+length; in write()
[all …]
DBytesTrie.java439 public int bytesLength() { return length; }
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrieBuilder.java77 return new BytesTrie(bytes, bytes.length-bytesLength); in build()
101 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength); in buildByteBuffer()
121 bytesLength=0; in clear()
166 System.arraycopy(bytes, bytes.length-bytesLength, in ensureCapacity()
167 newBytes, newBytes.length-bytesLength, bytesLength); in ensureCapacity()
179 int newLength=bytesLength+1; in write()
181 bytesLength=newLength; in write()
182 bytes[bytes.length-bytesLength]=(byte)b; in write()
183 return bytesLength; in write()
193 int newLength=bytesLength+length; in write()
[all …]
DBytesTrie.java465 public int bytesLength() { return length; }
/external/icu/icu4c/source/common/
Dbytestriebuilder.cpp129 bytes(NULL), bytesCapacity(0), bytesLength(0) { in BytesTrieBuilder()
150 if(bytesLength>0) { in add()
195 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build()
211 result.set(bytes+(bytesCapacity-bytesLength), bytesLength); in buildStringPiece()
221 if(bytes!=NULL && bytesLength>0) { in buildBytes()
225 if(bytesLength==0) { in buildBytes()
249 bytesLength=0; in buildBytes()
274 bytesLength=0; in clear()
390 uprv_memcpy(newBytes+(newCapacity-bytesLength), in ensureCapacity()
391 bytes+(bytesCapacity-bytesLength), bytesLength); in ensureCapacity()
[all …]
/external/protobuf/java/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java634 final int bytesLength = 16 * 1024; in testReadByteArray() local
635 byte[] bytes = new byte[bytesLength]; in testReadByteArray()
637 bytes[bytesLength - 1] = (byte) 89; in testReadByteArray()
638 output.writeRawVarint32(bytesLength); in testReadByteArray()
653 assertEquals(bytesLength, result.length); in testReadByteArray()
655 assertEquals((byte) 89, result[bytesLength - 1]); in testReadByteArray()
670 final int bytesLength = 16 * 1024; in testReadByteBuffer() local
671 byte[] bytes = new byte[bytesLength]; in testReadByteBuffer()
673 bytes[bytesLength - 1] = (byte) 89; in testReadByteBuffer()
674 output.writeRawVarint32(bytesLength); in testReadByteBuffer()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DBoundedByteString.java50 private final int bytesLength; field in BoundedByteString
77 this.bytesLength = length; in BoundedByteString()
107 return bytesLength; in size()
/external/icu/icu4c/source/tools/toolutil/
Dxmlparser.cpp170 int32_t fileLength, bytesLength, length, capacity; in parseFile() local
183 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile()
184 if(bytesLength<(int32_t)sizeof(bytes)) { in parseFile()
186 fileLength=bytesLength; in parseFile()
198 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); in parseFile()
210 buffer=src.getBuffer(bytesLength); in parseFile()
221 &pb, bytes+bytesLength, in parseFile()
289 &pb, bytes+bytesLength, in parseFile()
309 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile()
310 if(bytesLength==0) { in parseFile()
Ducm.c906 table->bytesLength=table->codePointsLength=0; in ucm_resetTable()
975 idx=table->bytesLength; in ucm_addMapping()
976 table->bytesLength+=m->bLen; in ucm_addMapping()
977 if(table->bytesLength>table->bytesCapacity) { in ucm_addMapping()
Ducm.h76 int32_t bytesCapacity, bytesLength; member
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp130 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestToUnicode()
255 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestFromUnicode()
261 } else if(offsetsLength!=cc.bytesLength) { in TestFromUnicode()
263 i, cc.bytesLength, offsetsLength); in TestFromUnicode()
868 bytesLimit=source+cc.bytesLength; in stepToUnicode()
1140 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase()
1156 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase()
1220 s=printBytes(cc.bytes, cc.bytesLength, bytesString); in checkToUnicode()
1243 bytesString, cc.bytesLength, in checkToUnicode()
1648 if(cc.bytesLength!=resultLength) { in checkFromUnicode()
[all …]
Dconvtest.h39 int32_t bytesLength; member
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java690 byte[] bytesArray, int bytesBegin, int bytesLength, ByteBuffer out, in fromUWriteBytes() argument
694 int obl = bytesLength; in fromUWriteBytes()
696 int bytesLimit = bytesBegin + bytesLength; in fromUWriteBytes()
703 bytesLength = 0; in fromUWriteBytes()
709 while (obl > bytesLength) { in fromUWriteBytes()
/external/icu/icu4c/source/common/unicode/
Dbytestriebuilder.h176 int32_t bytesLength; variable
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMap.java561 int len = entry.bytesLength(); in getChars()
588 int len = bytesEntry.bytesLength(); in toString()
DBytesTrieTest.java734 for(int j=0; j<entry.bytesLength(); ++j) { in checkIterator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMap.java562 int len = entry.bytesLength(); in getChars()
589 int len = bytesEntry.bytesLength(); in toString()
DBytesTrieTest.java738 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.filebuffers_3.5.100.v20100520-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz12;ICU4J 4.8;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j49.api3.gz
Dicu4j52.api3.gz
Dicu4j51.api3.gz

12