Searched refs:wireType (Results 1 – 8 of 8) sorted by relevance
84 uint8_t wireType = read_wire_type(fieldTag); in TEST() local85 ASSERT_EQ(WIRE_TYPE_LENGTH_DELIMITED, wireType); in TEST()
43 uint8_t wireType = read_wire_type(fieldTag); in write_field_or_skip() local47 switch (wireType) { in write_field_or_skip()344 uint8_t wireType = read_wire_type(fieldTag); in filter_and_write_report() local345 if (wireType == WIRE_TYPE_LENGTH_DELIMITED in filter_and_write_report()
408 public static @Nullable String getWireTypeString(int wireType) { in getWireTypeString() argument409 switch (wireType) { in getWireTypeString()
81 final int wireType = proto.getWireType(); in currentFieldToString() local87 switch (wireType) { in currentFieldToString()
923 private void assertWireType(int wireType) { in assertWireType() argument924 if (wireType != mWireType) { in assertWireType()927 + " does not match expected wire type " + getWireTypeString(wireType) in assertWireType()
2276 public void writeTag(int id, int wireType) { in writeTag() argument2277 mBuffer.writeRawVarint32((id << FIELD_ID_SHIFT) | wireType); in writeTag()2375 final int wireType = tag & WIRE_TYPE_MASK; in editEncodedSize() local2376 switch (wireType) { in editEncodedSize()2421 + Integer.toHexString(tag) + " wireType=" + wireType in editEncodedSize()2444 final int wireType = tag & WIRE_TYPE_MASK; in compactSizes() local2445 switch (wireType) { in compactSizes()2480 + Integer.toHexString(tag) + " wireType=" + wireType in compactSizes()
206 EncodedBuffer::writeHeader(uint32_t fieldId, uint8_t wireType) in writeHeader() argument208 return writeRawVarint32((fieldId << FIELD_ID_SHIFT) | wireType); in writeHeader()
127 size_t writeHeader(uint32_t fieldId, uint8_t wireType);