/external/eigen/test/ |
exceptions.cpp | 30 ScalarWithExceptions(const ScalarWithExceptions& other) { init(); *v = *(other.v); } 41 ScalarWithExceptions operator+(const ScalarWithExceptions& other) const 46 return ScalarWithExceptions(*v+*other.v); 49 ScalarWithExceptions operator-(const ScalarWithExceptions& other) const 50 { return ScalarWithExceptions(*v-*other.v); } 52 ScalarWithExceptions operator*(const ScalarWithExceptions& other) const 53 { return ScalarWithExceptions((*v)*(*other.v)); } 55 ScalarWithExceptions& operator+=(const ScalarWithExceptions& other) 56 { *v+=*other.v; return *this; [all...] |
/frameworks/base/core/java/android/util/ |
DisplayMetrics.java | 44 * density, instead allow the platform to scale from other densities 310 * Returns true if these display metrics equal the other display metrics. 312 * @param other The display metrics with which to compare. 315 public boolean equals(DisplayMetrics other) { 316 return equalsPhysical(other) 317 && scaledDensity == other.scaledDensity 318 && noncompatScaledDensity == other.noncompatScaledDensity; 326 * @param other The display metrics with which to compare. 330 public boolean equalsPhysical(DisplayMetrics other) { 331 return other != nul [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
SourcePosition.java | 97 public boolean equals(Object other) { 98 if (!(other instanceof SourcePosition)) { 102 if (this == other) { 106 SourcePosition pos = (SourcePosition) other; 121 * @param other {@code non-null;} the instance to compare to 124 public boolean sameLine(SourcePosition other) { 125 return (line == other.line); 132 * @param other {@code non-null;} the instance to compare to 135 public boolean sameLineAndFile(SourcePosition other) { 136 return (line == other.line) & [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
SourcePosition.java | 97 public boolean equals(Object other) { 98 if (!(other instanceof SourcePosition)) { 102 if (this == other) { 106 SourcePosition pos = (SourcePosition) other; 121 * @param other {@code non-null;} the instance to compare to 124 public boolean sameLine(SourcePosition other) { 125 return (line == other.line); 132 * @param other {@code non-null;} the instance to compare to 135 public boolean sameLineAndFile(SourcePosition other) { 136 return (line == other.line) & [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
LookaheadSet.java | 13 * documentation and/or other materials provided with the distribution. 36 * cannot be stored in my BitSet, I set a condition here. There may be other 55 public LookaheadSet(LookaheadSet other) { 57 this.tokenTypeSet.addAll(other.tokenTypeSet); 60 public void orInPlace(LookaheadSet other) { 61 this.tokenTypeSet.addAll(other.tokenTypeSet); 64 public LookaheadSet or(LookaheadSet other) { 65 return new LookaheadSet(tokenTypeSet.or(other.tokenTypeSet)); 68 public LookaheadSet subtract(LookaheadSet other) { 69 return new LookaheadSet(this.tokenTypeSet.subtract(other.tokenTypeSet)) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
SourcePosition.java | 97 public boolean equals(Object other) { 98 if (!(other instanceof SourcePosition)) { 102 if (this == other) { 106 SourcePosition pos = (SourcePosition) other; 121 * @param other {@code non-null;} the instance to compare to 124 public boolean sameLine(SourcePosition other) { 125 return (line == other.line); 132 * @param other {@code non-null;} the instance to compare to 135 public boolean sameLineAndFile(SourcePosition other) { 136 return (line == other.line) & [all...] |
/external/protobuf/src/google/protobuf/ |
repeated_field.cc | 13 // in the documentation and/or other materials provided with the 58 void RepeatedPtrFieldBase::Swap(RepeatedPtrFieldBase* other) { 59 if (this == other) return; 65 elements_ = other->elements_; 66 current_size_ = other->current_size_; 67 allocated_size_ = other->allocated_size_; 68 total_size_ = other->total_size_; 70 other->elements_ = swap_elements; 71 other->current_size_ = swap_current_size; 72 other->allocated_size_ = swap_allocated_size [all...] |
/art/compiler/utils/mips/ |
managed_register_mips.cc | 24 bool MipsManagedRegister::Overlaps(const MipsManagedRegister& other) const { 25 if (IsNoRegister() || other.IsNoRegister()) return false; 27 CHECK(other.IsValidManagedRegister()); 28 if (Equals(other)) return true; 32 return MipsManagedRegister::FromCoreRegister(low).Overlaps(other) || 33 MipsManagedRegister::FromCoreRegister(high).Overlaps(other); 36 if (other.IsDRegister()) return Equals(other); 37 if (other.IsFRegister()) { 40 FRegister other_freg = other.AsFRegister() [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
CatchTable.java | 64 public int compareTo(CatchTable other) { 65 if (this == other) { 71 int otherSize = other.size(); 76 Entry otherEntry = other.get(i); 140 public boolean equals(Object other) { 141 if (other instanceof Entry) { 142 return (compareTo((Entry) other) == 0); 149 public int compareTo(Entry other) { 150 if (start < other.start) { 152 } else if (start > other.start) [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
CatchTable.java | 63 public int compareTo(CatchTable other) { 64 if (this == other) { 70 int otherSize = other.size(); 75 Entry otherEntry = other.get(i); 139 public boolean equals(Object other) { 140 if (other instanceof Entry) { 141 return (compareTo((Entry) other) == 0); 148 public int compareTo(Entry other) { 149 if (start < other.start) { 151 } else if (start > other.start) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
CatchTable.java | 64 public int compareTo(CatchTable other) { 65 if (this == other) { 71 int otherSize = other.size(); 76 Entry otherEntry = other.get(i); 140 public boolean equals(Object other) { 141 if (other instanceof Entry) { 142 return (compareTo((Entry) other) == 0); 149 public int compareTo(Entry other) { 150 if (start < other.start) { 152 } else if (start > other.start) [all...] |
/external/libchrome/base/files/ |
file.cc | 52 File::File(File&& other) 53 : file_(other.TakePlatformFile()), 54 tracing_path_(other.tracing_path_), 55 error_details_(other.error_details()), 56 created_(other.created()), 57 async_(other.async_) {} 73 File& File::operator=(File&& other) { 74 DCHECK_NE(this, &other); 76 SetPlatformFile(other.TakePlatformFile()); 77 tracing_path_ = other.tracing_path_ [all...] |
/frameworks/native/services/inputflinger/ |
InputListener.cpp | 34 const NotifyConfigurationChangedArgs& other) : 35 eventTime(other.eventTime) { 54 NotifyKeyArgs::NotifyKeyArgs(const NotifyKeyArgs& other) : 55 eventTime(other.eventTime), deviceId(other.deviceId), source(other.source), 56 policyFlags(other.policyFlags), 57 action(other.action), flags(other.flags), 58 keyCode(other.keyCode), scanCode(other.scanCode) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
_weakrefset.py | 116 def update(self, other): 119 for element in other: 122 def __ior__(self, other): 123 self.update(other) 126 def difference(self, other): 128 newset.difference_update(other) 132 def difference_update(self, other): 133 self.__isub__(other) 134 def __isub__(self, other): 137 if self is other [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
_weakrefset.py | 116 def update(self, other): 119 for element in other: 122 def __ior__(self, other): 123 self.update(other) 126 def difference(self, other): 128 newset.difference_update(other) 132 def difference_update(self, other): 133 self.__isub__(other) 134 def __isub__(self, other): 137 if self is other [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_weakrefset.py | 116 def update(self, other): 119 for element in other: 122 def __ior__(self, other): 123 self.update(other) 126 def difference(self, other): 128 newset.difference_update(other) 132 def difference_update(self, other): 133 self.__isub__(other) 134 def __isub__(self, other): 137 if self is other [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_weakrefset.py | 116 def update(self, other): 119 for element in other: 122 def __ior__(self, other): 123 self.update(other) 126 def difference(self, other): 128 newset.difference_update(other) 132 def difference_update(self, other): 133 self.__isub__(other) 134 def __isub__(self, other): 137 if self is other [all...] |
/external/dbus/dbus/ |
dbus-string-util.c | 229 DBusString other; local 271 _dbus_string_init_const (&other, "H"); 272 _dbus_assert (_dbus_string_equal_substring (&str, 0, 1, &other, 0)); 273 _dbus_assert (_dbus_string_equal_substring (&str, 1, 0, &other, 1)); 274 _dbus_string_init_const (&other, "Hello"); 275 _dbus_assert (_dbus_string_equal_substring (&str, 0, 5, &other, 0)); 276 _dbus_assert (_dbus_string_equal_substring (&str, 1, 4, &other, 1)); 277 _dbus_assert (_dbus_string_equal_substring (&str, 2, 3, &other, 2)); 278 _dbus_assert (_dbus_string_equal_substring (&str, 3, 2, &other, 3)); 279 _dbus_assert (_dbus_string_equal_substring (&str, 4, 1, &other, 4)) [all...] |
/external/icu/icu4c/source/i18n/ |
tmutamt.cpp | 33 TimeUnitAmount::TimeUnitAmount(const TimeUnitAmount& other) 34 : Measure(other) 40 TimeUnitAmount::operator=(const TimeUnitAmount& other) { 41 Measure::operator=(other); 47 TimeUnitAmount::operator==(const UObject& other) const { 48 return Measure::operator==(other);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
ReadOnlyDoubleArrayBuffer.java | 30 static ReadOnlyDoubleArrayBuffer copy (DoubleArrayBuffer other, int markOfOther) { 31 ReadOnlyDoubleArrayBuffer buf = new ReadOnlyDoubleArrayBuffer(other.capacity(), other.backingArray, other.offset); 32 buf.limit = other.limit(); 33 buf.position = other.position();
|
ReadOnlyFloatArrayBuffer.java | 30 static ReadOnlyFloatArrayBuffer copy (FloatArrayBuffer other, int markOfOther) { 31 ReadOnlyFloatArrayBuffer buf = new ReadOnlyFloatArrayBuffer(other.capacity(), other.backingArray, other.offset); 32 buf.limit = other.limit(); 33 buf.position = other.position();
|
ReadOnlyIntArrayBuffer.java | 29 static ReadOnlyIntArrayBuffer copy (IntArrayBuffer other, int markOfOther) { 30 ReadOnlyIntArrayBuffer buf = new ReadOnlyIntArrayBuffer(other.capacity(), other.backingArray, other.offset); 31 buf.limit = other.limit(); 32 buf.position = other.position();
|
ReadOnlyLongArrayBuffer.java | 29 static ReadOnlyLongArrayBuffer copy (LongArrayBuffer other, int markOfOther) { 30 ReadOnlyLongArrayBuffer buf = new ReadOnlyLongArrayBuffer(other.capacity(), other.backingArray, other.offset); 31 buf.limit = other.limit(); 32 buf.position = other.position();
|
ReadOnlyShortArrayBuffer.java | 30 static ReadOnlyShortArrayBuffer copy (ShortArrayBuffer other, int markOfOther) { 31 ReadOnlyShortArrayBuffer buf = new ReadOnlyShortArrayBuffer(other.capacity(), other.backingArray, other.offset); 32 buf.limit = other.limit(); 33 buf.position = other.position();
|
/external/skia/src/core/ |
SkImageFilterCacheKey.h | 32 bool operator==(const Key& other) const { 33 return fUniqueID == other.fUniqueID && 34 fMatrix == other.fMatrix && 35 fClipBounds == other.fClipBounds && 36 fSrcGenID == other.fSrcGenID && 37 fSrcSubset == other.fSrcSubset;
|