Home
last modified time | relevance | path

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

123

/external/gmock/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/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()
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/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.cc39 #define TSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument
47 #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
94 #define COMMON_FLAG(Type, Name, DefaultValue, Description) \ in RegisterCommonFlags() argument
Dsanitizer_flags.h22 #define COMMON_FLAG(Type, Name, DefaultValue, Description) Type Name; argument
/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/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.cc345 #define DFSAN_FLAG(Type, Name, DefaultValue, Description) Name = DefaultValue; in SetDefaults() argument
351 #define DFSAN_FLAG(Type, Name, DefaultValue, Description) \ in RegisterDfsanFlags() argument
Ddfsan.h56 #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/gmock/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/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/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_primitive_field.cc211 (*variables)["default"] = DefaultValue(params, descriptor); in SetPrimitiveVariables()
227 (*variables)["default"] = DefaultValue(params, descriptor); in SetPrimitiveVariables()
236 (*variables)["default"] = DefaultValue(params, descriptor); in SetPrimitiveVariables()

123