/external/opencore/oscl/unit_test/src/ |
H A D | test_problem.cpp | 31 test_problem::test_problem(const test_problem& rhs) : argument 32 m_line_number(rhs.m_line_number), 33 m_filename(rhs.m_filename), 34 m_message(rhs.m_message) 40 test_problem::operator=(const test_problem & rhs) argument 42 m_line_number = rhs.m_line_number; 43 m_filename = rhs.m_filename; 44 m_message = rhs.m_message;
|
H A D | test_problem.h | 40 test_problem(const test_problem& rhs); 41 test_problem& operator= (const test_problem& rhs);
|
/external/opencore/oscl/unit_test/test/src/ |
H A D | point.h | 46 point(const t_point & rhs): x(rhs.x), y(rhs.y) argument 54 bool operator == (const t_point & rhs) const 56 return ((x == rhs.x) && (y == rhs.y)); 59 bool operator != (const t_point & rhs) const 61 return !((*this) == rhs); 64 t_point & operator += (const t_point & rhs) argument 66 x += rhs 71 operator -=(const t_point & rhs) argument 88 operator =(const t_point & rhs) argument [all...] |
/external/opencore/oscl/oscl/osclutil/src/ |
H A D | oscl_str_ptr_len.h | 91 StrPtrLen(const StrPtrLen& rhs) argument 92 : ptr(rhs.ptr), len(rhs.len) 116 c_bool isCIEquivalentTo(const StrPtrLen& rhs) const 118 if (len != rhs.len) 123 return isCIPrefixOf(rhs); 126 c_bool isCIPrefixOf(const StrPtrLen& rhs) const 128 if (len > rhs.len) 135 if (ptr[ii] != rhs.ptr[ii]) 138 (OSCL_ASCII_CASE_MAGIC_BIT != ((ptr[ii] ^ rhs 163 operator =(const StrPtrLen& rhs) argument 170 operator =(const char* rhs) argument 205 WStrPtrLen(const WStrPtrLen& rhs) argument 262 operator =(const WStrPtrLen& rhs) argument 269 operator =(const oscl_wchar* rhs) argument 318 StrCSumPtrLen(const StrCSumPtrLen& rhs) argument 322 StrCSumPtrLen(const StrPtrLen & rhs) argument 356 operator =(const StrCSumPtrLen& rhs) argument 363 operator =(const StrPtrLen& rhs) argument 370 operator =(const char* rhs) argument [all...] |
/external/astl/include/ |
H A D | char_traits.h | 58 static void assign(char& lhs, const char& rhs) { lhs = rhs; } argument 60 static bool eq(const char& lhs, const char& rhs) { return lhs == rhs; } argument 62 static bool lt(const char& lhs, const char& rhs) { return lhs < rhs; } argument 64 static int compare(const char* lhs, const char* rhs, size_t n) argument 65 { return std::memcmp(lhs, rhs, n); } 72 static char* move(char* lhs, const char* rhs, size_t n) argument 73 { return static_cast<char*>(std::memmove(lhs, rhs, 75 copy(char* lhs, const char* rhs, size_t n) argument 87 eq_int_type(const int_type& lhs, const int_type& rhs) argument [all...] |
H A D | ios_pos_types.h | 73 operator==(const fpos& lhs, const fpos& rhs) argument 74 { return streamoff(lhs) == streamoff(rhs); } 77 operator!=(const fpos& lhs, const fpos& rhs) argument 78 { return streamoff(lhs) != streamoff(rhs); }
|
/external/stlport/test/eh/ |
H A D | SortClass.h | 39 bool operator<( const TestClass& rhs ) const 42 return (const TestClass&)*this < ( rhs ); 45 bool operator==( const TestClass& rhs ) const 48 return (const TestClass&)*this == ( rhs ); 58 inline bool operator>( const SortClass& lhs, const SortClass& rhs ) { 59 return rhs < lhs; 62 inline bool operator<=( const SortClass& lhs, const SortClass& rhs ) { 63 return !(rhs < lhs); 66 inline bool operator>=( const SortClass& lhs, const SortClass& rhs ) { 67 return !(lhs < rhs); [all...] |
H A D | TestClass.h | 37 inline TestClass( const TestClass& rhs ); 40 inline TestClass& operator=( const TestClass& rhs ); 45 bool operator==( const TestClass& rhs ) const 47 return value() == rhs.value(); 50 bool operator<( const TestClass& rhs ) const { 51 return value() < rhs.value(); 97 inline TestClass::TestClass( const TestClass& rhs ) 99 Init( rhs.value() ); 111 inline TestClass& TestClass::operator=( const TestClass& rhs ) 114 int *newP = new int( rhs [all...] |
/external/v8/src/ |
H A D | smart-pointer.h | 51 inline SmartPointer(const SmartPointer<T>& rhs) : p(rhs.p) { argument 52 const_cast<SmartPointer<T>&>(rhs).p = NULL; 89 inline SmartPointer& operator=(const SmartPointer<T>& rhs) { argument 91 T* tmp = rhs.p; // swap to handle self-assignment 92 const_cast<SmartPointer<T>&>(rhs).p = NULL;
|
/external/webkit/WebCore/xml/ |
H A D | XPathPredicate.cpp | 70 NumericOp::NumericOp(Opcode opcode, Expression* lhs, Expression* rhs) argument 74 addSubExpression(rhs); 80 Value rhs(subExpr(1)->evaluate()); 83 double rightVal = rhs.toNumber(); 101 EqTestOp::EqTestOp(Opcode opcode, Expression* lhs, Expression* rhs) argument 105 addSubExpression(rhs); 108 bool EqTestOp::compare(const Value& lhs, const Value& rhs) const 112 if (rhs.isNodeSet()) { 116 const NodeSet& rhsSet = rhs.toNodeSet(); 123 if (rhs 204 LogicalOp(Opcode opcode, Expression* lhs, Expression* rhs) argument 235 Value rhs = subExpr(1)->evaluate(); local [all...] |
/external/icu4c/test/intltest/ |
H A D | icusvtst.h | 38 UnicodeString& lrmsg(UnicodeString& result, const UnicodeString& message, const UObject* lhs, const UObject* rhs) const; 41 void confirmEqual(const UnicodeString& message, const UObject* lhs, const UObject* rhs); 43 void confirmEqual(const UnicodeString& message, const Integer* lhs, const Integer* rhs); 44 void confirmEqual(const UnicodeString& message, const UnicodeString* lhs, const UnicodeString* rhs); 45 void confirmEqual(const UnicodeString& message, const Locale* lhs, const Locale* rhs); 47 void confirmStringsEqual(const UnicodeString& message, const UnicodeString& lhs, const UnicodeString& rhs); 48 void confirmIdentical(const UnicodeString& message, const UObject* lhs, const UObject* rhs); 49 void confirmIdentical(const UnicodeString& message, int32_t lhs, int32_t rhs);
|
/external/icu4c/test/perf/perldriver/ |
H A D | Dataset.pm | 73 my $rhs = shift; 76 ($rhs->{_mean} + $rhs->{_error}); 78 ($rhs->{_mean} - $rhs->{_error}); 83 $result->{_scale} = $self->{_scale} / $rhs->{_scale}; 91 my $rhs = shift; 94 $result->{_mean} = $self->{_mean} - $rhs->{_mean}; 95 $result->{_error} = $self->{_error} + $rhs->{_error}; 104 my $rhs [all...] |
/external/webkit/JavaScriptCore/wtf/unicode/ |
H A D | CollatorDefault.cpp | 54 Collator::Result Collator::collate(const UChar* lhs, size_t lhsLength, const UChar* rhs, size_t rhsLength) const argument 58 while (l < lmin && *lhs == *rhs) { 60 rhs++; 65 return (*lhs > *rhs) ? Greater : Less;
|
/external/gtest/include/gtest/internal/ |
H A D | gtest-filepath.h | 62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } argument 72 FilePath& operator=(const FilePath& rhs) { argument 73 Set(rhs); 77 void Set(const FilePath& rhs) { argument 78 pathname_ = rhs.pathname_;
|
H A D | gtest-string.h | 145 static bool CStringEquals(const char* lhs, const char* rhs); 163 static bool WideCStringEquals(const wchar_t* lhs, const wchar_t* rhs); 172 const char* rhs); 187 const wchar_t* rhs); 248 // Returns < 0 if this is less than rhs, 0 if this is equal to rhs, or > 0 249 // if this is greater than rhs. 250 int Compare(const String& rhs) const; 260 bool operator<(const String& rhs) const { return Compare(rhs) < 301 operator =(const String &rhs) argument [all...] |
/external/webkit/JavaScriptCore/wtf/ |
H A D | DateMath.h | 183 void copyFrom(const GregorianDateTime& rhs) argument 185 second = rhs.second; 186 minute = rhs.minute; 187 hour = rhs.hour; 188 weekDay = rhs.weekDay; 189 monthDay = rhs.monthDay; 190 yearDay = rhs.yearDay; 191 month = rhs.month; 192 year = rhs.year; 193 isDST = rhs [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
H A D | Attribute.java | 42 public abstract boolean equals (final Object rhs); argument 59 public boolean equals (final Object rhs) argument 61 if (this == rhs) return true; 62 if (! (rhs instanceof AttributeImpl)) return false; 64 return m_name.equals (((AttributeImpl) rhs).m_name);
|
/external/opencore/oscl/oscl/osclio/src/ |
H A D | oscl_socket_types.h | 81 bool operator == (const OsclNetworkAddress & rhs) const 83 if (port == rhs.port) 85 if (0 == oscl_strcmp((const char*)ipAddr.Str(), (const char*)rhs.ipAddr.Str()))
|
/external/opencore/pvmi/pvmf/include/ |
H A D | pvmf_format_type.h | 206 PVMFFormatType& operator=(const PVMFFormatType& rhs) argument 208 iStr = OSCL_HeapString<OsclMemAllocator> (rhs.getMIMEStrPtr(), rhs.getMIMEStrLen()); 210 iCompressed = rhs.isCompressed(); 224 c_bool operator==(const PVMFFormatType& rhs) const 226 return iMimeStr.isCIEquivalentTo(rhs.getStrCSumPtr()); 229 bool operator!=(const PVMFFormatType& rhs) const 231 return !(*this == rhs);
|
/external/kernel-headers/original/linux/ |
H A D | time.h | 45 * lhs < rhs: return <0 46 * lhs == rhs: return 0 47 * lhs > rhs: return >0 49 static inline int timespec_compare(struct timespec *lhs, struct timespec *rhs) argument 51 if (lhs->tv_sec < rhs->tv_sec) 53 if (lhs->tv_sec > rhs->tv_sec) 55 return lhs->tv_nsec - rhs->tv_nsec; 58 static inline int timeval_compare(struct timeval *lhs, struct timeval *rhs) argument 60 if (lhs->tv_sec < rhs->tv_sec) 62 if (lhs->tv_sec > rhs 76 timespec_sub(struct timespec lhs, struct timespec rhs) argument [all...] |
H A D | ktime.h | 84 /* Subtract two ktime_t variables. rem = lhs -rhs: */ 85 #define ktime_sub(lhs, rhs) \ 86 ({ (ktime_t){ .tv64 = (lhs).tv64 - (rhs).tv64 }; }) 88 /* Add two ktime_t variables. res = lhs + rhs: */ 89 #define ktime_add(lhs, rhs) \ 90 ({ (ktime_t){ .tv64 = (lhs).tv64 + (rhs).tv64 }; }) 146 * @rhs: subtrahend 150 static inline ktime_t ktime_sub(const ktime_t lhs, const ktime_t rhs) argument 154 res.tv64 = lhs.tv64 - rhs.tv64;
|
/external/opencore/protocols/http_parcom/include/ |
H A D | http_parser_external.h | 146 RefCountHTTPEntityUnit(const RefCountHTTPEntityUnit &rhs) : argument 147 iEntityUnit(rhs.iEntityUnit), iRefcnt(rhs.iRefcnt) 159 RefCountHTTPEntityUnit& operator=(const RefCountHTTPEntityUnit& rhs) argument 161 if (this == &rhs) 166 bind(rhs.iEntityUnit, rhs.iRefcnt);
|
/external/opencore/protocols/http_parcom/src/ |
H A D | string_keyvalue_store.h | 127 bool isCIEquivalentTo(const StrCSumPtrLen& rhs) const 129 return (iStr.isCIEquivalentTo(rhs) > 0); 149 StrCSumPtrLenWrapper& operator=(const StrCSumPtrLen& rhs) argument 151 iStr = rhs; 156 StrCSumPtrLenWrapper& operator=(const StrPtrLen& rhs) argument 158 iStr = rhs; 163 StrCSumPtrLenWrapper& operator=(const StrCSumPtrLenWrapper& rhs) argument 165 iStr = rhs.iStr; 166 iNext = rhs.iNext;
|
H A D | http_parcom_internal.h | 87 HTTPMemoryFragment& operator=(const HTTPMemoryFragment& rhs) argument 89 iPtr = rhs.iPtr; 90 iLen = rhs.iLen; 91 iCapacity = rhs.iCapacity; 96 HTTPMemoryFragment& operator=(const OsclMemoryFragment& rhs) argument 98 iPtr = rhs.ptr; 100 iCapacity = rhs.len; 193 OsclMemoryFragWrapper(const OsclMemoryFragWrapper &rhs) argument 195 iMemFrag.ptr = rhs.iMemFrag.ptr; 196 iMemFrag.len = rhs 198 OsclMemoryFragWrapper(const OsclMemoryFragment &rhs) argument [all...] |
/external/bison/src/ |
H A D | parse-gram.y | 419 rhs { grammar_current_rule_end (@1); } 420 | rhses.1 "|" rhs { grammar_current_rule_end (@3); } 424 rhs: label 427 | rhs symbol 429 | rhs action 430 | rhs "%prec" symbol 432 | rhs "%dprec" INT 434 | rhs "%merge" TYPE 494 lloc_default (YYLTYPE const *rhs, int n) 499 /* SGI MIPSpro 7.4.1m miscompiles "loc.start = loc.end = rhs[ [all...] |