Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-linked_ptr.h172 T* get() const { return value_; } in get()
173 T* operator->() const { return value_; }
174 T& operator*() const { return *value_; }
176 bool operator==(T* p) const { return value_ == p; }
177 bool operator!=(T* p) const { return value_ != p; }
180 return value_ == ptr.get();
184 return value_ != ptr.get();
191 T* value_; variable
195 if (link_.depart()) delete value_; in depart() local
199 value_ = ptr; in capture()
[all …]
Dgtest-param-util.h202 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
209 value_ = value_ + step_; in Advance()
215 virtual const T* Current() const { return &value_; } in Current()
230 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
237 T value_; variable
297 value_.reset(); in Advance()
310 if (value_.get() == NULL) in Current()
311 value_.reset(new T(*iterator_)); in Current()
312 return value_.get(); in Current()
339 mutable scoped_ptr<const T> value_; variable
Dgtest-port.h1498 explicit ValueHolder(const T& value) : value_(value) {}
1500 T* pointer() { return &value_; }
1503 T value_;
1568 ThreadLocal() : value_() {}
1569 explicit ThreadLocal(const T& value) : value_(value) {}
1570 T* pointer() { return &value_; }
1571 const T* pointer() const { return &value_; }
1572 const T& get() const { return value_; }
1573 void set(const T& value) { value_ = value; }
1575 T value_;
Dgtest-internal.h279 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
289 return fp.u_.value_; in ReinterpretBits()
336 RawType value_; // The raw floating-point number. member
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-typed-test_test.cc65 CommonTest() : value_(1) {} in CommonTest()
67 virtual ~CommonTest() { EXPECT_EQ(3, value_); } in ~CommonTest()
70 EXPECT_EQ(1, value_); in SetUp()
71 value_++; in SetUp()
75 EXPECT_EQ(2, value_); in TearDown()
76 value_++; in TearDown()
79 T value_; member in CommonTest
112 EXPECT_EQ(2, this->value_); in TYPED_TEST()
124 EXPECT_EQ(static_cast<TypeParam>(2), this->value_); in TYPED_TEST()
249 EXPECT_EQ(2, this->value_); in TYPED_TEST_P()
[all …]
Dgtest-param-test_test.cc267 explicit DogAdder(const char* a_value) : value_(a_value) {} in DogAdder()
268 DogAdder(const DogAdder& other) : value_(other.value_.c_str()) {} in DogAdder()
272 value_ = other.value_; in operator =()
277 msg << value_.c_str() << other.value_.c_str(); in operator +()
281 return value_ < other.value_; in operator <()
283 const std::string& value() const { return value_; } in value()
286 std::string value_; member in DogAdder
305 explicit IntWrapper(int a_value) : value_(a_value) {} in IntWrapper()
306 IntWrapper(const IntWrapper& other) : value_(other.value_) {} in IntWrapper()
309 value_ = other.value_; in operator =()
[all …]
Dgtest_list_tests_unittest_.cc81 explicit MyType(const std::string& a_value) : value_(a_value) {} in MyType()
83 const std::string& value() const { return value_; } in value()
86 std::string value_; member in MyType
Dgtest-printers_test.cc103 UnprintableTemplateInGlobal() : value_() {} in UnprintableTemplateInGlobal()
105 T value_; member in UnprintableTemplateInGlobal
156 explicit PrintableViaPrintToTemplate(const T& a_value) : value_(a_value) {} in PrintableViaPrintToTemplate()
158 const T& value() const { return value_; } in value()
160 T value_; member in foo::PrintableViaPrintToTemplate
172 StreamableTemplateInFoo() : value_() {} in StreamableTemplateInFoo()
174 const T& value() const { return value_; } in value()
176 T value_; member in foo::StreamableTemplateInFoo
Dgtest-port_test.cc1059 value_(0), mutex_(mutex), random_(42) {} in AtomicCounterWithMutex()
1063 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
Dgtest_unittest.cc3732 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable()
3734 int value() const { return value_; } in value()
3743 int value_; member in __anoncff51c580111::Uncopyable
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
Dhexfloat.h25 T value_; variable
31 value_ = std::ldexp(m1 + s * std::ldexp(T(m0), -static_cast<int>(n - in hexfloat()
35 operator T() const {return value_;} in T()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/exception/detail/
Derror_info_impl.hpp55 return value_; in value()
61 return value_; in value()
69 value_type value_; member in boost::error_info
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-typed-test.h51 T value_;
70 TypeParam n = this->value_;
Dgtest.h469 key_(a_key), value_(a_value) { in TestProperty()
479 return value_.c_str(); in value()
484 value_ = new_value; in SetValue()
491 std::string value_; variable
/ndk/sources/host-tools/ndk-stack/elff/
Ddwarf_die.cc90 die_attr = parent_cu()->process_attrib(die_attr, attr->form_, &attr->value_); in get_attrib()
208 die_attr = parent_cu()->process_attrib(die_attr, attr.form(), &attr.value_); in dump()
Ddwarf_defs.h637 value_.type = DWARF_VALUE_UNKNOWN; in DIEAttrib()
656 return &value_; in value()
660 Dwarf_Value value_; variable