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

123

/external/proguard/src/proguard/
H A DWordReader.java44 private int currentIndex; field in class:WordReader
134 currentIndex < currentLineLength &&
135 Character.isWhitespace(currentLine.charAt(currentIndex)))
137 currentIndex++;
141 while (currentLine == null || currentIndex == currentLineLength)
167 currentIndex = 0;
168 while (currentIndex < currentLineLength &&
169 Character.isWhitespace(currentLine.charAt(currentIndex)))
171 currentIndex++;
176 int startIndex = currentIndex;
[all...]
/external/hamcrest/src/org/hamcrest/internal/
H A DArrayIterator.java8 private int currentIndex = 0; field in class:ArrayIterator
18 return currentIndex < Array.getLength(array);
22 return Array.get(array, currentIndex++);
/external/apache-http/src/org/apache/http/message/
H A DBasicListHeaderIterator.java61 protected int currentIndex; field in class:BasicListHeaderIterator
94 this.currentIndex = findNext(-1);
143 return (this.currentIndex >= 0);
157 final int current = this.currentIndex;
163 this.currentIndex = findNext(current);
194 this.currentIndex--; // adjust for the removed element
H A DBasicHeaderIterator.java61 protected int currentIndex; field in class:BasicHeaderIterator
87 this.currentIndex = findNext(-1);
130 return (this.currentIndex >= 0);
144 final int current = this.currentIndex;
149 this.currentIndex = findNext(current);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DAbstractQueueTest.java42 private int currentIndex = -1;
45 return size > 0 && currentIndex < size;
52 currentIndex++;
53 return (E) elements[currentIndex];
57 if (-1 == currentIndex) {
60 for (int i = currentIndex; i < size - 1; i++) {
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
H A DAreaCodeMap.java152 int currentIndex = numOfEntries - 1;
160 currentIndex = binarySearch(0, currentIndex, phonePrefix);
161 if (currentIndex < 0) {
164 int currentPrefix = areaCodeMapStorage.getPrefix(currentIndex);
166 return areaCodeMapStorage.getDescription(currentIndex);
/external/chromium_org/third_party/icu/source/tools/gensprep/
H A Dstore.c154 static int16_t currentIndex = 0; /* the current index into the data trie */ variable
271 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex;
276 limitIndex = currentIndex;
284 trieWord = currentIndex << 2;
318 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){
319 fprintf(stderr, "Too many entries in the mapping table %i. Maximum allowed is %i\n", currentIndex+value->length, _SPREP_MAX_INDEX_VALUE);
324 if(currentIndex+value->length+1 <= mappingDataCapacity){
328 mappingData[currentIndex++] = (uint16_t) mappingLength;
331 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR);
332 currentIndex
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dnormlzr.cpp34 currentIndex(0), nextIndex(0),
43 currentIndex(0), nextIndex(0),
52 currentIndex(0), nextIndex(0),
61 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex),
101 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex;
288 currentIndex=nextIndex=text->setToStart();
295 currentIndex=nextIndex=text->getIndex();
314 currentIndex=nextIndex=text->setToEnd();
335 return currentIndex;
[all...]
H A Dulist.c30 int32_t currentIndex; member in struct:UList
52 newList->currentIndex = -1;
66 list->currentIndex = 0;
118 list->currentIndex++;
155 list->currentIndex++;
171 list->currentIndex = 0;
/external/icu4c/common/
H A Dnormlzr.cpp35 currentIndex(0), nextIndex(0),
44 currentIndex(0), nextIndex(0),
53 currentIndex(0), nextIndex(0),
62 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex),
100 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex;
287 currentIndex=nextIndex=text->setToStart();
294 currentIndex=nextIndex=text->getIndex();
313 currentIndex=nextIndex=text->setToEnd();
334 return currentIndex;
[all...]
H A Dulist.c30 int32_t currentIndex; member in struct:UList
52 newList->currentIndex = -1;
66 list->currentIndex = 0;
118 list->currentIndex++;
155 list->currentIndex++;
171 list->currentIndex = 0;
/external/icu4c/tools/gensprep/
H A 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;
274 limitIndex = currentIndex;
282 trieWord = currentIndex << 2;
316 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){
318 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE);
326 mappingData[currentIndex++] = (uint16_t) mappingLength;
329 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR);
330 currentIndex += value->length;
331 if (currentIndex > mappingDataCapacit
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
H A DPath.java92 int currentIndex = 0;
95 if (index == -1 || index == currentIndex) {
98 currentIndex++;
/external/chromium_org/chrome/browser/resources/ntp4/
H A Dpage_switcher.js54 var currentIndex = ntp.getCardSlider().currentCard;
56 if (nextCardIndex == currentIndex) {
61 var currentDot = dots[currentIndex];
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFCatalog.cpp81 uint32_t currentIndex = pos; local
82 if (fCatalog[currentIndex].fObjNumAssigned) {
83 return currentIndex + 1;
92 if (fCatalog[currentIndex].fOnFirstPage) {
103 if (objNum - 1 != currentIndex) {
104 SkTSwap(fCatalog[objNum - 1], fCatalog[currentIndex]);
/external/skia/src/pdf/
H A DSkPDFCatalog.cpp81 uint32_t currentIndex = pos; local
82 if (fCatalog[currentIndex].fObjNumAssigned) {
83 return currentIndex + 1;
92 if (fCatalog[currentIndex].fOnFirstPage) {
103 if (objNum - 1 != currentIndex) {
104 SkTSwap(fCatalog[objNum - 1], fCatalog[currentIndex]);
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
H A DKeyframeAnimation.cpp89 size_t currentIndex = 0; local
96 currentIndex = (lastIndex + firstIndex) >> 1;
97 double key = m_keyframes[currentIndex].key();
98 distance = lastIndex - currentIndex;
102 currentIndex++;
103 firstIndex = currentIndex;
105 lastIndex = currentIndex;
113 for (size_t i = currentIndex; i < numKeyframes; ++i) {
122 for (int i = currentIndex; i >= 0; --i) {
/external/lzma/CS/7zip/Common/
H A DCommandLineParser.cs224 int currentIndex = -1;
232 if (currentIndex >= 0)
236 currentIndex = j;
240 if (currentIndex == -1 && !charsSet.EmptyAllowed)
242 indices.Add(currentIndex);
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dlist.js928 var currentIndex = firstIndex;
931 var dataItem = dataModel.item(currentIndex);
932 var newItem = self.cachedItems_[currentIndex] ||
934 newItem.listIndex = currentIndex;
935 self.cachedItems_[currentIndex] = newItem;
937 currentIndex++;
948 item != this.afterFiller_ && currentIndex < lastIndex;) {
955 if (this.cachedItems_[index] != item || index < currentIndex) {
957 } else if (index == currentIndex) {
958 this.cachedItems_[currentIndex]
[all...]
/external/v8/src/
H A Dstring.js628 var currentIndex = 0;
637 result.push(SubString(subject, currentIndex, length));
643 result.push(SubString(subject, currentIndex, length));
648 // We ignore a zero-length match at the currentIndex.
649 if (startIndex === endIndex && endIndex === currentIndex) {
654 if (currentIndex + 1 == startMatch) {
655 result.push(%_StringCharAt(subject, currentIndex));
657 result.push(%_SubString(subject, currentIndex, startMatch));
678 startIndex = currentIndex = endIndex;
/external/apache-xml/src/main/java/org/apache/xpath/axes/
H A DNodeSequence.java426 int currentIndex = m_next-1;
428 if((currentIndex >= 0) && (currentIndex < vec.size()))
429 return vec.elementAt(currentIndex);
/external/chromium_org/v8/src/
H A Dstring.js660 var currentIndex = 0;
669 %_CallFunction(result, %_SubString(subject, currentIndex, length),
676 %_CallFunction(result, %_SubString(subject, currentIndex, length),
682 // We ignore a zero-length match at the currentIndex.
683 if (startIndex === endIndex && endIndex === currentIndex) {
688 %_CallFunction(result, %_SubString(subject, currentIndex, startMatch),
706 startIndex = currentIndex = endIndex;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/managed_bookmarks/
H A Dbackground.js188 * |currentParentId| and |currentIndex| indicate the current position in
191 Node.prototype.moveInModel = function(currentParentId, currentIndex, callback) {
194 if (index == currentIndex) {
198 } else if (index > currentIndex) {
/external/chromium_org/third_party/WebKit/Source/platform/
H A DTimer.cpp313 static inline bool parentHeapPropertyHolds(const TimerBase* current, const Vector<TimerBase*>& heap, unsigned currentIndex)
315 if (!currentIndex)
317 unsigned parentIndex = (currentIndex - 1) / 2;
/external/chromium_org/chrome/test/functional/perf/endure_graphs/js/
H A Dplotter.js602 * @param {number} currentIndex The index into the |this.plotData| array of the
609 Plotter.prototype.updateCursor_ = function(coordinateSystem, currentIndex,
618 if (currentIndex == 0) {
624 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex - 1][0]);
626 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex][0]);
634 if (currentIndex == this.plotData_[dataIndex].length - 1) {
636 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex][0]);
641 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex + 1][0]);
643 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex][0]);

Completed in 1115 milliseconds

123