Home
last modified time | relevance | path

Searched refs:lastFieldNumber (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUnknownFieldSet.java317 private int lastFieldNumber; field in UnknownFieldSet.Builder
331 if (number == lastFieldNumber) { in getFieldBuilder()
335 addField(lastFieldNumber, lastField.build()); in getFieldBuilder()
341 lastFieldNumber = number; in getFieldBuilder()
395 lastFieldNumber = 0; in reinitialize()
411 if (lastField != null && lastFieldNumber == number) { in clearField()
414 lastFieldNumber = 0; in clearField()
484 return number == lastFieldNumber || fields.containsKey(number); in hasField()
495 if (lastField != null && lastFieldNumber == number) { in addField()
498 lastFieldNumber = 0; in addField()
/external/protobuf/csharp/src/Google.Protobuf/
DUnknownFieldSet.cs141 private int lastFieldNumber; field in Google.Protobuf.UnknownFieldSet
146 if (lastField != null && number == lastFieldNumber) in GetOrAddField()
162 lastFieldNumber = number; in GetOrAddField()
DExtensionSet.cs185 int lastFieldNumber = WireFormat.GetTagFieldNumber(stream.LastTag);
188 if (set != null && set.ValuesByNumber.TryGetValue(lastFieldNumber, out extensionValue))