Searched refs:trunc (Results 1 - 4 of 4) sorted by relevance

/openjdk9/jdk/test/java/io/Serializable/available/
H A DAvailable.java83 byte[] trunc = new byte[truncateLen];
84 System.arraycopy(data, 0, trunc, 0, truncateLen);
86 new ByteArrayInputStream(trunc)).available();
/openjdk9/jdk/src/java.base/share/classes/com/sun/crypto/provider/
H A DPKCS12PBECipherCore.java128 int trunc;
136 trunc = tmp.length - v;
137 if (trunc >= 0) {
138 System.arraycopy(tmp, trunc, I, j, v);
139 } else if (trunc < 0) {
140 Arrays.fill(I, j, j + (-trunc), (byte)0);
141 System.arraycopy(tmp, 0, I, j + (-trunc), tmp.length);
/openjdk9/langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/
H A DFeedback.java449 int trunc = Integer.parseUnsignedInt(truncField);
451 if (len > trunc) {
452 if (trunc <= 13) {
454 return value.substring(0, trunc);
457 int endLen = trunc / 3;
458 int startLen = trunc - 5 - endLen;
902 List<Mode.Setting> trunc = sm.cases.get(TRUNCATION_FIELD);
903 if (trunc != null) {
904 trunc.forEach(s -> {
/openjdk9/jdk/src/java.desktop/share/classes/sun/print/
H A DPSPrinterJob.java1440 mPSStream.println(trunc(x) + " " + trunc(y) + MOVETO_STR);
1459 mPSStream.println(trunc(x) + " " + trunc(y) + LINETO_STR);
1479 mPSStream.println(trunc(control1x) + " " + trunc(control1y)
1480 + " " + trunc(control2x) + " " + trunc(control2y)
1481 + " " + trunc(endX) + " " + trunc(end
1489 String trunc(float f) { method in class:PSPrinterJob
[all...]

Completed in 123 milliseconds