Home
last modified time | relevance | path

Searched refs:DefaultValue (Results 1 – 25 of 49) sorted by relevance

12

/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc60 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/clang/lib/StaticAnalyzer/Core/
DAnalyzerOptions.cpp268 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()
300 int DefaultValue = 0; in getMaxNodesPerTopLevelFunction() local
306 DefaultValue = 75000; in getMaxNodesPerTopLevelFunction()
309 DefaultValue = 150000; in getMaxNodesPerTopLevelFunction()
312 MaxNodesPerTopLevelFunction = getOptionAsInteger("max-nodes", DefaultValue); in getMaxNodesPerTopLevelFunction()
/external/compiler-rt/lib/ubsan/
Dubsan_flags.cc30 #define UBSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument
36 #define UBSAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterUbsanFlags() argument
Dubsan_flags.h25 #define UBSAN_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
Dubsan_flags.inc17 // UBSAN_FLAG(Type, Name, DefaultValue, Description)
/external/compiler-rt/lib/tsan/rtl/
Dtsan_flags.cc38 #define TSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument
46 #define TSAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterTsanFlags() argument
Dtsan_flags.h23 #define TSAN_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.cc39 #define COMMON_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument
79 #define COMMON_FLAG(Type, Name, DefaultValue, Description) \ in RegisterCommonFlags() argument
Dsanitizer_flags.h22 #define COMMON_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
/external/openfst/src/include/fst/
Dsparse-tuple-weight.h89 Init(w.DefaultValue()); in SparseTupleWeight()
90 SetDefaultValue(w.DefaultValue()); in SparseTupleWeight()
125 Init(w.DefaultValue());
133 if (!DefaultValue().Member()) return false; in Member()
201 const W& DefaultValue() const { return default_; } in DefaultValue() function
274 const W& v1_def = w1.DefaultValue(); in SparseTupleWeightMap()
275 const W& v2_def = w2.DefaultValue(); in SparseTupleWeightMap()
299 const W& v1_def = w1.DefaultValue();
300 const W& v2_def = w2.DefaultValue();
352 strm << w.DefaultValue();
/external/compiler-rt/lib/asan/
Dasan_flags.cc46 #define ASAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument
52 #define ASAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterAsanFlags() argument
Dasan_flags.h33 #define ASAN_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
/external/v8/src/compiler/
Dgraph-reducer-unittest.cc12 using testing::DefaultValue;
40 DefaultValue<Reduction>::Set(Reducer::NoChange()); in SetUpTestCase()
44 DefaultValue<Reduction>::Clear(); in TearDownTestCase()
/external/clang/test/SemaTemplate/
Dalias-templates.cpp172 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; }; argument
185 template <template<int x> class... Args> using Zero = tuple<DefaultValue<Args> ...>;
/external/compiler-rt/lib/dfsan/
Ddfsan.cc315 #define DFSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument
321 #define DFSAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterDfsanFlags() argument
Ddfsan.h59 #define DFSAN_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
Ddfsan_flags.inc17 // DFSAN_FLAG(Type, Name, DefaultValue, Description)
/external/compiler-rt/lib/msan/
Dmsan_flags.h19 #define MSAN_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
Dmsan_flags.inc17 // MSAN_FLAG(Type, Name, DefaultValue, Description)
Dmsan.cc101 #define MSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument
124 #define MSAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterMsanFlags() argument
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.h163 string DefaultValue(const FieldDescriptor* field, bool immutable,
167 return DefaultValue(field, true, name_resolver); in ImmutableDefaultValue()
/external/libxml2/os400/libxmlrpg/
Dglobals.rpgle490 d DefaultValue')
495 d DefaultValue')
500 d DefaultValue')
505 d DefaultValue')
510 d DefaultValue')
515 d DefaultValue')
/external/google-breakpad/src/testing/include/gmock/
Dgmock-actions.h161 class DefaultValue {
200 class DefaultValue<T&> {
236 class DefaultValue<void> {
244 const T* DefaultValue<T>::value_ = NULL;
248 T* DefaultValue<T&>::address_ = NULL;
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.h131 string DefaultValue(const Params& params, const FieldDescriptor* field);
/external/llvm/include/llvm/Support/
DYAMLTraits.h550 const Optional<T> &DefaultValue, bool Required) {
551 assert(DefaultValue.hasValue() == false &&
564 Val = DefaultValue;
569 void processKeyWithDefault(const char *Key, T &Val, const T& DefaultValue,
573 const bool sameAsDefault = outputting() && Val == DefaultValue;
581 Val = DefaultValue;

12