Home
last modified time | relevance | path

Searched refs:MyInteger (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/libs/circular_buffer/test/
Dbase_test.cpp18 circular_buffer<MyInteger> cb(4, 3); in iterator_constructor_and_assign_test()
19 circular_buffer<MyInteger>::iterator it = cb.begin(); in iterator_constructor_and_assign_test()
20 circular_buffer<MyInteger>::const_iterator cit2 = cb.cbegin(); in iterator_constructor_and_assign_test()
21 circular_buffer<MyInteger>::iterator itCopy; in iterator_constructor_and_assign_test()
24 circular_buffer<MyInteger>::const_iterator cit; in iterator_constructor_and_assign_test()
26 circular_buffer<MyInteger>::const_iterator end1 = cb.end(); in iterator_constructor_and_assign_test()
27 circular_buffer<MyInteger>::const_iterator end2 = end1; in iterator_constructor_and_assign_test()
28 circular_buffer<MyInteger>::const_iterator end3 = cb.cend(); in iterator_constructor_and_assign_test()
57 circular_buffer<MyInteger> cb(5, 1); in iterator_difference_test()
59 circular_buffer<MyInteger>::iterator it1 = cb.begin() + 2; in iterator_difference_test()
[all …]
Dcommon.ipp18 void generic_test(CB_CONTAINER<MyInteger, Alloc>& cb) {
109 CB_CONTAINER<MyInteger> cb1(3, v.begin(), v.end());
110 CB_CONTAINER<MyInteger> cb2(10, v.begin(), v.end());
111 CB_CONTAINER<MyInteger> cb3(7, v.begin(), v.end());
141 CB_CONTAINER<MyInteger> cb1(3);
146 CB_CONTAINER<MyInteger> cb2(5);
246 CB_CONTAINER<MyInteger> cb1(10, 0);
247 const CB_CONTAINER<MyInteger> cb2(10, 0);
248 CB_CONTAINER<MyInteger>::allocator_type& alloc_ref = cb1.get_allocator();
249 CB_CONTAINER<MyInteger>::allocator_type alloc = cb2.get_allocator();
[all …]
Dtest.hpp28 class MyInteger { class
44 MyInteger() : m_pValue(new int(0)) { check_exception(); } in MyInteger() function in MyInteger
45 MyInteger(int i) : m_pValue(new int(i)) { check_exception(); } in MyInteger() function in MyInteger
46 MyInteger(const MyInteger& src) : m_pValue(new int(src)) { check_exception(); } in MyInteger() function in MyInteger
47 ~MyInteger() { delete m_pValue; } in ~MyInteger()
48 MyInteger& operator = (const MyInteger& src) { in operator =()
Dconstant_erase_test.cpp11 int MyInteger::ms_exception_trigger = 0;
58 circular_buffer<MyInteger> cb3(5); in erase_begin_test()
117 circular_buffer<MyInteger> cb3(5); in erase_end_test()
163 circular_buffer<MyInteger> cb3(5); in clear_test()
Dspace_optimized_test.cpp15 typedef circular_buffer_space_optimized<MyInteger> cb_space_optimized;
/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc130 struct MyInteger { struct
132 explicit constexpr MyInteger(integer i) : i(i) {} in MyInteger() function
135 constexpr MyInteger operator+(MyInteger other) const { return i + other.i; } in operator +() argument
136 constexpr MyInteger operator-(MyInteger other) const { return i - other.i; } in operator -() argument
137 constexpr MyInteger operator*(MyInteger other) const { return i * other.i; } in operator *() argument
138 constexpr MyInteger operator/(MyInteger other) const { return i / other.i; } in operator /() argument
140 constexpr bool operator<(MyInteger other) const { return i < other.i; } in operator <() argument
141 constexpr bool operator<=(MyInteger other) const { return i <= other.i; } in operator <=() argument
142 constexpr bool operator==(MyInteger other) const { return i == other.i; } in operator ==() argument
143 constexpr bool operator>=(MyInteger other) const { return i >= other.i; } in operator >=() argument
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dnumbers_test.cc130 struct MyInteger { struct
132 explicit constexpr MyInteger(integer i) : i(i) {} in MyInteger() function
135 constexpr MyInteger operator+(MyInteger other) const { return i + other.i; } in operator +() argument
136 constexpr MyInteger operator-(MyInteger other) const { return i - other.i; } in operator -() argument
137 constexpr MyInteger operator*(MyInteger other) const { return i * other.i; } in operator *() argument
138 constexpr MyInteger operator/(MyInteger other) const { return i / other.i; } in operator /() argument
140 constexpr bool operator<(MyInteger other) const { return i < other.i; } in operator <() argument
141 constexpr bool operator<=(MyInteger other) const { return i <= other.i; } in operator <=() argument
142 constexpr bool operator==(MyInteger other) const { return i == other.i; } in operator ==() argument
143 constexpr bool operator>=(MyInteger other) const { return i >= other.i; } in operator >=() argument
[all …]
/third_party/boost/libs/log/doc/
Dattributes.qbk42 lg.add_attribute("MyInteger", attrs::constant< int >(-5));
72 lg.add_attribute("MyInteger", attr);
73 BOOST_LOG(lg) << "This record has MyInteger == -5";
77 BOOST_LOG(lg) << "This record has MyInteger == 100";