/external/libprotobuf-mutator/examples/libfuzzer/ |
D | libfuzzer_example.cc | 27 std::hash<std::string>{}(message->optional_string())); in __anon7841a1170102() 52 std::hash<std::string>{}(message.optional_string()) && in DEFINE_PROTO_FUZZER() 53 message.optional_string() == "abcdefghijklmnopqrstuvwxyz" && in DEFINE_PROTO_FUZZER()
|
D | libfuzzer_bin_example.cc | 27 std::hash<std::string>{}(message->optional_string())); in __anon95debcef0102() 52 std::hash<std::string>{}(message.optional_string()) && in DEFINE_BINARY_PROTO_FUZZER() 53 message.optional_string() == "abcdefghijklmnopqrstuvwxyz" && in DEFINE_BINARY_PROTO_FUZZER()
|
D | libfuzzer_example.proto | 9 optional string optional_string = 3; field
|
/external/protobuf/ruby/tests/ |
D | basic.rb | 96 m.optional_string = "foo bar" 97 assert_equal "foo bar", m.optional_string 99 assert_equal "", m.optional_string 101 m.optional_string = "foo" 102 assert_equal "foo", m.optional_string 104 assert_equal "", m.optional_string 263 optional_string: "foo", 267 assert_equal m.optional_string, "foo"
|
D | common_tests.rb | 24 assert m.optional_string == "" 46 m.optional_string = "hello" 47 assert m.optional_string == "hello" 48 m.optional_string = :hello 49 assert m.optional_string == "hello" 82 assert_equal 'foo', m.optional_string 91 assert_equal "", m.optional_string 166 m.optional_string = 42 169 m.optional_string = nil 206 m.optional_string = ["FFFF"].pack('H*') [all …]
|
D | basic_proto2.rb | 125 assert_equal "Default Str", m.optional_string 151 m.optional_string = "foo bar" 152 assert_equal "foo bar", m.optional_string 155 assert_equal "Default Str", m.optional_string
|
D | basic_test_proto2.proto | 31 optional string optional_string = 8; field 61 optional string optional_string = 8 [default = "Default Str"]; field
|
D | type_errors.rb | 17 A::B::C::TestMessage.new(optional_string: 4)
|
/external/webrtc/rtc_base/experiments/ |
D | field_trial_parser_unittest.cc | 162 FieldTrialOptional<std::string> optional_string("s", std::string("ab")); in TEST() local 163 ParseFieldTrial({&optional_string}, "s:"); in TEST() 164 EXPECT_EQ(optional_string.GetOptional().value(), ""); in TEST() 165 ParseFieldTrial({&optional_string}, "s"); in TEST() 166 EXPECT_FALSE(optional_string.GetOptional().has_value()); in TEST()
|
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/optional/ |
D | main.cpp | 25 using optional_string = std::optional<std::string> ; in main() typedef 36 optional_string ostring = "hello" ; in main()
|
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | basic.rb | 130 assert m.optional_string == "" 151 m.optional_string = "hello" 152 assert m.optional_string == "hello" 237 m.optional_string = nil 291 m.optional_string = ["FFFF"].pack('H*') 296 m.optional_string = "\u0100" 299 m.optional_string = "asdf".encode!('UTF-8') 301 m.optional_string.encode!('ASCII-8BIT') 878 m.optional_string = "hello" 946 assert_equal 'foo', m.optional_string [all …]
|
/external/tensorflow/tensorflow/tools/proto_text/ |
D | test.proto | 8 string optional_string = 1; field 39 string optional_string = 14; field
|
/external/protobuf/python/google/protobuf/internal/ |
D | message_test.py | 820 m2.optional_string = 'scalar string' 831 self.assertEqual(m1.optional_string, 'scalar string') 837 self.assertIsInstance(m1.optional_string, six.text_type) 1029 m.optional_string = str('') 1030 self.assertIsInstance(m.optional_string, six.text_type) 1456 messages[2].optional_string = 'hello' 1461 merged_message.optional_string = 'hello' 1621 self.assertEqual('', message.optional_string) 1632 message.optional_string = 'abc' 1645 self.assertEqual('', message.optional_string) [all …]
|
D | reflection_test.py | 129 optional_string='optional_string', 134 self.assertEqual('optional_string', proto.optional_string) 190 optional_string='optional_string', 205 self.assertEqual('optional_string', proto.optional_string) 225 TypeError, unittest_pb2.TestAllTypes, optional_string=1234) 462 proto.optional_string = 'foo' 553 self.assertEqual('', proto.optional_string) 1463 proto2.optional_string = 'value' 1467 self.assertEqual('value', proto2.optional_string) 1594 proto1.optional_string = 'important-text' [all …]
|
D | text_format_test.py | 198 message.optional_string = 'a\nnew\nline' 340 message.optional_string = golden_unicode 354 message.optional_string = golden_unicode 524 self.assertEqual(msg2.optional_string, u'café') 526 self.assertEqual(msg2.optional_string, u'') 528 self.assertEqual(msg2.optional_string, u'café') 712 self.assertEqual(m.optional_string, self._GOLDEN_UNICODE) 724 self.assertEqual(m.optional_string, self._GOLDEN_UNICODE) 737 self.assertEqual(m.optional_string, self._GOLDEN_UNICODE) 745 self.assertEqual(m.optional_string, self._GOLDEN_UNICODE) [all …]
|
/external/protobuf/src/google/protobuf/ |
D | proto3_lite_unittest.inc | 75 EXPECT_EQ("asdf", m.optional_string()); 132 EXPECT_EQ("3456", msg1.optional_string()); 133 EXPECT_EQ("123", msg2.optional_string());
|
D | no_field_presence_test.cc | 59 EXPECT_EQ(0, m.optional_string().size()); in CheckDefaultValues() 168 EXPECT_EQ("asdf", m.optional_string()); in CheckNonDefaultValues() 370 EXPECT_EQ("", message.optional_string()); in TEST() 475 EXPECT_EQ("test", dest.optional_string()); in TEST() 481 EXPECT_EQ("test2", dest.optional_string()); in TEST()
|
/external/protobuf/java/core/src/test/proto/com/google/protobuf/ |
D | field_presence_test.proto | 51 string optional_string = 2; field 79 string optional_string = 2; field
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/json/ |
D | test.proto | 10 string optional_string = 5; field
|
/external/protobuf/objectivec/Tests/ |
D | text_format_unittest_data.txt | 14 optional_string: "115"
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/ |
D | test_upb.lua | 160 proto2_msg.optional_string = "\xff" 426 optional_string = invalid_utf8, 454 optional_string = "abc", 474 assert_equal("abc", msg.optional_string)
|
/external/protobuf/src/google/protobuf/testdata/ |
D | text_format_unittest_data.txt | 14 optional_string: "115"
|
D | text_format_unittest_data_oneof_implemented.txt | 14 optional_string: "115"
|
D | text_format_unittest_data_pointy.txt | 14 optional_string: "115"
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | text_format_unittest_data.txt | 14 optional_string: "115"
|