Home
last modified time | relevance | path

Searched refs:currentIndex (Results 1 – 25 of 52) sorted by relevance

123

/external/proguard/src/proguard/
DWordReader.java44 private int currentIndex; field in WordReader
138 while (currentIndex < currentLineLength && in nextWord()
139 Character.isWhitespace(currentLine.charAt(currentIndex))) in nextWord()
141 currentIndex++; in nextWord()
145 if (currentIndex < currentLineLength && in nextWord()
146 isComment(currentLine.charAt(currentIndex))) in nextWord()
148 currentIndex = currentLineLength; in nextWord()
153 while (currentLine == null || currentIndex == currentLineLength) in nextWord()
164 currentIndex = 0; in nextWord()
165 while (currentIndex < currentLineLength && in nextWord()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DReplaceableUCharacterIterator.java37 this.currentIndex = 0; in ReplaceableUCharacterIterator()
49 this.currentIndex = 0; in ReplaceableUCharacterIterator()
61 this.currentIndex = 0; in ReplaceableUCharacterIterator()
84 if (currentIndex < replaceable.length()) { in current()
85 return replaceable.charAt(currentIndex); in current()
132 return currentIndex; in getIndex()
144 if (currentIndex < replaceable.length()) { in next()
145 return replaceable.charAt(currentIndex++); in next()
160 if (currentIndex > 0) { in previous()
161 return replaceable.charAt(--currentIndex); in previous()
[all …]
DStringUCharacterIterator.java136 public void setIndex(int currentIndex) throws IndexOutOfBoundsException in setIndex() argument
138 if (currentIndex < 0 || currentIndex > m_text_.length()) { in setIndex()
141 m_currentIndex_ = currentIndex; in setIndex()
DCharacterIteratorWrapper.java102 int currentIndex = iterator.getIndex(); in getText() local
110 iterator.setIndex(currentIndex); in getText()
/external/apache-http/src/org/apache/http/message/
DBasicListHeaderIterator.java66 protected int currentIndex; field in BasicListHeaderIterator
99 this.currentIndex = findNext(-1); in BasicListHeaderIterator()
148 return (this.currentIndex >= 0); in hasNext()
162 final int current = this.currentIndex; in nextHeader()
168 this.currentIndex = findNext(current); in nextHeader()
199 this.currentIndex--; // adjust for the removed element in remove()
DBasicHeaderIterator.java66 protected int currentIndex; field in BasicHeaderIterator
92 this.currentIndex = findNext(-1); in BasicHeaderIterator()
135 return (this.currentIndex >= 0); in hasNext()
149 final int current = this.currentIndex; in nextHeader()
154 this.currentIndex = findNext(current); in nextHeader()
/external/icu/icu4c/source/common/
Dnormlzr.cpp35 currentIndex(0), nextIndex(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
44 currentIndex(0), nextIndex(0), in Normalizer()
53 currentIndex(0), nextIndex(0), in Normalizer()
62 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
100 …return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextI… in hashCode()
287 currentIndex=nextIndex=text->setToStart(); in reset()
294 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
313 currentIndex=nextIndex=text->setToEnd(); in last()
334 return currentIndex; in getIndex()
475 currentIndex=nextIndex; in nextNormalize()
[all …]
Dulist.c30 int32_t currentIndex; member
52 newList->currentIndex = -1; in ulist_createEmptyList()
66 list->currentIndex = 0; in ulist_addFirstItem()
118 list->currentIndex++; in ulist_addItemBeginList()
155 list->currentIndex++; in ulist_getNext()
171 list->currentIndex = 0; in ulist_resetList()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DAnnotationsDirectory.java213 private int currentIndex;
220 this.currentIndex = 0;
224 while (currentItemIndex < itemIndex && (currentIndex+1) < size) {
225 currentIndex++;
226 currentItemIndex = dexFile.readSmallUint(startOffset + (currentIndex*8));
230 return dexFile.readSmallUint(startOffset + (currentIndex*8)+4);
237 this.currentIndex = 0;
/external/icu/icu4c/source/tools/gensprep/
Dstore.c155 static int16_t currentIndex = 0; /* the current index into the data trie */ variable
269 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex; in storeMappingData()
274 limitIndex = currentIndex; in storeMappingData()
282 trieWord = currentIndex << 2; in storeMappingData()
316 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){ in storeMappingData()
318 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE); in storeMappingData()
326 mappingData[currentIndex++] = (uint16_t) mappingLength; in storeMappingData()
329 … uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR); in storeMappingData()
330 currentIndex += value->length; in storeMappingData()
331 if (currentIndex > mappingDataCapacity) { in storeMappingData()
[all …]
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPhonePrefixMap.java153 int currentIndex = numOfEntries - 1; in lookup() local
161 currentIndex = binarySearch(0, currentIndex, phonePrefix); in lookup()
162 if (currentIndex < 0) { in lookup()
165 int currentPrefix = phonePrefixMapStorage.getPrefix(currentIndex); in lookup()
167 return phonePrefixMapStorage.getDescription(currentIndex); in lookup()
/external/hamcrest/src/org/hamcrest/internal/
DArrayIterator.java8 private int currentIndex = 0; field in ArrayIterator
18 return currentIndex < Array.getLength(array); in hasNext()
22 return Array.get(array, currentIndex++); in next()
/external/skia/experimental/AndroidPathRenderer/
DAndroidPathRenderer.cpp103 int currentIndex = 0; in getFillVerticesFromPerimeter() local
109 copyVertex(&buffer[currentIndex++], &perimeter[srcAindex]); in getFillVerticesFromPerimeter()
111 copyVertex(&buffer[currentIndex++], &perimeter[srcBindex]); in getFillVerticesFromPerimeter()
121 int currentIndex = 0; in getStrokeVerticesFromPerimeter() local
138 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
142 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
152 copyVertex(&buffer[currentIndex++], &buffer[0]); in getStrokeVerticesFromPerimeter()
153 copyVertex(&buffer[currentIndex++], &buffer[1]); in getStrokeVerticesFromPerimeter()
160 int currentIndex = 0; in getStrokeVerticesFromUnclosedVertices() local
178 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromUnclosedVertices()
[all …]
/external/v8/test/promises-aplus/lib/
Dmocha.js174 this.currentIndex = 0;
195 this.hasRun = this.currentIndex === this.cases.length;
202 this.cases[this.currentIndex].Run(this, function() {
203 ++this.currentIndex;
223 this.hasRun = this.currentIndex === this.cases.length;
226 ++this.currentIndex;
/external/lzma/CS/7zip/Common/
DCommandLineParser.cs224 int currentIndex = -1; in ParseSubCharsCommand()
232 if (currentIndex >= 0) in ParseSubCharsCommand()
236 currentIndex = j; in ParseSubCharsCommand()
240 if (currentIndex == -1 && !charsSet.EmptyAllowed) in ParseSubCharsCommand()
242 indices.Add(currentIndex); in ParseSubCharsCommand()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DPath.java92 int currentIndex = 0; in getPaths() local
95 if (index == -1 || index == currentIndex) { in getPaths()
98 currentIndex++; in getPaths()
/external/skia/debugger/QT/
DSkSettingsWidget.h49 return fGLMSAACombo.itemData(fGLMSAACombo.currentIndex()).toInt(); in getGLSampleCount()
55 int index = fFilterCombo.currentIndex(); in getFilterOverride()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java137 private int currentIndex; field in Normalizer
606 copy.currentIndex = currentIndex; in clone()
1473 currentIndex=nextIndex=0; in reset()
1488 currentIndex=nextIndex=index; in setIndexOnly()
1565 currentIndex=nextIndex=text.getIndex(); in last()
1587 return currentIndex; in getIndex()
1815 currentIndex=nextIndex; in nextNormalize()
1837 nextIndex=currentIndex; in previousNormalize()
1838 text.setIndex(currentIndex); in previousNormalize()
1851 currentIndex=text.getIndex(); in previousNormalize()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DNodeSequence.java426 int currentIndex = m_next-1; in getCurrentNode() local
428 if((currentIndex >= 0) && (currentIndex < vec.size())) in getCurrentNode()
429 return vec.elementAt(currentIndex); in getCurrentNode()
/external/v8/src/
Dstring.js627 var currentIndex = 0;
636 result[result.length] = %_SubString(subject, currentIndex, length);
642 result[result.length] = %_SubString(subject, currentIndex, length);
648 if (startIndex === endIndex && endIndex === currentIndex) {
653 result[result.length] = %_SubString(subject, currentIndex, startMatch);
669 startIndex = currentIndex = endIndex;
/external/jetty/src/java/org/eclipse/jetty/servlets/
DBalancerServlet.java135 int currentIndex = _index.get(); in next() local
136 int nextIndex = (currentIndex + 1) % _balancerMembers.length; in next()
137 if (_index.compareAndSet(currentIndex,nextIndex)) in next()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPIteratorImpl.java399 protected String accumulatePath(XMPNode currNode, String parentPath, int currentIndex) in accumulatePath() argument
410 segmentName = "[" + String.valueOf(currentIndex) + "]"; in accumulatePath()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp122 eapChanged(eapSelect->currentIndex()); in authChanged()
191 int auth = authSelect->currentIndex(); in addNetwork()
279 int encr = encrSelect->currentIndex(); in addNetwork()
639 eapChanged(eapSelect->currentIndex()); in paramsFromConfig()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java106 int currentIndex = (Integer) ruleName2.invoke(lexObj, new Object[0]); in execLexer() local
107 if ( currentIndex!=input.size() ) { in execLexer()
108 ps2.println("extra text found, '"+input.substring(currentIndex, input.size()-1)+"'"); in execLexer()
DgUnitExecutor.java260 int currentIndex = (Integer) ruleName2.invoke(lexObj, new Object[0]); in runLexer() local
261 if ( currentIndex!=input.size() ) { in runLexer()
262 ps2.print("extra text found, '"+input.substring(currentIndex, input.size()-1)+"'"); in runLexer()

123