Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgtest-typed-test_test.cc66 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 Dgoogletest-param-test-test.cc216 DogAdder(const DogAdder& other) : value_(other.value_.c_str()) {} in DogAdder()
219 if (this != &other) value_ = other.value_; in operator =()
224 msg << value_ << other.value_; in operator +()
227 bool operator<(const DogAdder& other) const { return value_ < other.value_; } in operator <()
231 std::string value_; member in DogAdder
251 IntWrapper(const IntWrapper& other) : value_(other.value_) {} in IntWrapper()
254 value_ = other.value_; in operator =()
260 return value_ < other.value_; in operator <()
262 int value() const { return value_; } in value()
265 int value_; member in IntWrapper
[all …]
H A Dgoogletest-list-tests-unittest_.cc71 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 Dgoogletest-printers-test.cc106 UnprintableTemplateInGlobal() : value_() {} in UnprintableTemplateInGlobal()
109 T value_; member in UnprintableTemplateInGlobal
174 explicit PrintableViaPrintToTemplate(const T& a_value) : value_(a_value) {} in PrintableViaPrintToTemplate()
176 const T& value() const { return value_; } in value()
179 T value_; member in foo::PrintableViaPrintToTemplate
191 StreamableTemplateInFoo() : value_() {} in StreamableTemplateInFoo()
193 const T& value() const { return value_; } in value()
196 T value_; member in foo::StreamableTemplateInFoo
253 explicit Wrapper(T&& value) : value_(std::forward<T>(value)) {} in Wrapper()
255 const T& value() const { return value_; } in value()
[all …]
H A Dgoogletest-port-test.cc1046 : 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
/freebsd-14.2/contrib/ntp/sntp/libevent/test/
H A Dtinytest_macros.h123 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)); }, \
/freebsd-14.2/contrib/libevent/test/
H A Dtinytest_macros.h123 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)); }, \
/freebsd-14.2/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h232 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
239 value_ = static_cast<T>(value_ + step_); in Advance()
245 const T* Current() const override { return &value_; } in Current()
261 value_(other.value_), in Iterator()
269 T value_; variable
326 value_.reset(); in Advance()
339 if (value_.get() == nullptr) value_.reset(new T(*iterator_)); in Current()
340 return value_.get(); in Current()
367 mutable std::unique_ptr<const T> value_; variable
984 const To* Current() const override { return value_.get(); } in Current()
[all …]
H A Dgtest-port.h1579 ValueHolder() : value_() {}
1582 T* pointer() { return &value_; }
1585 T value_;
1626 return new ValueHolder(value_);
1782 ValueHolder() : value_() {}
1785 T* pointer() { return &value_; }
1788 T value_;
1841 return new ValueHolder(value_);
1897 ThreadLocal() : value_() {}
1899 T* pointer() { return &value_; }
[all …]
H A Dgtest-internal.h294 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
304 return fp.u_.value_; in ReinterpretBits()
349 RawType value_; // The raw floating-point number. member
/freebsd-14.2/contrib/kyua/utils/config/
H A Dnodes.ipp205 /// \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 Dlua_module_test.cpp54 explicit custom_type(const int value_) : in custom_type()
55 value(value_) in custom_type()
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h620 explicit FixedValueProducer(T value) : value_(value) {}
621 T Produce() override { return value_; }
624 const T value_;
933 return Impl<U>(std::move(value_));
944 return Impl<U>(value_);
1078 R value_;
1196 return Action<F>(new Impl<F>(value_));
1212 T value_;
1215 const T value_;
1268 *ptr_ = value_;
[all …]
H A Dgmock-spec-builders.h1346 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_;
/freebsd-14.2/contrib/lua/src/
H A Dlobject.h65 #define TValuefields Value value_; lu_byte tt_
72 #define val_(o) ((o)->value_)
120 io1->value_ = io2->value_; settt_(io1, io2->tt_); \
715 n_->u.key_val = io_->value_; n_->u.key_tt = io_->tt_; \
722 io_->value_ = n_->u.key_val; io_->tt_ = n_->u.key_tt; \
/freebsd-14.2/contrib/kyua/utils/format/
H A Dformatter_test.cpp56 int_wrapper(const int value_) : _value(value_) in int_wrapper() argument
/freebsd-14.2/contrib/googletest/googletest/include/gtest/
H A Dgtest-typed-test.h53 T value_;
72 TypeParam n = this->value_;
H A Dgtest.h376 : key_(a_key), value_(a_value) {} in TestProperty()
382 const char* value() const { return value_.c_str(); } in value()
385 void SetValue(const std::string& new_value) { value_ = new_value; } in SetValue()
391 std::string value_; variable
/freebsd-14.2/contrib/kyua/utils/
H A Doptional_test.cpp55 test_alloc(int value_) : value(value_) in test_alloc() argument
/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc141 Foo() : value_(123) {} in Foo()
143 int Nullary() const { return value_; } in Nullary()
145 short Unary(long x) { return static_cast<short>(value_ + x); } // NOLINT in Unary()
149 int Ternary(int x, bool y, char z) { return value_ + x + y * z; } in Ternary()
152 return a + b + c + d + value_; in SumOf4()
189 int value_; member in testing::gmock_more_actions_test::Foo
1404 : value_(a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 + a10) {} in TenArgConstructorClass()
1405 int value_; member in testing::gmock_more_actions_test::TenArgConstructorClass
1442 explicit BoolResetter(bool* value) : value_(value) {} in BoolResetter()
1443 ~BoolResetter() { *value_ = false; } in ~BoolResetter()
[all …]
H A Dgmock-actions_test.cc358 MyDefaultConstructible() : value_(42) {} in MyDefaultConstructible()
360 int value() const { return value_; } in value()
363 int value_; member in testing::__anonf560f22a0111::MyDefaultConstructible
372 int value() const { return value_; } in value()
375 int value_; member in testing::__anonf560f22a0111::MyNonDefaultConstructible
1219 Foo() : value_(123) {} in Foo()
1221 int Nullary() const { return value_; } in Nullary()
1224 int value_; member in testing::__anonf560f22a0111::Foo
1745 : value_(a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 + a10) {} in TenArgConstructorClass()
1746 int value_; member in testing::__anonf560f22a0111::TenArgConstructorClass
[all …]
H A Dgmock-matchers-misc_test.cc100 explicit NotCopyable(int a_value) : value_(a_value) {} in NotCopyable()
102 int value() const { return value_; } in value()
113 int value_; member in testing::gmock_matchers_test::__anon9f78c1690111::NotCopyable
684 : value_(std::move(value)), has_value_(true) {} in SampleOptional()
685 SampleOptional() : value_(), has_value_(false) {} in SampleOptional()
687 const T& operator*() const { return value_; } in operator *()
690 T value_; member in testing::gmock_matchers_test::__anon9f78c1690111::SampleOptional
1142 explicit UncopyableFoo(char value) : value_(value) { (void)value_; } in UncopyableFoo()
1148 char value_; member in testing::gmock_matchers_test::__anon9f78c1690111::UncopyableFoo
H A Dgmock-matchers-containers_test.cc351 Uncopyable() : value_(-1) {} in Uncopyable()
352 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable()
354 int value() const { return value_; } in value()
355 void set_value(int i) { value_ = i; } in set_value()
358 int value_; member in testing::gmock_matchers_test::__anon8ac8d7730111::Uncopyable
1385 explicit PostIncrProxy(const value_type& value) : value_(value) {} in PostIncrProxy()
1386 value_type operator*() const { return value_; } in operator *()
1389 value_type value_; member in testing::gmock_matchers_test::__anon8ac8d7730111::Streamlike::ConstIter::PostIncrProxy
/freebsd-14.2/sys/contrib/openzfs/module/lua/
H A Dlobject.h101 #define TValuefields Value value_; int tt_
110 #define val_(o) ((o)->value_)
239 io1->value_ = io2->value_; io1->tt_ = io2->tt_; \
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc1797 (long long timerid_, long long flags_, void *value_, void *ovalue_) {
1801 (long long res, long long timerid_, long long flags_, void *value_,
1809 (long long res, long long timerid_, void *value_) {
1842 POST_SYSCALL(_ksem_init)(long long res, long long value_, void *idp_) {
1854 long long value_, void *idp_) {
2762 (void *path_, void *name_, void *value_, long long size_) {
2776 (long long fd_, void *name_, void *value_, long long size_) {
3315 (long long timerid_, long long flags_, void *value_, void *ovalue_) {
3325 (long long res, long long timerid_, long long flags_, void *value_,
3337 PRE_SYSCALL(__timer_gettime50)(long long timerid_, void *value_) {
[all …]

12