Searched refs:encode_zz32 (Results 1 – 1 of 1) sorted by relevance
28 static uint32_t encode_zz32(int32_t n) { return ((uint32_t)n << 1) ^ (n >> 31); } in encode_zz32() function201 CASE(int32_t, varint, UPB_WIRE_TYPE_VARINT, encode_zz32(val)); in encode_scalar()302 VARINT_CASE(int32_t, encode_zz32(*ptr)); in encode_array()