Searched refs:StrFunc (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/src/google/protobuf/ |
D | repeated_field_reflection_unittest.cc | 57 static string StrFunc(int i, int j) { in StrFunc() function 71 message.add_repeated_string(StrFunc(i, 5)); in TEST() 122 EXPECT_EQ(rpf_string.Get(i), StrFunc(i, 5)); in TEST() 130 EXPECT_EQ(mrpf_string->Get(i), StrFunc(i, 5)); in TEST() 138 mrpf_string->Mutable(i)->assign(StrFunc(i, -5)); in TEST() 142 EXPECT_EQ(message.repeated_string(i), StrFunc(i, -5)); in TEST() 213 message.add_repeated_string(StrFunc(i, 5)); in TEST() 284 EXPECT_EQ(rf_string.Get(i), StrFunc(i, 5)); in TEST() 293 EXPECT_EQ(mrf_string.Get(i), StrFunc(i, 5)); in TEST() 301 mrf_string.Set(i, StrFunc(i, -5)); in TEST() [all …]
|
D | map_test.cc | 926 static string StrFunc(int i, int j) { in StrFunc() function 957 (*map_string_string)[StrFunc(i, 1)] = StrFunc(i, 5); in TEST_F() 1037 EXPECT_EQ(value_string_string, StrFunc(Int(key_string_string), 5)); in TEST_F() 1074 EXPECT_EQ(value_string_string, StrFunc(Int(key_string_string), 5)); in TEST_F() 1111 StrFunc(Int(key_string_string), -5)); in TEST_F() 1129 EXPECT_EQ(StrFunc(i, -5), message.map_string_string().at(StrFunc(i, 1))); in TEST_F() 1148 (*map_string_string)[StrFunc(i, 1)] = StrFunc(i, 5); in TEST_F() 1266 EXPECT_EQ(value_string_string, StrFunc(Int(key_string_string), 5)); in TEST_F() 1307 EXPECT_EQ(value_string_string, StrFunc(Int(key_string_string), 5)); in TEST_F() 1343 fd_map_string_string->message_type()->field(0), StrFunc(key, 1)); in TEST_F() [all …]
|