Searched refs:FIELD_ID_SHIFT (Results 1 – 8 of 8) sorted by relevance
25 const int FIELD_ID_SHIFT = 3; variable26 const uint8_t WIRE_TYPE_MASK = (1 << FIELD_ID_SHIFT) - 1;
31 return varint >> FIELD_ID_SHIFT; in read_field_id()63 buf = write_raw_varint(buf, (fieldId << FIELD_ID_SHIFT) | WIRE_TYPE_LENGTH_DELIMITED); in write_length_delimited_tag_header()
214 return writeRawVarint32((fieldId << FIELD_ID_SHIFT) | wireType); in writeHeader()
116 public static final int FIELD_ID_SHIFT = 3; field in ProtoStream132 public static final int WIRE_TYPE_MASK = (1 << FIELD_ID_SHIFT) - 1;
566 mFieldNumber = tag >>> FIELD_ID_SHIFT; in readTag()
2272 return EncodedBuffer.getRawVarint32Size(id << FIELD_ID_SHIFT); in getTagSize()2282 mBuffer.writeRawVarint32((id << FIELD_ID_SHIFT) | wireType); in writeTag()
289 proto.writeRawVarint((ComplexProto::kIntsFieldNumber << FIELD_ID_SHIFT) + WIRE_TYPE_VARINT); in TEST()292 …proto.writeRawByte((ComplexProto::Log::kDataFieldNumber << FIELD_ID_SHIFT) + WIRE_TYPE_LENGTH_DELI… in TEST()
52050 field public static final int FIELD_ID_SHIFT = 3; // 0x3