Searched refs:encode_size (Results 1 – 1 of 1) sorted by relevance
/frameworks/compile/mclinker/unittests/ |
D | LEB128Test.cpp | 461 size_t encode_size, decode_size; in TEST_F() local 465 encode_size = leb128::encode<uint32_t>(result, value); in TEST_F() 466 ASSERT_EQ(result, buffer + encode_size); in TEST_F() 468 ASSERT_EQ(encode_size, decode_size); in TEST_F() 472 encode_size = leb128::encode<uint64_t>(result, value2); in TEST_F() 473 ASSERT_EQ(result, buffer + encode_size); in TEST_F() 475 ASSERT_EQ(encode_size, decode_size); in TEST_F() 479 encode_size = leb128::encode<int64_t>(result, value3); in TEST_F() 480 ASSERT_EQ(result, buffer + encode_size); in TEST_F() 482 ASSERT_EQ(encode_size, decode_size); in TEST_F() [all …]
|