/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 157 self.assertTrue(msg2.fields_by_name['int_with_default'].has_default_value) 162 msg2.fields_by_name['double_with_default'].has_default_value) 167 msg2.fields_by_name['string_with_default'].has_default_value) 171 self.assertTrue(msg2.fields_by_name['bool_with_default'].has_default_value) 174 self.assertTrue(msg2.fields_by_name['enum_with_default'].has_default_value) 182 self.assertTrue(msg2.fields_by_name['bytes_with_default'].has_default_value) 448 test.assertTrue(field_desc.has_default_value) 472 test.assertFalse(field_desc.has_default_value) 493 test.assertTrue(field_desc.has_default_value) 513 test.assertFalse(field_desc.has_default_value)
|
D | generator_test.py | 124 [(f.name, f.has_default_value)
|
D | python_message.py | 410 if field.has_default_value and field.default_value != []:
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | descriptor.py | 500 has_default_value=True, containing_oneof=None): argument 510 has_default_value=True, containing_oneof=None): argument 527 self.has_default_value = has_default_value 987 options=field_proto.options, has_default_value=False)
|
D | descriptor_pool.py | 561 has_default_value=False, 630 field_desc.has_default_value = False 633 field_desc.has_default_value = True 651 field_desc.has_default_value = False
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/ |
D | csharp_field_base.h | 84 bool has_default_value();
|
D | csharp_field_base.cc | 80 if (has_default_value()) { in SetCommonFieldVariables() 212 bool FieldGeneratorBase::has_default_value() { in has_default_value() function in google::protobuf::compiler::csharp::FieldGeneratorBase
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | descriptor_unittest.cc | 860 EXPECT_FALSE(foo_->has_default_value()); in TEST_F() 861 EXPECT_FALSE(bar_->has_default_value()); in TEST_F() 862 EXPECT_FALSE(baz_->has_default_value()); in TEST_F() 863 EXPECT_FALSE(qux_->has_default_value()); in TEST_F() 2283 ASSERT_TRUE(message->field(0)->has_default_value()); in TEST_F() 2284 ASSERT_TRUE(message->field(1)->has_default_value()); in TEST_F() 2285 ASSERT_TRUE(message->field(2)->has_default_value()); in TEST_F() 2286 ASSERT_TRUE(message->field(3)->has_default_value()); in TEST_F() 2287 ASSERT_TRUE(message->field(4)->has_default_value()); in TEST_F() 2288 ASSERT_TRUE(message->field(5)->has_default_value()); in TEST_F() [all …]
|
D | descriptor.h | 559 bool has_default_value() const; 1701 PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, has_default_value, bool) in PROTOBUF_DEFINE_STRING_ACCESSOR()
|
D | descriptor.cc | 1682 GOOGLE_CHECK(has_default_value()) << "No default value"; in DefaultValueAsString() 1880 if (has_default_value()) { in CopyTo() 2388 if (has_default_value()) { in DebugString() 4264 result->has_default_value_ = proto.has_default_value(); in BuildFieldOrExtension() 4265 if (proto.has_default_value() && result->is_repeated()) { in BuildFieldOrExtension() 4272 if (proto.has_default_value()) { in BuildFieldOrExtension() 4869 proto.has_default_value(); in CrossLinkField() 4911 if (field->has_default_value()) { in CrossLinkField() 4931 if (field->has_default_value()) { in CrossLinkField() 5224 if (field->has_default_value()) { in ValidateProto3Field()
|
D | descriptor.pb.cc | 4370 if (has_default_value()) { in Clear() 4639 if (has_default_value()) { in SerializeWithCachedSizes() 4730 if (has_default_value()) { in InternalSerializeWithCachedSizesToArray() 4817 if (has_default_value()) { in ByteSize() 4902 if (from.has_default_value()) { in MergeFrom() 5214 bool FieldDescriptorProto::has_default_value() const { in has_default_value() function in google::protobuf::FieldDescriptorProto
|
D | descriptor.pb.h | 1166 bool has_default_value() const; 5084 inline bool FieldDescriptorProto::has_default_value() const { in has_default_value() function
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | type_resolver_util.cc | 163 if (descriptor->has_default_value()) { in ConvertFieldDescriptor()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_helpers.cc | 737 const bool has_default_value = field->has_default_value(); in DefaultValue() local 739 if (!has_default_value || default_string.length() == 0) { in DefaultValue()
|
D | objectivec_field.cc | 89 if (descriptor->has_default_value()) in SetCommonFieldVariables()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_helpers.cc | 444 if (field->has_default_value()) { in DefaultValue()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 1093 m["has_default_value"] = field.has_default_value() ? "True" : "False"; in PrintFieldDescriptor()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 2036 if (field->has_default_value()) { in GenerateClassFieldToObject() 2047 } else if (field->is_optional() && !field->has_default_value()) { in GenerateClassFieldToObject()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | descriptor.cc | 731 return PyBool_FromLong(_GetDescriptor(self)->has_default_value()); in HasDefaultValue()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | parser.cc | 1068 if (field->has_default_value()) { in ParseDefaultAssignment()
|