Searched refs:ZigZag (Results 1 – 6 of 6) sorted by relevance
98 TYPE_INT64 = 3; // Not ZigZag encoded. Negative numbers102 TYPE_INT32 = 5; // Not ZigZag encoded. Negative numbers118 TYPE_SINT32 = 17; // Uses ZigZag encoding.119 TYPE_SINT64 = 18; // Uses ZigZag encoding.
534 TEST(WireFormatTest, ZigZag) { in TEST() argument
109 // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if113 // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if129 TYPE_SINT32 = 17; // Uses ZigZag encoding.130 TYPE_SINT64 = 18; // Uses ZigZag encoding.
582 TEST(WireFormatTest, ZigZag) { in TEST() argument
314 class ZigZag { class335 ZigZag();427 doWriteUint32(ZigZag::encode(static_cast<uint32_t>(value))); in writeInt32()1966 *value = v8::Integer::New(isolate(), static_cast<int32_t>(ZigZag::decode(rawValue))); in readInt32()