/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
ShortDuration.java | 118 * Returns an instance of this type that represents the sum of this value and {@code 124 * Returns an instance of this type that represents the difference of this value and 130 * Returns an instance of this type that represents the product of this value and the 136 * Returns an instance of this type that represents the product of this value and {@code 139 * <p>If this class represents an amount that is "continuous" rather than discrete, the 145 * Returns an instance of this type that represents this value divided by the integral 148 * <p>If this class represents an amount that is "continuous" rather than discrete, the 154 * Returns an instance of this type that represents this value divided by {@code 157 * <p>If this class represents an amount that is "continuous" rather than discrete, the 188 @Override public int compareTo(ShortDuration that) { 257 PositiveShortDuration that = (PositiveShortDuration) object; local [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
ClassName.java | 193 * method assumes that the input is ASCII and follows typical Java style (lower-case package 195 * {@link IllegalArgumentException} otherwise. For that reason, {@link #fromClass(Class)} and 256 ClassName that = (ClassName) obj; local 257 return this.packageName.equals(that.packageName) 258 && this.enclosingSimpleNames.equals(that.enclosingSimpleNames) 259 && this.simpleName.equals(that.simpleName);
|
/external/guava/guava/src/com/google/common/base/ |
Predicates.java | 55 * Returns a predicate that always evaluates to {@code true}. 63 * Returns a predicate that always evaluates to {@code false}. 71 * Returns a predicate that evaluates to {@code true} if the object reference 80 * Returns a predicate that evaluates to {@code true} if the object reference 89 * Returns a predicate that evaluates to {@code true} if the given predicate 97 * Returns a predicate that evaluates to {@code true} if each of its 111 * Returns a predicate that evaluates to {@code true} if each of its 124 * Returns a predicate that evaluates to {@code true} if both of its 136 * Returns a predicate that evaluates to {@code true} if any one of its 150 * Returns a predicate that evaluates to {@code true} if any one of it 335 NotPredicate<?> that = (NotPredicate<?>) obj; local 371 AndPredicate<?> that = (AndPredicate<?>) obj; local 405 OrPredicate<?> that = (OrPredicate<?>) obj; local 433 IsEqualToPredicate<?> that = (IsEqualToPredicate<?>) obj; local 462 InstanceOfPredicate that = (InstanceOfPredicate) obj; local 491 AssignableFromPredicate that = (AssignableFromPredicate) obj; local 523 InPredicate<?> that = (InPredicate<?>) obj; local 557 CompositionPredicate<?, ?> that = (CompositionPredicate<?, ?>) obj; local 598 ContainsPatternPredicate that = (ContainsPatternPredicate) obj; local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableSortedSet.java | 157 Set<?> that = (Set<?>) object; local 158 if (size() != that.size()) { 162 if (SortedIterables.hasSameComparator(comparator, that)) { 163 Iterator<?> otherIterator = that.iterator(); 181 return this.containsAll(that); 250 // compare two elements, it'll throw a CCE. Only methods that are specified to
|
/external/guava/guava/src/com/google/common/hash/ |
HashCode.java | 77 // TODO(user): consider ByteString here, when that is available 108 * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given that 111 abstract boolean equalsSameBits(HashCode that); 166 @Override boolean equalsSameBits(HashCode that) { 167 return hash == that.asInt(); 231 boolean equalsSameBits(HashCode that) { 232 return hash == that.asLong(); 311 boolean equalsSameBits(HashCode that) { 312 return MessageDigest.isEqual(bytes, that.getBytesInternal()) 356 HashCode that = (HashCode) object; local [all...] |
/external/guava/guava/src/com/google/common/net/ |
InternetDomainName.java | 39 * network interactions take place. Thus there is no guarantee that the domain 43 * likely to represent an addressable domain on the web -- that is, for a 52 * which (currently) are not hosts, such as {@code "com"}, but given that any 85 * Value of {@link #publicSuffixIndex} which indicates that no public suffix 96 * the fact that the encoding of each part occupies at least two bytes 163 * found. Note that the value defined as the "public suffix" may not be a 217 * Validation method used by {@from} to ensure that the domain name is 247 * Helper method for {@link #validateSyntax(List)}. Validates that one part of 287 * Note that we allow (in contravention of a strict interpretation of the 290 * the last part; it's the only thing that stops an IPv4 numeric addres 536 InternetDomainName that = (InternetDomainName) object; local [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
Booleans.java | 38 * Static utility methods pertaining to {@code boolean} primitives, that are not 66 * value returned is the same as that of {@code ((Boolean) a).compareTo(b)}. 135 * <p>More formally, returns the lowest index {@code i} such that {@code 245 * @param separator the text that should appear between consecutive values in 265 * Returns a comparator that compares two {@code boolean} arrays 266 * lexicographically. That is, it compares, using {@link 267 * #compare(boolean, boolean)}), the first pair of values that follow any 306 * that method. 433 BooleanArrayAsList that = (BooleanArrayAsList) object; local 435 if (that.size() != size) [all...] |
Bytes.java | 35 * Static utility methods pertaining to {@code byte} primitives, that are not 111 * <p>More formally, returns the lowest index {@code i} such that {@code 222 * that method. 347 ByteArrayAsList that = (ByteArrayAsList) object; local 349 if (that.size() != size) { 353 if (array[start + i] != that.array[that.start + i]) {
|
Chars.java | 37 * Static utility methods pertaining to {@code char} primitives, that are not 72 * Returns the {@code char} value that is equal to {@code value}, if possible. 75 * @return the {@code char} value that equals {@code value} 108 * returned is the same as that of {@code ((Character) a).compareTo(b)}. 168 * <p>More formally, returns the lowest index {@code i} such that {@code 222 * @return the value present in {@code array} that is less than or equal to 241 * @return the value present in {@code array} that is greater than or equal to 303 * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that 365 * @param separator the text that should appear between consecutive values in 386 * Returns a comparator that compares two {@code char} array 551 CharArrayAsList that = (CharArrayAsList) object; local [all...] |
Floats.java | 43 * Static utility methods pertaining to {@code float} primitives, that are not 73 // TODO(kevinb): is there a better way, that's still gwt-safe? 79 * Float#compare(float, float)}. You may prefer to invoke that method 108 * {@code array}. Note that this always returns {@code false} when {@code 127 * {@code array}. Note that this always returns {@code -1} when {@code target} 154 * <p>More formally, returns the lowest index {@code i} such that {@code 158 * <p>Note that this always returns {@code -1} when {@code target} contains 185 * {@code array}. Note that this always returns {@code -1} when {@code target} 213 * @return the value present in {@code array} that is less than or equal to 231 * @return the value present in {@code array} that is greater than or equal t 534 FloatArrayAsList that = (FloatArrayAsList) object; local [all...] |
Shorts.java | 39 * Static utility methods pertaining to {@code short} primitives, that are not 60 * The largest power of two that can be represented as a {@code short}. 78 * Returns the {@code short} value that is equal to {@code value}, if 82 * @return the {@code short} value that equals {@code value} 115 * returned is the same as that of {@code ((Short) a).compareTo(b)}. 175 * <p>More formally, returns the lowest index {@code i} such that {@code 229 * @return the value present in {@code array} that is less than or equal to 248 * @return the value present in {@code array} that is greater than or equal to 311 * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that 362 * Returns a serializable converter object that converts between strings an 595 ShortArrayAsList that = (ShortArrayAsList) object; local [all...] |
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
Predicates.java | 52 * Returns a predicate that always evaluates to {@code true}. 60 * Returns a predicate that always evaluates to {@code false}. 68 * Returns a predicate that evaluates to {@code true} if the object reference 77 * Returns a predicate that evaluates to {@code true} if the object reference 86 * Returns a predicate that evaluates to {@code true} if the given predicate 94 * Returns a predicate that evaluates to {@code true} if each of its 108 * Returns a predicate that evaluates to {@code true} if each of its 121 * Returns a predicate that evaluates to {@code true} if both of its 133 * Returns a predicate that evaluates to {@code true} if any one of its 147 * Returns a predicate that evaluates to {@code true} if any one of it 272 NotPredicate<?> that = (NotPredicate<?>) obj; local 308 AndPredicate<?> that = (AndPredicate<?>) obj; local 342 OrPredicate<?> that = (OrPredicate<?>) obj; local 370 IsEqualToPredicate<?> that = (IsEqualToPredicate<?>) obj; local 402 InPredicate<?> that = (InPredicate<?>) obj; local 436 CompositionPredicate<?, ?> that = (CompositionPredicate<?, ?>) obj; local [all...] |
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Chars.java | 35 * Static utility methods pertaining to {@code char} primitives, that are not 70 * Returns the {@code char} value that is equal to {@code value}, if possible. 73 * @return the {@code char} value that equals {@code value} 106 * returned is the same as that of {@code ((Character) a).compareTo(b)}. 166 * <p>More formally, returns the lowest index {@code i} such that {@code 220 * @return the value present in {@code array} that is less than or equal to 239 * @return the value present in {@code array} that is greater than or equal to 314 * @param separator the text that should appear between consecutive values in 335 * Returns a comparator that compares two {@code char} arrays 336 * lexicographically. That is, it compares, using {@lin 500 CharArrayAsList that = (CharArrayAsList) object; local [all...] |
Doubles.java | 39 * Static utility methods pertaining to {@code double} primitives, that are not 77 * returned is the same as that of <code>((Double) a).{@linkplain 78 * Double#compareTo compareTo}(b)</code>. As with that method, {@code NaN} is 107 * {@code array}. Note that this always returns {@code false} when {@code 126 * {@code array}. Note that this always returns {@code -1} when {@code target} 153 * <p>More formally, returns the lowest index {@code i} such that {@code 157 * <p>Note that this always returns {@code -1} when {@code target} contains 184 * {@code array}. Note that this always returns {@code -1} when {@code target} 212 * @return the value present in {@code array} that is less than or equal to 230 * @return the value present in {@code array} that is greater than or equal t 533 DoubleArrayAsList that = (DoubleArrayAsList) object; local [all...] |
Floats.java | 39 * Static utility methods pertaining to {@code float} primitives, that are not 69 // TODO(kevinb): is there a better way, that's still gwt-safe? 75 * Float#compare(float, float)}. You may prefer to invoke that method 104 * {@code array}. Note that this always returns {@code false} when {@code 123 * {@code array}. Note that this always returns {@code -1} when {@code target} 150 * <p>More formally, returns the lowest index {@code i} such that {@code 154 * <p>Note that this always returns {@code -1} when {@code target} contains 181 * {@code array}. Note that this always returns {@code -1} when {@code target} 209 * @return the value present in {@code array} that is less than or equal to 227 * @return the value present in {@code array} that is greater than or equal t 530 FloatArrayAsList that = (FloatArrayAsList) object; local [all...] |
Shorts.java | 37 * Static utility methods pertaining to {@code short} primitives, that are not 58 * The largest power of two that can be represented as a {@code short}. 76 * Returns the {@code short} value that is equal to {@code value}, if 80 * @return the {@code short} value that equals {@code value} 113 * returned is the same as that of {@code ((Short) a).compareTo(b)}. 173 * <p>More formally, returns the lowest index {@code i} such that {@code 227 * @return the value present in {@code array} that is less than or equal to 246 * @return the value present in {@code array} that is greater than or equal to 310 * Returns a serializable converter object that converts between strings and 357 * @param separator the text that should appear between consecutive values i 543 ShortArrayAsList that = (ShortArrayAsList) object; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BreakTransliterator.java | 93 // HACK: Check to see that preceeding item was a letter 122 // we do this from the end backwards, so that we don't have to keep updating. 142 // false means that it is invisible 212 * method is used by other java.text classes that want to avoid allocating 352 ReplaceableCharacterIterator that = (ReplaceableCharacterIterator) obj; local 354 if (hashCode() != that.hashCode()) { 357 if (!text.equals(that.text)) { 360 if (pos != that.pos || begin != that.begin || end != that.end) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
UnicodeMap.java | 35 * necessary changes (much as UnicodeSet mimics Set<String>). Note that nulls are not permitted as values; 36 * that is, a put(x,null) is the same as remove(x).<br> 37 * At this point "" is also not allowed as a key, although that may change. 86 UnicodeMap that = (UnicodeMap) other; local 87 if (length != that.length) return false; 89 if (transitions[i] != that.transitions[i]) return false; 90 if (!areEqual(values[i], that.values[i])) return false; 118 UnicodeMap<T> that = new UnicodeMap<T>(); local 119 that.length = length; 120 that.transitions = (int[]) transitions.clone() [all...] |
/external/icu/icu4c/source/i18n/ |
reldtfmt.cpp | 120 // Initialize the parent fCalendar, so that parse() works correctly. 144 RelativeDateFormat* that = (RelativeDateFormat*)&other; local 145 return (fDateStyle==that->fDateStyle && 146 fDatePattern==that->fDatePattern && 147 fTimePattern==that->fTimePattern && 148 fLocale==that->fLocale ); 233 // format() on DateFormat that this function correspond to, so we 324 // offset in the replaced text, set it to the beginning of that text
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
BreakTransliterator.java | 92 // HACK: Check to see that preceeding item was a letter 121 // we do this from the end backwards, so that we don't have to keep updating. 141 // false means that it is invisible 211 * method is used by other java.text classes that want to avoid allocating 351 ReplaceableCharacterIterator that = (ReplaceableCharacterIterator) obj; local 353 if (hashCode() != that.hashCode()) { 356 if (!text.equals(that.text)) { 359 if (pos != that.pos || begin != that.begin || end != that.end) [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
UnicodeMap.java | 34 * necessary changes (much as UnicodeSet mimics Set<String>). Note that nulls are not permitted as values; 35 * that is, a put(x,null) is the same as remove(x).<br> 36 * At this point "" is also not allowed as a key, although that may change. 85 UnicodeMap that = (UnicodeMap) other; local 86 if (length != that.length) return false; 88 if (transitions[i] != that.transitions[i]) return false; 89 if (!areEqual(values[i], that.values[i])) return false; 117 UnicodeMap<T> that = new UnicodeMap<T>(); local 118 that.length = length; 119 that.transitions = (int[]) transitions.clone() [all...] |
/external/libchrome/base/message_loop/ |
message_pump_libevent.cc | 2 // Use of this source code is governed by a BSD-style license that can be 48 // Not clear yet whether that situation occurs in practice, 289 // Tell both libevent and Run that they should break out of their loops. 295 // Tell libevent (in a threadsafe way) that it should break out of its loop. 304 // We know that we can't be blocked on Wait right now since this method can 359 // Both callbacks will be called. It is necessary to check that |controller| 379 MessagePumpLibevent* that = static_cast<MessagePumpLibevent*>(context); local 380 DCHECK(that->wakeup_pipe_out_ == socket); 386 that->processed_io_events_ = true; 388 event_base_loopbreak(that->event_base_) [all...] |
/external/mockito/src/org/mockito/internal/util/collections/ |
HashCodeAndEqualsSafeSet.java | 21 * Useful for holding mocks that have un-stubbable hashCode or equals method, 22 * meaning that in this scenario the real code is always called and will most probably 27 * that have his own implementation. 86 HashCodeAndEqualsSafeSet that = (HashCodeAndEqualsSafeSet) o; local 87 return backingHashSet.equals(that.backingHashSet);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
RateShareEntry.java | 32 * consecutive samples and it may therefore be enough to define two or three sample group descriptions that 39 * Target rate share may be specified for several operation points that are defined in terms of the total available 40 * bitrate, i.e., the bitrate that should be shared. If only one operation point is defined, the target rate share 164 RateShareEntry that = (RateShareEntry) o; local 166 if (discardPriority != that.discardPriority) { 169 if (maximumBitrate != that.maximumBitrate) { 172 if (minimumBitrate != that.minimumBitrate) { 175 if (operationPointCut != that.operationPointCut) { 178 if (targetRateShare != that.targetRateShare) { 181 if (entries != null ? !entries.equals(that.entries) : that.entries != null) [all...] |
/external/skia/src/gpu/batches/ |
GrAALinearizingConvexPathRenderer.cpp | 5 * Use of this source code is governed by a BSD-style license that can be 279 AAFlatteningConvexPathBatch* that = t->cast<AAFlatteningConvexPathBatch>(); variable 280 if (!GrPipeline::CanCombine(*this->pipeline(), this->bounds(), *that->pipeline(), 281 that->bounds(), caps)) { 285 SkASSERT(this->usesLocalCoords() == that->usesLocalCoords()); 286 if (this->usesLocalCoords() && !this->viewMatrix().cheapEqualTo(that->viewMatrix())) { 292 if (this->canTweakAlphaForCoverage() != that->canTweakAlphaForCoverage()) { 296 fGeoData.push_back_n(that->geoData()->count(), that->geoData()->begin()); 297 this->joinBounds(that->bounds()) [all...] |