Home
last modified time | relevance | path

Searched refs:lastTag (Results 1 – 11 of 11) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
DParsingPrimitivesMessages.cs49 if (state.lastTag == 0) in SkipLastField()
53 switch (WireFormat.GetTagWireType(state.lastTag)) in SkipLastField()
56 SkipGroup(ref buffer, ref state, state.lastTag); in SkipLastField()
145 uint tag = ctx.state.lastTag; in ReadGroup()
216 if (state.lastTag != 0) in CheckReadEndOfStreamTag()
224 if (state.lastTag != expectedTag) { in CheckLastTagWas()
DParsingPrimitives.cs79 state.lastTag = state.nextTag; in ParseTag()
81 return state.lastTag; in ParseTag()
91 state.lastTag = (uint)tmp; in ParseTag()
99 state.lastTag = (uint) result; in ParseTag()
105 state.lastTag = ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in ParseTag()
113 state.lastTag = 0; in ParseTag()
117 state.lastTag = ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in ParseTag()
119 if (WireFormat.GetTagFieldNumber(state.lastTag) == 0) in ParseTag()
124 return state.lastTag; in ParseTag()
154 uint savedLast = state.lastTag; in PeekTag()
[all …]
DExtensionRegistry.cs83 internal bool ContainsInputField(uint lastTag, Type target, out Extension extension) in ContainsInputField() argument
85 …TryGetValue(new ObjectIntPair<Type>(target, WireFormat.GetTagFieldNumber(lastTag)), out extension); in ContainsInputField()
DParseContext.cs94 ctx.state.lastTag = 0; in Initialize()
111 internal uint LastTag { get { return state.lastTag; } }
DParserInternalState.cs89 internal uint lastTag; field
DCodedInputStream.cs216 internal uint LastTag { get { return state.lastTag; } }
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java602 private int lastTag; field in CodedInputStream.ArrayDecoder
619 lastTag = 0; in readTag()
623 lastTag = readRawVarint32(); in readTag()
624 if (WireFormat.getTagFieldNumber(lastTag) == 0) { in readTag()
629 return lastTag; in readTag()
634 if (lastTag != value) { in checkLastTagWas()
641 return lastTag; in getLastTag()
1306 private int lastTag; field in CodedInputStream.UnsafeDirectNioDecoder
1333 lastTag = 0; in readTag()
1337 lastTag = readRawVarint32(); in readTag()
[all …]
DArrayDecoders.java1021 int lastTag = 0; in decodeUnknownField() local
1024 lastTag = registers.int1; in decodeUnknownField()
1025 if (lastTag == endGroup) { in decodeUnknownField()
1028 position = decodeUnknownField(lastTag, data, position, limit, child, registers); in decodeUnknownField()
1030 if (position > limit || lastTag != endGroup) { in decodeUnknownField()
1059 int lastTag = 0; in skipField() local
1062 lastTag = registers.int1; in skipField()
1063 if (lastTag == endGroup) { in skipField()
1066 position = skipField(lastTag, data, position, limit, registers); in skipField()
1068 if (position > limit || lastTag != endGroup) { in skipField()
/third_party/protobuf/objectivec/
DGPBCodedInputStream.m211 state->lastTag = 0;
215 state->lastTag = ReadRawVarint32(state);
217 if (!GPBWireFormatIsValidTag(state->lastTag)) {
222 if (GPBWireFormatGetTagFieldNumber(state->lastTag) == 0) {
226 return state->lastTag;
304 if (state->lastTag != value) {
DGPBCodedInputStream_PackagePrivate.h50 int32_t lastTag; member
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs121 uint tag = ctx.state.lastTag; in AddEntriesFrom()