| /src/contrib/googletest/googletest/test/ |
| H A D | gtest-typed-test_test.cc | 66 CommonTest() : value_(1) {} in CommonTest() 68 ~CommonTest() override { EXPECT_EQ(3, value_); } in ~CommonTest() 71 EXPECT_EQ(1, value_); in SetUp() 72 value_++; in SetUp() 76 EXPECT_EQ(2, value_); in TearDown() 77 value_++; in TearDown() 80 T value_; member in CommonTest 110 EXPECT_EQ(2, this->value_); in TYPED_TEST() 122 EXPECT_EQ(static_cast<TypeParam>(2), this->value_); in TYPED_TEST() 270 EXPECT_EQ(2, this->value_); in TYPED_TEST_P() [all …]
|
| H A D | googletest-param-test-test.cc | 220 explicit DogAdder(const char* a_value) : value_(a_value) {} in DogAdder() 221 DogAdder(const DogAdder& other) : value_(other.value_.c_str()) {} in DogAdder() 224 if (this != &other) value_ = other.value_; in operator =() 229 msg << value_ << other.value_; in operator +() 232 bool operator<(const DogAdder& other) const { return value_ < other.value_; } in operator <() 233 const std::string& value() const { return value_; } in value() 236 std::string value_; member in DogAdder 255 explicit IntWrapper(int a_value) : value_(a_value) {} in IntWrapper() 256 IntWrapper(const IntWrapper& other) : value_(other.value_) {} in IntWrapper() 259 value_ = other.value_; in operator =() [all …]
|
| H A D | googletest-list-tests-unittest_.cc | 71 explicit MyType(const std::string& a_value) : value_(a_value) {} in MyType() 73 const std::string& value() const { return value_; } in value() 76 std::string value_; member in MyType
|
| H A D | googletest-printers-test.cc | 115 UnprintableTemplateInGlobal() : value_() {} in UnprintableTemplateInGlobal() 118 T value_; member in UnprintableTemplateInGlobal 186 explicit PrintableViaPrintToTemplate(const T& a_value) : value_(a_value) {} in PrintableViaPrintToTemplate() 188 const T& value() const { return value_; } in value() 191 T value_; member in foo::PrintableViaPrintToTemplate 203 StreamableTemplateInFoo() : value_() {} in StreamableTemplateInFoo() 205 const T& value() const { return value_; } in value() 208 T value_; member in foo::StreamableTemplateInFoo 265 explicit Wrapper(T&& value) : value_(std::forward<T>(value)) {} in Wrapper() 267 const T& value() const { return value_; } in value() [all …]
|
| H A D | googletest-port-test.cc | 1046 : value_(0), mutex_(mutex), random_(42) {} in AtomicCounterWithMutex() 1050 int temp = value_; in Increment() 1080 value_ = temp + 1; in Increment() 1082 int value() const { return value_; } in value() 1085 volatile int value_; member in testing::internal::AtomicCounterWithMutex
|
| /src/contrib/ntp/sntp/libevent/test/ |
| H A D | tinytest_macros.h | 123 type value_ = val1_; \ 126 value_ = val2_; \ 145 {print_=value_;},{},die_on_fail) 149 {print_=value_?value_:"<NULL>";},{},die_on_fail) 193 { print_ = tinytest_format_hex_(value_, (len)); }, \
|
| /src/contrib/libevent/test/ |
| H A D | tinytest_macros.h | 123 type value_ = val1_; \ 126 value_ = val2_; \ 145 {print_=value_;},{},die_on_fail) 149 {print_=value_?value_:"<NULL>";},{},die_on_fail) 193 { print_ = tinytest_format_hex_(value_, (len)); }, \
|
| /src/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-param-util.h | 234 : base_(base), value_(value), index_(index), step_(step) {} in Iterator() 241 value_ = static_cast<T>(value_ + step_); in Advance() 247 const T* Current() const override { return &value_; } in Current() 263 value_(other.value_), in Iterator() 271 T value_; variable 328 value_.reset(); in Advance() 341 if (value_.get() == nullptr) value_.reset(new T(*iterator_)); in Current() 342 return value_.get(); in Current() 369 mutable std::unique_ptr<const T> value_; variable 981 value_ = in Iterator() [all …]
|
| H A D | gtest-port.h | 1587 ValueHolder() : value_() {} 1588 explicit ValueHolder(const T& value) : value_(value) {} 1590 T* pointer() { return &value_; } 1593 T value_; 1632 explicit InstanceValueHolderFactory(const T& value) : value_(value) {} 1634 return new ValueHolder(value_); 1638 const T value_; // The value for each thread. 1790 ValueHolder() : value_() {} 1791 explicit ValueHolder(const T& value) : value_(value) {} 1793 T* pointer() { return &value_; } [all …]
|
| /src/contrib/kyua/utils/config/ |
| H A D | nodes.ipp | 205 /// \param value_ The new value to set the node to. 210 config::typed_leaf_node< ValueType >::set(const value_type& value_) 212 validate(value_); 213 _value = optional< value_type >(value_); 321 /// \param value_ The new value to set the node to. 326 config::base_set_node< ValueType >::set(const value_type& value_) 328 validate(value_); 329 _value = optional< value_type >(value_);
|
| H A D | lua_module_test.cpp | 54 explicit custom_type(const int value_) : in custom_type() 55 value(value_) in custom_type()
|
| /src/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 627 explicit FixedValueProducer(T value) : value_(value) {} 628 T Produce() override { return value_; } 631 const T value_; 934 explicit ReturnAction(R value) : value_(std::move(value)) {} 944 return Impl<U>(std::move(value_)); 955 return Impl<U>(value_); 1089 R value_; 1195 explicit ReturnRefOfCopyAction(const T& value) : value_(value) {} // NOLINT 1207 return Action<F>(new Impl<F>(value_)); 1218 explicit Impl(const T& value) : value_(value) {} // NOLINT [all …]
|
| H A D | gmock-spec-builders.h | 1346 explicit ReferenceOrValueWrapper(T value) : value_(std::move(value)) {} in ReferenceOrValueWrapper() 1351 T Unwrap() { return std::move(value_); } in Unwrap() 1357 const T& Peek() const { return value_; } in Peek() 1360 T value_;
|
| /src/contrib/lua/src/ |
| H A D | lobject.h | 65 #define TValuefields Value value_; lu_byte tt_ 72 #define val_(o) ((o)->value_) 120 io1->value_ = io2->value_; settt_(io1, io2->tt_); \ 713 n_->u.key_val = io_->value_; n_->u.key_tt = io_->tt_; \ 720 io_->value_ = n_->u.key_val; io_->tt_ = n_->u.key_tt; \
|
| /src/contrib/kyua/utils/format/ |
| H A D | formatter_test.cpp | 56 int_wrapper(const int value_) : _value(value_) in int_wrapper() argument
|
| /src/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers-misc_test.cc | 101 explicit NotCopyable(int a_value) : value_(a_value) {} in NotCopyable() 103 int value() const { return value_; } in value() 114 int value_; member in testing::gmock_matchers_test::__anonb14ffbc80111::NotCopyable 687 : value_(std::move(value)), has_value_(true) {} in SampleOptional() 688 SampleOptional() : value_(), has_value_(false) {} in SampleOptional() 690 const T& operator*() const { return value_; } in operator *() 693 T value_; member in testing::gmock_matchers_test::__anonb14ffbc80111::SampleOptional 705 : value_(std::move(value)), has_value_(true) {} in SampleOptionalWithoutBoolConversion() 706 SampleOptionalWithoutBoolConversion() : value_(), has_value_(false) {} in SampleOptionalWithoutBoolConversion() 708 const T& operator*() const { return value_; } in operator *() [all …]
|
| H A D | gmock-more-actions_test.cc | 152 Foo() : value_(123) {} in Foo() 154 int Nullary() const { return value_; } in Nullary() 156 short Unary(long x) { return static_cast<short>(value_ + x); } // NOLINT in Unary() 160 int Ternary(int x, bool y, char z) { return value_ + x + y * z; } in Ternary() 163 return a + b + c + d + value_; in SumOf4() 200 int value_; member in testing::gmock_more_actions_test::Foo 1471 : value_(a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 + a10) {} in TenArgConstructorClass() 1472 int value_; member in testing::gmock_more_actions_test::TenArgConstructorClass 1509 explicit BoolResetter(bool* value) : value_(value) {} in BoolResetter() 1510 ~BoolResetter() { *value_ = false; } in ~BoolResetter() [all …]
|
| H A D | gmock-actions_test.cc | 358 MyDefaultConstructible() : value_(42) {} in MyDefaultConstructible() 360 int value() const { return value_; } in value() 363 int value_; member in testing::__anon06af91490111::MyDefaultConstructible 370 explicit MyNonDefaultConstructible(int a_value) : value_(a_value) {} in MyNonDefaultConstructible() 372 int value() const { return value_; } in value() 375 int value_; member in testing::__anon06af91490111::MyNonDefaultConstructible 1219 Foo() : value_(123) {} in Foo() 1221 int Nullary() const { return value_; } in Nullary() 1224 int value_; member in testing::__anon06af91490111::Foo 1809 : value_(a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 + a10) {} in TenArgConstructorClass() [all …]
|
| H A D | gmock-matchers-arithmetic_test.cc | 504 explicit Double(double value) : value_(value) {} in Double() 506 double value() const { return value_; } in value() 515 double value_; member in testing::gmock_matchers_test::__anoncbcfa7060111::Double 550 explicit Float(float value) : value_(value) {} in Float() 552 float value() const { return value_; } in value() 555 float value_ = 0.0f; member in testing::gmock_matchers_test::__anoncbcfa7060111::Float
|
| H A D | gmock-matchers-containers_test.cc | 352 Uncopyable() : value_(-1) {} in Uncopyable() 353 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() 355 int value() const { return value_; } in value() 356 void set_value(int i) { value_ = i; } in set_value() 359 int value_; member in testing::gmock_matchers_test::__anona4801d120111::Uncopyable 1390 explicit PostIncrProxy(const value_type& value) : value_(value) {} in PostIncrProxy() 1391 value_type operator*() const { return value_; } in operator *() 1394 value_type value_; member in testing::gmock_matchers_test::__anona4801d120111::Streamlike::ConstIter::PostIncrProxy
|
| /src/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest-typed-test.h | 53 T value_; 72 TypeParam n = this->value_;
|
| H A D | gtest.h | 375 : key_(a_key), value_(a_value) {} in TestProperty() 381 const char* value() const { return value_.c_str(); } in value() 384 void SetValue(const std::string& new_value) { value_ = new_value; } in SetValue() 390 std::string value_; variable
|
| /src/contrib/kyua/utils/ |
| H A D | optional_test.cpp | 55 test_alloc(int value_) : value(value_) in test_alloc() argument
|
| /src/sys/contrib/openzfs/module/lua/ |
| H A D | lobject.h | 102 #define TValuefields Value value_; int tt_ 111 #define val_(o) ((o)->value_) 240 io1->value_ = io2->value_; io1->tt_ = io2->tt_; \
|
| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_syscalls_netbsd.inc | 1797 (long long timerid_, long long flags_, void *value_, void *ovalue_) { 1801 (long long res, long long timerid_, long long flags_, void *value_, 1805 PRE_SYSCALL(compat_50_timer_gettime)(long long timerid_, void *value_) { 1809 (long long res, long long timerid_, void *value_) { 1841 PRE_SYSCALL(_ksem_init)(long long value_, void *idp_) { /* Nothing to do */ } 1842 POST_SYSCALL(_ksem_init)(long long res, long long value_, void *idp_) { 1846 (void *name_, long long oflag_, long long mode_, long long value_, void *idp_) { 1854 long long value_, void *idp_) { 1882 PRE_SYSCALL(_ksem_getvalue)(long long id_, void *value_) { /* Nothing to do */ } 1883 POST_SYSCALL(_ksem_getvalue)(long long res, long long id_, void *value_) { [all …]
|