Home
last modified time | relevance | path

Searched defs:MyInteger (Results 1 – 3 of 3) sorted by relevance

/third_party/boost/libs/circular_buffer/test/
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
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dnumbers_test.cc130 struct MyInteger { struct
131 integer i;
132 explicit constexpr MyInteger(integer i) : i(i) {} in MyInteger() argument
133 constexpr operator integer() const { return i; } in operator integer()
135 constexpr MyInteger operator+(MyInteger other) const { return i + other.i; } in operator +()
136 constexpr MyInteger operator-(MyInteger other) const { return i - other.i; } in operator -()
137 constexpr MyInteger operator*(MyInteger other) const { return i * other.i; } in operator *()
138 constexpr MyInteger operator/(MyInteger other) const { return i / other.i; } in operator /()
140 constexpr bool operator<(MyInteger other) const { return i < other.i; } in operator <()
141 constexpr bool operator<=(MyInteger other) const { return i <= other.i; } in operator <=()
[all …]
/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc130 struct MyInteger { struct
131 integer i;
132 explicit constexpr MyInteger(integer i) : i(i) {} in MyInteger() argument
133 constexpr operator integer() const { return i; } in operator integer()
135 constexpr MyInteger operator+(MyInteger other) const { return i + other.i; } in operator +()
136 constexpr MyInteger operator-(MyInteger other) const { return i - other.i; } in operator -()
137 constexpr MyInteger operator*(MyInteger other) const { return i * other.i; } in operator *()
138 constexpr MyInteger operator/(MyInteger other) const { return i / other.i; } in operator /()
140 constexpr bool operator<(MyInteger other) const { return i < other.i; } in operator <()
141 constexpr bool operator<=(MyInteger other) const { return i <= other.i; } in operator <=()
[all …]