Searched refs:maxLength (Results 1 - 25 of 42) sorted by relevance

12

/openjdk10/jdk/src/java.base/share/classes/sun/security/provider/
H A DEntropySource.java42 * @param maxLength maximum length of output, in bytes
46 byte[] getEntropy(int minEntropy, int minLength, int maxLength, boolean pr); argument
H A DAbstractDrbg.java141 protected int maxLength = Integer.MAX_VALUE; field in class:AbstractDrbg
303 * between {@link #minLength} and {@link #maxLength}.
321 * between {@link #minLength} and {@link #maxLength}.
463 * {@link #maxLength} and uses it to instantiate or reseed itself
474 } else if (input.length > maxLength) {
475 input = Arrays.copyOf(input, maxLength);
494 return getEntropyInput(minLength, minLength, maxLength, isPr);
498 int maxLength, boolean pr) {
501 "," + maxLength + "," + pr + ")");
507 return esNow.getEntropy(minEntropy, minLength, maxLength, p
497 getEntropyInput(int minEntropy, int minLength, int maxLength, boolean pr) argument
[all...]
/openjdk10/hotspot/test/compiler/c2/
H A DTest6910605_2.java44 private int maxLength; field in class:Test6910605_2
57 } while (s.length() < maxLength);
62 maxLength = toAdd.length() * 15000 / numberOfThreads;
/openjdk10/jdk/src/java.desktop/windows/native/libjsound/
H A DPLATFORM_API_WinOS_Charset_Util.cpp43 void UnicodeToUTF8AndCopy(LPSTR dest, LPCWSTR src, SIZE_T maxLength) { argument
45 strncpy(dest, utf8EncodedName, maxLength - 1);
47 dest[maxLength - 1] = '\0';
H A DPLATFORM_API_WinOS_Charset_Util.h38 void _cdecl UnicodeToUTF8AndCopy(LPSTR dest, LPCWSTR src, SIZE_T maxLength);
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/
H A DPerfStringVariableMonitor.java61 * @param maxLength the maximum length of the string data.
64 ByteBuffer bb, int maxLength) {
65 // account for the null terminator by adding 1 to maxLength
66 super(name, Variability.VARIABLE, supported, bb, maxLength+1);
63 PerfStringVariableMonitor(String name, boolean supported, ByteBuffer bb, int maxLength) argument
H A DPerfStringMonitor.java65 * @param maxLength the maximum length of the string data.
68 ByteBuffer bb, int maxLength) {
69 super(name, Units.STRING, v, supported, bb, maxLength);
67 PerfStringMonitor(String name, Variability v, boolean supported, ByteBuffer bb, int maxLength) argument
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/
H A DTypeArrayKlass.java47 maxLength = new CIntField(t.getCIntegerField("_max_length"), 0);
54 private static CIntField maxLength; field in class:TypeArrayKlass
56 public long getMaxLength() { return maxLength.getValue(this); }
101 visitor.doCInt(maxLength, true);
/openjdk10/jdk/src/java.base/share/classes/java/text/
H A DCollationElementIterator.java662 int maxLength = pair.entryName.length();
668 // extract the next maxLength characters in the string (we have to do this using the
674 while (maxLength > 0 && c != NormalizerBase.DONE) {
677 maxLength -= 2;
680 --maxLength;
686 // longest sequence that matches the characters in the actual text. (maxLength
688 // Upon exit from this loop, maxLength will contain the length of the matching
691 maxLength = 1;
698 > maxLength) {
699 maxLength
[all...]
/openjdk10/jdk/test/java/util/Hashtable/
H A DDeserializedLength.java56 int maxLength = minLength * 2;
58 boolean ok = (table2.length >= minLength && table2.length <= maxLength);
64 minLength, maxLength,
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/
H A DScannerSupport.java75 protected final int scanUnsignedHexadecimalNumber(final int maxLength) { argument
78 int ml = maxLength;
97 protected final int scanUnsignedOctalNumber(final int maxLength) { argument
100 int ml = maxLength;
/openjdk10/jdk/src/java.management/share/classes/sun/management/counter/perf/
H A DPerfStringCounter.java43 int maxLength, ByteBuffer bb) {
45 super(name, Units.STRING, v, flags, maxLength, bb);
42 PerfStringCounter(String name, Variability v, int flags, int maxLength, ByteBuffer bb) argument
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DAuFileWriter.java232 int maxLength = auFileFormat.getByteLength();
235 if (maxLength>0) {
236 if( bytesRead < maxLength ) {
239 maxLength -= bytesRead;
241 out.write( buffer, 0, maxLength );
242 bytesWritten += maxLength;
243 maxLength = 0;
H A DWaveFileWriter.java218 int maxLength = waveFileFormat.getByteLength();
222 if (maxLength>0) {
223 if( bytesRead < maxLength ) {
226 maxLength -= bytesRead;
228 out.write( buffer, 0, maxLength );
229 bytesWritten += maxLength;
230 maxLength = 0;
H A DAiffFileWriter.java238 int maxLength = aiffFileFormat.getByteLength();
241 if (maxLength>0) {
242 if( bytesRead < maxLength ) {
245 maxLength -= bytesRead;
247 out.write( buffer, 0, maxLength );
248 bytesWritten += maxLength;
249 maxLength = 0;
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/
H A DEncloseNode.java34 public int maxLength; // OnigDistance field in class:EncloseNode
89 value.append("\n maxLength: ").append(maxLength);
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/perf/
H A DPerf.java388 * instrument is given in by <code>maxLength</code> parameter. Updates
390 * than <code>maxLength</code> will be truncated to <code>maxLength</code>.
403 * @param maxLength the maximum string length for this string
414 int units, String value, int maxLength)
420 return createByteArray(name, variability, units, v1, Math.max(v1.length, maxLength));
466 * The <code>maxLength</code> parameter limits the size of the byte
481 * @param maxLength the maximum length of this byte array.
492 int maxLength);
413 createString(String name, int variability, int units, String value, int maxLength) argument
490 createByteArray(String name, int variability, int units, byte[] value, int maxLength) argument
/openjdk10/jdk/test/java/time/tck/java/time/
H A DTCKMonth.java417 // maxLength()
421 assertEquals(Month.JANUARY.maxLength(), 31);
422 assertEquals(Month.FEBRUARY.maxLength(), 29);
423 assertEquals(Month.MARCH.maxLength(), 31);
424 assertEquals(Month.APRIL.maxLength(), 30);
425 assertEquals(Month.MAY.maxLength(), 31);
426 assertEquals(Month.JUNE.maxLength(), 30);
427 assertEquals(Month.JULY.maxLength(), 31);
428 assertEquals(Month.AUGUST.maxLength(), 31);
429 assertEquals(Month.SEPTEMBER.maxLength(), 3
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dv/
H A DXSFacets.java51 * value of maxLength facet.
53 public int maxLength; field in class:XSFacets
/openjdk10/jaxp/src/jdk.xml.dom/share/classes/org/w3c/dom/html/
H A DHTMLInputElement.java136 public void setMaxLength(int maxLength); argument
/openjdk10/jdk/test/javax/imageio/metadata/
H A DMetadataFormatPrinter.java321 int maxLength =
323 if (maxLength != Integer.MAX_VALUE) {
326 maxLength +
391 int maxLength = format.getObjectArrayMaxLength(elementName);
392 if (maxLength != Integer.MAX_VALUE) {
395 maxLength +
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/encoding/
H A DCDROutputStream_1_2.java302 int maxLength = (int)Math.ceil(converter.getMaxBytesPerChar() * length);
303 byte[] buffer = new byte[maxLength + length];
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DAbstractWriter.java572 // We can break chars if the length exceeds maxLength.
576 int maxLength = getLineLength();
586 (newlineIndex - lastIndex)) < maxLength) {
594 (endIndex - lastIndex)) < maxLength) {
603 // or maxLength - lineLength whichever is smaller
606 maxLength - lineLength - 1);
/openjdk10/jdk/src/java.base/share/classes/java/time/
H A DMonthDay.java220 if (dayOfMonth > month.maxLength()) {
384 return ValueRange.of(1, getMonth().minLength(), getMonth().maxLength());
547 int day = Math.min(this.day, month.maxLength());
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DXListPeer.java99 int maxLength; field in class:XListPeer
174 maxLength = maxLength();
223 maxLength = 0;
279 int maxLength() { method in class:XListPeer
462 maximum = maxLength < vis ? vis : maxLength;
482 maximum = maxLength < vis ? 0 : maxLength;
1062 int oldMaxLength = maxLength;
[all...]

Completed in 207 milliseconds

12