Home
last modified time | relevance | path

Searched refs:bufferPos (Results 1 – 14 of 14) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/
DCodedInputStream.java297 private int lastPos = bufferPos;
305 byteArrayStream.write(buffer, lastPos, bufferPos - lastPos); in onRefill()
315 return ByteBuffer.wrap(buffer, lastPos, bufferPos - lastPos); in getSkippedData()
317 byteArrayStream.write(buffer, lastPos, bufferPos); in getSkippedData()
373 if (size <= (bufferSize - bufferPos) && size > 0) { in readString()
376 final String result = new String(buffer, bufferPos, size, "UTF-8"); in readString()
377 bufferPos += size; in readString()
395 int pos = bufferPos; in readStringRequireUtf8()
400 bufferPos = pos + size; in readStringRequireUtf8()
505 if (size <= (bufferSize - bufferPos) && size > 0) { in readBytes()
[all …]
DByteString.java775 private int bufferPos; field in ByteString.Output
794 if (bufferPos == buffer.length) { in write()
797 buffer[bufferPos++] = (byte)b; in write()
802 if (length <= buffer.length - bufferPos) { in write()
804 System.arraycopy(b, offset, buffer, bufferPos, length); in write()
805 bufferPos += length; in write()
808 int copySize = buffer.length - bufferPos; in write()
809 System.arraycopy(b, offset, buffer, bufferPos, copySize); in write()
816 bufferPos = length; in write()
857 cachedBufferPos = bufferPos; in writeTo()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DCodedInputStreamMicro.java198 if (size <= (bufferSize - bufferPos) && size > 0) { in readString()
201 final String result = new String(buffer, bufferPos, size, "UTF-8"); in readString()
202 bufferPos += size; in readString()
240 if (size <= (bufferSize - bufferPos) && size > 0) { in readBytes()
243 final ByteStringMicro result = ByteStringMicro.copyFrom(buffer, bufferPos, size); in readBytes()
244 bufferPos += size; in readBytes()
440 private int bufferPos; field in CodedInputStreamMicro
468 bufferPos = off; in CodedInputStreamMicro()
475 bufferPos = 0; in CodedInputStreamMicro()
539 byteLimit += totalBytesRetired + bufferPos; in pushLimit()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DCodedInputByteBufferNano.java193 if (size > (bufferSize - bufferPos)) { in readString()
197 final String result = new String(buffer, bufferPos, size, "UTF-8"); in readString()
198 bufferPos += size; in readString()
238 if (size > (bufferSize - bufferPos)) { in readBytes()
243 System.arraycopy(buffer, bufferPos, result, 0, size); in readBytes()
244 bufferPos += size; in readBytes()
402 private int bufferPos; field in CodedInputByteBufferNano
422 bufferPos = off; in CodedInputByteBufferNano()
483 byteLimit += bufferPos; in pushLimit()
526 final int currentAbsolutePosition = bufferPos; in getBytesUntilLimit()
[all …]
/external/icu/icu4c/source/common/
Dnormlzr.cpp36 buffer(), bufferPos(0) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
45 buffer(), bufferPos(0) in Normalizer()
54 buffer(), bufferPos(0) in Normalizer()
63 buffer(copy.buffer), bufferPos(copy.bufferPos) in Normalizer()
100 …return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextI… in hashCode()
111 bufferPos==that.bufferPos && in operator ==()
249 if(bufferPos<buffer.length() || nextNormalize()) { in current()
250 return buffer.char32At(bufferPos); in current()
262 if(bufferPos<buffer.length() || nextNormalize()) { in next()
263 UChar32 c=buffer.char32At(bufferPos); in next()
[all …]
Dunames.cpp213 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ argument
218 ++(bufferPos); \
240 uint16_t token, tokenCount=*tokens++, bufferPos=0; in expandName() local
277 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
292 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
297 if(!bufferPos && nameChoice == U_EXTENDED_CHAR_NAME) { in expandName()
309 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
320 return bufferPos; in expandName()
777 uint16_t i, factor, bufferPos=0; in writeFactorSuffix() local
818 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in writeFactorSuffix()
[all …]
/external/lzma/CPP/7zip/Common/
DFilterCoder.cpp43 UInt32 bufferPos = 0; in Code() local
50 size_t processedSize = kBufferSize - bufferPos; in Code()
53 RINOK(ReadStream(inStream, _buffer + bufferPos, &processedSize)); in Code()
55 UInt32 endPos = bufferPos + (UInt32)processedSize; in Code()
57 bufferPos = Filter->Filter(_buffer, endPos); in Code()
58 if (bufferPos > endPos) in Code()
60 for (; endPos < bufferPos; endPos++) in Code()
62 bufferPos = Filter->Filter(_buffer, endPos); in Code()
65 if (bufferPos == 0) in Code()
71 RINOK(WriteWithLimit(outStream, bufferPos)); in Code()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java145 private int bufferPos; field in Normalizer
635 copy.bufferPos = bufferPos; in clone()
1479 if(bufferPos<buffer.length() || nextNormalize()) { in current()
1480 return buffer.codePointAt(bufferPos); in current()
1495 if(bufferPos<buffer.length() || nextNormalize()) { in next()
1496 int c=buffer.codePointAt(bufferPos); in next()
1497 bufferPos+=Character.charCount(c); in next()
1514 if(bufferPos>0 || previousNormalize()) { in previous()
1515 int c=buffer.codePointBefore(bufferPos); in previous()
1516 bufferPos-=Character.charCount(c); in previous()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer.java144 private int bufferPos; field in Normalizer
648 copy.bufferPos = bufferPos; in clone()
1514 if(bufferPos<buffer.length() || nextNormalize()) { in current()
1515 return buffer.codePointAt(bufferPos); in current()
1531 if(bufferPos<buffer.length() || nextNormalize()) { in next()
1532 int c=buffer.codePointAt(bufferPos); in next()
1533 bufferPos+=Character.charCount(c); in next()
1551 if(bufferPos>0 || previousNormalize()) { in previous()
1552 int c=buffer.codePointBefore(bufferPos); in previous()
1553 bufferPos-=Character.charCount(c); in previous()
[all …]
/external/icu/icu4c/source/common/unicode/
Dnormlzr.h767 int32_t bufferPos; variable
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v1/lib/main/
Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org ...