Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 6 of 6) sorted by relevance

/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java314 private String diff = null; field in TestCertUtils.TestCertificate
328 public TestCertificate(String diff) { in TestCertificate() argument
330 this.diff = diff; in TestCertificate()
340 public TestCertificate(String diff, String type) { in TestCertificate() argument
342 this.diff = diff; in TestCertificate()
375 if (this.diff == null) { in equals()
376 return that.diff == null; in equals()
378 return this.diff.equals(that.diff); in equals()
395 if (diff == null) { in writeObject()
399 out.writeUTF(diff); in writeObject()
[all …]
/libcore/luni/src/main/java/java/util/
DUUID.java411 int diff = 16 - msbStr.length(); in toString() local
412 for (int i = 0; i < diff; i++) { in toString()
422 int diff = 16 - lsbStr.length(); in toString() local
423 for (int i = 0; i < diff; i++) { in toString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java116 long diff = currentTime - sessionTime; in test_getCreationTime() local
118 diff < 10000); in test_getCreationTime()
138 long diff = currentTime - sessionTime; in test_getLastAccessedTime() local
140 diff < 10000); in test_getLastAccessedTime()
141 assertTrue ("diff should be < 10000 but is " + diff, diff < 10000); in test_getLastAccessedTime()
/libcore/luni/src/main/java/java/util/zip/
DZipInputStream.java155 int diff = entryIn - inB; in closeEntry() local
157 if (diff != 0) { in closeEntry()
158 ((PushbackInputStream) in).unread(buf, len - diff, diff); in closeEntry()
/libcore/luni/src/main/java/java/util/concurrent/
DScheduledThreadPoolExecutor.java216 long diff = time - x.time; in compareTo() local
217 if (diff < 0) in compareTo()
219 else if (diff > 0) in compareTo()
226 long diff = getDelay(NANOSECONDS) - other.getDelay(NANOSECONDS); in compareTo() local
227 return (diff < 0) ? -1 : (diff > 0) ? 1 : 0; in compareTo()
/libcore/luni/src/main/java/java/lang/
DAbstractStringBuilder.java403 int diff = end - start - stringLength; in replace0() local
404 if (diff > 0) { // replacing with fewer characters in replace0()
418 } else if (diff < 0) { in replace0()
420 move(-diff, end); in replace0()
426 count -= diff; in replace0()