/external/protobuf/csharp/src/Google.Protobuf/ |
D | CodedInputStream.cs | 76 private int bufferPos = 0; field in Google.Protobuf.CodedInputStream 169 …internal CodedInputStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, bool leaveOp… in CodedInputStream() argument 173 this.bufferPos = bufferPos; in CodedInputStream() 188 …internal CodedInputStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, int sizeLimi… in CodedInputStream() argument 189 : this(input, buffer, bufferPos, bufferSize, leaveOpen) in CodedInputStream() 233 return input.Position - ((bufferSize + bufferSizeAfterLimit) - bufferPos); 235 return bufferPos; 353 if (bufferPos + 2 <= bufferSize) in ReadTag() 355 int tmp = buffer[bufferPos++]; in ReadTag() 363 if ((tmp = buffer[bufferPos++]) < 128) in ReadTag() [all …]
|
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/ |
D | CodedInputStreamMicro.java | 198 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/javanano/src/main/java/com/google/protobuf/nano/ |
D | CodedInputByteBufferNano.java | 190 if (size <= (bufferSize - bufferPos) && size > 0) { in readString() 193 final String result = new String(buffer, bufferPos, size, InternalNano.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() 401 private int bufferPos; field in CodedInputByteBufferNano 421 bufferPos = off; in CodedInputByteBufferNano() 482 byteLimit += bufferPos; in pushLimit() 525 final int currentAbsolutePosition = bufferPos; in getBytesUntilLimit() [all …]
|
/external/icu/icu4c/source/common/ |
D | normlzr.cpp | 44 buffer(), bufferPos(0) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 53 buffer(), bufferPos(0) in Normalizer() 62 buffer(), bufferPos(0) in Normalizer() 71 buffer(copy.buffer), bufferPos(copy.bufferPos) in Normalizer() 108 …return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextI… in hashCode() 119 bufferPos==that.bufferPos && in operator ==() 257 if(bufferPos<buffer.length() || nextNormalize()) { in current() 258 return buffer.char32At(bufferPos); in current() 270 if(bufferPos<buffer.length() || nextNormalize()) { in next() 271 UChar32 c=buffer.char32At(bufferPos); in next() [all …]
|
D | unames.cpp | 215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \ 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/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 992 private int bufferPos; field in Output 1010 if (bufferPos == buffer.length) { in write() 1013 buffer[bufferPos++] = (byte) b; in write() 1018 if (length <= buffer.length - bufferPos) { in write() 1020 System.arraycopy(b, offset, buffer, bufferPos, length); in write() 1021 bufferPos += length; in write() 1024 int copySize = buffer.length - bufferPos; in write() 1025 System.arraycopy(b, offset, buffer, bufferPos, copySize); in write() 1032 bufferPos = length; in write() 1070 cachedBufferPos = bufferPos; in writeTo() [all …]
|
D | CodedInputStream.java | 1525 final int bufferPos = bufferPos(pos); in readStringRequireUtf8() local 1526 String result = Utf8.decodeUtf8(buffer, bufferPos, size); in readStringRequireUtf8() 2002 private int bufferPos(long pos) { in bufferPos() method in CodedInputStream.UnsafeDirectNioDecoder 2010 buffer.position(bufferPos(begin)); in slice() 2011 buffer.limit(bufferPos(end)); in slice() 3375 final int bufferPos = (int) (currentByteBufferPos - currentByteBufferStartPos); in readStringRequireUtf8() local 3376 String result = Utf8.decodeUtf8(currentByteBuffer, bufferPos, size); in readStringRequireUtf8()
|
D | CodedOutputStream.java | 2083 buffer.putInt(bufferPos(position), value); in writeFixed32NoTag() 2117 buffer.putLong(bufferPos(position), value); in writeFixed64NoTag() 2173 int stringStart = bufferPos(position) + minLengthVarIntSize; in writeStringNoTag() 2211 originalBuffer.position(bufferPos(position)); in flush() 2225 buffer.position(bufferPos(pos)); in repositionBuffer() 2228 private int bufferPos(long pos) { in bufferPos() method in CodedOutputStream.UnsafeDirectNioEncoder
|
D | BinaryWriter.java | 2589 return bufferPos() + 1; in spaceLeft() 2597 buffer.position(bufferPos() + 1); in finishCurrentBuffer() 2604 private int bufferPos() { in bufferPos() method in BinaryWriter.UnsafeDirectWriter 3009 buffer.position(bufferPos() + 1); in write() 3028 buffer.position(bufferPos() + 1); in writeLazy() 3040 buffer.position(bufferPos() + 1); in write() 3060 buffer.position(bufferPos() + 1); in writeLazy()
|
/external/protobuf/objectivec/ |
D | GPBCodedInputStream.m | 78 size_t newSize = state->bufferPos + size; 84 state->bufferPos = state->currentLimit; 91 return ((int8_t *)state->bytes)[state->bufferPos++]; 96 int32_t value = OSReadLittleInt32(state->bytes, state->bufferPos); 97 state->bufferPos += sizeof(int32_t); 103 int64_t value = OSReadLittleInt64(state->bytes, state->bufferPos); 104 state->bufferPos += sizeof(int64_t); 129 state->bufferPos += size; 229 result = [[NSString alloc] initWithBytes:&state->bytes[state->bufferPos] 232 state->bufferPos += size; [all …]
|
D | GPBCodedInputStream_PackagePrivate.h | 43 size_t bufferPos; member
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Normalizer.java | 146 private int bufferPos; field in Normalizer 657 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/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Normalizer.java | 147 private int bufferPos; field in Normalizer 643 copy.bufferPos = bufferPos; in clone() 1487 if(bufferPos<buffer.length() || nextNormalize()) { in current() 1488 return buffer.codePointAt(bufferPos); in current() 1503 if(bufferPos<buffer.length() || nextNormalize()) { in next() 1504 int c=buffer.codePointAt(bufferPos); in next() 1505 bufferPos+=Character.charCount(c); in next() 1522 if(bufferPos>0 || previousNormalize()) { in previous() 1523 int c=buffer.codePointBefore(bufferPos); in previous() 1524 bufferPos-=Character.charCount(c); in previous() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | normlzr.h | 772 int32_t bufferPos; variable
|
/external/icu/libicu/cts_headers/unicode/ |
D | normlzr.h | 772 int32_t bufferPos; variable
|