/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | FieldCodecTest.cs | 87 public void DefaultValue(ICodecTestData codec) in DefaultValue() method in Google.Protobuf.FieldCodecTest 162 codec.WriteTagAndValue(codedOutput, codec.DefaultValue); in TestDefaultValue() 165 Assert.AreEqual(0, codec.CalculateSizeWithTag(codec.DefaultValue)); in TestDefaultValue() 168 Assert.AreEqual(default(T), codec.DefaultValue); in TestDefaultValue() 172 if (codec.DefaultValue != null) // This part isn't appropriate for message types. in TestDefaultValue() 175 codec.ValueWriter(codedOutput, codec.DefaultValue); in TestDefaultValue() 178 Assert.AreEqual(stream.Position, codec.ValueSizeCalculator(codec.DefaultValue)); in TestDefaultValue() 181 Assert.AreEqual(codec.DefaultValue, codec.ValueReader(codedInput)); in TestDefaultValue()
|
/frameworks/compile/slang/ |
D | slang_rs_reflection_cpp.h | 42 std::string DefaultValue; member 43 Argument(std::string Type, std::string Name, std::string DefaultValue = "") 44 : Type(Type), Name(Name), DefaultValue(DefaultValue) {} in Type()
|
D | slang_rs_reflection_cpp.cpp | 746 if (!I->DefaultValue.empty()) { in genArguments() 747 mOut << " = " << I->DefaultValue; in genArguments()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Type.cs | 529 public string DefaultValue { property in Google.Protobuf.WellKnownTypes.Field 558 if (DefaultValue != other.DefaultValue) return false; in Equals() 574 if (DefaultValue.Length != 0) hash ^= DefaultValue.GetHashCode(); in GetHashCode() 618 if (DefaultValue.Length != 0) { in WriteTo() 620 output.WriteString(DefaultValue); in WriteTo() 652 if (DefaultValue.Length != 0) { in CalculateSize() 653 size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValue); in CalculateSize() 688 if (other.DefaultValue.Length != 0) { in MergeFrom() 689 DefaultValue = other.DefaultValue; in MergeFrom() 738 DefaultValue = input.ReadString(); in MergeFrom()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_map_field.cc | 97 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 108 DefaultValue(value, true, name_resolver) + ".getNumber()"; in SetMessageVariables() 119 DefaultValue(value, true, name_resolver); in SetMessageVariables() 126 DefaultValue(value, true, name_resolver); in SetMessageVariables()
|
D | java_map_field_lite.cc | 97 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 109 DefaultValue(value, true, name_resolver) + ".getNumber()"; in SetMessageVariables() 120 DefaultValue(value, true, name_resolver); in SetMessageVariables() 127 DefaultValue(value, true, name_resolver); in SetMessageVariables()
|
D | java_helpers.h | 210 string DefaultValue(const FieldDescriptor* field, bool immutable, 214 return DefaultValue(field, true, name_resolver); in ImmutableDefaultValue()
|
D | java_extension.cc | 78 "" : DefaultValue(descriptor, immutable, name_resolver); in InitTemplateVars()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | type_checkers.py | 118 def DefaultValue(self): member in TypeCheckerWithDefault 141 def DefaultValue(self): member in IntValueChecker 161 def DefaultValue(self): member in EnumValueChecker 189 def DefaultValue(self): member in UnicodeValueChecker
|
D | containers.py | 462 val = self._value_checker.DefaultValue()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | FieldCodec.cs | 299 T value = codec.DefaultValue; in Read() 408 internal T DefaultValue { get; } property in Google.Protobuf.FieldCodec 441 DefaultValue = defaultValue; in FieldCodec() 472 private bool IsDefault(T value) => EqualityComparer<T>.Default.Equals(value, DefaultValue);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_extension.cc | 103 vars["default"] = DefaultValue(descriptor_); in GenerateStaticVariablesInitialization()
|
D | objectivec_helpers.h | 168 string DefaultValue(const FieldDescriptor* field);
|
D | objectivec_field.cc | 98 (*variables)["default"] = DefaultValue(descriptor); in SetCommonFieldVariables()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/ |
D | javanano_primitive_field.cc | 190 (*variables)["default"] = DefaultValue(params, descriptor); in SetPrimitiveVariables() 206 (*variables)["default"] = DefaultValue(params, descriptor); in SetPrimitiveVariables() 215 (*variables)["default"] = DefaultValue(params, descriptor); in SetPrimitiveVariables()
|
D | javanano_helpers.h | 147 string DefaultValue(const Params& params, const FieldDescriptor* field);
|
D | javanano_enum_field.cc | 68 (*variables)["default"] = DefaultValue(params, descriptor); in SetEnumVariables()
|
D | javanano_helpers.cc | 403 string DefaultValue(const Params& params, const FieldDescriptor* field) { in DefaultValue() function
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_extension.cc | 136 vars["default" ] = DefaultValue(descriptor_); in GenerateDefinition()
|
D | cpp_helpers.h | 142 string DefaultValue(const FieldDescriptor* field);
|
D | cpp_primitive_field.cc | 87 (*variables)["default"] = DefaultValue(descriptor); in SetPrimitiveVariables()
|
D | cpp_string_field.cc | 52 (*variables)["default"] = DefaultValue(descriptor); in SetStringVariables()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/ |
D | MapField.cs | 627 Key = codec.keyCodec.DefaultValue; in Reset() 628 Value = codec.valueCodec.DefaultValue; in Reset()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | FieldDescriptor.cs | 288 if (Proto.DefaultValue != "") in CrossLink()
|
D | Descriptor.cs | 1463 public string DefaultValue { property in Google.Protobuf.Reflection.FieldDescriptorProto 1532 if (DefaultValue != other.DefaultValue) return false; in Equals() 1548 if (DefaultValue.Length != 0) hash ^= DefaultValue.GetHashCode(); in GetHashCode() 1586 if (DefaultValue.Length != 0) { in WriteTo() 1588 output.WriteString(DefaultValue); in WriteTo() 1625 if (DefaultValue.Length != 0) { in CalculateSize() 1626 size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValue); in CalculateSize() 1663 if (other.DefaultValue.Length != 0) { in MergeFrom() 1664 DefaultValue = other.DefaultValue; in MergeFrom() 1713 DefaultValue = input.ReadString(); in MergeFrom()
|