| /freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-linked_ptr.h | 182 T* get() const { return value_; } in get() 183 T* operator->() const { return value_; } 184 T& operator*() const { return *value_; } 186 bool operator==(T* p) const { return value_ == p; } 190 return value_ == ptr.get(); 194 return value_ != ptr.get(); 201 T* value_; variable 205 if (link_.depart()) delete value_; in depart() local 209 value_ = ptr; in capture() 214 value_ = ptr->get(); in copy() [all …]
|
| H A D | gtest-param-util.h | 222 : base_(base), value_(value), index_(index), step_(step) {} in Iterator() 229 value_ = static_cast<T>(value_ + step_); in Advance() 235 virtual const T* Current() const { return &value_; } in Current() 250 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator() 257 T value_; variable 317 value_.reset(); in Advance() 330 if (value_.get() == NULL) in Current() 331 value_.reset(new T(*iterator_)); in Current() 332 return value_.get(); in Current() 359 mutable scoped_ptr<const T> value_; variable
|
| H A D | gtest-port.h | 1997 ValueHolder() : value_() {} 2000 T* pointer() { return &value_; } 2003 T value_; 2040 return new ValueHolder(value_); 2194 ValueHolder() : value_() {} 2197 T* pointer() { return &value_; } 2200 T value_; 2249 return new ValueHolder(value_); 2302 ThreadLocal() : value_() {} 2304 T* pointer() { return &value_; } [all …]
|
| H A D | gtest-internal.h | 298 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint() 308 return fp.u_.value_; in ReinterpretBits() 358 RawType value_; // The raw floating-point number. member
|
| /freebsd-13.1/contrib/googletest/googletest/test/ |
| H A D | gtest-typed-test_test.cc | 69 CommonTest() : value_(1) {} in CommonTest() 71 virtual ~CommonTest() { EXPECT_EQ(3, value_); } in ~CommonTest() 74 EXPECT_EQ(1, value_); in SetUp() 75 value_++; in SetUp() 79 EXPECT_EQ(2, value_); in TearDown() 80 value_++; in TearDown() 83 T value_; member in CommonTest 116 EXPECT_EQ(2, this->value_); in TYPED_TEST() 128 EXPECT_EQ(static_cast<TypeParam>(2), this->value_); in TYPED_TEST() 287 EXPECT_EQ(2, this->value_); in TYPED_TEST_P() [all …]
|
| H A D | googletest-param-test-test.cc | 261 DogAdder(const DogAdder& other) : value_(other.value_.c_str()) {} in DogAdder() 265 value_ = other.value_; in operator =() 270 msg << value_.c_str() << other.value_.c_str(); in operator +() 274 return value_ < other.value_; in operator <() 279 std::string value_; member in DogAdder 299 IntWrapper(const IntWrapper& other) : value_(other.value_) {} in IntWrapper() 302 value_ = other.value_; in operator =() 308 return value_ < other.value_; in operator <() 310 int value() const { return value_; } in value() 313 int value_; member in IntWrapper [all …]
|
| H A D | googletest-list-tests-unittest_.cc | 80 explicit MyType(const std::string& a_value) : value_(a_value) {} in MyType() 82 const std::string& value() const { return value_; } in value() 85 std::string value_; member in MyType
|
| H A D | googletest-printers-test.cc | 105 UnprintableTemplateInGlobal() : value_() {} in UnprintableTemplateInGlobal() 107 T value_; member in UnprintableTemplateInGlobal 159 explicit PrintableViaPrintToTemplate(const T& a_value) : value_(a_value) {} in PrintableViaPrintToTemplate() 161 const T& value() const { return value_; } in value() 163 T value_; member in foo::PrintableViaPrintToTemplate 175 StreamableTemplateInFoo() : value_() {} in StreamableTemplateInFoo() 177 const T& value() const { return value_; } in value() 179 T value_; member in foo::StreamableTemplateInFoo
|
| H A D | googletest-port-test.cc | 1043 value_(0), mutex_(mutex), random_(42) {} in AtomicCounterWithMutex() 1047 int temp = value_; in Increment() 1075 value_ = temp + 1; in Increment() 1077 int value() const { return value_; } in value() 1080 volatile int value_; member in testing::internal::AtomicCounterWithMutex
|
| /freebsd-13.1/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 253 virtual T Produce() { return value_; } 256 const T value_; 617 Result value_; 647 const linked_ptr<R> value_; 762 return value_; 766 T value_; 771 const T value_; 794 *ptr_ = value_; 799 const T2 value_; 843 *::testing::get<N>(args) = value_; [all …]
|
| H A D | gmock-spec-builders.h | 1322 : value_(::testing::internal::move(value)) { in ReferenceOrValueWrapper() 1328 T Unwrap() { return ::testing::internal::move(value_); } in Unwrap() 1335 return value_; in Peek() 1339 T value_;
|
| /freebsd-13.1/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) 179 { print_ = tinytest_format_hex_(value_, (len)); }, \
|
| /freebsd-13.1/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) 185 { print_ = tinytest_format_hex_(value_, (len)); }, \
|
| /freebsd-13.1/contrib/googletest/googlemock/test/ |
| H A D | gmock-generated-actions_test.cc | 1010 NullaryConstructorClass() : value_(123) {} in NullaryConstructorClass() 1011 int value_; member in testing::gmock_generated_actions_test::NullaryConstructorClass 1018 EXPECT_EQ(123, c->value_); in TEST() 1025 int value_; member in testing::gmock_generated_actions_test::UnaryConstructorClass 1032 EXPECT_EQ(4000, c->value_); in TEST() 1040 EXPECT_EQ(4000, c->value_); in TEST() 1048 EXPECT_EQ(4000, c->value_); in TEST() 1058 int value_; member in testing::gmock_generated_actions_test::TenArgConstructorClass 1068 EXPECT_EQ(1234567890, c->value_); in TEST() 1110 ~BoolResetter() { *value_ = false; } in ~BoolResetter() [all …]
|
| H A D | gmock-actions_test.cc | 206 MyDefaultConstructible() : value_(42) {} in MyDefaultConstructible() 208 int value() const { return value_; } in value() 211 int value_; member in __anon4708b7a80111::MyDefaultConstructible 218 explicit MyNonDefaultConstructible(int a_value) : value_(a_value) {} in MyNonDefaultConstructible() 220 int value() const { return value_; } in value() 223 int value_; member in __anon4708b7a80111::MyNonDefaultConstructible 931 Foo() : value_(123) {} in Foo() 933 int Nullary() const { return value_; } in Nullary() 936 int value_; member in __anon4708b7a80111::Foo
|
| H A D | gmock-more-actions_test.cc | 181 Foo() : value_(123) {} in Foo() 183 int Nullary() const { return value_; } in Nullary() 185 short Unary(long x) { return static_cast<short>(value_ + x); } // NOLINT in Unary() 189 int Ternary(int x, bool y, char z) { return value_ + x + y*z; } in Ternary() 192 return a + b + c + d + value_; in SumOf4() 229 int value_; member in testing::gmock_more_actions_test::Foo
|
| /freebsd-13.1/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()
|
| /freebsd-13.1/contrib/lua/src/ |
| H A D | lobject.h | 63 #define TValuefields Value value_; lu_byte tt_ 70 #define val_(o) ((o)->value_) 118 io1->value_ = io2->value_; settt_(io1, io2->tt_); \ 690 n_->u.key_val = io_->value_; n_->u.key_tt = io_->tt_; \ 697 io_->value_ = n_->u.key_val; io_->tt_ = n_->u.key_tt; \
|
| /freebsd-13.1/contrib/kyua/utils/format/ |
| H A D | formatter_test.cpp | 56 int_wrapper(const int value_) : _value(value_) in int_wrapper() argument
|
| /freebsd-13.1/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest-typed-test.h | 52 T value_; 71 TypeParam n = this->value_;
|
| H A D | gtest.h | 533 key_(a_key), value_(a_value) { in TestProperty() 543 return value_.c_str(); in value() 548 value_ = new_value; in SetValue() 555 std::string value_; variable
|
| /freebsd-13.1/contrib/kyua/utils/ |
| H A D | optional_test.cpp | 55 test_alloc(int value_) : value(value_) in test_alloc() argument
|
| /freebsd-13.1/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_; \
|
| /freebsd-13.1/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_, 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 …]
|