Searched refs:maxLength (Results 1 - 25 of 25) 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/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/java/text/
H A DCollationElementIterator.java656 int maxLength = pair.entryName.length();
662 // extract the next maxLength characters in the string (we have to do this using the
668 while (maxLength > 0 && c != NormalizerBase.DONE) {
671 maxLength -= 2;
674 --maxLength;
680 // longest sequence that matches the characters in the actual text. (maxLength
682 // Upon exit from this loop, maxLength will contain the length of the matching
685 maxLength = 1;
692 > maxLength) {
693 maxLength
[all...]
/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/jdk/src/share/classes/com/sun/media/sound/
H A DAuFileWriter.java306 int maxLength = auFileFormat.getByteLength();
309 if (maxLength>0) {
310 if( bytesRead < maxLength ) {
313 maxLength -= bytesRead;
315 out.write( buffer, 0, (int)maxLength );
316 bytesWritten += maxLength;
317 maxLength = 0;
H A DAiffFileWriter.java237 int maxLength = aiffFileFormat.getByteLength();
240 if (maxLength>0) {
241 if( bytesRead < maxLength ) {
244 maxLength -= bytesRead;
246 out.write( buffer, 0, (int)maxLength );
247 bytesWritten += maxLength;
248 maxLength = 0;
H A DWaveFileWriter.java237 int maxLength = waveFileFormat.getByteLength();
241 if (maxLength>0) {
242 if( bytesRead < maxLength ) {
245 maxLength -= bytesRead;
247 out.write( buffer, 0, (int)maxLength );
248 bytesWritten += maxLength;
249 maxLength = 0;
/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/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/jaxp/src/org/w3c/dom/html/
H A DHTMLInputElement.java134 public void setMaxLength(int maxLength); argument
/openjdk7/corba/src/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];
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DAbstractWriter.java568 // We can break chars if the length exceeds maxLength.
572 int maxLength = getLineLength();
582 (newlineIndex - lastIndex)) < maxLength) {
590 (endIndex - lastIndex)) < maxLength) {
599 // or maxLength - lineLength whichever is smaller
602 maxLength - lineLength - 1);
/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/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/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);
/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/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/
H A DXSDAbstractTraverser.java479 xsFacets.maxLength = ((XInt)attrs[XSAttributeChecker.ATTIDX_VALUE]).intValue();
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/
H A DHierarchicalLayoutManager.java763 int maxLength = 0;
769 maxLength++;
770 //if(maxLength > 10) break;
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/resources/
H A Daliasmap234 alias sun.gc.finalizer.queue.maxLength // 1.5.0 b39
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/
H A DXMLSchemaMessages_ja.properties104 cvc-maxLength-valid = cvc-maxLength-valid: \u9577\u3055\u304C''{1}''\u3067\u3042\u308B\u5024''{0}''\u306F\u3001\u30BF\u30A4\u30D7''{3}''\u306EmaxLength ''{2}''\u306B\u5BFE\u3057\u3066\u30D5\u30A1\u30BB\u30C3\u30C8\u304C\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002
221 length-minLength-maxLength.1.1 = length-minLength-maxLength.1.1: \u30BF\u30A4\u30D7{0}\u3067\u306F\u3001length\u306E\u5024''{1}''\u304CminLength\u306E\u5024''{2}''\u3088\u308A\u5C0F\u3055\u3044\u3068\u3001\u30A8\u30E9\u30FC\u306B\u306A\u308A\u307E\u3059\u3002
222 length-minLength-maxLength.1.2.a = length-minLength-maxLength.1.2.a: \u30BF\u30A4\u30D7{0}\u3067\u306F\u3001\u73FE\u5728\u306E\u5236\u9650\u306E\u30D5\u30A1\u30BB\u30C3\u30C8\u304CminLength\u3067\u3042\u308A\u3001\u73FE\u5728\u306E\u5236\u9650\u307E\u305F\u306F\u30D9\u30FC\u30B9\u306E\u30D5\u30A1\u30BB\u30C3\u30C8\u304Clength\u3067\u3042\u308B\u5834\u5408\u3001\u30D9\u30FC\u30B9\u306BminLength\u30D5\u30A1\u30BB\u30C3\u30C8\u304C\u542B\u307E\u308C\u3066\u3044\u306A\u3044\u3068\u3001\u30A8\u30E9\u30FC\u306B\u306A\u308A\u307E\u3059\u3002
223 length-minLength-maxLength.1.2.b = length-minLength-maxLength.1.2.b: \u30BF\u30A4\u30D7{0}\u3067\u306F\u3001\u73FE\u5728\u306EminLength ''{1}''\u304C\u30D9\u30FC\u30B9\u306EminLength ''{2}''\u3068\u7B49\u3057\u304F\u306A\u3044\u3068\u3001\u30A8\u30E9\u30FC\u306B\u306A\u308A\u307E\u3059\u3002
224 length-minLength-maxLength.2.1 = length-minLength-maxLength
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DXSSimpleTypeDecl.java824 // maxLength
827 reportError("cos-applicable-facets", new Object[]{"maxLength", fTypeName});
829 fMaxLength = facets.maxLength;
1100 // check 4.3.2.c1 must: minLength <= maxLength
1104 reportError("minLength-less-than-equal-to-maxLength", new Object[]{Integer.toString(fMinLength), Integer.toString(fMaxLength), fTypeName});
1151 // check 4.3.1.c1 error: length & (fBase.maxLength | fBase.minLength)
1155 // length, fBase.minLength and fBase.maxLength defined
1156 reportError("length-minLength-maxLength.1.1", new Object[]{fTypeName, Integer.toString(fLength), Integer.toString(fBase.fMinLength)});
1160 // length and fBase.maxLength defined
1161 reportError("length-minLength-maxLength
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/opengl/J2D_GL/
H A Dglext.h4114 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
4117 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4120 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
4131 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);

Completed in 354 milliseconds