Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/
Dtest_upb.lua261 msg.map_string_string["foo"] = "bar"
262 msg.map_string_string["baz"] = "quux"
263 assert_nil(msg.map_string_string["abc"])
264 assert_equal("bar", msg.map_string_string["foo"])
265 assert_equal("quux", msg.map_string_string["baz"])
268 msg.map_string_string["foo"] = "123"
269 assert_equal("123", msg.map_string_string["foo"])
270 assert_equal("quux", msg.map_string_string["baz"])
271 msg.map_string_string["foo"] = "bar"
274 msg.map_string_string["foo"] = nil
[all …]
/external/protobuf/src/google/protobuf/
Dmap_test_util_impl.h252 EXPECT_EQ(0, message.map_string_string().size()); in ExpectClear()
274 ASSERT_EQ(2, message.map_string_string().size()); in ExpectMapFieldsSet()
292 EXPECT_EQ("0", message.map_string_string().at("0")); in ExpectMapFieldsSet()
310 EXPECT_EQ("1", message.map_string_string().at("1")); in ExpectMapFieldsSet()
332 EXPECT_EQ(2, message.map_string_string().size()); in ExpectArenaMapFieldsSet()
351 EXPECT_EQ("0", message.map_string_string().at("0")); in ExpectArenaMapFieldsSet()
370 EXPECT_EQ("1", message.map_string_string().at("1")); in ExpectArenaMapFieldsSet()
392 EXPECT_EQ(1, message.map_string_string().size()); in ExpectMapFieldsSetInitialized()
410 EXPECT_EQ("", message.map_string_string().at("0")); in ExpectMapFieldsSetInitialized()
435 EXPECT_EQ(2, message.map_string_string().size()); in ExpectMapFieldsModified()
[all …]
Dmap_lite_unittest.proto55 map<string , string > map_string_string = 14; field
76 map<string , string > map_string_string = 14; field
Dmap_test.cc1012 Map<std::string, std::string>* map_string_string = in TEST_F() local
1020 (*map_string_string)[StrFunc(i, 1)] = StrFunc(i, 5); in TEST_F()
1187 EXPECT_EQ(StrFunc(i, -5), message.map_string_string().at(StrFunc(i, 1))); in TEST_F()
1199 Map<std::string, std::string>* map_string_string = in TEST_F() local
1207 (*map_string_string)[StrFunc(i, 1)] = StrFunc(i, 5); in TEST_F()
1423 EXPECT_EQ(StrFunc(i, -5), message.map_string_string().at(StrFunc(i, 1))); in TEST_F()
1485 EXPECT_EQ(message.map_string_string().at(it->first), it->second); in TEST_F()
1538 EXPECT_EQ("1234", message.map_string_string().at("4321")); in TEST_F()
1575 EXPECT_EQ(11, message.map_string_string().size()); in TEST_F()
1739 EXPECT_EQ(StrFunc(i, 15), m0.map_string_string().at(StrFunc(i + 10, 1))); in TEST_F()
[all …]
Dtest_messages_proto3.proto156 map < string, string> map_string_string = 69; field
/external/protobuf/src/google/protobuf/testdata/
Dmap_test_data.txt105 map_string_string {
109 map_string_string {
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py1683 self.assertFalse('abc' in msg.map_string_string)
1696 self.assertEqual('', msg.map_string_string['abc'])
1707 self.assertTrue('abc' in msg.map_string_string)
1711 self.assertIsInstance(msg.map_string_string['abc'], six.text_type)
1716 msg.map_string_string[123]
1719 123 in msg.map_string_string
1758 msg.map_string_string['abc'] = '123'
1766 self.assertEqual(1, len(msg.map_string_string))
1770 msg.map_string_string[123] = '123'
1774 self.assertEqual(1, len(msg.map_string_string))
[all …]
Dtext_format_test.py962 message.map_string_string['abc'] = '123'
1021 message.map_string_string[letter] = 'dummy'
1023 message.map_string_string[letter] = 'dummy'
1459 self.assertEqual('123', message.map_string_string['abc'])
Dunknown_fields_test.py143 msg.map_string_string['1'] = 'test'
/external/protobuf/objectivec/Tests/
Dtext_format_map_unittest_data.txt53 map_string_string {
Dunittest_runtime_proto3.proto115 map<string , string > map_string_string = 83; field
Dunittest_runtime_proto2.proto122 map<string , string > map_string_string = 83; field
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/json/
Dtest.proto26 map<string, string> map_string_string = 20; field
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Dgenerated_code.proto49 map<string, string> map_string_string = 66; field
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generated_code.proto49 map<string, string> map_string_string = 66; field
/external/protobuf/ruby/tests/
Dgenerated_code.proto49 map<string, string> map_string_string = 66; field
/external/protobuf/js/
Dtestbinary.proto187 map<string, string> map_string_string = 1; field
227 optional MapEntryOptionalKeysStringKey map_string_string = 1; field
Dtest.proto279 map<string, string> map_string_string = 1; field
/external/protobuf/csharp/protos/
Dmap_unittest_proto3.proto60 map<string , string > map_string_string = 14; field
/external/protobuf/php/tests/proto/
Dtest.proto90 map<string, string> map_string_string = 84; field
/external/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/
Dmap_unittest_proto3.proto64 map<string , string > map_string_string = 14; field
/external/protobuf/js/compatibility_tests/v3.0.0/
Dtestbinary.proto188 map<string, string> map_string_string = 1; field
/external/protobuf/js/compatibility_tests/v3.1.0/
Dtestbinary.proto188 map<string, string> map_string_string = 1; field
Dtest.proto238 map<string, string> map_string_string = 1; field