Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-linked_ptr.h182 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 Dgtest-param-util.h222 : 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 Dgtest-port.h1997 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 Dgtest-internal.h298 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-12.1/contrib/googletest/googletest/test/
H A Dgtest-typed-test_test.cc69 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 Dgoogletest-param-test-test.cc261 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 Dgoogletest-list-tests-unittest_.cc80 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 Dgoogletest-printers-test.cc105 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 Dgoogletest-port-test.cc1043 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-12.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h253 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 Dgmock-spec-builders.h1322 : 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-12.1/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)
179 { print_ = tinytest_format_hex_(value_, (len)); }, \
/freebsd-12.1/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)
185 { print_ = tinytest_format_hex_(value_, (len)); }, \
/freebsd-12.1/contrib/googletest/googlemock/test/
H A Dgmock-generated-actions_test.cc1010 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 Dgmock-actions_test.cc206 MyDefaultConstructible() : value_(42) {} in MyDefaultConstructible()
208 int value() const { return value_; } in value()
211 int value_; member in __anon060f74470111::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 __anon060f74470111::MyNonDefaultConstructible
931 Foo() : value_(123) {} in Foo()
933 int Nullary() const { return value_; } in Nullary()
936 int value_; member in __anon060f74470111::Foo
H A Dgmock-more-actions_test.cc181 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
H A Dgmock-matchers_test.cc625 int value() const { return value_; } in value()
627 int value_; member in testing::gmock_matchers_test::IntValue
3902 Uncopyable() : value_(-1) {} in Uncopyable()
3905 int value() const { return value_; } in value()
3906 void set_value(int i) { value_ = i; } in set_value()
3909 int value_; member in testing::gmock_matchers_test::Uncopyable
4737 int value() const { return value_; } in value()
4747 int value_; member in testing::gmock_matchers_test::NotCopyable
5274 value_type value_; member in testing::gmock_matchers_test::Streamlike::ConstIter::PostIncrProxy
6631 return value_; in operator *()
[all …]
H A Dgmock-generated-matchers_test.cc879 explicit UncopyableFoo(char value) : value_(value) {} in UncopyableFoo()
884 char value_; member in __anon3c8507a90111::UncopyableFoo
/freebsd-12.1/contrib/lua/src/
H A Dlobject.h110 #define TValuefields Value value_; int tt_
123 #define val_(o) ((o)->value_)
373 iu->user_ = io->value_; iu->ttuv_ = rttype(io); \
379 io->value_ = iu->user_; settt_(io, iu->ttuv_); \
487 k_->nk.value_ = io_->value_; k_->nk.tt_ = io_->tt_; \
/freebsd-12.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-typed-test.h52 T value_;
71 TypeParam n = this->value_;
H A Dgtest.h533 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-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlobject.h103 #define TValuefields Value value_; int tt_
112 #define val_(o) ((o)->value_)
241 io1->value_ = io2->value_; io1->tt_ = io2->tt_; \
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc1752 (long long timerid_, long long flags_, void *value_, void *ovalue_) {
1756 (long long res, long long timerid_, long long flags_, void *value_,
1764 (long long res, long long timerid_, void *value_) {
1797 POST_SYSCALL(_ksem_init)(long long res, long long value_, void *idp_) {
1809 long long value_, void *idp_) {
2716 (void *path_, void *name_, void *value_, long long size_) {
2730 (long long fd_, void *name_, void *value_, long long size_) {
3269 (long long timerid_, long long flags_, void *value_, void *ovalue_) {
3279 (long long res, long long timerid_, long long flags_, void *value_,
3291 PRE_SYSCALL(__timer_gettime50)(long long timerid_, void *value_) {
[all …]
/freebsd-12.1/contrib/binutils/include/opcode/
H A Dcgen.h1303 (CGEN_CPU_DESC, int opindex_, CGEN_FIELDS *fields_, int value_);
1308 (CGEN_CPU_DESC, int opindex_, CGEN_FIELDS *fields_, bfd_vma value_);
/freebsd-12.1/contrib/googletest/googlemock/docs/
H A DFrequentlyAskedQuestions.md360 std::string value_;
367 // - value_ is leaked.

12