/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
ktime.h | 38 #define ktime_sub(lhs, rhs) ({ (ktime_t){ .tv64 = (lhs).tv64 - (rhs).tv64 }; }) 39 #define ktime_add(lhs, rhs) ({ (ktime_t){ .tv64 = (lhs).tv64 + (rhs).tv64 }; })
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
ktime.h | 38 #define ktime_sub(lhs, rhs) ({ (ktime_t){ .tv64 = (lhs).tv64 - (rhs).tv64 }; }) 39 #define ktime_add(lhs, rhs) ({ (ktime_t){ .tv64 = (lhs).tv64 + (rhs).tv64 }; })
|
/external/kernel-headers/original/linux/ |
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) 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) 60 if (lhs->tv_sec < rhs->tv_sec) 62 if (lhs->tv_sec > rhs->tv_sec [all...] |
compat.h | 208 struct compat_timeval *rhs) 210 if (lhs->tv_sec < rhs->tv_sec) 212 if (lhs->tv_sec > rhs->tv_sec) 214 return lhs->tv_usec - rhs->tv_usec; 218 struct compat_timespec *rhs) 220 if (lhs->tv_sec < rhs->tv_sec) 222 if (lhs->tv_sec > rhs->tv_sec) 224 return lhs->tv_nsec - rhs->tv_nsec;
|
/frameworks/base/libs/surfaceflinger/ |
BlurFilter.cpp | 100 inline BlurColor565& operator += (const BlurColor565& rhs) { 101 r += rhs.r; 102 g += rhs.g; 103 b += rhs.b; 106 inline BlurColor565& operator -= (const BlurColor565& rhs) { 107 r -= rhs.r; 108 g -= rhs.g; 109 b -= rhs.b; 144 inline BlurColor888X& operator += (const BlurColor888X& rhs) { 145 r += rhs.r [all...] |
/external/webkit/JavaScriptCore/wtf/ |
DateMath.h | 183 void copyFrom(const GregorianDateTime& rhs) 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.isDST [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/project/ |
AndroidManifestParserTest.java | 86 private void assertEquals(Activity lhs, Activity rhs) { 87 assertTrue(lhs == rhs || (lhs != null && rhs != null)); 88 if (lhs != null && rhs != null) { 89 assertEquals(lhs.getName(), rhs.getName()); 90 assertEquals(lhs.isExported(), rhs.isExported()); 91 assertEquals(lhs.hasAction(), rhs.hasAction()); 92 assertEquals(lhs.isHomeActivity(), rhs.isHomeActivity());
|
/external/icu4c/test/perf/perldriver/ |
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 = shift [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/editors/layout/gscripts/ |
Point.java | 34 Point rhs = (Point) obj; local 35 return this.x == rhs.x && this.y == rhs.y;
|
Rect.java | 107 Rect rhs = (Rect) obj; local 108 return this.x == rhs.x && this.y == rhs.y && this.w == rhs.w && this.h == rhs.h; 111 Rectangle rhs = (Rectangle) obj; local 112 return this.x == rhs.x && this.y == rhs.y && 113 this.w == rhs.width && this.h == rhs.height [all...] |
/external/opencore/protocols/http_parcom/include/ |
http_parser_external.h | 146 RefCountHTTPEntityUnit(const RefCountHTTPEntityUnit &rhs) : 147 iEntityUnit(rhs.iEntityUnit), iRefcnt(rhs.iRefcnt) 159 RefCountHTTPEntityUnit& operator=(const RefCountHTTPEntityUnit& rhs) 161 if (this == &rhs) 166 bind(rhs.iEntityUnit, rhs.iRefcnt);
|
/external/opencore/protocols/http_parcom/src/ |
http_parcom_internal.h | 87 HTTPMemoryFragment& operator=(const HTTPMemoryFragment& rhs) 89 iPtr = rhs.iPtr; 90 iLen = rhs.iLen; 91 iCapacity = rhs.iCapacity; 96 HTTPMemoryFragment& operator=(const OsclMemoryFragment& rhs) 98 iPtr = rhs.ptr; 100 iCapacity = rhs.len; 193 OsclMemoryFragWrapper(const OsclMemoryFragWrapper &rhs) 195 iMemFrag.ptr = rhs.iMemFrag.ptr; 196 iMemFrag.len = rhs.iMemFrag.len [all...] |
/frameworks/base/opengl/libagl/ |
matrix.cpp | 236 void matrixx_t::load(const matrixf_t& rhs) { 238 GLfloat const* fp = rhs.elements(); 252 void matrixf_t::multiply(matrixf_t& r, const matrixf_t& lhs, const matrixf_t& rhs) 256 register const float rhs_i0 = rhs.m[ I(i,0) ]; 262 register const float rhs_ij = rhs.m[ I(i,j) ]; 287 void matrixf_t::set(const GLfixed* rhs) { 288 load(rhs); 291 void matrixf_t::set(const GLfloat* rhs) { 292 load(rhs); 295 void matrixf_t::load(const GLfixed* rhs) { 846 matrixf_t rhs; local 885 matrixf_t rhs; local 957 matrixf_t rhs; local 966 matrixf_t rhs; local [all...] |
/external/bison/src/ |
nullable.c | 83 if (rules_ruleno->rhs[0] >= 0) 85 /* This rule has a non empty RHS. */ 88 for (rp = rules_ruleno->rhs; *rp >= 0; ++rp) 95 for (rp = rules_ruleno->rhs; *rp >= 0; ++rp) 106 /* This rule has an empty RHS. */ 107 assert (item_number_as_rule_number (rules_ruleno->rhs[0])
|
parse-gram.y | 37 #define YYLLOC_DEFAULT(Current, Rhs, N) (Current) = lloc_default (Rhs, N) 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" TYP [all...] |
/external/v8/src/ |
smart-pointer.h | 51 inline SmartPointer(const SmartPointer<T>& rhs) : p(rhs.p) { 52 const_cast<SmartPointer<T>&>(rhs).p = NULL; 89 inline SmartPointer& operator=(const SmartPointer<T>& rhs) { 91 T* tmp = rhs.p; // swap to handle self-assignment 92 const_cast<SmartPointer<T>&>(rhs).p = NULL;
|
/frameworks/base/include/utils/ |
Debug.h | 38 template<bool C, typename LSH, typename RHS> struct CompileTimeIfElse; 39 template<typename LHS, typename RHS> 40 struct CompileTimeIfElse<true, LHS, RHS> { typedef LHS TYPE; }; 41 template<typename LHS, typename RHS> 42 struct CompileTimeIfElse<false, LHS, RHS> { typedef RHS TYPE; };
|
/frameworks/base/libs/binder/ |
Permission.cpp | 36 Permission::Permission(const Permission& rhs) 37 : mPermissionName(rhs.mPermissionName), 38 mGranted(rhs.mGranted), 39 mPid(rhs.mPid) 47 bool Permission::operator < (const Permission& rhs) const 49 return mPermissionName < rhs.mPermissionName;
|
/external/astl/include/ |
ios_pos_types.h | 73 operator==(const fpos& lhs, const fpos& rhs) 74 { return streamoff(lhs) == streamoff(rhs); } 77 operator!=(const fpos& lhs, const fpos& rhs) 78 { return streamoff(lhs) != streamoff(rhs); }
|
iterator | 172 const __wrapper_iterator<_IteratorR, _Container>& rhs) 173 { return lhs.base() == rhs.base(); } 178 const __wrapper_iterator<_Iterator, _Container>& rhs) 179 { return lhs.base() == rhs.base(); } 184 const __wrapper_iterator<_IteratorR, _Container>& rhs) 185 { return lhs.base() != rhs.base(); } 190 const __wrapper_iterator<_Iterator, _Container>& rhs) 191 { return lhs.base() != rhs.base(); } 205 const __wrapper_iterator<_Iterator, _Container>& rhs) 206 { return lhs.base() - rhs.base(); [all...] |
/external/webkit/JavaScriptCore/wtf/unicode/ |
CollatorDefault.cpp | 54 Collator::Result Collator::collate(const UChar* lhs, size_t lhsLength, const UChar* rhs, size_t rhsLength) const 58 while (l < lmin && *lhs == *rhs) { 60 rhs++; 65 return (*lhs > *rhs) ? Greater : Less;
|
/frameworks/base/libs/rs/ |
rsScriptC_Lib.cpp | 196 static void SC_vec3Add(vec3_t *dest, const vec3_t *lhs, const vec3_t *rhs) 198 dest->x = lhs->x + rhs->x; 199 dest->y = lhs->y + rhs->y; 200 dest->z = lhs->z + rhs->z; 203 static void SC_vec3Sub(vec3_t *dest, const vec3_t *lhs, const vec3_t *rhs) 205 dest->x = lhs->x - rhs->x; 206 dest->y = lhs->y - rhs->y; 207 dest->z = lhs->z - rhs->z; 210 static void SC_vec3Cross(vec3_t *dest, const vec3_t *lhs, const vec3_t *rhs) 212 float x = lhs->y * rhs->z - lhs->z * rhs->y [all...] |
/external/opencore/doc/oscl_html/ |
oscl__str__ptr__len_8h-source.html | 68 <a name="l00074"></a><a class="code" href="structStrPtrLen.html#a3">00074</a> <a class="code" href="structStrPtrLen.html#a2">StrPtrLen</a>(<span class="keyword">const</span> <a class="code" href="structStrPtrLen.html">StrPtrLen</a>& rhs) 69 00075 : <a class="code" href="structStrPtrLen.html#n0">ptr</a>(rhs.<a class="code" href="structStrPtrLen.html#n0">ptr</a>), <a class="code" href="structStrPtrLen.html#n1">len</a>(rhs.<a class="code" href="structStrPtrLen.html#n1">len</a>) 93 <a name="l00099"></a><a class="code" href="structStrPtrLen.html#a8">00099</a> <a class="code" href="group__osclbase.html#a24">c_bool</a> <a class="code" href="structStrPtrLen.html#a8">isCIEquivalentTo</a>(<span class="keyword">const</span> <a class="code" href="structStrPtrLen.html">StrPtrLen</a>& rhs)<span class="keyword"> const</span> 95 00101 <span class="keywordflow">if</span> (<a class="code" href="structStrPtrLen.html#n1">len</a> != rhs.<a class="code" href="structStrPtrLen.html#n1">len</a>) 100 00106 <span class="keywordflow">return</span> <a class="code" href="structStrPtrLen.html#a9">isCIPrefixOf</a>(rhs); 103 <a name="l00109"></a><a class="code" href="structStrPtrLen.html#a9">00109</a> <a class="code" href="group__osclbase.html#a24">c_bool</a> <a class="code" href="structStrPtrLen.html#a9">isCIPrefixOf</a>(<span class="keyword">const</span> <a class="code" href="structStrPtrLen.html">StrPtrLen</a>& rhs)<span class="keyword"> const</span> 105 00111 <span class="keywordflow">if</span> (<a class="code" href="structStrPtrLen.html#n1">len</a> > rhs.<a class="code" href="structStrPtrLen.html#n1">len</a>) 112 00118 <span class="keywordflow">if</span> (<a class="code" href="structStrPtrLen.html#n0">ptr</a>[ii] != rhs.<a class="code" href="structStrPtrLen.html#n0">ptr</a>[ii]) 115 00121 (<a class="code" href="group__osclutil.html#a4">OSCL_ASCII_CASE_MAGIC_BIT</a> != ((<a class="code" href="structStrPtrLen.html#n0">ptr</a>[ii] ^ rhs.<a class="code" href="structStrPtrLen.html#n0">ptr</a>[ii]) | <a class="code" href="group__oscluti (…) [all...] |
/frameworks/base/libs/utils/ |
VectorImpl.cpp | 48 VectorImpl::VectorImpl(const VectorImpl& rhs) 49 : mStorage(rhs.mStorage), mCount(rhs.mCount), 50 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize) 67 VectorImpl& VectorImpl::operator = (const VectorImpl& rhs) 69 LOG_ASSERT(mItemSize == rhs.mItemSize, 70 "Vector<> have different types (this=%p, rhs=%p)", this, &rhs); 71 if (this != &rhs) { [all...] |
/cts/tools/dasm/src/java_cup/ |
production.java | 8 * a LHS non terminal, and an array of RHS symbols. As various 9 * transformations are done on the RHS of the production, it may shrink. 11 * of the RHS array is still valid.<p> 34 * an array of RHS parts (including terminals, non terminals, and 101 /* count use of each rhs symbol */ 175 public production_part rhs(int indx) throws internal_error method in class:production 280 * Symbols appearing in the RHS correspond to objects found on the parse 287 * @param label_map a hash table mapping labels to positions in the RHS. 293 Hashtable label_map, /* map from labels to positions in the RHS */ 316 /* its a RHS label * [all...] |