Lines Matching refs:tag
60 /** Given a tag value, determines the wire type (the lower 3 bits). */
61 static int getTagWireType(final int tag) {
62 return tag & TAG_TYPE_MASK;
65 /** Given a tag value, determines the field number (the upper 29 bits). */
66 public static int getTagFieldNumber(final int tag) {
67 return tag >>> TAG_TYPE_BITS;
70 /** Makes a tag value given a field number and wire type. */
101 * @return {@code true} unless the tag is an end-group tag.
105 final int tag) throws IOException {
106 return input.skipField(tag);
116 * @param input stream input, pointing to the byte after the first tag
117 * @param tag repeated field tag just read
123 final int tag) throws IOException {
126 input.skipField(tag);
129 if (thisTag != tag) {
132 input.skipField(tag);