Searched refs:StrFunc (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 | 976 static string StrFunc(int i, int j) { in StrFunc() function 1007 (*map_string_string)[StrFunc(i, 1)] = StrFunc(i, 5); in TEST_F() 1087 EXPECT_EQ(value_string_string, StrFunc(Int(key_string_string), 5)); in TEST_F() 1124 EXPECT_EQ(value_string_string, StrFunc(Int(key_string_string), 5)); in TEST_F() 1161 StrFunc(Int(key_string_string), -5)); in TEST_F() 1179 EXPECT_EQ(StrFunc(i, -5), message.map_string_string().at(StrFunc(i, 1))); in TEST_F() 1198 (*map_string_string)[StrFunc(i, 1)] = StrFunc(i, 5); in TEST_F() 1316 EXPECT_EQ(value_string_string, StrFunc(Int(key_string_string), 5)); in TEST_F() 1357 EXPECT_EQ(value_string_string, StrFunc(Int(key_string_string), 5)); in TEST_F() 1393 fd_map_string_string->message_type()->field(0), StrFunc(key, 1)); in TEST_F() [all …]
|