Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 23 of 23) sorted by relevance

/device/generic/goldfish/camera/
Dabc3d.cpp81 AutoImageKHR::AutoImageKHR(AutoImageKHR&& rhs) noexcept in AutoImageKHR() argument
82 : mEglDisplay(rhs.mEglDisplay) in AutoImageKHR()
83 , mEglImage(std::exchange(rhs.mEglImage, EGL_NO_IMAGE_KHR)) {} in AutoImageKHR()
85 AutoImageKHR& AutoImageKHR::operator=(AutoImageKHR&& rhs) noexcept { in operator =() argument
86 if (this != &rhs) { in operator =()
87 mEglDisplay = rhs.mEglDisplay; in operator =()
88 mEglImage = std::exchange(rhs.mEglImage, EGL_NO_IMAGE_KHR); in operator =()
102 EglCurrentContext::EglCurrentContext(EglCurrentContext&& rhs) noexcept in EglCurrentContext() argument
103 : mEglDisplay(std::exchange(rhs.mEglDisplay, EGL_NO_DISPLAY)) {} in EglCurrentContext()
105 EglCurrentContext& EglCurrentContext::operator=(EglCurrentContext&& rhs) noexcept { in operator =() argument
[all …]
DCachedStreamBuffer.cpp108 CachedStreamBuffer::CachedStreamBuffer(CachedStreamBuffer&& rhs) noexcept in CachedStreamBuffer() argument
109 : mBuffer(std::exchange(rhs.mBuffer, nullptr)) in CachedStreamBuffer()
110 , mBufferId(std::exchange(rhs.mBufferId, 0)) in CachedStreamBuffer()
111 , mAcquireFence(std::exchange(rhs.mAcquireFence, {})) in CachedStreamBuffer()
112 , mStreamId(std::exchange(rhs.mStreamId, -1))
113 , mProcessed(std::exchange(rhs.mProcessed, true)) {
DRect.h30 bool operator==(const Rect& rhs) const {
31 return (width == rhs.width) && (height == rhs.height);
Dlist_qemu_cameras.cpp117 bool operator()(Rect<uint16_t> lhs, Rect<uint16_t> rhs) const { in operator ()()
119 const size_t rArea = rhs.area(); in operator ()()
126 return lhs.width < rhs.width; in operator ()()
/device/google/trout/hal/vehicle/2.0/agl_build/prebuilt/include/android/hardware/automotive/vehicle/2.0/
Dtypes.h5143 …ePropertyType lhs, const ::android::hardware::automotive::vehicle::V2_0::VehiclePropertyType rhs) {
5144 return static_cast<int32_t>(static_cast<int32_t>(lhs) | static_cast<int32_t>(rhs));
5146 …const int32_t lhs, const ::android::hardware::automotive::vehicle::V2_0::VehiclePropertyType rhs) {
5147 return static_cast<int32_t>(lhs | static_cast<int32_t>(rhs));
5149 …const ::android::hardware::automotive::vehicle::V2_0::VehiclePropertyType lhs, const int32_t rhs) {
5150 return static_cast<int32_t>(static_cast<int32_t>(lhs) | rhs);
5152 …ePropertyType lhs, const ::android::hardware::automotive::vehicle::V2_0::VehiclePropertyType rhs) {
5153 return static_cast<int32_t>(static_cast<int32_t>(lhs) & static_cast<int32_t>(rhs));
5155 …const int32_t lhs, const ::android::hardware::automotive::vehicle::V2_0::VehiclePropertyType rhs) {
5156 return static_cast<int32_t>(lhs & static_cast<int32_t>(rhs));
[all …]
/device/generic/goldfish-opengl/system/hwc3/
DGralloc.cpp247 GrallocBuffer::GrallocBuffer(GrallocBuffer&& rhs) { *this = std::move(rhs); } in GrallocBuffer() argument
249 GrallocBuffer& GrallocBuffer::operator=(GrallocBuffer&& rhs) { in operator =() argument
250 gralloc_ = rhs.gralloc_; in operator =()
251 buffer_ = rhs.buffer_; in operator =()
252 rhs.gralloc_ = nullptr; in operator =()
253 rhs.buffer_ = nullptr; in operator =()
344 GrallocBufferView::GrallocBufferView(GrallocBufferView&& rhs) { *this = std::move(rhs); } in GrallocBufferView() argument
346 GrallocBufferView& GrallocBufferView::operator=(GrallocBufferView&& rhs) { in operator =() argument
347 std::swap(gralloc_buffer_, rhs.gralloc_buffer_); in operator =()
348 std::swap(locked_, rhs.locked_); in operator =()
[all …]
DGralloc.h39 GrallocBufferView(const GrallocBufferView& rhs) = delete;
40 GrallocBufferView& operator=(const GrallocBufferView& rhs) = delete;
42 GrallocBufferView(GrallocBufferView&& rhs);
43 GrallocBufferView& operator=(GrallocBufferView&& rhs);
69 GrallocBuffer(const GrallocBuffer& rhs) = delete;
70 GrallocBuffer& operator=(const GrallocBuffer& rhs) = delete;
72 GrallocBuffer(GrallocBuffer&& rhs);
73 GrallocBuffer& operator=(GrallocBuffer&& rhs);
/device/google/gs-common/modem/dump_modemlog/include/
Ddumper.h25 friend bool operator==(const LogDumpInfo& lhs, const LogDumpInfo& rhs) {
26 return (lhs.limit == rhs.limit) && (lhs.src_dir == rhs.src_dir) &&
27 (lhs.dest_dir == rhs.dest_dir) && (lhs.prefix == rhs.prefix);
49 friend bool operator==(const FileCopyInfo& lhs, const FileCopyInfo& rhs) {
50 return (lhs.src_dir == rhs.src_dir) && (lhs.dest_dir == rhs.dest_dir);
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.h202 bool operator==(const SharedFD& rhs) const { return value_ == rhs.value_; }
204 bool operator!=(const SharedFD& rhs) const { return value_ != rhs.value_; }
206 bool operator<(const SharedFD& rhs) const { return value_ < rhs.value_; }
208 bool operator<=(const SharedFD& rhs) const { return value_ <= rhs.value_; }
210 bool operator>(const SharedFD& rhs) const { return value_ > rhs.value_; }
212 bool operator>=(const SharedFD& rhs) const { return value_ >= rhs.value_; }
Dshared_select.h46 void swap(SharedFDSet* rhs) { in swap() argument
47 value_.swap(rhs->value_); in swap()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Dcalibration_data.cc22 CalibrationTypeFlags rhs) { in operator |() argument
24 static_cast<char>(rhs)); in operator |()
27 bool operator&(CalibrationTypeFlags lhs, CalibrationTypeFlags rhs) { in operator &() argument
28 return static_cast<char>(lhs) & static_cast<char>(rhs); in operator &()
32 CalibrationTypeFlags rhs) { in operator |=() argument
34 static_cast<char>(rhs)); in operator |=()
Dcalibration_data.h71 CalibrationTypeFlags rhs);
73 bool operator&(CalibrationTypeFlags lhs, CalibrationTypeFlags rhs);
76 CalibrationTypeFlags rhs);
/device/generic/goldfish-opengl/system/hals/
Dhost_connection_session.h34 HostConnectionSession(HostConnectionSession&& rhs) : conn(rhs.conn) { in HostConnectionSession() argument
35 rhs.conn = nullptr; in HostConnectionSession()
38 HostConnectionSession& operator=(HostConnectionSession&& rhs) {
39 if (this != &rhs) {
40 std::swap(conn, rhs.conn);
/device/google/cuttlefish/host/libs/wayland/
Dwayland_server.h47 WaylandServer(const WaylandServer& rhs) = delete;
48 WaylandServer& operator=(const WaylandServer& rhs) = delete;
50 WaylandServer(WaylandServer&& rhs) = delete;
51 WaylandServer& operator=(WaylandServer&& rhs) = delete;
Dwayland_surface.h36 Surface(const Surface& rhs) = delete;
37 Surface& operator=(const Surface& rhs) = delete;
39 Surface(Surface&& rhs) = delete;
40 Surface& operator=(Surface&& rhs) = delete;
Dwayland_surfaces.h38 Surfaces(const Surfaces& rhs) = delete;
39 Surfaces& operator=(const Surfaces& rhs) = delete;
41 Surfaces(Surfaces&& rhs) = delete;
42 Surfaces& operator=(Surfaces&& rhs) = delete;
/device/google/cuttlefish/tests/graphics/src/com/android/cuttlefish/tests/
DCuttlefishDisplayHotplugTest.java345 Correspondence.from((GuestDisplayInfo lhs, AddDisplayParams rhs) -> {
346 return lhs.width() == rhs.width() &&
347 lhs.height() == rhs.height();
351 Correspondence.from((HostDisplayInfo lhs, AddDisplayParams rhs) -> {
352 return lhs.width() == rhs.width() &&
353 lhs.height() == rhs.height();
/device/generic/goldfish/gnss/
DGnssConfiguration.cpp87 const BlocklistedSource& lhs, const BlocklistedSource& rhs) const noexcept { in operator ()()
88 return (lhs.constellation == rhs.constellation) && (lhs.svid == rhs.svid); in operator ()()
DGnssConfiguration.h46 const BlocklistedSource& rhs) const noexcept;
/device/google/cuttlefish/tests/hal/
Dhal_implementation_test.cpp156 bool operator<(const VersionedAidlPackage& rhs) const { in operator <()
157 return (name < rhs.name || (name == rhs.name && version < rhs.version)); in operator <()
/device/google/cuttlefish/host/commands/modem_simulator/
Dcommand_parser.h48 bool operator==(const std::string &rhs) const { return command_ == rhs; }
/device/generic/goldfish/sensors/include/
Dmultihal_sensors.h147 bool operator<(const BatchEventRef &rhs) const {
149 return timestamp > rhs.timestamp;
/device/google/cuttlefish/guest/hals/camera/
Dvsock_camera_device_session_3_4.h95 bool operator()(const ReadVsockRequest& lhs, const ReadVsockRequest& rhs) { in operator()
96 return lhs.frame_number > rhs.frame_number; in operator()