Home
last modified time | relevance | path

Searched refs:SumAllExtensions (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/src/google/protobuf/
Dextension_set_unittest.cc891 inline T SumAllExtensions(const M& message, ID extension, T zero) { in SumAllExtensions() function
961 ASSERT_EQ(10, SumAllExtensions<int32>(message, in TEST()
964 ASSERT_EQ(20, SumAllExtensions<int32>(message, in TEST()
967 ASSERT_EQ(20, SumAllExtensions<int64>(message, in TEST()
970 ASSERT_EQ(30, SumAllExtensions<int64>(message, in TEST()
973 ASSERT_EQ(30, SumAllExtensions<uint32>( in TEST()
976 ASSERT_EQ(40, SumAllExtensions<uint32>( in TEST()
979 ASSERT_EQ(40, SumAllExtensions<uint64>( in TEST()
982 ASSERT_EQ(50, SumAllExtensions<uint64>( in TEST()
985 ASSERT_EQ(50, SumAllExtensions<int32>( in TEST()
[all …]