Home
last modified time | relevance | path

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

/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()
438 private int bufferPos; field in CodedInputStreamMicro
466 bufferPos = off; in CodedInputStreamMicro()
473 bufferPos = 0; in CodedInputStreamMicro()
537 byteLimit += totalBytesRetired + bufferPos; in pushLimit()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DCodedInputStream.java201 if (size <= (bufferSize - bufferPos) && size > 0) { in readString()
204 final String result = new String(buffer, bufferPos, size, "UTF-8"); in readString()
205 bufferPos += size; in readString()
266 if (size <= (bufferSize - bufferPos) && size > 0) { in readBytes()
269 final ByteString result = ByteString.copyFrom(buffer, bufferPos, size); in readBytes()
270 bufferPos += size; in readBytes()
482 private int bufferPos; field in CodedInputStream
512 bufferPos = off; in CodedInputStream()
520 bufferPos = 0; in CodedInputStream()
572 totalBytesRetired = -bufferPos; in resetSizeCounter()
[all …]
/external/chromium_org/third_party/lzma_sdk/
DBra86.c13 SizeT bufferPos = 0, prevPosT; in x86_Convert() local
22 Byte *p = data + bufferPos; in x86_Convert()
27 bufferPos = (SizeT)(p - data); in x86_Convert()
30 prevPosT = bufferPos - prevPosT; in x86_Convert()
41 prevPosT = bufferPos; in x86_Convert()
43 bufferPos++; in x86_Convert()
48 prevPosT = bufferPos; in x86_Convert()
59 dest = (ip + (UInt32)bufferPos) + src; in x86_Convert()
61 dest = src - (ip + (UInt32)bufferPos); in x86_Convert()
74 bufferPos += 5; in x86_Convert()
[all …]
/external/lzma/C/
DBra86.c13 SizeT bufferPos = 0, prevPosT; in x86_Convert() local
22 Byte *p = data + bufferPos; in x86_Convert()
27 bufferPos = (SizeT)(p - data); in x86_Convert()
30 prevPosT = bufferPos - prevPosT; in x86_Convert()
41 prevPosT = bufferPos; in x86_Convert()
43 bufferPos++; in x86_Convert()
48 prevPosT = bufferPos; in x86_Convert()
59 dest = (ip + (UInt32)bufferPos) + src; in x86_Convert()
61 dest = src - (ip + (UInt32)bufferPos); in x86_Convert()
74 bufferPos += 5; in x86_Convert()
[all …]
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DCodedInputStream.java219 if (size <= (bufferSize - bufferPos) && size > 0) { in readString()
222 final String result = new String(buffer, bufferPos, size, "UTF-8"); in readString()
223 bufferPos += size; in readString()
321 } else if (size <= (bufferSize - bufferPos) && size > 0) { in readBytes()
324 final ByteString result = ByteString.copyFrom(buffer, bufferPos, size); in readBytes()
325 bufferPos += size; in readBytes()
537 private int bufferPos; field in CodedInputStream
567 bufferPos = off; in CodedInputStream()
575 bufferPos = 0; in CodedInputStream()
627 totalBytesRetired = -bufferPos; in resetSizeCounter()
[all …]
DByteString.java723 private int bufferPos; field in ByteString.Output
742 if (bufferPos == buffer.length) { in write()
745 buffer[bufferPos++] = (byte)b; in write()
750 if (length <= buffer.length - bufferPos) { in write()
752 System.arraycopy(b, offset, buffer, bufferPos, length); in write()
753 bufferPos += length; in write()
756 int copySize = buffer.length - bufferPos; in write()
757 System.arraycopy(b, offset, buffer, bufferPos, copySize); in write()
764 bufferPos = length; in write()
805 cachedBufferPos = bufferPos; in writeTo()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DCodedInputByteBufferNano.java190 if (size <= (bufferSize - bufferPos) && size > 0) { in readString()
193 final String result = new String(buffer, bufferPos, size, "UTF-8"); in readString()
194 bufferPos += size; in readString()
232 if (size <= (bufferSize - bufferPos) && size > 0) { in readBytes()
236 System.arraycopy(buffer, bufferPos, result, 0, size); in readBytes()
237 bufferPos += size; in readBytes()
399 private int bufferPos; field in CodedInputByteBufferNano
419 bufferPos = off; in CodedInputByteBufferNano()
480 byteLimit += bufferPos; in pushLimit()
523 final int currentAbsolutePosition = bufferPos; in getBytesUntilLimit()
[all …]
/external/lzma/CPP/7zip/Compress/
DBcj2Coder.cpp102 UInt32 bufferPos = 0; in CodeReal() local
115 UInt32 size = kBufferSize - (bufferPos + processedSize); in CodeReal()
119 RINOK(inStream->Read(_buffer + bufferPos + processedSize, size, &processedSizeLoc)); in CodeReal()
124 UInt32 endPos = bufferPos + processedSize; in CodeReal()
129 for (bufferPos = 0; bufferPos < endPos; bufferPos++) in CodeReal()
131 Byte b = _buffer[bufferPos]; in CodeReal()
151 bufferPos = 0; in CodeReal()
154 while(bufferPos <= limit) in CodeReal()
156 Byte b = _buffer[bufferPos]; in CodeReal()
160 bufferPos++; in CodeReal()
[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/chromium_org/third_party/icu/source/common/
Dnormlzr.cpp35 buffer(), bufferPos(0) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
44 buffer(), bufferPos(0) in Normalizer()
53 buffer(), bufferPos(0) in Normalizer()
62 buffer(copy.buffer), bufferPos(copy.bufferPos) in Normalizer()
101 …return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextI… in hashCode()
112 bufferPos==that.bufferPos && in operator ==()
250 if(bufferPos<buffer.length() || nextNormalize()) { in current()
251 return buffer.char32At(bufferPos); in current()
263 if(bufferPos<buffer.length() || nextNormalize()) { in next()
264 UChar32 c=buffer.char32At(bufferPos); in next()
[all …]
Dunames.c236 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ argument
241 ++(bufferPos); \
263 uint16_t token, tokenCount=*tokens++, bufferPos=0; in expandName() local
300 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
315 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
320 if(!bufferPos && nameChoice == U_EXTENDED_CHAR_NAME) { in expandName()
332 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
343 return bufferPos; in expandName()
788 uint16_t i, factor, bufferPos=0; in writeFactorSuffix() local
829 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in writeFactorSuffix()
[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.cpp215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ argument
220 ++(bufferPos); \
242 uint16_t token, tokenCount=*tokens++, bufferPos=0; in expandName() local
279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
299 if(!bufferPos && nameChoice == U_EXTENDED_CHAR_NAME) { in expandName()
311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
322 return bufferPos; in expandName()
779 uint16_t i, factor, bufferPos=0; in writeFactorSuffix() local
820 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in writeFactorSuffix()
[all …]
/external/chromium_org/third_party/icu/source/common/unicode/
Dnormlzr.h757 int32_t bufferPos; variable
/external/icu/icu4c/source/common/unicode/
Dnormlzr.h757 int32_t bufferPos; variable