Home
last modified time | relevance | path

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

/aosp_15_r20/external/webrtc/api/
H A 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;
/aosp_15_r20/external/skia/tests/
H A DTArrayTest.cpp220 struct MoveOnlyInt { struct
221 MoveOnlyInt(int i) : fInt(i) {} in MoveOnlyInt() function
222 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {} in MoveOnlyInt() function
223 bool operator==(int i) const { return fInt == i; } in operator ==()
224 int fInt;
/aosp_15_r20/external/cronet/base/ranges/
H A Dalgorithm_unittest.cc68 struct MoveOnlyInt { struct
69 MoveOnlyInt(int value) : value(value) {} in MoveOnlyInt() function
70 MoveOnlyInt(MoveOnlyInt&& other) : value(std::exchange(other.value, 0)) {} in MoveOnlyInt() argument
72 MoveOnlyInt& operator=(MoveOnlyInt&& other) { in operator =()
77 int value = 0;
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/6/external/libchrome/base/test/
Dmove_only_int.h20 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/gensrcs/external/libchrome/base/test/
Dmove_only_int.h20 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
/aosp_15_r20/external/libchrome/base/test/
H A Dmove_only_int.h17 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
/aosp_15_r20/external/webrtc/rtc_base/containers/
H A Dmove_only_int.h25 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
H A Dflat_map_unittest.cc442 const std::pair<MoveOnlyInt, MoveOnlyInt>& e) { in TEST()
/aosp_15_r20/external/cronet/base/test/
H A Dmove_only_int.h15 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function