Home | History | Annotate | Download | only in nano

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. */
90 * @return {@literal true} unless the tag is an end-group tag.
94 final int tag) throws IOException {
95 return input.skipField(tag);
105 * @param input stream input, pointing to the byte after the first tag
106 * @param tag repeated field tag just read
112 final int tag) throws IOException {
115 input.skipField(tag);
116 while (input.readTag() == tag) {
117 input.skipField(tag);