HomeSort by relevance Sort by last modified time
    Searched defs:MoveOnlyInt (Results 1 - 3 of 3) sorted by null

  /external/libchrome/base/test/
move_only_int.h 14 class MoveOnlyInt {
16 explicit MoveOnlyInt(int data = 1) : data_(data) {}
17 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; }
18 ~MoveOnlyInt() { data_ = 0; }
20 MoveOnlyInt& operator=(MoveOnlyInt&& other) {
26 friend bool operator==(const MoveOnlyInt& lhs, const MoveOnlyInt& rhs) {
30 friend bool operator!=(const MoveOnlyInt& lhs, const MoveOnlyInt& rhs)
    [all...]
  /external/skia/tests/
TArrayTest.cpp 107 struct MoveOnlyInt {
108 MoveOnlyInt(int i) : fInt(i) {}
109 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {}
114 SkTArray<MoveOnlyInt> moi;
115 SkSTArray< 5, MoveOnlyInt> moi5;
116 SkSTArray<10, MoveOnlyInt> moi10;
117 SkSTArray<20, MoveOnlyInt> moi20;
118 SkTArray<MoveOnlyInt>* arraysMoi[] = { &moi, &moi5, &moi10, &moi20 };
  /external/skqp/tests/
TArrayTest.cpp 107 struct MoveOnlyInt {
108 MoveOnlyInt(int i) : fInt(i) {}
109 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {}
114 SkTArray<MoveOnlyInt> moi;
115 SkSTArray< 5, MoveOnlyInt> moi5;
116 SkSTArray<10, MoveOnlyInt> moi10;
117 SkSTArray<20, MoveOnlyInt> moi20;
118 SkTArray<MoveOnlyInt>* arraysMoi[] = { &moi, &moi5, &moi10, &moi20 };

Completed in 93 milliseconds