Searched refs:rhs (Results 101 - 125 of 1313) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/common/
H A Dsearch_types.h46 bool operator==(const SearchMode& rhs) const {
47 return mode == rhs.mode && origin == rhs.origin;
50 bool operator!=(const SearchMode& rhs) const {
51 return !(*this == rhs);
/external/chromium_org/third_party/skia/tools/
H A Dskdiff.h163 const DiffRecord* rhs = *reinterpret_cast<DiffRecord* const *>(untyped_rhs); local
167 if (lhs->fResult != rhs->fResult) {
168 return (lhs->fResult < rhs->fResult) ? 1 : -1;
172 int result = T::comparePixels(lhs, rhs);
179 return strcmp(lhs->fBase.fFilename.c_str(), rhs->fBase.fFilename.c_str());
186 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { argument
187 if (lhs->fFractionDifference < rhs->fFractionDifference) {
190 if (rhs->fFractionDifference < lhs->fFractionDifference) {
199 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { argument
200 if (lhs->fWeightedFraction < rhs
214 comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) argument
235 comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) argument
[all...]
/external/lldb/include/lldb/API/
H A DSBTypeFormat.h26 SBTypeFormat (const lldb::SBTypeFormat &rhs);
50 operator = (const lldb::SBTypeFormat &rhs);
53 IsEqualTo (lldb::SBTypeFormat &rhs);
56 operator == (lldb::SBTypeFormat &rhs);
59 operator != (lldb::SBTypeFormat &rhs);
H A DSBTypeNameSpecifier.h28 SBTypeNameSpecifier (const lldb::SBTypeNameSpecifier &rhs);
49 operator = (const lldb::SBTypeNameSpecifier &rhs);
52 IsEqualTo (lldb::SBTypeNameSpecifier &rhs);
55 operator == (lldb::SBTypeNameSpecifier &rhs);
58 operator != (lldb::SBTypeNameSpecifier &rhs);
/external/lldb/source/Host/macosx/cfcpp/
H A DCFCData.cpp24 CFCData::CFCData(const CFCData& rhs) : argument
25 CFCReleaser<CFDataRef>(rhs)
34 CFCData::operator=(const CFCData& rhs) argument
37 if (this != &rhs)
38 *this = rhs;
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDeclContext.h47 NameMatches (const Entry& rhs) const
49 if (name == rhs.name)
51 else if (name && rhs.name)
52 return strcmp(name, rhs.name) == 0;
78 operator ==(const DWARFDeclContext& rhs) const;
/external/lldb/tools/debugserver/source/MacOSX/
H A DCFBundle.cpp31 CFBundle::CFBundle(const CFBundle& rhs) : argument
32 CFReleaser<CFBundleRef>(rhs),
33 m_bundle_url(rhs.m_bundle_url)
42 CFBundle::operator=(const CFBundle& rhs) argument
44 *this = rhs;
/external/oprofile/libutil++/
H A Dgeneric_spec.h52 /// return true if rhs match this spec. Sub part of PP:3.24
53 bool match(T const & rhs) const {
54 return rhs == data;
57 /// return true if rhs match this spec. Sub part of PP:3.24
58 bool match(generic_spec<T> const & rhs) const {
59 return is_all || rhs.is_all || rhs.data == data;
H A Dgrowable_vector.h54 growable_vector<T> & operator+=(growable_vector<T> const & rhs) { argument
55 if (rhs.container.size() > container.size())
56 container.resize(rhs.container.size());
58 size_type min_size = min(container.size(), rhs.container.size());
60 container[i] += rhs.container[i];
68 * (iow: for each components lhs[i] >= rhs[i]
70 growable_vector<T> & operator-=(growable_vector<T> const & rhs) { argument
71 if (rhs.container.size() > container.size())
72 container.resize(rhs.container.size());
74 size_type min_size = min(container.size(), rhs
[all...]
/external/skia/tools/
H A Dskdiff.h163 const DiffRecord* rhs = *reinterpret_cast<DiffRecord* const *>(untyped_rhs); local
167 if (lhs->fResult != rhs->fResult) {
168 return (lhs->fResult < rhs->fResult) ? 1 : -1;
172 int result = T::comparePixels(lhs, rhs);
179 return strcmp(lhs->fBase.fFilename.c_str(), rhs->fBase.fFilename.c_str());
186 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { argument
187 if (lhs->fFractionDifference < rhs->fFractionDifference) {
190 if (rhs->fFractionDifference < lhs->fFractionDifference) {
199 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { argument
200 if (lhs->fWeightedFraction < rhs
214 comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) argument
235 comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) argument
[all...]
/external/chromium_org/extensions/common/permissions/
H A Dusb_device_permission_data.cc92 const UsbDevicePermissionData& rhs) const {
93 if (vendor_id_ == rhs.vendor_id_) {
94 if (product_id_ == rhs.product_id_)
95 return interface_id_ < rhs.interface_id_;
97 return product_id_ < rhs.product_id_;
99 return vendor_id_ < rhs.vendor_id_;
103 const UsbDevicePermissionData& rhs) const {
104 return vendor_id_ == rhs.vendor_id_ &&
105 product_id_ == rhs.product_id_ &&
106 interface_id_ == rhs
[all...]
/external/chromium_org/net/http/
H A Dhttp_response_info.cc109 HttpResponseInfo::HttpResponseInfo(const HttpResponseInfo& rhs) argument
110 : was_cached(rhs.was_cached),
111 server_data_unavailable(rhs.server_data_unavailable),
112 network_accessed(rhs.network_accessed),
113 was_fetched_via_spdy(rhs.was_fetched_via_spdy),
114 was_npn_negotiated(rhs.was_npn_negotiated),
115 was_fetched_via_proxy(rhs.was_fetched_via_proxy),
116 proxy_server(rhs.proxy_server),
117 did_use_http_auth(rhs.did_use_http_auth),
118 socket_address(rhs
134 operator =(const HttpResponseInfo& rhs) argument
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
H A Dcomposite_bitmap_glyph.cc64 CompositeBitmapGlyph::Component::Component(const Component& rhs) argument
65 : glyph_code_(rhs.glyph_code_),
66 x_offset_(rhs.x_offset_),
67 y_offset_(rhs.y_offset_) {
71 const CompositeBitmapGlyph::Component& rhs) {
72 return glyph_code_ == rhs.glyph_code_;
76 const CompositeBitmapGlyph::Component& rhs) {
77 glyph_code_ = rhs.glyph_code_;
78 x_offset_ = rhs.x_offset_;
79 y_offset_ = rhs
70 operator ==( const CompositeBitmapGlyph::Component& rhs) argument
75 operator =( const CompositeBitmapGlyph::Component& rhs) argument
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkBitSet.cpp26 SkBitSet& SkBitSet::operator=(const SkBitSet& rhs) { argument
27 if (this == &rhs) {
30 fBitCount = rhs.fBitCount;
32 fDwordCount = rhs.fDwordCount;
34 memcpy(fBitData.get(), rhs.fBitData.get(), fDwordCount * sizeof(uint32_t));
38 bool SkBitSet::operator==(const SkBitSet& rhs) { argument
39 if (fBitCount == rhs.fBitCount) {
41 return (memcmp(fBitData.get(), rhs.fBitData.get(),
49 bool SkBitSet::operator!=(const SkBitSet& rhs) { argument
50 return !(*this == rhs);
[all...]
/external/lldb/source/Target/
H A DThreadSpec.cpp24 ThreadSpec::ThreadSpec (const ThreadSpec &rhs) : argument
25 m_index(rhs.m_index),
26 m_tid(rhs.m_tid),
27 m_name(rhs.m_name),
28 m_queue_name(rhs.m_queue_name)
33 ThreadSpec::operator=(const ThreadSpec &rhs) argument
35 m_index = rhs.m_index;
36 m_tid = rhs.m_tid;
37 m_name = rhs.m_name;
38 m_queue_name = rhs
[all...]
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dcomposite_bitmap_glyph.cc64 CompositeBitmapGlyph::Component::Component(const Component& rhs) argument
65 : glyph_code_(rhs.glyph_code_),
66 x_offset_(rhs.x_offset_),
67 y_offset_(rhs.y_offset_) {
71 const CompositeBitmapGlyph::Component& rhs) {
72 return glyph_code_ == rhs.glyph_code_;
76 const CompositeBitmapGlyph::Component& rhs) {
77 glyph_code_ = rhs.glyph_code_;
78 x_offset_ = rhs.x_offset_;
79 y_offset_ = rhs
70 operator ==( const CompositeBitmapGlyph::Component& rhs) argument
75 operator =( const CompositeBitmapGlyph::Component& rhs) argument
[all...]
/external/skia/src/utils/
H A DSkBitSet.cpp26 SkBitSet& SkBitSet::operator=(const SkBitSet& rhs) { argument
27 if (this == &rhs) {
30 fBitCount = rhs.fBitCount;
32 fDwordCount = rhs.fDwordCount;
34 memcpy(fBitData.get(), rhs.fBitData.get(), fDwordCount * sizeof(uint32_t));
38 bool SkBitSet::operator==(const SkBitSet& rhs) { argument
39 if (fBitCount == rhs.fBitCount) {
41 return (memcmp(fBitData.get(), rhs.fBitData.get(),
49 bool SkBitSet::operator!=(const SkBitSet& rhs) { argument
50 return !(*this == rhs);
[all...]
/external/lldb/include/lldb/Core/
H A DScalar.h53 Scalar(const Scalar& rhs);
136 Scalar& operator= (const Scalar& rhs); // Assignment operator
137 Scalar& operator+= (const Scalar& rhs);
138 Scalar& operator<<= (const Scalar& rhs); // Shift left
139 Scalar& operator>>= (const Scalar& rhs); // Shift right (arithmetic)
140 Scalar& operator&= (const Scalar& rhs);
147 ShiftRightLogical(const Scalar& rhs); // Returns true on success
288 friend const Scalar operator+ (const Scalar& lhs, const Scalar& rhs);
289 friend const Scalar operator- (const Scalar& lhs, const Scalar& rhs);
290 friend const Scalar operator/ (const Scalar& lhs, const Scalar& rhs);
[all...]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
H A Dencoded_frame.cc30 VCMEncodedFrame::VCMEncodedFrame(const webrtc::EncodedImage& rhs) argument
32 webrtc::EncodedImage(rhs),
43 if (rhs._buffer != NULL)
45 VerifyAndAllocate(rhs._length);
46 memcpy(_buffer, rhs._buffer, rhs._length);
50 VCMEncodedFrame::VCMEncodedFrame(const VCMEncodedFrame& rhs) argument
52 webrtc::EncodedImage(rhs),
53 _renderTimeMs(rhs._renderTimeMs),
54 _payloadType(rhs
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DCheckedArithmetic.h237 static inline bool signsMatch(LHS lhs, RHS rhs) argument
239 return (lhs ^ rhs) >= 0;
242 static inline bool add(LHS lhs, RHS rhs, ResultType& result) WARN_UNUSED_RETURN
244 if (signsMatch(lhs, rhs)) {
246 if ((std::numeric_limits<ResultType>::max() - rhs) < lhs)
250 if (rhs < -temp)
254 result = lhs + rhs;
258 static inline bool sub(LHS lhs, RHS rhs, ResultType& result) WARN_UNUSED_RETURN
260 if (!signsMatch(lhs, rhs)) {
262 if (lhs > std::numeric_limits<ResultType>::max() + rhs)
298 equals(LHS lhs, RHS rhs) argument
334 equals(LHS lhs, RHS rhs) argument
339 add(int64_t lhs, int64_t rhs, ResultType& result) argument
350 sub(int64_t lhs, int64_t rhs, ResultType& result) argument
361 multiply(int64_t lhs, int64_t rhs, ResultType& result) argument
372 equals(int lhs, unsigned rhs) argument
379 add(int64_t lhs, int64_t rhs, ResultType& result) argument
384 sub(int64_t lhs, int64_t rhs, ResultType& result) argument
389 multiply(int64_t lhs, int64_t rhs, ResultType& result) argument
394 equals(unsigned lhs, int rhs) argument
400 safeAdd(U lhs, V rhs, R& result) argument
405 safeSub(U lhs, V rhs, R& result) argument
410 safeMultiply(U lhs, V rhs, R& result) argument
415 safeEquals(U lhs, V rhs) argument
443 Checked(const Checked<T, V>& rhs) argument
450 Checked(const Checked<U, OverflowHandler>& rhs) argument
458 Checked(const Checked<U, V>& rhs) argument
467 operator =(Checked rhs) argument
481 operator =(const Checked<U, V>& rhs) argument
551 operator +=(U rhs) argument
558 operator -=(U rhs) argument
565 operator *=(U rhs) argument
572 operator *=(double rhs) argument
582 operator *=(float rhs) argument
587 operator +=(Checked<U, V> rhs) argument
594 operator -=(Checked<U, V> rhs) argument
601 operator *=(Checked<U, V> rhs) argument
609 operator ==(Checked<T, V> rhs) argument
614 operator ==(U rhs) argument
621 operator ==(Checked<U, V> rhs) argument
626 operator !=(U rhs) argument
644 operator +(Checked<U, OverflowHandler> lhs, Checked<V, OverflowHandler> rhs) argument
656 operator -(Checked<U, OverflowHandler> lhs, Checked<V, OverflowHandler> rhs) argument
668 operator *(Checked<U, OverflowHandler> lhs, Checked<V, OverflowHandler> rhs) argument
680 operator +(Checked<U, OverflowHandler> lhs, V rhs) argument
685 operator -(Checked<U, OverflowHandler> lhs, V rhs) argument
690 operator *(Checked<U, OverflowHandler> lhs, V rhs) argument
695 operator +(U lhs, Checked<V, OverflowHandler> rhs) argument
700 operator -(U lhs, Checked<V, OverflowHandler> rhs) argument
705 operator *(U lhs, Checked<V, OverflowHandler> rhs) argument
[all...]
/external/webrtc/src/system_wrappers/interface/
H A Dtick_util.h55 TickTime& operator+=(const WebRtc_Word64& rhs);
58 // Returns a TickInterval that is the difference in ticks beween rhs and lhs
59 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
74 const TickInterval& rhs);
75 TickInterval& operator-=(const TickInterval& rhs);
77 // Returns a TickInterval corresponding to rhs - lhs
79 const TickInterval& rhs);
80 TickInterval& operator+=(const TickInterval& rhs);
82 friend bool operator>(const TickInterval& lhs, const TickInterval& rhs);
83 friend bool operator<=(const TickInterval& lhs, const TickInterval& rhs);
97 operator +(const TickInterval& lhs, const TickInterval& rhs) argument
102 operator -(const TickInterval& lhs, const TickInterval& rhs) argument
107 operator -(const TickTime& lhs,const TickTime& rhs) argument
118 operator >(const TickInterval& lhs, const TickInterval& rhs) argument
122 operator <=(const TickInterval& lhs, const TickInterval& rhs) argument
126 operator <(const TickInterval& lhs, const TickInterval& rhs) argument
130 operator >=(const TickInterval& lhs, const TickInterval& rhs) argument
331 operator +=(const TickInterval& rhs) argument
337 operator -=(const TickInterval& rhs) argument
[all...]
/external/lldb/source/Host/common/
H A DTimeValue.cpp35 TimeValue::TimeValue(const TimeValue& rhs) : argument
36 m_nano_seconds (rhs.m_nano_seconds)
139 TimeValue::operator=(const TimeValue& rhs) argument
141 m_nano_seconds = rhs.m_nano_seconds;
169 lldb_private::operator == (const TimeValue &lhs, const TimeValue &rhs) argument
171 return lhs.GetAsNanoSecondsSinceJan1_1970() == rhs.GetAsNanoSecondsSinceJan1_1970();
175 lldb_private::operator != (const TimeValue &lhs, const TimeValue &rhs) argument
177 return lhs.GetAsNanoSecondsSinceJan1_1970() != rhs.GetAsNanoSecondsSinceJan1_1970();
181 lldb_private::operator < (const TimeValue &lhs, const TimeValue &rhs) argument
183 return lhs.GetAsNanoSecondsSinceJan1_1970() < rhs
187 operator <=(const TimeValue &lhs, const TimeValue &rhs) argument
193 operator >(const TimeValue &lhs, const TimeValue &rhs) argument
199 operator >=(const TimeValue &lhs, const TimeValue &rhs) argument
205 operator -(const TimeValue &lhs, const TimeValue &rhs) argument
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dtick_util.h63 // Returns a TickInterval that is the difference in ticks beween rhs and lhs.
64 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
92 const TickInterval& rhs);
93 TickInterval& operator+=(const TickInterval& rhs);
95 // Returns a TickInterval corresponding to rhs - lhs.
97 const TickInterval& rhs);
98 TickInterval& operator-=(const TickInterval& rhs);
100 friend bool operator>(const TickInterval& lhs, const TickInterval& rhs);
101 friend bool operator<=(const TickInterval& lhs, const TickInterval& rhs);
102 friend bool operator<(const TickInterval& lhs, const TickInterval& rhs);
115 operator +(const TickInterval& lhs, const TickInterval& rhs) argument
120 operator -(const TickInterval& lhs, const TickInterval& rhs) argument
125 operator -(const TickTime& lhs, const TickTime& rhs) argument
135 operator >(const TickInterval& lhs, const TickInterval& rhs) argument
139 operator <=(const TickInterval& lhs, const TickInterval& rhs) argument
143 operator <(const TickInterval& lhs, const TickInterval& rhs) argument
147 operator >=(const TickInterval& lhs, const TickInterval& rhs) argument
286 operator +=(const TickInterval& rhs) argument
291 operator -=(const TickInterval& rhs) argument
[all...]
/external/lldb/source/API/
H A DSBStringList.cpp29 SBStringList::SBStringList (const SBStringList &rhs) : argument
32 if (rhs.IsValid())
33 m_opaque_ap.reset (new lldb_private::StringList(*rhs));
38 SBStringList::operator = (const SBStringList &rhs) argument
40 if (this != &rhs)
42 if (rhs.IsValid())
43 m_opaque_ap.reset(new lldb_private::StringList(*rhs));
H A DSBSourceManager.cpp42 SourceManagerImpl (const SourceManagerImpl &rhs) argument
44 if (&rhs == this)
46 m_debugger_wp = rhs.m_debugger_wp;
47 m_target_wp = rhs.m_target_wp;
107 SBSourceManager::SBSourceManager (const SBSourceManager &rhs) argument
109 if (&rhs == this)
112 m_opaque_ap.reset(new SourceManagerImpl (*(rhs.m_opaque_ap.get())));
116 SBSourceManager::operator = (const lldb::SBSourceManager &rhs) argument
118 m_opaque_ap.reset (new SourceManagerImpl (*(rhs.m_opaque_ap.get())));

Completed in 787 milliseconds

1234567891011>>