/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
D | SmartPtr.h | 40 SmartPtr<T,threadSafe>(const SmartPtr<T,false>& rhs) { 47 m_pRefCount = rhs.m_pRefCount; 48 m_ptr = rhs.m_ptr; 52 SmartPtr<T,threadSafe>(SmartPtr<T,true>& rhs) { 59 if (rhs.m_lock) mutex_lock(rhs.m_lock); 60 m_pRefCount = rhs.m_pRefCount; 61 m_ptr = rhs.m_ptr; 63 if (rhs.m_lock) mutex_unlock(rhs.m_lock); 99 SmartPtr<T,threadSafe>& operator=(const SmartPtr<T,false>& rhs) 101 if (m_ptr == rhs.m_ptr) [all …]
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
D | SmartPtr.h | 40 SmartPtr<T,threadSafe>(const SmartPtr<T,false>& rhs) { 47 m_pRefCount = rhs.m_pRefCount; 48 m_ptr = rhs.m_ptr; 52 SmartPtr<T,threadSafe>(SmartPtr<T,true>& rhs) { 59 if (rhs.m_lock) mutex_lock(rhs.m_lock); 60 m_pRefCount = rhs.m_pRefCount; 61 m_ptr = rhs.m_ptr; 63 if (rhs.m_lock) mutex_unlock(rhs.m_lock); 103 SmartPtr<T,threadSafe>& operator=(const SmartPtr<T,false>& rhs) 105 if (m_ptr == rhs.m_ptr) [all …]
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/ |
D | FullRevision.java | 184 public boolean equals(Object rhs) { in equals() argument 185 if (this == rhs) { in equals() 188 if (rhs == null) { in equals() 191 if (!(rhs instanceof FullRevision)) { in equals() 194 FullRevision other = (FullRevision) rhs; in equals() 220 public int compareTo(FullRevision rhs) { in compareTo() argument 221 int delta = mMajor - rhs.mMajor; in compareTo() 226 delta = mMinor - rhs.mMinor; in compareTo() 231 delta = mMicro - rhs.mMicro; in compareTo() 237 int p2 = rhs.mPreview == NOT_A_PREVIEW ? Integer.MAX_VALUE : rhs.mPreview; in compareTo()
|
/sdk/rule_api/src/com/android/ide/common/api/ |
D | Rect.java | 191 Rect rhs = (Rect) obj; in equals() local 193 if (isValid() != rhs.isValid()) { in equals() 197 if (!isValid() && !rhs.isValid()) { in equals() 201 return this.x == rhs.x && this.y == rhs.y && this.w == rhs.w && this.h == rhs.h; in equals()
|
D | Point.java | 70 Point rhs = (Point) obj; in equals() local 71 return this.x == rhs.x && this.y == rhs.y; in equals()
|
D | RuleAction.java | 375 RuleAction rhs = (RuleAction) obj; in equals() local 377 if (mId != rhs.mId && !(mId != null && mId.equals(rhs.mId))) return false; in equals() 378 if (mTitle != rhs.mTitle && in equals() 379 !(mTitle != null && mTitle.equals(rhs.mTitle))) return false; in equals()
|
/sdk/sdk_common/tests/src/com/android/ide/common/xml/ |
D | AndroidManifestParserTest.java | 130 private void assertEquals(ManifestData.Activity lhs, ManifestData.Activity rhs) { in assertEquals() argument 131 assertTrue(lhs == rhs || (lhs != null && rhs != null)); in assertEquals() 132 if (lhs != null && rhs != null) { in assertEquals() 133 assertEquals(lhs.getName(), rhs.getName()); in assertEquals() 134 assertEquals(lhs.isExported(), rhs.isExported()); in assertEquals() 135 assertEquals(lhs.hasAction(), rhs.hasAction()); in assertEquals() 136 assertEquals(lhs.isHomeActivity(), rhs.isHomeActivity()); in assertEquals()
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
D | ArchiveInfo.java | 154 public int compareTo(ArchiveInfo rhs) { in compareTo() argument 155 if (getNewArchive() != null && rhs != null) { in compareTo() 156 return getNewArchive().compareTo(rhs.getNewArchive()); in compareTo()
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/archives/ |
D | Archive.java | 410 public int compareTo(Archive rhs) { in compareTo() argument 411 if (mPackage != null && rhs != null) { in compareTo() 412 return mPackage.compareTo(rhs.getParentPackage()); in compareTo()
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
D | SdkManager.java | 1252 public int compareTo(LayoutlibVersion rhs) { in compareTo() argument 1253 boolean useRev = this.mRevision > NOT_SPECIFIED && rhs.mRevision > NOT_SPECIFIED; in compareTo() 1255 int rhsValue = (rhs.mApi << 16) + (useRev ? rhs.mRevision : 0); in compareTo()
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
D | StringFormatDetector.java | 1157 Expression rhs = node.astInitializer(); in visitVariableDefinitionEntry() local 1158 Class<?> type = getType(rhs); in visitVariableDefinitionEntry() 1166 if (rhs != mTargetNode) { in visitVariableDefinitionEntry()
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/ |
D | SdkSource.java | 197 public int compareTo(SdkSource rhs) { in compareTo() argument 198 return this.getUrl().compareTo(rhs.getUrl()); in compareTo()
|