/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
H A D | stack.h | 40 Stack(Stack&& rhs)
argument 41 : allocator_(rhs.allocator_),
42 ownAllocator_(rhs.ownAllocator_),
43 stack_(rhs.stack_),
44 stackTop_(rhs.stackTop_),
45 stackEnd_(rhs.stackEnd_),
46 initialCapacity_(rhs.initialCapacity_)
48 rhs.allocator_ = 0;
49 rhs.ownAllocator_ = 0;
50 rhs 62 operator =(Stack&& rhs) argument [all...] |
H A D | biginteger.h | 32 BigInteger(const BigInteger& rhs) : count_(rhs.count_) { argument 33 std::memcpy(digits_, rhs.digits_, count_ * sizeof(Type)); 55 BigInteger& operator=(const BigInteger &rhs) argument 57 if (this != &rhs) { 58 count_ = rhs.count_; 59 std::memcpy(digits_, rhs.digits_, count_ * sizeof(Type)); 154 bool operator==(const BigInteger& rhs) const { 155 return count_ == rhs.count_ && std::memcmp(digits_, rhs 186 Difference(const BigInteger& rhs, BigInteger* out) const argument [all...] |
H A D | diyfp.h | 61 DiyFp operator-(const DiyFp& rhs) const { 62 return DiyFp(f - rhs.f, e); 65 DiyFp operator*(const DiyFp& rhs) const { 68 uint64_t l = _umul128(f, rhs.f, &h); 71 return DiyFp(h, e + rhs.e + 64); 74 uint128 p = static_cast<uint128>(f) * static_cast<uint128>(rhs.f); 79 return DiyFp(h, e + rhs.e + 64); 84 const uint64_t c = rhs.f >> 32; 85 const uint64_t d = rhs.f & M32; 92 return DiyFp(ac + (ad >> 32) + (bc >> 32) + (tmp >> 32), e + rhs [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
H A D | TransitionImageMatcher.java | 29 public int compare(TransitionImage lhs, TransitionImage rhs) { argument 31 Uri r = rhs == null ? null : rhs.getUri();
|
/packages/apps/TV/src/com/android/tv/data/ |
H A D | TvInputNewComparator.java | 39 public int compare(TvInputInfo lhs, TvInputInfo rhs) { argument 41 boolean rhsIsNewInput = mSetupUtils.isNewInput(rhs.getId()); 49 boolean rhsSetupDone = mSetupUtils.isSetupDone(rhs.getId()); 55 return mInputManager.getDefaultTvInputInfoComparator().compare(lhs, rhs);
|
H A D | ChannelNumber.java | 118 public static int compare(String lhs, String rhs) { argument 120 ChannelNumber rhsNumber = parseChannelNumber(rhs);
|
/packages/apps/TV/src/com/android/tv/util/ |
H A D | TvTrackInfoUtils.java | 35 * @return -1 if lhs is a worse match, 0 if lhs and rhs match equally and 1 if lhs is a better 43 public int compare(TvTrackInfo lhs, TvTrackInfo rhs) { 44 if (lhs == rhs) { 50 if (rhs == null) { 53 boolean rhsLangMatch = Utils.isEqualLanguage(rhs.getLanguage(), language); 57 boolean rhsCountMatch = rhs.getAudioChannelCount() == channelCount; 61 boolean rhsIdMatch = rhs.getId().equals(id);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | InputMethodSubtypePreference.java | 60 int compareTo(final Preference rhs, final Collator collator) { argument 61 if (this == rhs) { 64 if (rhs instanceof InputMethodSubtypePreference) { 65 final InputMethodSubtypePreference pref = (InputMethodSubtypePreference) rhs; 67 final CharSequence t1 = rhs.getTitle(); 91 return super.compareTo(rhs);
|
H A D | InputMethodPreference.java | 289 int compareTo(final InputMethodPreference rhs, final Collator collator) { argument 290 if (this == rhs) { 293 if (mHasPriorityInSorting == rhs.mHasPriorityInSorting) { 295 final CharSequence t1 = rhs.getTitle();
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | stringbuffer.h | 42 GenericStringBuffer(GenericStringBuffer&& rhs) : stack_(std::move(rhs.stack_)) {}
argument 43 GenericStringBuffer& operator=(GenericStringBuffer&& rhs) {
argument 44 if (&rhs != this)
45 stack_ = std::move(rhs.stack_);
|
H A D | document.h | 443 GenericValue(GenericValue&& rhs) RAPIDJSON_NOEXCEPT : data_(rhs.data_), flags_(rhs.flags_) {
444 rhs.flags_ = kNullFlag; // give up contents
450 GenericValue(const GenericValue& rhs);
455 GenericValue(GenericDocument<Encoding,Allocator,StackAllocator>&& rhs);
459 GenericValue& operator=(GenericDocument<Encoding,Allocator,StackAllocator>&& rhs);
484 \tparam SourceAllocator allocator of \c rhs
485 \param rhs Value to copy from (read-only)
490 GenericValue(const GenericValue<Encoding, SourceAllocator>& rhs, Allocato 609 RawAssign(rhs); variable 656 CopyFrom(const GenericValue<Encoding, SourceAllocator>& rhs, Allocator& allocator) argument 776 operator ==(const T& lhs, const GenericValue& rhs) argument 781 operator !=(const T& lhs, const GenericValue& rhs) argument 2084 GenericValue(const GenericValue<Encoding,SourceAllocator>& rhs, Allocator& allocator) argument [all...] |
H A D | pointer.h | 158 GenericPointer(const GenericPointer& rhs) : allocator_(), ownAllocator_(), nameBuffer_(), tokens_(), tokenCount_(), parseErrorOffset_(), parseErrorCode_(kPointerParseErrorNone) { argument 159 *this = rhs; 170 GenericPointer& operator=(const GenericPointer& rhs) { argument 171 if (this != &rhs) { 176 tokenCount_ = rhs.tokenCount_; 177 parseErrorOffset_ = rhs.parseErrorOffset_; 178 parseErrorCode_ = rhs.parseErrorCode_; 180 if (rhs.nameBuffer_) 181 CopyFromRaw(rhs); // Normally parsed tokens. 183 tokens_ = rhs 730 CopyFromRaw(const GenericPointer& rhs, size_t extraToken = 0, size_t extraNameBufferSize = 0) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | AbstractUserComparator.java | 40 public int compare(T lhs, T rhs) { argument 45 Long bUserSerial = mUserManager.getSerialNumberForUser(rhs.user);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/serialize/ |
H A D | serialize.cpp | 67 Dependent(const Dependent& rhs) : Person(rhs), education_(0) { education_ = (rhs.education_ == 0) ? 0 : new Education(*rhs.education_); }
argument 70 Dependent& operator=(const Dependent& rhs) {
argument 71 if (this == &rhs)
74 education_ = (rhs.education_ == 0) ? 0 : new Education(*rhs.education_);
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
H A D | ComparableTester.java | 66 List<T> rhs = listOfGroups.get(j); 67 assertOrder(i, j, currentGroup, rhs); 110 for (T rhs : group) { 111 Assert.assertEquals(lhs + " compareTo " + rhs, 0, lhs.compareTo(rhs));
|
H A D | ComparatorTester.java | 79 List<T> rhs = listOfGroups.get(j); 80 assertOrder(i, j, currentGroup, rhs);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | RankedComparator.java | 69 public int compare(T lhs, T rhs) { argument 71 final int orderRhs = getOrder(rhs);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyboardParams.java | 96 public int compare(final Key lhs, final Key rhs) { 97 if (lhs.getY() < rhs.getY()) return -1; 98 if (lhs.getY() > rhs.getY()) return 1; 99 if (lhs.getX() < rhs.getX()) return -1; 100 if (lhs.getX() > rhs.getX()) return 1;
|
/packages/apps/TV/src/com/android/tv/dvr/ |
H A D | ScheduledRecording.java | 49 public int compare(ScheduledRecording lhs, ScheduledRecording rhs) { 50 return Long.compare(lhs.mStartTimeMs, rhs.mStartTimeMs); 56 public int compare(ScheduledRecording lhs, ScheduledRecording rhs) { 57 int value = Long.compare(lhs.mPriority, rhs.mPriority); 59 value = Long.compare(lhs.mId, rhs.mId); 68 public int compare(ScheduledRecording lhs, ScheduledRecording rhs) { 69 int value = START_TIME_COMPARATOR.compare(lhs, rhs); 71 value = PRIORITY_COMPARATOR.compare(lhs, rhs);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | ProcessStatsUi.java | 186 public int compare(ProcStatsPackageEntry lhs, ProcStatsPackageEntry rhs) { 187 double rhsWeight = Math.max(rhs.mRunWeight, rhs.mBgWeight); 199 public int compare(ProcStatsPackageEntry lhs, ProcStatsPackageEntry rhs) { 200 double rhsMax = Math.max(rhs.mMaxBgMem, rhs.mMaxRunMem);
|
H A D | ProcessStatsDetail.java | 222 public int compare(ProcStatsEntry lhs, ProcStatsEntry rhs) { 223 if (lhs.mRunWeight < rhs.mRunWeight) { 225 } else if (lhs.mRunWeight > rhs.mRunWeight) { 295 public int compare(ProcStatsEntry.Service lhs, ProcStatsEntry.Service rhs) { 296 if (lhs.mDuration < rhs.mDuration) { 298 } else if (lhs.mDuration > rhs.mDuration) { 307 public int compare(PkgService lhs, PkgService rhs) { 308 if (lhs.mDuration < rhs.mDuration) { 310 } else if (lhs.mDuration > rhs.mDuration) {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | FrequentContactsCursorBuilder.java | 138 public int compare(final Object[] lhs, final Object[] rhs) { 140 final String lookupKeyRhs = (String) rhs[ContactUtil.INDEX_LOOKUP_KEY]; 154 final int phoneTypeRhs = (int) rhs[ContactUtil.INDEX_PHONE_EMAIL_TYPE];
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/ |
H A D | AccountTypeTest.java | 106 private int compareDisplayLabel(AccountType lhs, AccountType rhs) { argument 108 getInstrumentation().getTargetContext()).compare(lhs, rhs);
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | SelectInputView.java | 391 public int compare(TvInputInfo lhs, TvInputInfo rhs) { argument 393 return (rhs == null) ? 0 : 1; 395 if (rhs == null) { 400 boolean enabledR = isInputEnabled(rhs); 406 int priorityR = getPriority(rhs); 412 String customLabelR = (String) rhs.loadCustomLabel(getContext()); 420 String labelR = (String) rhs.loadLabel(getContext());
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | AppWidgetLoader.java | 163 public int compare(Item lhs, Item rhs) { 164 return mCollator.compare(lhs.getLabel(), rhs.getLabel());
|