/external/libchrome/base/files/ |
memory_mapped_file.cc | 19 const MemoryMappedFile::Region& other) const { 20 return other.offset == offset && other.size == size; 24 const MemoryMappedFile::Region& other) const { 25 return other.offset != offset || other.size != size;
|
/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.types/ |
rebind.pass.cpp | 35 template <class U> struct rebind {typedef B1<U> other;}; 52 template <class V> struct rebind {typedef D1<V, U> other;}; 64 static_assert((std::is_same<std::pointer_traits<A<int*> >::rebind<double*>::other, A<double*> >::value), ""); 65 static_assert((std::is_same<std::pointer_traits<B<int> >::rebind<double>::other, B1<double> >::value), ""); 66 static_assert((std::is_same<std::pointer_traits<C<char, int> >::rebind<double>::other, C<double, int> >::value), ""); 67 static_assert((std::is_same<std::pointer_traits<D<char, int> >::rebind<double>::other, D1<double, int> >::value), "");
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
ReadOnlyCharArrayBuffer.java | 29 static ReadOnlyCharArrayBuffer copy (CharArrayBuffer other, int markOfOther) { 30 ReadOnlyCharArrayBuffer buf = new ReadOnlyCharArrayBuffer(other.capacity(), other.backingArray, other.offset); 31 buf.limit = other.limit(); 32 buf.position = other.position();
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/ |
Manifold.java | 11 * and/or other materials provided with the distribution. 85 * Creates this manifold as a copy of the other 87 * @param other 89 public Manifold(Manifold other) { 91 localNormal = other.localNormal.clone(); 92 localPoint = other.localPoint.clone(); 93 pointCount = other.pointCount; 94 type = other.type; 97 points[i] = new ManifoldPoint(other.points[i]);
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ExtensionRegistryLite.java | 13 // in the documentation and/or other materials provided with the 61 * all other combinations not supported 67 * that all the inner messages must also support reflection. On the other hand, 143 ExtensionRegistryLite(ExtensionRegistryLite other) { 144 if (other == EMPTY) { 148 Collections.unmodifiableMap(other.extensionsByNumber); 181 final ObjectIntPair other = (ObjectIntPair)obj; local 182 return object == other.object && number == other.number;
|
/external/skia/include/ports/ |
SkFontConfigInterface.h | 50 bool operator==(const FontIdentity& other) const { 51 return fID == other.fID && 52 fTTCIndex == other.fTTCIndex && 53 fString == other.fString; 55 bool operator!=(const FontIdentity& other) const { 56 return !(*this == other);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
BaseAnnotationEncodedValue.java | 13 * in the documentation and/or other materials provided with the 53 AnnotationEncodedValue other = (AnnotationEncodedValue)o; local 54 return getType().equals(other.getType()) && 55 getElements().equals(other.getElements()); 64 AnnotationEncodedValue other = (AnnotationEncodedValue)o; 65 res = getType().compareTo(other.getType()); 67 return CollectionUtils.compareAsSet(getElements(), other.getElements());
|
/external/webrtc/webrtc/libjingle/xmllite/ |
qname.cc | 62 int QName::Compare(const StaticQName& other) const { 63 int result = local_part_.compare(other.local); 67 return namespace_.compare(other.ns); 70 int QName::Compare(const QName& other) const { 71 int result = local_part_.compare(other.local_part_); 75 return namespace_.compare(other.namespace_);
|
/frameworks/av/media/libmedia/ |
MediaResource.cpp | 57 bool MediaResource::operator==(const MediaResource &other) const { 58 return (other.mType == mType) && (other.mSubType == mSubType) && (other.mValue == mValue); 61 bool MediaResource::operator!=(const MediaResource &other) const { 62 return !(*this == other);
|
/frameworks/av/media/libstagefright/webm/ |
WebmFrame.cpp | 65 bool WebmFrame::operator<(const WebmFrame &other) const { 69 if (other.mEos) { 72 if (this->mAbsTimecode == other.mAbsTimecode) { 73 if (this->mType == kAudioType && other.mType == kVideoType) { 76 if (this->mType == kVideoType && other.mType == kAudioType) { 81 return this->mAbsTimecode < other.mAbsTimecode;
|
/frameworks/base/core/java/android/content/ |
SyncInfo.java | 74 public SyncInfo(SyncInfo other) { 75 this.authorityId = other.authorityId; 76 this.account = new Account(other.account.name, other.account.type); 77 this.authority = other.authority; 78 this.startTime = other.startTime;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
HighSpeedVideoConfiguration.java | 147 final HighSpeedVideoConfiguration other = (HighSpeedVideoConfiguration) obj; local 148 return mWidth == other.mWidth && 149 mHeight == other.mHeight && 150 mFpsMin == other.mFpsMin && 151 mFpsMax == other.mFpsMax && 152 mBatchSizeMax == other.mBatchSizeMax;
|
/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreKey.java | 83 AndroidKeyStoreKey other = (AndroidKeyStoreKey) obj; local 85 if (other.mAlgorithm != null) { 88 } else if (!mAlgorithm.equals(other.mAlgorithm)) { 92 if (other.mAlias != null) { 95 } else if (!mAlias.equals(other.mAlias)) { 98 if (mUid != other.mUid) {
|
/frameworks/base/libs/hwui/ |
LayerCache.h | 64 * not enough space available. Adding a layer can cause other layers to 114 bool operator==(const LayerEntry& other) const { 115 return compare(*this, other) == 0; 118 bool operator!=(const LayerEntry& other) const { 119 return compare(*this, other) != 0; 122 bool operator<(const LayerEntry& other) const { 123 return LayerEntry::compare(*this, other) < 0;
|
RenderBufferCache.h | 53 * not enough space available. Adding a buffer can cause other buffer to 92 bool operator==(const RenderBufferEntry& other) const { 93 return compare(*this, other) == 0; 96 bool operator!=(const RenderBufferEntry& other) const { 97 return compare(*this, other) != 0; 100 bool operator<(const RenderBufferEntry& other) const { 101 return RenderBufferEntry::compare(*this, other) < 0;
|
/libcore/dex/src/main/java/com/android/dex/ |
FieldId.java | 46 public int compareTo(FieldId other) { 47 if (declaringClassIndex != other.declaringClassIndex) { 48 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex); 50 if (nameIndex != other.nameIndex) { 51 return Unsigned.compare(nameIndex, other.nameIndex); 53 return Unsigned.compare(typeIndex, other.typeIndex); // should always be 0
|
MethodId.java | 46 public int compareTo(MethodId other) { 47 if (declaringClassIndex != other.declaringClassIndex) { 48 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex); 50 if (nameIndex != other.nameIndex) { 51 return Unsigned.compare(nameIndex, other.nameIndex); 53 return Unsigned.compare(protoIndex, other.protoIndex);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/pointer.traits/pointer.traits.types/ |
rebind.pass.cpp | 35 template <class U> struct rebind {typedef B1<U> other;}; 52 template <class V> struct rebind {typedef D1<V, U> other;}; 64 static_assert((std::is_same<std::pointer_traits<A<int*> >::rebind<double*>::other, A<double*> >::value), ""); 65 static_assert((std::is_same<std::pointer_traits<B<int> >::rebind<double>::other, B1<double> >::value), ""); 66 static_assert((std::is_same<std::pointer_traits<C<char, int> >::rebind<double>::other, C<double, int> >::value), ""); 67 static_assert((std::is_same<std::pointer_traits<D<char, int> >::rebind<double>::other, D1<double, int> >::value), "");
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapAccountItem.java | 94 public int compareTo(BluetoothMapAccountItem other) { 96 if(!other.mId.equals(this.mId)){ 97 if(V) Log.d(TAG, "Wrong id : " + this.mId + " vs " + other.mId); 100 if(!other.mName.equals(this.mName)){ 101 if(V) Log.d(TAG, "Wrong name : " + this.mName + " vs " + other.mName); 104 if(!other.mPackageName.equals(this.mPackageName)){ 106 + other.mPackageName); 109 if(!other.mProviderAuthority.equals(this.mProviderAuthority)){ 111 + other.mProviderAuthority); 114 if(other.mIsChecked != this.mIsChecked) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
CallFilteringResult.java | 37 public CallFilteringResult combine(CallFilteringResult other) { 38 if (other == null) { 43 shouldAllowCall && other.shouldAllowCall, 44 shouldReject || other.shouldReject, 45 shouldAddToCallLog && other.shouldAddToCallLog, 46 shouldShowNotification && other.shouldShowNotification);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
const_iterator.hpp | 99 binary_heap_const_iterator_(const binary_heap_const_iterator_& other) 100 : base_type(other) 105 operator==(const binary_heap_const_iterator_& other) const 106 { return base_type::m_p_e == other.m_p_e; } 110 operator!=(const binary_heap_const_iterator_& other) const 111 { return base_type::m_p_e != other.m_p_e; }
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/eq_fn/ |
hash_eq_fn.hpp | 61 typedef typename _Alloc::template rebind<Key>::other key_allocator; 74 swap(const hash_eq_fn& other) 75 { std::swap((Eq_Fn&)(*this), (Eq_Fn&)other); } 85 typedef typename _Alloc::template rebind<Key>::other key_allocator; 104 swap(const hash_eq_fn& other) 105 { std::swap((Eq_Fn&)(*this), (Eq_Fn&)(other)); }
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
const_iterator.hpp | 99 binary_heap_const_iterator_(const binary_heap_const_iterator_& other) 100 : base_type(other) 105 operator==(const binary_heap_const_iterator_& other) const 106 { return base_type::m_p_e == other.m_p_e; } 110 operator!=(const binary_heap_const_iterator_& other) const 111 { return base_type::m_p_e != other.m_p_e; }
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/eq_fn/ |
hash_eq_fn.hpp | 61 typedef typename _Alloc::template rebind<Key>::other key_allocator; 74 swap(const hash_eq_fn& other) 75 { std::swap((Eq_Fn&)(*this), (Eq_Fn&)other); } 85 typedef typename _Alloc::template rebind<Key>::other key_allocator; 104 swap(const hash_eq_fn& other) 105 { std::swap((Eq_Fn&)(*this), (Eq_Fn&)(other)); }
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/binary_heap_/ |
const_iterator.hpp | 99 binary_heap_const_iterator_(const binary_heap_const_iterator_& other) 100 : base_type(other) 105 operator==(const binary_heap_const_iterator_& other) const 106 { return base_type::m_p_e == other.m_p_e; } 110 operator!=(const binary_heap_const_iterator_& other) const 111 { return base_type::m_p_e != other.m_p_e; }
|