/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractPath.java | 42 public final boolean startsWith(String other) { in startsWith() argument 43 return startsWith(getFileSystem().getPath(other)); in startsWith() 47 public final boolean endsWith(String other) { in endsWith() argument 48 return endsWith(getFileSystem().getPath(other)); in endsWith() 52 public final Path resolve(String other) { in resolve() argument 53 return resolve(getFileSystem().getPath(other)); in resolve() 57 public final Path resolveSibling(Path other) { in resolveSibling() argument 58 if (other == null) in resolveSibling() 61 return (parent == null) ? other : parent.resolve(other); in resolveSibling() 65 public final Path resolveSibling(String other) { in resolveSibling() argument [all …]
|
D | UnixException.java | 77 private IOException translateToIOException(String file, String other) { in translateToIOException() argument 84 return new AccessDeniedException(file, other, null); in translateToIOException() 86 return new NoSuchFileException(file, other, null); in translateToIOException() 88 return new FileAlreadyExistsException(file, other, null); in translateToIOException() 91 return new FileSystemException(file, other, errorString()); in translateToIOException() 99 void rethrowAsIOException(UnixPath file, UnixPath other) throws IOException { in rethrowAsIOException() argument 101 String b = (other == null) ? null : other.getPathForExceptionMessage(); in rethrowAsIOException()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 240 boolean startsWith(Path other); in startsWith() argument 258 boolean startsWith(String other); in startsWith() argument 285 boolean endsWith(Path other); in endsWith() argument 306 boolean endsWith(String other); in endsWith() argument 358 Path resolve(Path other); in resolve() argument 378 Path resolve(String other); in resolve() argument 399 Path resolveSibling(Path other); in resolveSibling() argument 416 Path resolveSibling(String other); in resolveSibling() argument 458 Path relativize(Path other); in relativize() argument 751 int compareTo(Path other); in compareTo() argument [all …]
|
D | FileSystemException.java | 43 private final String other; field in FileSystemException 56 this.other = null; in FileSystemException() 72 public FileSystemException(String file, String other, String reason) { in FileSystemException() argument 75 this.other = other; in FileSystemException() 93 return other; in getOtherFile() 110 if (file == null && other == null) in getMessage() 115 if (other != null) { in getMessage() 117 sb.append(other); in getMessage()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetPutFieldsDefaulted.java | 82 SimpleClass other = (SimpleClass) obj; in equals() local 83 return (a == other.getA() && b.equals(other.getB())); in equals() 104 Support_GetPutFieldsDefaulted other = (Support_GetPutFieldsDefaulted) obj; in equals() local 105 return (booleanValue == other.booleanValue && in equals() 106 byteValue == other.byteValue && in equals() 107 charValue == other.charValue && in equals() 108 doubleValue == other.doubleValue && in equals() 109 floatValue == other.floatValue && in equals() 110 longValue == other.longValue && in equals() 111 intValue == other.intValue && in equals() [all …]
|
D | Support_GetPutFields.java | 71 SimpleClass other = (SimpleClass) obj; in equals() local 72 return (a == other.getA() && b.equals(other.getB())); in equals() 93 Support_GetPutFields other = (Support_GetPutFields) obj; in equals() local 94 return (booleanValue == other.booleanValue && in equals() 95 byteValue == other.byteValue && in equals() 96 charValue == other.charValue && in equals() 97 doubleValue == other.doubleValue && in equals() 98 floatValue == other.floatValue && in equals() 99 longValue == other.longValue && in equals() 100 intValue == other.intValue && in equals() [all …]
|
D | Support_GetPutFieldsDeprecated.java | 73 SimpleClass other = (SimpleClass) obj; in equals() local 74 return (a == other.getA() && b.equals(other.getB())); in equals() 95 Support_GetPutFields other = (Support_GetPutFields) obj; in equals() local 96 return (booleanValue == other.booleanValue && in equals() 97 byteValue == other.byteValue && in equals() 98 charValue == other.charValue && in equals() 99 doubleValue == other.doubleValue && in equals() 100 floatValue == other.floatValue && in equals() 101 longValue == other.longValue && in equals() 102 intValue == other.intValue && in equals() [all …]
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | LongPredicate.java | 68 default LongPredicate and(LongPredicate other) { in and() argument 69 Objects.requireNonNull(other); in and() 70 return (value) -> test(value) && other.test(value); in and() 100 default LongPredicate or(LongPredicate other) { in or() argument 101 Objects.requireNonNull(other); in or() 102 return (value) -> test(value) || other.test(value); in or()
|
D | IntPredicate.java | 68 default IntPredicate and(IntPredicate other) { in and() argument 69 Objects.requireNonNull(other); in and() 70 return (value) -> test(value) && other.test(value); in and() 100 default IntPredicate or(IntPredicate other) { in or() argument 101 Objects.requireNonNull(other); in or() 102 return (value) -> test(value) || other.test(value); in or()
|
D | DoublePredicate.java | 68 default DoublePredicate and(DoublePredicate other) { in and() argument 69 Objects.requireNonNull(other); in and() 70 return (value) -> test(value) && other.test(value); in and() 100 default DoublePredicate or(DoublePredicate other) { in or() argument 101 Objects.requireNonNull(other); in or() 102 return (value) -> test(value) || other.test(value); in or()
|
D | Predicate.java | 67 default Predicate<T> and(Predicate<? super T> other) { in and() argument 68 Objects.requireNonNull(other); in and() 69 return (t) -> test(t) && other.test(t); in and() 99 default Predicate<T> or(Predicate<? super T> other) { in or() argument 100 Objects.requireNonNull(other); in or() 101 return (t) -> test(t) || other.test(t); in or()
|
D | BiPredicate.java | 71 default BiPredicate<T, U> and(BiPredicate<? super T, ? super U> other) { in and() argument 72 Objects.requireNonNull(other); in and() 73 return (T t, U u) -> test(t, u) && other.test(t, u); in and() 103 default BiPredicate<T, U> or(BiPredicate<? super T, ? super U> other) { in or() argument 104 Objects.requireNonNull(other); in or() 105 return (T t, U u) -> test(t, u) || other.test(t, u); in or()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CompletionStage.java | 309 (CompletionStage<? extends U> other, in thenCombine() argument 329 (CompletionStage<? extends U> other, in thenCombineAsync() argument 350 (CompletionStage<? extends U> other, in thenCombineAsync() argument 369 (CompletionStage<? extends U> other, in thenAcceptBoth() argument 388 (CompletionStage<? extends U> other, in thenAcceptBothAsync() argument 408 (CompletionStage<? extends U> other, in thenAcceptBothAsync() argument 424 public CompletionStage<Void> runAfterBoth(CompletionStage<?> other, in runAfterBoth() argument 439 public CompletionStage<Void> runAfterBothAsync(CompletionStage<?> other, in runAfterBothAsync() argument 456 public CompletionStage<Void> runAfterBothAsync(CompletionStage<?> other, in runAfterBothAsync() argument 474 (CompletionStage<? extends T> other, in applyToEither() argument [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | OptionalDouble.java | 147 public double orElse(double other) { in orElse() argument 148 return isPresent ? value : other; in orElse() 161 public double orElseGet(DoubleSupplier other) { in orElseGet() argument 162 return isPresent ? value : other.getAsDouble(); in orElseGet() 212 OptionalDouble other = (OptionalDouble) obj; in equals() local 213 return (isPresent && other.isPresent) in equals() 214 ? Double.compare(value, other.value) == 0 in equals() 215 : isPresent == other.isPresent; in equals()
|
D | OptionalLong.java | 147 public long orElse(long other) { in orElse() argument 148 return isPresent ? value : other; in orElse() 161 public long orElseGet(LongSupplier other) { in orElseGet() argument 162 return isPresent ? value : other.getAsLong(); in orElseGet() 212 OptionalLong other = (OptionalLong) obj; in equals() local 213 return (isPresent && other.isPresent) in equals() 214 ? value == other.value in equals() 215 : isPresent == other.isPresent; in equals()
|
D | OptionalInt.java | 147 public int orElse(int other) { in orElse() argument 148 return isPresent ? value : other; in orElse() 161 public int orElseGet(IntSupplier other) { in orElseGet() argument 162 return isPresent ? value : other.getAsInt(); in orElseGet() 212 OptionalInt other = (OptionalInt) obj; in equals() local 213 return (isPresent && other.isPresent) in equals() 214 ? value == other.value in equals() 215 : isPresent == other.isPresent; in equals()
|
D | DoubleSummaryStatistics.java | 99 public void combine(DoubleSummaryStatistics other) { in combine() argument 100 count += other.count; in combine() 101 simpleSum += other.simpleSum; in combine() 102 sumWithCompensation(other.sum); in combine() 103 sumWithCompensation(other.sumCompensation); in combine() 104 min = Math.min(min, other.min); in combine() 105 max = Math.max(max, other.max); in combine()
|
D | IntSummaryStatistics.java | 97 public void combine(IntSummaryStatistics other) { in combine() argument 98 count += other.count; in combine() 99 sum += other.sum; in combine() 100 min = Math.min(min, other.min); in combine() 101 max = Math.max(max, other.max); in combine()
|
D | LongSummaryStatistics.java | 109 public void combine(LongSummaryStatistics other) { in combine() argument 110 count += other.count; in combine() 111 sum += other.sum; in combine() 112 min = Math.min(min, other.min); in combine() 113 max = Math.max(max, other.max); in combine()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | CollationKeyICU.java | 30 public int compareTo(CollationKey other) { in compareTo() argument 32 if (other instanceof CollationKeyICU) { in compareTo() 33 otherKey = ((CollationKeyICU) other).key; in compareTo() 35 otherKey = new android.icu.text.CollationKey(other.getSourceString(), in compareTo() 36 other.toByteArray()); in compareTo()
|
/libcore/luni/src/main/java/android/system/ |
D | StructTimespec.java | 41 public int compareTo(StructTimespec other) { in compareTo() argument 42 if (tv_sec > other.tv_sec) { in compareTo() 45 if (tv_sec < other.tv_sec) { in compareTo() 48 if (tv_nsec > other.tv_nsec) { in compareTo() 51 if (tv_nsec < other.tv_nsec) { in compareTo()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTime.java | 569 default int compareTo(ChronoZonedDateTime<?> other) { in compareTo() argument 570 int cmp = Long.compare(toEpochSecond(), other.toEpochSecond()); in compareTo() 572 cmp = toLocalTime().getNano() - other.toLocalTime().getNano(); in compareTo() 574 cmp = toLocalDateTime().compareTo(other.toLocalDateTime()); in compareTo() 576 cmp = getZone().getId().compareTo(other.getZone().getId()); in compareTo() 578 cmp = getChronology().compareTo(other.getChronology()); in compareTo() 599 default boolean isBefore(ChronoZonedDateTime<?> other) { in isBefore() argument 601 long otherEpochSec = other.toEpochSecond(); in isBefore() 603 … (thisEpochSec == otherEpochSec && toLocalTime().getNano() < other.toLocalTime().getNano()); in isBefore() 619 default boolean isAfter(ChronoZonedDateTime<?> other) { in isAfter() argument [all …]
|
D | ChronoLocalDateTime.java | 499 default int compareTo(ChronoLocalDateTime<?> other) { in compareTo() argument 500 int cmp = toLocalDate().compareTo(other.toLocalDate()); in compareTo() 502 cmp = toLocalTime().compareTo(other.toLocalTime()); in compareTo() 504 cmp = getChronology().compareTo(other.getChronology()); in compareTo() 524 default boolean isAfter(ChronoLocalDateTime<?> other) { in isAfter() argument 526 long otherEpDay = other.toLocalDate().toEpochDay(); in isAfter() 528 … (thisEpDay == otherEpDay && this.toLocalTime().toNanoOfDay() > other.toLocalTime().toNanoOfDay()); in isAfter() 545 default boolean isBefore(ChronoLocalDateTime<?> other) { in isBefore() argument 547 long otherEpDay = other.toLocalDate().toEpochDay(); in isBefore() 549 … (thisEpDay == otherEpDay && this.toLocalTime().toNanoOfDay() < other.toLocalTime().toNanoOfDay()); in isBefore() [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | ReduceOps.java | 84 public void combine(ReducingSink other) { in makeRef() argument 85 state = combiner.apply(state, other.state); in makeRef() 133 public void combine(ReducingSink other) { 134 if (!other.empty) 135 accept(other.state); 173 public void combine(ReducingSink other) { 174 state = combiner.apply(state, other.state); 224 public void combine(ReducingSink other) { 225 reducer.accept(state, other.state); 267 public void combine(ReducingSink other) { [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | GeneralSubtrees.java | 160 GeneralSubtrees other = (GeneralSubtrees)obj; in equals() local 161 return this.trees.equals(other.trees); in equals() 320 public GeneralSubtrees intersect(GeneralSubtrees other) { in intersect() argument 322 if (other == null) { in intersect() 332 union(other); in intersect() 340 other.minimize(); in intersect() 360 for (int j = 0; j < other.size(); j++) { in intersect() 361 GeneralSubtree otherEntryGS = other.get(j); in intersect() 400 for (int k = 0; k < other.size(); k++) { in intersect() 402 other.getGeneralNameInterface(k); in intersect() [all …]
|