/external/google-breakpad/src/testing/test/ |
D | gmock-actions_test.cc | 60 using testing::DefaultValue; 222 EXPECT_FALSE(DefaultValue<int>::IsSet()); in TEST() 223 EXPECT_FALSE(DefaultValue<const UserType>::IsSet()); in TEST() 228 EXPECT_TRUE(DefaultValue<int>::Exists()); in TEST() 229 EXPECT_FALSE(DefaultValue<const UserType>::Exists()); in TEST() 231 DefaultValue<int>::Set(1); in TEST() 232 DefaultValue<const UserType>::Set(UserType()); in TEST() 234 EXPECT_EQ(1, DefaultValue<int>::Get()); in TEST() 235 EXPECT_EQ(0, DefaultValue<const UserType>::Get().value); in TEST() 237 EXPECT_TRUE(DefaultValue<int>::Exists()); in TEST() [all …]
|
/external/googletest/googlemock/test/ |
D | gmock-actions_test.cc | 63 using testing::DefaultValue; 256 EXPECT_FALSE(DefaultValue<int>::IsSet()); in TEST() 257 EXPECT_FALSE(DefaultValue<MyDefaultConstructible>::IsSet()); in TEST() 258 EXPECT_FALSE(DefaultValue<const MyNonDefaultConstructible>::IsSet()); in TEST() 263 EXPECT_TRUE(DefaultValue<int>::Exists()); in TEST() 264 EXPECT_FALSE(DefaultValue<const MyNonDefaultConstructible>::Exists()); in TEST() 266 DefaultValue<int>::Set(1); in TEST() 267 DefaultValue<const MyNonDefaultConstructible>::Set( in TEST() 270 EXPECT_EQ(1, DefaultValue<int>::Get()); in TEST() 271 EXPECT_EQ(42, DefaultValue<const MyNonDefaultConstructible>::Get().value()); in TEST() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | FieldCodecTest.cs | 86 public void DefaultValue(ICodecTestData codec) in DefaultValue() method in Google.Protobuf.FieldCodecTest 161 codec.WriteTagAndValue(codedOutput, codec.DefaultValue); in TestDefaultValue() 164 Assert.AreEqual(0, codec.CalculateSizeWithTag(codec.DefaultValue)); in TestDefaultValue() 167 Assert.AreEqual(default(T), codec.DefaultValue); in TestDefaultValue() 171 if (codec.DefaultValue != null) // This part isn't appropriate for message types. in TestDefaultValue() 174 codec.ValueWriter(codedOutput, codec.DefaultValue); in TestDefaultValue() 177 Assert.AreEqual(stream.Position, codec.ValueSizeCalculator(codec.DefaultValue)); in TestDefaultValue() 180 Assert.AreEqual(codec.DefaultValue, codec.ValueReader(codedInput)); in TestDefaultValue()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | AnalyzerOptions.cpp | 268 int DefaultValue = 0; in getMaxInlinableSize() local 274 DefaultValue = 4; in getMaxInlinableSize() 277 DefaultValue = 50; in getMaxInlinableSize() 281 MaxInlinableSize = getOptionAsInteger("max-inlinable-size", DefaultValue); in getMaxInlinableSize() 307 int DefaultValue = 0; in getMaxNodesPerTopLevelFunction() local 313 DefaultValue = 75000; in getMaxNodesPerTopLevelFunction() 316 DefaultValue = 150000; in getMaxNodesPerTopLevelFunction() 319 MaxNodesPerTopLevelFunction = getOptionAsInteger("max-nodes", DefaultValue); in getMaxNodesPerTopLevelFunction()
|
/external/compiler-rt/lib/esan/ |
D | esan_flags.cpp | 27 #define ESAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in setDefaults() argument 33 #define ESAN_FLAG(Type, Name, DefaultValue, Description) \ in registerEsanFlags() argument
|
/external/compiler-rt/lib/scudo/ |
D | scudo_flags.cpp | 25 #define SCUDO_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in setDefaults() argument 31 #define SCUDO_FLAG(Type, Name, DefaultValue, Description) \ in RegisterScudoFlags() argument
|
D | scudo_flags.h | 20 #define SCUDO_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_flags.cc | 30 #define UBSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument 36 #define UBSAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterUbsanFlags() argument
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_flags.cc | 39 #define TSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument 47 #define TSAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterTsanFlags() argument
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_flags.cc | 39 #define COMMON_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument 121 #define COMMON_FLAG(Type, Name, DefaultValue, Description) \ in RegisterCommonFlags() argument
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Type.cs | 496 public string DefaultValue { property in Google.Protobuf.WellKnownTypes.Field 523 if (DefaultValue != other.DefaultValue) return false; in Equals() 538 if (DefaultValue.Length != 0) hash ^= DefaultValue.GetHashCode(); in GetHashCode() 580 if (DefaultValue.Length != 0) { in WriteTo() 582 output.WriteString(DefaultValue); in WriteTo() 613 if (DefaultValue.Length != 0) { in CalculateSize() 614 size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValue); in CalculateSize() 648 if (other.DefaultValue.Length != 0) { in MergeFrom() 649 DefaultValue = other.DefaultValue; in MergeFrom() 697 DefaultValue = input.ReadString(); in MergeFrom()
|
/external/compiler-rt/lib/asan/ |
D | asan_flags.cc | 46 #define ASAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument 52 #define ASAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterAsanFlags() argument
|
D | asan_flags.h | 33 #define ASAN_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
|
/external/clang/test/SemaTemplate/ |
D | alias-templates.cpp | 172 template <typename T> struct DefaultValue { const T value=0;}; argument 174 template <typename ... Args> using Zero = tuple<DefaultValue<Args> ...>; 183 template <template<int x> class temp> struct DefaultValue { const temp<0> value; }; struct 185 template <template<int x> class... Args> using Zero = tuple<DefaultValue<Args> ...>;
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_map_field_lite.cc | 94 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 101 DefaultValue(value, true, name_resolver) + ".getNumber()"; in SetMessageVariables() 112 DefaultValue(value, true, name_resolver); in SetMessageVariables() 119 DefaultValue(value, true, name_resolver); in SetMessageVariables()
|
D | java_map_field.cc | 94 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 101 DefaultValue(value, true, name_resolver) + ".getNumber()"; in SetMessageVariables() 112 DefaultValue(value, true, name_resolver); in SetMessageVariables() 119 DefaultValue(value, true, name_resolver); in SetMessageVariables()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | decode_proto_op.cc | 66 struct DefaultValue { struct 91 Status InitDefaultValue(DataType dtype, const T value, DefaultValue* result) { in InitDefaultValue() 132 DefaultValue* result) { in InitDefaultValue() 151 DefaultValue* result) { in InitDefaultValueFromFieldDescriptor() 199 DefaultValue def_value) in FieldInfo() 232 DefaultValue default_value; 480 DenseCollector(uint8* datap, DefaultValue default_value, int max_repeat_count) in DenseCollector() 591 const DefaultValue default_value_; 696 DefaultValue default_value; in DecodeProtoOp() 926 const DefaultValue default_value = field_info->default_value; in AccumulateFields()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | knobs_init.h | 99 auto knobValue = knob.DefaultValue(); in InitKnob() 106 knob.Value(knob.DefaultValue()); in InitKnob()
|
/external/libchrome/base/task_scheduler/ |
D | task_traits_details.h | 112 template <typename ArgType, ArgType DefaultValue> 116 constexpr ValueType GetDefaultValue() const { return DefaultValue; }
|
/external/protobuf/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
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | FieldCodec.cs | 299 T value = codec.DefaultValue; in Read() 407 internal T DefaultValue { get; } property in Google.Protobuf.FieldCodec 440 DefaultValue = defaultValue; in FieldCodec() 471 private bool IsDefault(T value) => EqualityComparer<T>.Default.Equals(value, DefaultValue);
|
/external/sl4a/Docs/ |
D | generate_api_from_javadoc.py | 150 class DefaultValue(object): class 279 default = DefaultValue(match.group('default_value')) 281 default = DefaultValue(None)
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan.cc | 345 #define DFSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument 351 #define DFSAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterDfsanFlags() argument
|
/external/libxml2/os400/libxmlrpg/ |
D | globals.rpgle | 514 d DefaultValue') 519 d DefaultValue') 524 d DefaultValue') 529 d DefaultValue') 534 d DefaultValue') 539 d DefaultValue')
|
/external/compiler-rt/lib/msan/ |
D | msan_flags.h | 19 #define MSAN_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
|