Home
last modified time | relevance | path

Searched defs:MoveOnlyInt (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/api/
Drtc_error_unittest.cc22 struct MoveOnlyInt { struct
23 MoveOnlyInt() {} in MoveOnlyInt() function
24 explicit MoveOnlyInt(int value) : value(value) {} in MoveOnlyInt() argument
27 MoveOnlyInt(MoveOnlyInt&& other) : value(other.value) {} in MoveOnlyInt() function
28 MoveOnlyInt& operator=(MoveOnlyInt&& other) { in operator =()
33 int value = kDefaultMoveOnlyIntValue;
/external/skia/tests/
DTArrayTest.cpp206 struct MoveOnlyInt { struct
207 MoveOnlyInt(int i) : fInt(i) {} in MoveOnlyInt() argument
208 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {} in MoveOnlyInt() function
209 bool operator==(int i) const { return fInt == i; } in operator ==()
210 int fInt;
/external/libchrome/base/test/
Dmove_only_int.h17 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
/external/cronet/base/test/
Dmove_only_int.h15 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
/external/webrtc/rtc_base/containers/
Dmove_only_int.h25 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
Dflat_map_unittest.cc442 const std::pair<MoveOnlyInt, MoveOnlyInt>& e) { in TEST()
/external/cronet/base/ranges/
Dalgorithm_unittest.cc68 struct MoveOnlyInt { struct
69 MoveOnlyInt(int value) : value(value) {} in MoveOnlyInt() argument
70 MoveOnlyInt(MoveOnlyInt&& other) : value(std::exchange(other.value, 0)) {} in MoveOnlyInt() argument
72 MoveOnlyInt& operator=(MoveOnlyInt&& other) { in operator =()
77 int value = 0;