Home
last modified time | relevance | path

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

/external/webrtc/api/
Drtc_error_unittest.cc22 struct MoveOnlyInt { struct
23 MoveOnlyInt() {} in MoveOnlyInt() argument
24 explicit MoveOnlyInt(int value) : value(value) {} in MoveOnlyInt() argument
27 MoveOnlyInt(MoveOnlyInt&& other) : value(other.value) {} in MoveOnlyInt() argument
28 MoveOnlyInt& operator=(MoveOnlyInt&& other) { in operator =()
33 int value = kDefaultMoveOnlyIntValue;
/external/skia/tests/
DTArrayTest.cpp220 struct MoveOnlyInt { struct
221 MoveOnlyInt(int i) : fInt(i) {} in MoveOnlyInt() function
222 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {} in MoveOnlyInt() argument
223 bool operator==(int i) const { return fInt == i; } in operator ==()
224 int fInt;
/external/libchrome/base/test/
Dmove_only_int.h17 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/tot/base/test/
Dmove_only_int.h20 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
/external/cronet/stable/base/test/
Dmove_only_int.h20 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
/external/cronet/stable/base/ranges/
Dalgorithm_unittest.cc74 struct MoveOnlyInt { struct
75 MoveOnlyInt(int value) : value(value) {} in MoveOnlyInt() argument
76 MoveOnlyInt(MoveOnlyInt&& other) : value(std::exchange(other.value, 0)) {} in MoveOnlyInt() argument
78 MoveOnlyInt& operator=(MoveOnlyInt&& other) { in operator =()
83 int value = 0;
/external/cronet/tot/base/ranges/
Dalgorithm_unittest.cc74 struct MoveOnlyInt { struct
75 MoveOnlyInt(int value) : value(value) {} in MoveOnlyInt() argument
76 MoveOnlyInt(MoveOnlyInt&& other) : value(std::exchange(other.value, 0)) {} in MoveOnlyInt() function
78 MoveOnlyInt& operator=(MoveOnlyInt&& other) { in operator =()
83 int value = 0;
/external/angle/third_party/abseil-cpp/absl/container/
Dflat_hash_set_test.cc354 class MoveOnlyInt { class
356 explicit MoveOnlyInt(int value) : value_(value) {} in MoveOnlyInt() function in absl::container_internal::__anond2f3b0900111::MoveOnlyInt