Home
last modified time | relevance | path

Searched refs:operator (Results 1 – 25 of 113) sorted by relevance

12345

/device/generic/goldfish-opengl/android-emu/android/base/
DOptional.h113 constexpr operator bool() const { return constructed(); }
246 Optional& operator=(const Optional& other) {
270 Optional& operator=(Optional&& other) {
292 Optional& operator=(const Optional<U>& other) {
314 Optional& operator=(Optional<U>&& other) {
340 Optional& operator=(U&& other) {
351 using base_flag::operator bool;
384 T& operator*() {
391 constexpr const T& operator*() const {
399 T* operator->() {
[all …]
DEnumFlags.h49 enable_if_scoped_enum<E> operator|(E l, E r) {
55 enable_if_scoped_enum<E> operator&(E l, E r) {
61 enable_if_scoped_enum<E> operator~(E e) {
66 enable_if_scoped_enum<E> operator|=(E& l, E r) {
71 enable_if_scoped_enum<E> operator&=(E& l, E r) {
76 enable_if_scoped_enum<E, bool> operator!(E e) {
81 enable_if_scoped_enum<E, bool> operator!=(E e, int val) {
87 enable_if_scoped_enum<E, bool> operator!=(int val, E e) {
92 enable_if_scoped_enum<E, bool> operator==(E e, int val) {
98 enable_if_scoped_enum<E, bool> operator==(int val, E e) {
DStringView.h143 constexpr char operator[](size_t index) const {
165 StringView& operator=(const StringView& other) {
217 operator std::string() const { return std::string(mString, mSize); } in string()
227 bool operator==(const StringView& x, const StringView& y);
229 inline bool operator!=(const StringView& x, const StringView& y) {
233 inline bool operator<(const StringView& x, const StringView& y) {
237 inline bool operator>=(const StringView& x, const StringView& y) {
241 inline bool operator >(const StringView& x, const StringView& y) {
245 inline bool operator<=(const StringView& x, const StringView& y) {
286 operator const char*() { return get(); }
DAlignedBuf.h50 AlignedBuf& operator=(const AlignedBuf& other) {
60 AlignedBuf& operator=(AlignedBuf&& other) {
91 T& operator[](size_t index) { return mBuffer[index]; }
93 const T& operator[](size_t index) const { return mBuffer[index]; }
95 bool operator==(const AlignedBuf& other) const {
DCompiler.h31 T& operator=(const T& other) = delete
40 T& operator=(T&&) = delete
/device/generic/opengl-transport/host/commands/emugen/android/base/
DEnumFlags.h46 enable_if_scoped_enum<E> operator|(E l, E r) {
52 enable_if_scoped_enum<E> operator&(E l, E r) {
58 enable_if_scoped_enum<E> operator~(E e) {
63 enable_if_scoped_enum<E> operator|=(E& l, E r) {
68 enable_if_scoped_enum<E> operator&=(E& l, E r) {
73 enable_if_scoped_enum<E, bool> operator!(E e) {
78 enable_if_scoped_enum<E, bool> operator!=(E e, int val) {
84 enable_if_scoped_enum<E, bool> operator!=(int val, E e) {
89 enable_if_scoped_enum<E, bool> operator==(E e, int val) {
95 enable_if_scoped_enum<E, bool> operator==(int val, E e) {
/device/generic/goldfish/network/wifi_forwarder/
Dcache.h47 const IterPair* operator->() const { return this; }
56 IterPair operator->() const {
60 IterPair operator*() const {
64 bool operator==(const ConstIterator& other) const {
68 bool operator!=(const ConstIterator& other) const {
83 IterPair* operator->() { return this; }
91 IterPair operator->() {
95 IterPair operator*() {
99 bool operator==(const Iterator& other) const {
103 bool operator!=(const Iterator& other) const {
[all …]
Dframe_id.h31 FrameId& operator=(const FrameId&) = default; member
32 FrameId& operator=(FrameId&&) = default; member
40 size_t operator()(const FrameId& id) const {
49 inline bool operator==(const FrameId& left, const FrameId& right) {
53 inline bool operator<(const FrameId& left, const FrameId& right) {
Dmacaddress.h48 uint8_t operator[](size_t index) const {
55 size_t operator()(const MacAddress& addr) const {
66 inline bool operator==(const MacAddress& left, const MacAddress& right) {
70 inline bool operator!=(const MacAddress& left, const MacAddress& right) {
Dframe.h62 FrameInfo& operator=(const FrameInfo&) = default; variable
63 FrameInfo& operator=(FrameInfo&&) = default; variable
97 Frame& operator=(Frame&& other) = default; variable
143 Frame& operator=(const Frame&) = delete; variable
/device/google/cuttlefish/common/libs/time/
Dmonotonic_time.h53 TimeDifference operator*(const uint32_t factor) {
67 TimeDifference operator+(const TimeDifference& other) const {
75 TimeDifference operator-(const TimeDifference& other) const {
85 bool operator<(const TimeDifference& other) const {
152 TimeDifference operator-(const MonotonicTimePoint& other) const {
163 MonotonicTimePoint operator+(const TimeDifference& other) const {
174 bool operator==(const MonotonicTimePoint& other) const {
179 bool operator!=(const MonotonicTimePoint& other) const {
183 bool operator<(const MonotonicTimePoint& other) const {
189 bool operator>(const MonotonicTimePoint& other) const {
[all …]
/device/google/cuttlefish/host/commands/modem_simulator/
Dcommand_parser.h31 CommandParser& operator=(CommandParser&&) = default; variable
45 const std::string_view* operator->() const { return &command_; }
46 const std::string_view& operator*() const { return command_; }
47 bool operator==(const std::string &rhs) const { return command_ == rhs; }
48 std::string_view::const_reference& operator[](int index) const { return command_[index]; }
Dchannel_monitor.h58 Client& operator=(Client&& other) = delete; variable
60 bool operator==(const Client& other) const;
72 ChannelMonitor& operator=(const ChannelMonitor&) = delete; variable
/device/generic/goldfish/audio/
Dtalsa.h32 struct PcmDeleter { void operator()(pcm_t *x) const; };
41 operator bool() const { return mMixer != nullptr; }
44 Mixer &operator=(const Mixer &) = delete; variable
46 Mixer &operator=(Mixer &&) = delete; variable
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DSmartPtr.h87 T* operator->() const {
91 T& operator*() const {
95 operator void*() const {
100 bool operator <(const SmartPtr<T>& t1) const {
104 SmartPtr<T,threadSafe>& operator=(const SmartPtr<T,false>& rhs)
119 SmartPtr<T,threadSafe>& operator=(SmartPtr<T,true>& rhs)
/device/google/cuttlefish/tools/play_audio/
Dsdl_wrapper.h27 SDLAudioDevice& operator=(SDLAudioDevice&& other); variable
30 SDLAudioDevice& operator=(const SDLAudioDevice&) = delete; variable
50 SDLLib& operator=(const SDLLib&) = delete; variable
Dclient_socket.h38 ClientSocket& operator=(ClientSocket&& other); variable
41 ClientSocket& operator=(const ClientSocket&) = delete; variable
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.h140 bool operator==(const SharedFD& rhs) const { return value_ == rhs.value_; }
142 bool operator!=(const SharedFD& rhs) const { return value_ != rhs.value_; }
144 bool operator<(const SharedFD& rhs) const { return value_ < rhs.value_; }
146 bool operator<=(const SharedFD& rhs) const { return value_ <= rhs.value_; }
148 bool operator>(const SharedFD& rhs) const { return value_ > rhs.value_; }
150 bool operator>=(const SharedFD& rhs) const { return value_ >= rhs.value_; }
152 std::shared_ptr<FileInstance> operator->() const { return value_; }
154 const FileInstance& operator*() const { return *value_; }
156 FileInstance& operator*() { return *value_; }
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Dcalibration_data.h63 CalibrationTypeFlags operator|(CalibrationTypeFlags lhs,
66 bool operator&(CalibrationTypeFlags lhs, CalibrationTypeFlags rhs);
68 CalibrationTypeFlags& operator|=(CalibrationTypeFlags& lhs,
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DMiniFence.h41 MiniFence& operator=(const MiniFence& rhs) = delete; variable
43 MiniFence& operator=(MiniFence&& rhs) = delete; variable
/device/google/cuttlefish/host/commands/launch/
Dflag_forwarder.h34 FlagForwarder& operator=(FlagForwarder&&) = default; variable
35 FlagForwarder& operator=(const FlagForwarder&) = delete; variable
/device/generic/goldfish-opengl/system/hals/
Dhost_connection_session.h38 HostConnectionSession& operator=(HostConnectionSession&& rhs) {
46 HostConnectionSession& operator=(const HostConnectionSession&) = delete; variable
/device/google/cuttlefish/common/libs/tcp_socket/
Dtcp_socket.h39 ClientSocket& operator=(ClientSocket&& other) {
47 ClientSocket& operator=(const ClientSocket&) = delete; variable
79 ServerSocket& operator=(const ServerSocket&) = delete; variable
/device/google/cuttlefish/host/libs/wayland/
Dwayland_server.h47 WaylandServer& operator=(const WaylandServer& rhs) = delete; variable
50 WaylandServer& operator=(WaylandServer&& rhs) = delete; variable
/device/google/cuttlefish/host/frontend/vnc_server/
Dvnc_utils.h38 bool operator<(const StripeSeqNumber& other) const { return t_ < other.t_; }
40 bool operator<=(const StripeSeqNumber& other) const { return t_ <= other.t_; }

12345