Searched refs:encode_zz64 (Results 1 – 1 of 1) sorted by relevance
29 static uint64_t encode_zz64(int64_t n) { return ((uint64_t)n << 1) ^ (n >> 63); } in encode_zz64() function203 CASE(int64_t, varint, UPB_WIRE_TYPE_VARINT, encode_zz64(val)); in encode_scalar()304 VARINT_CASE(int64_t, encode_zz64(*ptr)); in encode_array()