Searched refs:currentIndex (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXIDGenerator.java40 int currentIndex = XID_BUFFER_SIZE; field in class:XIDGenerator
44 if (currentIndex >= XID_BUFFER_SIZE) {
46 currentIndex = 0;
49 return xidBuffer[currentIndex++];
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DReplaceableUCharacterIterator.java63 this.currentIndex = 0;
76 this.currentIndex = 0;
99 if (currentIndex < replaceable.length()) {
100 return replaceable.charAt(currentIndex);
114 * Gets the current currentIndex in text.
115 * @return current currentIndex in text.
118 return currentIndex;
122 * Returns next UTF16 character and increments the iterator's currentIndex by 1.
123 * If the resulting currentIndex is greater or equal to the text length, the
124 * currentIndex i
162 setIndex(int currentIndex) argument
188 private int currentIndex; field in class:ReplaceableUCharacterIterator
[all...]
H A DCharacterIteratorWrapper.java120 int currentIndex = iterator.getIndex();
128 iterator.setIndex(currentIndex);
H A DNormalizerBase.java158 private int currentIndex; field in class:NormalizerBase
848 currentIndex=nextIndex=0;
863 currentIndex=nextIndex=index; // validates index
935 return currentIndex;
1023 currentIndex=nextIndex=0;
1487 currentIndex=nextIndex;
1499 nextIndex=currentIndex;
1500 text.setIndex(currentIndex);
1503 currentIndex=text.getIndex();
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/interceptors/
H A DThreadCurrentStack.sjava51 // currentIndex points to the last PICurrent in the list
52 private int currentIndex;
56 currentIndex = 0;
65 if( currentIndex >= HIGH_WATER_MARK ) {
68 pool.add(currentIndex , current);
69 currentIndex++;
77 if( currentIndex == 0 ) {
81 currentIndex--;
82 return (PICurrent) pool.get(currentIndex);
91 private int currentIndex;
[all...]
H A DSlotTableStack.java56 // currentIndex points to the last SlotTable in the list
57 private int currentIndex; field in class:SlotTableStack.SlotTablePool
61 currentIndex = 0;
70 if( currentIndex >= HIGH_WATER_MARK ) {
74 pool[currentIndex] = table;
75 currentIndex++;
83 if( currentIndex == 0 ) {
87 currentIndex--;
88 return pool[currentIndex];
97 private int currentIndex; field in class:SlotTableStack
[all...]
/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DMimeTypeParameterList.java117 int currentIndex = skipWhiteSpace(rawdata, 0);
120 if(currentIndex < length) {
121 char currentChar = rawdata.charAt(currentIndex);
122 while ((currentIndex < length) && (currentChar == ';')) {
128 ++currentIndex;
133 currentIndex = skipWhiteSpace(rawdata, currentIndex);
135 if(currentIndex < length) {
137 lastIndex = currentIndex;
138 currentChar = rawdata.charAt(currentIndex);
[all...]
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DContextStack.java79 private int currentIndex = -1; field in class:ContextStack
156 int length = text.length() + (currentIndex * TRACE_INDENT.length());
158 for (int i = 0; i < currentIndex; i++) {
202 currentIndex++;
206 if (currentIndex == maxIndex) {
216 TypeContext it = stack[currentIndex];
220 stack[currentIndex] = it;
242 if (currentIndex < 0) {
246 newCode = stack[currentIndex].getCode();
247 traceln(toResultString(stack[currentIndex],wasVali
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DJNITypeParser.java39 private int currentIndex; field in class:JNITypeParser
117 currentIndex = 0;
119 while(currentIndex < signature.length()) {
136 currentIndex = 0;
138 while(currentIndex < signature.length()) {
151 char key = signature.charAt(currentIndex++);
159 currentIndex);
160 String retVal = signature.substring(currentIndex - 1,
162 currentIndex = endClass + 1;
188 char key = signature.charAt(currentIndex
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DJNITypeParser.java40 private int currentIndex; field in class:JNITypeParser
118 currentIndex = 0;
120 while(currentIndex < signature.length()) {
137 currentIndex = 0;
139 while(currentIndex < signature.length()) {
152 char key = signature.charAt(currentIndex++);
160 currentIndex);
161 String retVal = signature.substring(currentIndex - 1,
163 currentIndex = endClass + 1;
189 char key = signature.charAt(currentIndex
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DScannerInputReader.java77 currentIndex = 0;
94 private int currentIndex; field in class:ScannerInputReader
108 if (currentIndex >= numChars) {
115 // No EOF. currentIndex points to first char in buffer.
116 currentIndex = 0;
119 return buffer[currentIndex++];
140 if (currentIndex >= numChars) {
148 // No EOF. currentIndex points to first char in buffer.
149 currentIndex = 0;
151 c = buffer[currentIndex
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/events/
H A DStAXEventReader.java47 private int currentIndex = 0; field in class:StAXEventReader
78 event = events[currentIndex];
79 events[currentIndex] = null;
85 if (++currentIndex==size)
86 currentIndex = 0;
87 events[currentIndex] = nextEvent;
167 _currentEvent = events[currentIndex];
/openjdk7/langtools/test/com/sun/javadoc/testUseOption/
H A DTestUseOption.java112 int currentIndex = -1;
114 currentIndex = usePageContents.indexOf(TEST2[i]);
115 System.err.println(TEST2[i] + " at index " + currentIndex);
116 if (currentIndex < prevIndex)
118 prevIndex = currentIndex;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/
H A DBalancedDTDGrammar.java173 int currentIndex = fGroupIndexStackSizes[fDepth] - 1;
175 fGroupIndexStack[fDepth][currentIndex] = addContentSpecNode(XMLContentSpec.CONTENTSPECNODE_ZERO_OR_ONE, fGroupIndexStack[fDepth][currentIndex], -1);
178 fGroupIndexStack[fDepth][currentIndex] = addContentSpecNode(XMLContentSpec.CONTENTSPECNODE_ZERO_OR_MORE, fGroupIndexStack[fDepth][currentIndex], -1);
181 fGroupIndexStack[fDepth][currentIndex] = addContentSpecNode(XMLContentSpec.CONTENTSPECNODE_ONE_OR_MORE, fGroupIndexStack[fDepth][currentIndex], -1);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaInternalFrameManager.java153 final int currentIndex = fChildFrames.indexOf(fCurrentFrame);
154 if (currentIndex == -1) {
162 nextIndex = currentIndex + 1;
167 nextIndex = currentIndex - 1;
/openjdk7/jdk/src/share/classes/java/text/
H A DRuleBasedBreakIterator.java1062 private int currentIndex; field in class:RuleBasedBreakIterator.SafeCharIterator
1068 this.currentIndex = base.getIndex();
1080 if (currentIndex < rangeStart || currentIndex >= rangeLimit) {
1084 return base.setIndex(currentIndex);
1090 currentIndex++;
1091 if (currentIndex >= rangeLimit) {
1092 currentIndex = rangeLimit;
1096 return base.setIndex(currentIndex);
1102 currentIndex
[all...]
H A DAttributedString.java744 // invariant: beginIndex <= currentIndex <= endIndex
745 private int currentIndex; field in class:AttributedString.AttributedStringIterator
747 // information about the run that includes currentIndex
761 this.currentIndex = beginIndex;
782 if (currentIndex != that.currentIndex || beginIndex != that.beginIndex || endIndex != that.endIndex)
788 return text.hashCode() ^ currentIndex ^ beginIndex ^ endIndex;
816 if (currentIndex == endIndex) {
819 return charAt(currentIndex);
824 if (currentIndex < endInde
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DMIMEMessage.java53 private int currentIndex; field in class:MIMEMessage
199 String cid = (cids != null) ? cids.get(0) : currentIndex+"";
203 MIMEPart listPart = (currentIndex < partsList.size()) ? partsList.get(currentIndex) : null;
207 partsList.add(currentIndex, currentPart);
210 partsList.add(currentIndex, mapPart);
231 ++currentIndex;
/openjdk7/jdk/test/sun/java2d/pipe/MutableColorTest/
H A DMutableColorTest.java55 int currentIndex = 0; field in class:MutableColorTest.EvilColor
62 return colors[currentIndex].getRGB();
65 currentIndex++;
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DXOpenTypeViewer.java269 int currentIndex = 0; field in class:XOpenTypeViewer.XTabularData
313 return currentIndex;
317 currentIndex++;
318 loadCompositeData((CompositeData)elements[currentIndex]);
322 currentIndex--;
323 loadCompositeData((CompositeData)elements[currentIndex]);
327 if(currentIndex == 0)
335 currentIndex == size -1)
447 private int currentIndex; field in class:XOpenTypeViewer.XArrayData
488 return currentIndex;
[all...]
/openjdk7/jdk/make/tools/swing-beans/
H A DGenSwingBeanInfo.java424 int currentIndex = 0;
430 while (currentIndex < template.length()) {
432 int tokenStart = template.indexOf("@(", currentIndex);
434 out.print(template.substring(currentIndex, tokenStart));
463 currentIndex = tokenEnd + 1;
466 out.print(template.substring(currentIndex, template.length()));
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ci/
H A DciMethodData.java161 int currentIndex = dpToDi(current.dp());
162 int nextIndex = currentIndex + current.sizeInBytes();
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/axes/
H A DNodeSequence.java435 int currentIndex = m_next-1;
437 if((currentIndex >= 0) && (currentIndex < vec.size()))
438 return vec.elementAt(currentIndex);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DMethodData.java275 int currentIndex = dpToDi(current.dp());
276 int nextIndex = currentIndex + current.sizeInBytes();
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/
H A DMain.java369 protected boolean checkGeneratorArg(String[] argv, int currentIndex) { argument
371 if (argv[currentIndex].startsWith("-")) {
372 String arg = argv[currentIndex].substring(1).toLowerCase(); // Remove '-'

Completed in 2438 milliseconds

12