| /third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
| D | objectivec_helpers.cc | 838 const string& default_string = field->default_value_string(); in DefaultValue() local 839 if (!has_default_value || default_string.length() == 0) { in DefaultValue() 854 uint32 length = ghtonl(default_string.length()); in DefaultValue() 856 bytes.append(default_string); in DefaultValue() 859 return "@\"" + EscapeTrigraphs(CEscape(default_string)) + "\""; in DefaultValue() 904 const string& default_string = field->default_value_string(); in HasNonZeroDefaultValue() local 905 return default_string.length() != 0; in HasNonZeroDefaultValue()
|
| /third_party/protobuf/ruby/src/main/ |
| D | sentinel.proto | 10 string default_string = 5; field
|
| /third_party/protobuf/objectivec/Tests/ |
| D | text_format_unittest_data.txt | 110 default_string: "415"
|
| /third_party/protobuf/src/google/protobuf/testdata/ |
| D | text_format_unittest_data_oneof_implemented.txt | 122 default_string: "415"
|
| D | text_format_unittest_data.txt | 122 default_string: "415"
|
| D | text_format_unittest_data_pointy_oneof.txt | 122 default_string: "415"
|
| D | text_format_unittest_data_pointy.txt | 122 default_string: "415"
|
| /third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
| D | text_format_unittest_data.txt | 122 default_string: "415"
|
| D | test_util.py | 171 message.default_string = '415' 554 test_case.assertEqual('415', message.default_string)
|
| /third_party/protobuf/src/google/protobuf/util/internal/ |
| D | datapiece.cc | 230 StringPiece default_string) const { in ValueAsStringOrDefault() 256 return std::string(default_string); in ValueAsStringOrDefault()
|
| D | datapiece.h | 153 std::string ValueAsStringOrDefault(StringPiece default_string) const;
|
| /third_party/protobuf/python/google/protobuf/internal/ |
| D | test_util.py | 202 message.default_string = '415' 606 test_case.assertEqual('415', message.default_string)
|
| D | reflection_test.py | 1159 self.assertEqual('hello', proto.default_string)
|
| /third_party/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/ |
| D | unittest_lite.proto | 143 optional string default_string = 74 [default = "hello"]; field
|
| D | unittest.proto | 160 optional string default_string = 74 [default = "hello"]; field
|
| /third_party/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/ |
| D | unittest_lite.proto | 143 optional string default_string = 74 [default = "hello"]; field
|
| D | unittest.proto | 160 optional string default_string = 74 [default = "hello"]; field
|
| /third_party/protobuf/src/google/protobuf/compiler/cpp/ |
| D | cpp_helpers.cc | 1448 std::string default_string = in GenerateArenaString() local 1463 FieldName(field), default_string); in GenerateArenaString()
|
| D | cpp_unittest.inc | 254 EXPECT_EQ("hello", message.default_string()); 265 EXPECT_EQ("hello", message.default_string());
|
| /third_party/protobuf/src/google/protobuf/ |
| D | unittest_lite.proto | 146 optional string default_string = 74 [default = "hello"]; field
|
| D | test_util_lite.cc | 376 EXPECT_EQ("415", message.default_string()); in ExpectAllFieldsSet() 523 EXPECT_EQ("hello", message.default_string()); in ExpectClear()
|
| D | unittest.proto | 165 optional string default_string = 74 [default = "hello"]; field
|
| D | test_util.inc | 517 EXPECT_EQ("415", message.default_string()); 670 EXPECT_EQ("hello", message.default_string());
|
| /third_party/protobuf/python/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/ |
| D | unittest.proto | 160 optional string default_string = 74 [default = "hello"]; field
|
| /third_party/protobuf/csharp/protos/ |
| D | unittest.proto | 165 optional string default_string = 74 [default = "hello"]; field
|