Searched defs:rhs (Results 1 - 25 of 46) sorted by relevance

12

/external/opencore/oscl/unit_test/src/
H A Dtest_problem.cpp31 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;
/external/astl/include/
H A Dios_pos_types.h73 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); }
H A Dchar_traits.h58 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...]
/external/bison/src/
H A Dparse-gram.y419 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...]
H A Dgram.h60 RULES[R].rhs -- the index in RITEM of the beginning of the portion
184 item_number *rhs; member in struct:__anon20
H A Doutput.c201 | Prepare the muscles related to the rules: rhs, prhs, r1, r2, |
210 item_number *rhs = xnmalloc (nritems, sizeof *rhs); local
224 for (rhsp = rules[r].rhs; *rhsp >= 0; ++rhsp)
225 rhs[i++] = *rhsp;
231 rhs[i++] = -1;
241 muscle_insert_item_number_table ("rhs", rhs, ritem[0], 1, nritems);
252 free (rhs);
/external/gtest/include/gtest/internal/
H A Dgtest-filepath.h62 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 Dgtest-string.h145 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/unicode/
H A DCollatorDefault.cpp54 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/opencore/oscl/unit_test/test/src/
H A Dpoint.h46 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/v8/src/
H A Dsmart-pointer.h51 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/emma/core/java12/com/vladium/emma/data/
H A DCoverageData.java86 * note: rhs entries override current entries if they have different stamps;
89 public IMergeable merge (final IMergeable rhs) argument
91 if ((rhs == null) || rhs.isEmpty () || (rhs == this))
95 final CoverageData rhscdata = (CoverageData) rhs; // TODO: redesign so that the cast is not necessary
H A DClassDescriptor.java72 public final boolean equals (final Object rhs) argument
74 if (! (rhs instanceof ClassDescriptor)) return false;
76 final ClassDescriptor _rhs = (ClassDescriptor) rhs;
H A DMetaData.java164 * note: rhs entries must override current entries
166 public IMergeable merge (final IMergeable rhs) argument
168 if ((rhs == null) || rhs.isEmpty () || (rhs == this))
172 final MetaData rhsmdata = (MetaData) rhs; // TODO: redesign to avoid this cast?
175 // rhs entries always override existing content:
/external/opencore/oscl/oscl/osclutil/src/
H A Doscl_str_ptr_len.h91 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/webkit/JavaScriptCore/wtf/unicode/icu/
H A DCollatorICU.cpp93 Collator::Result Collator::collate(const UChar* lhs, size_t lhsLength, const UChar* rhs, size_t rhsLength) const argument
98 return static_cast<Result>(ucol_strcoll(m_collator, lhs, lhsLength, rhs, rhsLength));
/external/emma/core/java12/com/vladium/emma/report/html/doc/
H A DAttribute.java42 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/kernel-headers/original/linux/
H A Dktime.h84 /* 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;
H A Dtime.h45 * 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...]
/external/opencore/protocols/http_parcom/include/
H A Dhttp_parser_external.h146 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/stlport/test/unit/
H A Dlimits_test.cpp120 bool test_float_values(_Tp lhs, _Tp rhs) argument
121 { return lhs == rhs; }
/external/webkit/JavaScriptCore/wtf/
H A DDateMath.h183 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/webkit/WebCore/xml/
H A DXPathPredicate.cpp70 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/emma/core/java12/com/vladium/util/
H A DSoftValueMap.java99 public boolean equals (final Object rhs) argument
/external/icu4c/i18n/
H A Ddcfmtsym.cpp101 DecimalFormatSymbols::operator=(const DecimalFormatSymbols& rhs) argument
103 if (this != &rhs) {
106 fSymbols[(ENumberFormatSymbol)i].fastCopyFrom(rhs.fSymbols[(ENumberFormatSymbol)i]);
109 currencySpcBeforeSym[i].fastCopyFrom(rhs.currencySpcBeforeSym[i]);
110 currencySpcAfterSym[i].fastCopyFrom(rhs.currencySpcAfterSym[i]);
112 locale = rhs.locale;
113 uprv_strcpy(validLocale, rhs.validLocale);
114 uprv_strcpy(actualLocale, rhs.actualLocale);

Completed in 212 milliseconds

12