/libcore/tools/upstream/src/main/java/libcore/ |
D | CompareUpstreams.java | 175 int distance = Util.editDistance(linesA, linesB); in run() local 176 if (distance == 0) { in run() 179 double percentDifferent = 100.0 * distance / Math in run() 183 distance); in run() 185 if (distance < bestDistance) { in run() 186 bestDistance = distance; in run()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ArrayBlockingQueue.java | 1063 int distance = index - prevTakeIndex; in invalidated() local 1064 if (distance < 0) in invalidated() 1065 distance += length; in invalidated() 1066 return dequeues > distance; in invalidated() 1250 private int distance(int index, int prevTakeIndex, int length) { in distance() method in ArrayBlockingQueue.Itr 1251 int distance = index - prevTakeIndex; in distance() local 1252 if (distance < 0) in distance() 1253 distance += length; in distance() 1254 return distance; in distance() 1281 int x = distance(cursor, prevTakeIndex, len); in removedAt() [all …]
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | Builder.java | 143 static int distance(GeneralNameInterface base, in distance() method in Builder 366 int distance = distance(perName, target, -1); in targetDistance() local 367 if (distance >= 0) { in targetDistance() 368 return (distance + 1); in targetDistance()
|
D | ForwardBuilder.java | 535 Builder.distance(tSubjectName, cIssuer1Name, -1); in compare() 537 Builder.distance(tSubjectName, cIssuer2Name, -1); in compare() 566 int distanceTto1 = Builder.distance in compare() 568 int distanceTto2 = Builder.distance in compare() 644 int distanceStoI1 = Builder.distance in compare() 646 int distanceStoI2 = Builder.distance in compare()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Long.java | 1504 public static long rotateLeft(long i, int distance) { in rotateLeft() argument 1505 return (i << distance) | (i >>> -distance); in rotateLeft() 1528 public static long rotateRight(long i, int distance) { in rotateRight() argument 1529 return (i >>> distance) | (i << -distance); in rotateRight()
|
D | Integer.java | 1509 public static int rotateLeft(int i, int distance) { in rotateLeft() argument 1510 return (i << distance) | (i >>> -distance); in rotateLeft() 1533 public static int rotateRight(int i, int distance) { in rotateRight() argument 1534 return (i >>> distance) | (i << -distance); in rotateRight()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Long.java | 221 public static long rotateLeft(long i, int distance) { in rotateLeft() argument 225 public static long rotateRight(long i, int distance) { in rotateRight() argument
|
D | Integer.java | 221 public static int rotateLeft(int i, int distance) { in rotateLeft() argument 225 public static int rotateRight(int i, int distance) { in rotateRight() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Long.annotated.java | 115 public static long rotateLeft(long i, int distance) { throw new RuntimeException("Stub!"); } in rotateLeft() argument 117 public static long rotateRight(long i, int distance) { throw new RuntimeException("Stub!"); } in rotateRight() argument
|
D | Integer.annotated.java | 116 public static int rotateLeft(int i, int distance) { throw new RuntimeException("Stub!"); } in rotateLeft() argument 118 public static int rotateRight(int i, int distance) { throw new RuntimeException("Stub!"); } in rotateRight() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Collections.annotated.java | 66 public static void rotate(@libcore.util.NonNull java.util.List<?> list, int distance) { throw new R… in rotate() argument
|