Searched refs:write_raw_varint (Results 1 – 3 of 3) sorted by relevance
46 write_raw_varint(uint8_t* buf, uint64_t val) in write_raw_varint() function63 buf = write_raw_varint(buf, (fieldId << FIELD_ID_SHIFT) | WIRE_TYPE_LENGTH_DELIMITED); in write_length_delimited_tag_header()64 buf = write_raw_varint(buf, size); in write_length_delimited_tag_header()
30 EXPECT_EQ(write_raw_varint(buf, UINT64_C(150)) - buf, 2); in TEST()36 EXPECT_EQ(write_raw_varint(buf, UINT64_C(-2)) - buf, 10); in TEST()
52 uint8_t* write_raw_varint(uint8_t* buf, uint64_t val);