Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/
DParsingPrimitivesWrappers.cs55 if (state.bufferPos + 6 <= state.bufferSize) in ReadFloatWrapperLittleEndian()
58 int length = buffer[state.bufferPos]; in ReadFloatWrapperLittleEndian()
61 state.bufferPos++; in ReadFloatWrapperLittleEndian()
66 if (length != 5 || buffer[state.bufferPos + 1] != 13) in ReadFloatWrapperLittleEndian()
70 state.bufferPos += 2; in ReadFloatWrapperLittleEndian()
86 int finalBufferPos = state.totalBytesRetired + state.bufferPos + length; in ReadFloatWrapperSlow()
100 while (state.totalBytesRetired + state.bufferPos < finalBufferPos); in ReadFloatWrapperSlow()
107 if (state.bufferPos + 10 <= state.bufferSize) in ReadDoubleWrapperLittleEndian()
110 int length = buffer[state.bufferPos]; in ReadDoubleWrapperLittleEndian()
113 state.bufferPos++; in ReadDoubleWrapperLittleEndian()
[all …]
DParsingPrimitives.cs86 if (state.bufferPos + 2 <= state.bufferSize) in ParseTag()
88 int tmp = buffer[state.bufferPos++]; in ParseTag()
96 if ((tmp = buffer[state.bufferPos++]) < 128) in ParseTag()
104 state.bufferPos -= 2; in ParseTag()
166 if (state.bufferPos + 10 > state.bufferSize) in ParseRawVarint64()
171 ulong result = buffer[state.bufferPos++]; in ParseRawVarint64()
180 byte b = buffer[state.bufferPos++]; in ParseRawVarint64()
220 if (state.bufferPos + 5 > state.bufferSize) in ParseRawVarint32()
225 int tmp = buffer[state.bufferPos++]; in ParseRawVarint32()
231 if ((tmp = buffer[state.bufferPos++]) < 128) in ParseRawVarint32()
[all …]
DSegmentedBufferHelper.cs119 byteLimit += state.totalBytesRetired + state.bufferPos; in PushLimit()
151 int currentAbsolutePosition = state.totalBytesRetired + state.bufferPos; in IsReachedLimit()
163 …return state.bufferPos == state.bufferSize && !state.segmentedBufferHelper.RefillBuffer(ref buffer… in IsAtEnd()
185 state.bufferPos = 0; in RefillFromReadOnlySequence()
242 state.bufferPos = 0; in RefillFromCodedInputStream()
290 if (state.bufferPos < state.bufferSize) in CheckCurrentBufferIsEmpty()
DCodedInputStream.cs139 …internal CodedInputStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, bool leaveOp… in CodedInputStream() argument
143 this.state.bufferPos = bufferPos; in CodedInputStream()
161 …internal CodedInputStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, int sizeLimi… in CodedInputStream() argument
162 : this(input, buffer, bufferPos, bufferSize, leaveOpen) in CodedInputStream()
206 … return input.Position - ((state.bufferSize + state.bufferSizeAfterLimit) - state.bufferPos);
208 return state.bufferPos;
DParserInternalState.cs56 internal int bufferPos; field
DParseContext.cs100 ctx.state.bufferPos = 0; in Initialize()
/third_party/node/deps/icu-small/source/common/
Dnormlzr.cpp44 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 …]
Dunames.cpp215 #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 …]
/third_party/icu/icu4c/source/common/
Dnormlzr.cpp44 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 …]
Dunames.cpp215 #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 …]
/third_party/skia/third_party/externals/icu/source/common/
Dnormlzr.cpp44 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 …]
Dunames.cpp215 #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 …]
/third_party/protobuf/objectivec/
DGPBCodedInputStream.m78 size_t newSize = state->bufferPos + size;
84 state->bufferPos = state->currentLimit;
91 return ((int8_t *)state->bytes)[state->bufferPos++];
99 memcpy(&value, state->bytes + state->bufferPos, sizeof(int32_t));
101 state->bufferPos += sizeof(int32_t);
110 memcpy(&value, state->bytes + state->bufferPos, sizeof(int64_t));
112 state->bufferPos += sizeof(int64_t);
137 state->bufferPos += size;
237 result = [[NSString alloc] initWithBytes:&state->bytes[state->bufferPos]
240 state->bufferPos += size;
[all …]
DGPBCodedInputStream_PackagePrivate.h43 size_t bufferPos; member
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java1001 private int bufferPos; field in Output
1019 if (bufferPos == buffer.length) { in write()
1022 buffer[bufferPos++] = (byte) b; in write()
1027 if (length <= buffer.length - bufferPos) { in write()
1029 System.arraycopy(b, offset, buffer, bufferPos, length); in write()
1030 bufferPos += length; in write()
1033 int copySize = buffer.length - bufferPos; in write()
1034 System.arraycopy(b, offset, buffer, bufferPos, copySize); in write()
1041 bufferPos = length; in write()
1079 cachedBufferPos = bufferPos; in writeTo()
[all …]
DCodedInputStream.java1527 final int bufferPos = bufferPos(pos); in readStringRequireUtf8() local
1528 String result = Utf8.decodeUtf8(buffer, bufferPos, size); in readStringRequireUtf8()
2004 private int bufferPos(long pos) { in bufferPos() method in CodedInputStream.UnsafeDirectNioDecoder
2012 buffer.position(bufferPos(begin)); in slice()
2013 buffer.limit(bufferPos(end)); in slice()
3377 final int bufferPos = (int) (currentByteBufferPos - currentByteBufferStartPos); in readStringRequireUtf8() local
3378 String result = Utf8.decodeUtf8(currentByteBuffer, bufferPos, size); in readStringRequireUtf8()
DCodedOutputStream.java2083 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
DBinaryWriter.java2589 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java147 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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNormalizer.java146 private int bufferPos; field in Normalizer
657 copy.bufferPos = bufferPos; in clone()
1523 if(bufferPos<buffer.length() || nextNormalize()) { in current()
1524 return buffer.codePointAt(bufferPos); in current()
1540 if(bufferPos<buffer.length() || nextNormalize()) { in next()
1541 int c=buffer.codePointAt(bufferPos); in next()
1542 bufferPos+=Character.charCount(c); in next()
1560 if(bufferPos>0 || previousNormalize()) { in previous()
1561 int c=buffer.codePointBefore(bufferPos); in previous()
1562 bufferPos-=Character.charCount(c); in previous()
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dnormlzr.h772 int32_t bufferPos; variable
/third_party/icu/icu4c/source/common/unicode/
Dnormlzr.h772 int32_t bufferPos; variable
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dnormlzr.h772 int32_t bufferPos; variable