Searched defs:maxLength (Results 1 - 13 of 13) sorted by relevance

/openjdk7/hotspot/test/compiler/6910618/
H A DTest.java42 private int maxLength; field in class:Test
54 } while (s.length() < maxLength);
59 maxLength = toAdd.length() * 15000/ numberOfThreads;
/openjdk7/jdk/src/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
/openjdk7/jdk/src/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
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/
H A DXSFacets.java50 * value of maxLength facet.
52 public int maxLength; field in class:XSFacets
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DTypeArrayKlass.java47 maxLength = new CIntField(t.getCIntegerField("_max_length"), Oop.getHeaderSize());
54 private static CIntField maxLength; field in class:TypeArrayKlass
56 public long getMaxLength() { return maxLength.getValue(this); }
102 visitor.doCInt(maxLength, true);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DPerf.java380 * instrument is given in by <code>maxLength</code> parameter. Updates
382 * than <code>maxLength</code> will be truncated to <code>maxLength</code>.
395 * @param maxLength the maximum string length for this string
406 int units, String value, int maxLength)
412 return createByteArray(name, variability, units, v1, Math.max(v1.length, maxLength));
458 * The <code>maxLength</code> parameter limits the size of the byte
473 * @param maxLength the maximum length of this byte array.
484 int maxLength);
405 createString(String name, int variability, int units, String value, int maxLength) argument
482 createByteArray(String name, int variability, int units, byte[] value, int maxLength) argument
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLInputElement.java134 public void setMaxLength(int maxLength); argument
/openjdk7/jdk/src/share/transport/shmem/
H A DshmemBase.c995 jint maxLength; local
1007 maxLength = shared->readOffset - fragmentStart;
1009 maxLength = SHARED_BUFFER_SIZE - fragmentStart;
1011 fragmentLength = MIN(maxLength, length - index);
1067 jint maxLength; local
1078 maxLength = shared->writeOffset - fragmentStart;
1080 maxLength = SHARED_BUFFER_SIZE - fragmentStart;
1082 fragmentLength = MIN(maxLength, length - index);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DHTMLDocument.java3432 int maxLength = HTML.getIntegerAttributeValue(
3436 if (maxLength > 0) {
3437 doc = new FixedLengthDocument(maxLength);
4167 private int maxLength; field in class:HTMLDocument.FixedLengthDocument
4169 public FixedLengthDocument(int maxLength) { argument
4170 this.maxLength = maxLength;
4175 if (str != null && str.length() + getLength() <= maxLength) {
/openjdk7/jdk/src/solaris/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
465 maximum = maxLength < vis ? vis : maxLength;
485 maximum = maxLength < vis ? 0 : maxLength;
1051 int oldMaxLength = maxLength;
[all...]
/openjdk7/jdk/src/share/classes/java/util/regex/
H A DPattern.java1746 int maxLength; field in class:Pattern.TreeInfo
1755 maxLength = 0;
2818 new BehindS(head, info.maxLength,
2820 new Behind(head, info.maxLength,
2824 new NotBehindS(head, info.maxLength,
2826 new NotBehind(head, info.maxLength,
3703 info.maxLength++;
3846 info.maxLength += buffer.length;
4214 int maxL = info.maxLength;
4228 temp = info.maxLength * cma
[all...]
/openjdk7/jdk/src/share/classes/sun/text/bidi/
H A DBidiBase.java1031 * be set to <code>maxLength</code> (the only failproof value) to avoid
1036 * @param maxLength is the maximum text or line length that internal memory
1047 * 1 and <code>maxLength</code>. It is typically small.
1049 * @throws IllegalArgumentException if maxLength or maxRunCount is less than 0
1052 public BidiBase(int maxLength, int maxRunCount) argument
1055 if (maxLength < 0 || maxRunCount < 0) {
1085 if (maxLength > 0) {
1086 getInitialDirPropsMemory(maxLength);
1087 getInitialLevelsMemory(maxLength);

Completed in 109 milliseconds