/device/google/cuttlefish/common/libs/time/ |
D | monotonic_time.h | 67 TimeDifference operator+(const TimeDifference& other) const { 69 ret.tv_nsec = (ts_.tv_nsec + other.ts_.tv_nsec) % 1000000000; 70 ret.tv_sec = (ts_.tv_sec + other.ts_.tv_sec) + 71 (ts_.tv_nsec + other.ts_.tv_nsec) / 1000000000; 72 return TimeDifference(ret, scale_ < other.scale_ ? scale_: other.scale_); 75 TimeDifference operator-(const TimeDifference& other) const { 79 ret.tv_nsec = (1000000000 + ts_.tv_nsec - other.ts_.tv_nsec) % 1000000000; 80 ret.tv_sec = (ts_.tv_sec - other.ts_.tv_sec) - 81 (ts_.tv_nsec < other.ts_.tv_nsec ? 1 : 0); 82 return TimeDifference(ret, scale_ < other.scale_ ? scale_: other.scale_); [all …]
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | AlignedBuf.h | 44 AlignedBuf(const AlignedBuf& other) : AlignedBuf(other.mSize) { in AlignedBuf() argument 45 if (other.mBuffer) { // could have got moved out in AlignedBuf() 46 std::copy(other.mBuffer, other.mBuffer + other.mSize, mBuffer); in AlignedBuf() 50 AlignedBuf& operator=(const AlignedBuf& other) { 51 if (this != &other) { 52 AlignedBuf tmp(other); 58 AlignedBuf(AlignedBuf&& other) { *this = std::move(other); } in AlignedBuf() argument 60 AlignedBuf& operator=(AlignedBuf&& other) { 61 mBuffer = other.mBuffer; 62 mSize = other.mSize; [all …]
|
D | Optional.h | 195 Optional(const Optional& other) : base_flag(other.constructed()) { in Optional() argument 197 new (&get()) T(other.get()); in Optional() 200 Optional(Optional&& other) : base_flag(other.constructed()) { in Optional() argument 202 new (&get()) T(std::move(other.get())); in Optional() 210 Optional(const Optional<U>& other) : base_flag(other.constructed()) { in Optional() argument 212 new (&get()) T(other.get()); in Optional() 220 Optional(Optional<U>&& other) : base_flag(other.constructed()) { in Optional() argument 222 new (&get()) T(std::move(other.get())); in Optional() 246 Optional& operator=(const Optional& other) { 247 if (&other == this) { [all …]
|
D | StringView.h | 74 constexpr StringView(const StringView& other) : in StringView() argument 75 mString(other.data()), mSize(other.size()) {} in StringView() 157 void set(const StringView& other) { in set() argument 158 mString = other.mString; in set() 159 mSize = other.mSize; in set() 163 int compare(const StringView& other) const; 165 StringView& operator=(const StringView& other) { 166 set(other); 172 size_t find(StringView other, size_t off = 0) { 174 if (!other.mSize) return 0; [all …]
|
D | Compiler.h | 30 T(const T& other) = delete; \ 31 T& operator=(const T& other) = delete
|
/device/generic/goldfish-opengl/android-emu/android/base/containers/ |
D | SmallVector.h | 325 SmallFixedVector(const SmallFixedVector& other) in SmallFixedVector() argument 326 : SmallFixedVector(other.begin(), other.end()) {} in SmallFixedVector() 328 SmallFixedVector(SmallFixedVector&& other) { in SmallFixedVector() argument 329 if (other.isAllocated()) { in SmallFixedVector() 331 this->mBegin = other.mBegin; in SmallFixedVector() 332 this->mEnd = other.mEnd; in SmallFixedVector() 333 this->mCapacity = other.mCapacity; in SmallFixedVector() 334 other.init_inplace(); in SmallFixedVector() 339 std::make_move_iterator(other.begin()), in SmallFixedVector() 340 std::make_move_iterator(other.end()), this->begin()); in SmallFixedVector() [all …]
|
/device/google/cuttlefish/tools/play_audio/ |
D | sdl_wrapper.cpp | 28 SDLAudioDevice::SDLAudioDevice(SDLAudioDevice&& other) in SDLAudioDevice() argument 29 : device_id_{other.device_id_} { in SDLAudioDevice() 30 other.device_id_ = 0; 32 SDLAudioDevice& SDLAudioDevice::operator=(SDLAudioDevice&& other) { in operator =() argument 34 device_id_ = other.device_id_; in operator =() 35 other.device_id_ = 0; in operator =()
|
D | client_socket.cpp | 73 ClientSocket::ClientSocket(ClientSocket&& other) in ClientSocket() argument 74 : socket_fd_{other.socket_fd_} { in ClientSocket() 75 other.socket_fd_ = -1; 78 ClientSocket& ClientSocket::operator=(ClientSocket&& other) { in operator =() argument 80 socket_fd_ = other.socket_fd_; in operator =() 81 other.socket_fd_ = -1; in operator =()
|
D | client_socket.h | 37 ClientSocket(ClientSocket&& other); 38 ClientSocket& operator=(ClientSocket&& other);
|
D | sdl_wrapper.h | 26 SDLAudioDevice(SDLAudioDevice&& other); 27 SDLAudioDevice& operator=(SDLAudioDevice&& other);
|
/device/generic/goldfish-opengl/shared/GoldfishAddressSpace/ |
D | goldfish_address_space.cpp | 24 void GoldfishAddressSpaceBlock::replace(GoldfishAddressSpaceBlock *other) in replace() argument 28 if (other) { in replace() 29 *this = *other; in replace() 30 *other = GoldfishAddressSpaceBlock(); in replace()
|
/device/google/contexthub/contexthubhal/ |
D | nanohubhal.h | 63 HubMessage(const HubMessage &other) = delete; 64 HubMessage &operator = (const HubMessage &other) = delete; 98 HubMessage(HubMessage &&other) { in HubMessage() argument 99 *this = (HubMessage &&)other; in HubMessage() 102 HubMessage &operator = (HubMessage &&other) { 103 *static_cast<hub_message_t *>(this) = static_cast<hub_message_t>(other); 104 message_transaction_id = other.message_transaction_id; 105 message_endpoint = other.message_endpoint; 106 data_ = std::move(other.data_); 107 other.message = nullptr; [all …]
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | netlink_message.cpp | 25 NetlinkMessage::NetlinkMessage(NetlinkMessage&& other) { in NetlinkMessage() argument 26 std::swap(mMessage, other.mMessage); in NetlinkMessage() 36 NetlinkMessage& NetlinkMessage::operator=(NetlinkMessage&& other) { in operator =() argument 41 std::swap(mMessage, other.mMessage); in operator =()
|
D | cache.h | 64 bool operator==(const ConstIterator& other) const { 65 return mCurrent == other.mCurrent; 68 bool operator!=(const ConstIterator& other) const { 69 return mCurrent != other.mCurrent; 99 bool operator==(const Iterator& other) const { 100 return mCurrent == other.mCurrent; 103 bool operator!=(const Iterator& other) const { 104 return mCurrent != other.mCurrent;
|
D | netlink_message.h | 28 NetlinkMessage(NetlinkMessage&& other); 31 NetlinkMessage& operator=(NetlinkMessage&& other);
|
/device/google/cuttlefish/host/frontend/vnc_server/ |
D | vnc_utils.h | 38 bool operator<(const StripeSeqNumber& other) const { return t_ < other.t_; } 40 bool operator<=(const StripeSeqNumber& other) const { return t_ <= other.t_; }
|
/device/google/cuttlefish/common/libs/tcp_socket/ |
D | tcp_socket.h | 37 ClientSocket(ClientSocket&& other) : fd_{other.fd_} {} in ClientSocket() argument 39 ClientSocket& operator=(ClientSocket&& other) { 40 fd_ = other.fd_;
|
/device/google/cuttlefish/common/libs/net/ |
D | netlink_request.cpp | 70 NetlinkRequest::NetlinkRequest(NetlinkRequest&& other) { in NetlinkRequest() argument 72 swap(lists_, other.lists_); in NetlinkRequest() 73 swap(header_, other.header_); in NetlinkRequest() 74 swap(request_, other.request_); in NetlinkRequest()
|
/device/google/cuttlefish/common/libs/utils/ |
D | subprocess.cpp | 90 Subprocess& Subprocess::operator=(Subprocess&& other) { in operator =() argument 91 pid_ = other.pid_; in operator =() 92 started_ = other.started_; in operator =() 93 control_socket_ = other.control_socket_; in operator =() 94 stopper_ = other.stopper_; in operator =() 96 other.pid_ = -1; in operator =() 97 other.started_ = false; in operator =() 98 other.control_socket_ = SharedFD(); in operator =()
|
/device/generic/goldfish-opengl/android-emu/android/base/synchronization/ |
D | AndroidLock.h | 154 AutoLock(AutoLock&& other) : mLock(other.mLock), mLocked(other.mLocked) { in AutoLock() argument 155 other.mLocked = false; in AutoLock()
|
/device/generic/goldfish-opengl/android-emu/android/base/files/ |
D | MemStream.h | 33 MemStream(MemStream&& other) = default; 34 MemStream& operator=(MemStream&& other) = default;
|
/device/google/muskie/self-extractors/qcom/ |
D | LICENSE | 51 shall not be used for any other purpose. 65 any patents or other intellectual property rights covering or 66 relating to any other product or invention or any combination of 67 the Software with any other product. Any rights not expressly 111 trade secret, trademark and other proprietary and intellectual 117 the Software) shall provide to You any license or any other rights 119 or any other intellectual property rights of Licensor or its 125 practice, or any other right at all with respect to, any patent of 133 any obligation to extend, or Licensor or any other party has 137 (i) any corporation or any other legal entity that owns, directly [all …]
|
/device/google/coral/self-extractors/google_devices/ |
D | LICENSE | 51 shall not be used for any other purpose. 65 any patents or other intellectual property rights covering or 66 relating to any other product or invention or any combination of 67 the Software with any other product. Any rights not expressly 111 trade secret, trademark and other proprietary and intellectual 117 the Software) shall provide to You any license or any other rights 119 or any other intellectual property rights of Licensor or its 125 practice, or any other right at all with respect to, any patent of 133 any obligation to extend, or Licensor or any other party has 137 (i) any corporation or any other legal entity that owns, directly [all …]
|
/device/google/bonito/self-extractors/google_devices/ |
D | LICENSE | 51 shall not be used for any other purpose. 65 any patents or other intellectual property rights covering or 66 relating to any other product or invention or any combination of 67 the Software with any other product. Any rights not expressly 111 trade secret, trademark and other proprietary and intellectual 117 the Software) shall provide to You any license or any other rights 119 or any other intellectual property rights of Licensor or its 125 practice, or any other right at all with respect to, any patent of 133 any obligation to extend, or Licensor or any other party has 137 (i) any corporation or any other legal entity that owns, directly [all …]
|
/device/google/crosshatch/self-extractors/qcom/ |
D | LICENSE | 51 shall not be used for any other purpose. 65 any patents or other intellectual property rights covering or 66 relating to any other product or invention or any combination of 67 the Software with any other product. Any rights not expressly 111 trade secret, trademark and other proprietary and intellectual 117 the Software) shall provide to You any license or any other rights 119 or any other intellectual property rights of Licensor or its 125 practice, or any other right at all with respect to, any patent of 133 any obligation to extend, or Licensor or any other party has 137 (i) any corporation or any other legal entity that owns, directly [all …]
|