Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 189) sorted by relevance

12345678

/ndk/tests/device/test-stlport/unit/
Dstack_allocator.h37 State(const State& other) in State()
38 : m_beg(other.m_beg), m_end(other.m_end), m_cur(0), in State()
39 m_isOk(true), m_swaped(other.m_swaped), m_nbAlloc(0), in State()
40 m_sharedCur(other.m_sharedCur), m_sharedOk(other.m_sharedOk), in State()
41 m_sharedNbAlloc(other.m_sharedNbAlloc) {} in State()
74 StackAllocator(StackAllocator<_OtherTp> const& other) in StackAllocator()
75 : m_state(other.getState()) {} in StackAllocator()
84 typedef StackAllocator<_Other> other; typedef
148 void swap(StackAllocator &other) { in swap()
149 __STD swap(m_state, other.m_state); in swap()
[all …]
Dsort_test.cpp81 bool operator == (const Data& other) const in operator ==()
82 { return m_index == other.m_index && m_value == other.m_value; } in operator ==()
83 bool operator < (const Data& other) const in operator <()
84 { return m_value < other.m_value; } in operator <()
166 SortTestAux (SortTestAux const&other) : _b(other._b) { in SortTestAux()
Dtime_facets_test.cpp58 struct tm other = { 15, 20, 9, 14, 7, 105 }; in _time_put_get() local
60 i = tmg.get_monthname( i, e, io, err, &other ); in _time_put_get()
62 CPPUNIT_ASSERT( other.tm_mon == xmas.tm_mon ); in _time_put_get()
65 i = tmg.get_year( i, e, io, err, &other ); in _time_put_get()
68 CPPUNIT_ASSERT( other.tm_year == xmas.tm_year ); in _time_put_get()
141 struct tm other = { 15, 20, 9, 14, 7, 105 }; in _time_put_get() local
143 i = tmg.get_monthname( i, e, io, err, &other ); in _time_put_get()
145 CPPUNIT_ASSERT( other.tm_mon == xmas.tm_mon ); in _time_put_get()
148 i = tmg.get_year( i, e, io, err, &other ); in _time_put_get()
151 CPPUNIT_ASSERT( other.tm_year == xmas.tm_year ); in _time_put_get()
/ndk/tests/device/test-gnustl-full/unit/
Dstack_allocator.h37 State(const State& other) in State()
38 : m_beg(other.m_beg), m_end(other.m_end), m_cur(0), in State()
39 m_isOk(true), m_swaped(other.m_swaped), m_nbAlloc(0), in State()
40 m_sharedCur(other.m_sharedCur), m_sharedOk(other.m_sharedOk), in State()
41 m_sharedNbAlloc(other.m_sharedNbAlloc) {} in State()
74 StackAllocator(StackAllocator<_OtherTp> const& other) in StackAllocator()
75 : m_state(other.getState()) {} in StackAllocator()
84 typedef StackAllocator<_Other> other; typedef
148 void swap(StackAllocator &other) { in swap()
149 __STD swap(m_state, other.m_state); in swap()
[all …]
Dsort_test.cpp81 bool operator == (const Data& other) const in operator ==()
82 { return m_index == other.m_index && m_value == other.m_value; } in operator ==()
83 bool operator < (const Data& other) const in operator <()
84 { return m_value < other.m_value; } in operator <()
166 SortTestAux (SortTestAux const&other) : _b(other._b) { in SortTestAux()
Dtime_facets_test.cpp58 struct tm other = { 15, 20, 9, 14, 7, 105 }; in _time_put_get() local
60 i = tmg.get_monthname( i, e, io, err, &other ); in _time_put_get()
62 CPPUNIT_ASSERT( other.tm_mon == xmas.tm_mon ); in _time_put_get()
65 i = tmg.get_year( i, e, io, err, &other ); in _time_put_get()
68 CPPUNIT_ASSERT( other.tm_year == xmas.tm_year ); in _time_put_get()
141 struct tm other = { 15, 20, 9, 14, 7, 105 }; in _time_put_get() local
143 i = tmg.get_monthname( i, e, io, err, &other ); in _time_put_get()
145 CPPUNIT_ASSERT( other.tm_mon == xmas.tm_mon ); in _time_put_get()
148 i = tmg.get_year( i, e, io, err, &other ); in _time_put_get()
151 CPPUNIT_ASSERT( other.tm_year == xmas.tm_year ); in _time_put_get()
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h92 virtual bool Equals(const ParamIteratorInterface& other) const = 0;
106 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator() argument
107 ParamIterator& operator=(const ParamIterator& other) {
108 if (this != &other)
109 impl_.reset(other.impl_->Clone());
126 bool operator==(const ParamIterator& other) const {
127 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
129 bool operator!=(const ParamIterator& other) const {
130 return !(*this == other);
164 ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {} in ParamGenerator() argument
[all …]
Dgtest-param-util-generated.h86 void operator=(const ValueArray1& other);
104 void operator=(const ValueArray2& other);
124 void operator=(const ValueArray3& other);
146 void operator=(const ValueArray4& other);
169 void operator=(const ValueArray5& other);
195 void operator=(const ValueArray6& other);
222 void operator=(const ValueArray7& other);
251 void operator=(const ValueArray8& other);
282 void operator=(const ValueArray9& other);
314 void operator=(const ValueArray10& other);
[all …]
Dgtest-param-util-generated.h.pump15 // in the documentation and/or other materials provided with the
85 void operator=(const ValueArray1& other);
107 void operator=(const ValueArray$i& other);
184 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const {
185 // Having the same base generator guarantees that the other
187 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
191 CheckedDowncastToActualType<const Iterator>(&other);
203 Iterator(const Iterator& other)
204 : base_(other.base_), $for j, [[
206 begin$(j)_(other.begin$(j)_),
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/
Drebind_alloc.pass.cpp30 template <class U> struct rebind {typedef ReboundA<U> other;}; typedef
41 template <class V> struct rebind {typedef ReboundB<V, U> other;}; typedef
73 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA… in main()
74 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, Reb… in main()
75 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double… in main()
76 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<d… in main()
77 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>::other, E<double… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/pointer.traits/pointer.traits.types/
Drebind.pass.cpp35 template <class U> struct rebind {typedef B1<U> other;};
52 template <class V> struct rebind {typedef D1<V, U> other;};
64 …static_assert((std::is_same<std::pointer_traits<A<int*> >::rebind<double*>::other, A<double*> >::v… in main()
65 …static_assert((std::is_same<std::pointer_traits<B<int> >::rebind<double>::other, B1<double> >::val… in main()
66 …static_assert((std::is_same<std::pointer_traits<C<char, int> >::rebind<double>::other, C<double, i… in main()
67 …static_assert((std::is_same<std::pointer_traits<D<char, int> >::rebind<double>::other, D1<double, … in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/
Drebind_traits.pass.cpp30 template <class U> struct rebind {typedef ReboundA<U> other;}; typedef
41 template <class V> struct rebind {typedef ReboundB<V, U> other;}; typedef
73 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>::other, std::al… in main()
74 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>::other, st… in main()
75 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>::other, std::al… in main()
76 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>::other, st… in main()
77 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_traits<double>::other, std::al… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.lcong/
Ddiscard.pass.cpp42 other() in other() function
70 other<unsigned int>(); in main()
71 other<unsigned long>(); in main()
72 other<unsigned long long>(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dexception.cpp198 exception_ptr::exception_ptr(const exception_ptr& other) _NOEXCEPT in exception_ptr() argument
199 : __ptr_(other.__ptr_) in exception_ptr()
205 reinterpret_cast<const __exception_ptr::exception_ptr&>(other)); in exception_ptr()
217 exception_ptr& exception_ptr::operator=(const exception_ptr& other) _NOEXCEPT in operator =() argument
220 if (__ptr_ != other.__ptr_) in operator =()
222 __cxa_increment_exception_refcount(other.__ptr_); in operator =()
224 __ptr_ = other.__ptr_; in operator =()
229 reinterpret_cast<const __exception_ptr::exception_ptr&>(other); in operator =()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
Dconst_data_members.pass.cpp68 struct other {}; struct
195 TEST_NUMERIC_LIMITS(other) in main()
196 TEST_NUMERIC_LIMITS(const other) in main()
197 TEST_NUMERIC_LIMITS(volatile other) in main()
198 TEST_NUMERIC_LIMITS(const volatile other) in main()
/ndk/sources/android/support/tests/minitest/
Dminitest.cc32 String& String::operator+=(const String& other) { in operator +=() argument
34 Resize(old_size + other.size_); in operator +=()
35 ::memcpy(str_ + old_size, other.str_, other.size_); in operator +=()
53 String& String::operator<<(const String& other) { in operator <<() argument
54 (*this) += other; in operator <<()
Dminitest.h126 String(const String& other) { String(other.str_, other.size_); }
128 String& operator=(const String& other) {
129 (*this) += other;
142 String& operator+=(const String& other);
146 String operator+(const String& other) const {
148 result += other;
159 String& operator<<(const String& other);
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-param-test_test.cc268 DogAdder(const DogAdder& other) : value_(other.value_.c_str()) {} in DogAdder() argument
270 DogAdder operator=(const DogAdder& other) { in operator =() argument
271 if (this != &other) in operator =()
272 value_ = other.value_; in operator =()
275 DogAdder operator+(const DogAdder& other) const { in operator +()
277 msg << value_.c_str() << other.value_.c_str(); in operator +()
280 bool operator<(const DogAdder& other) const { in operator <()
281 return value_ < other.value_; in operator <()
306 IntWrapper(const IntWrapper& other) : value_(other.value_) {} in IntWrapper() argument
308 IntWrapper operator=(const IntWrapper& other) { in operator =() argument
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/config/
D_hpacc.h45 typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
65 typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
121 typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/
Dshared_array.hpp128 void swap(shared_array<T> & other) // never throws in swap() argument
130 std::swap(px, other.px); in swap()
131 pn.swap(other.pn); in swap()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/iterator/detail/
Dconfig_def.hpp104 foo(foo<U> const& other) : p(other.p) { }
/ndk/sources/host-tools/make-3.81/tests/scripts/variables/
Dnegative21 'x=\$\(other',
42 'x=\$\(other',
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/pointer.traits/
Drebind.pass.cpp27 …static_assert((std::is_same<std::pointer_traits<int*>::rebind<double>::other, double*>::value), ""… in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_iostream_string.h56 typedef __iostring_allocator<_Tp1> other; typedef
58 typedef _STLP_PRIV __iostring_allocator<_Tp1> other;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/
Dallocator_void.pass.cpp31 static_assert((std::is_same<std::allocator<void>::rebind<int>::other, in main()

12345678