Home
last modified time | relevance | path

Searched refs:getIndex (Results 1 – 25 of 675) sorted by relevance

12345678910>>...27

/external/dexmaker/src/dx/java/com/android/dx/ssa/
DDominators.java116 DFSInfo bbInfo = info[in.getIndex()]; in compress()
117 DFSInfo ancestorbbInfo = info[bbInfo.ancestor.getIndex()]; in compress()
127 DFSInfo vbbInfo = info[v.getIndex()]; in compress()
129 DFSInfo vabbInfo = info[vAncestor.getIndex()]; in compress()
144 if (info[vAncestorRep.getIndex()].semidom in compress()
145 < info[vRep.getIndex()].semidom) { in compress()
154 DFSInfo bbInfo = info[v.getIndex()]; in eval()
176 domInfos[root.getIndex()].idom = root.getIndex(); in run()
193 DFSInfo wInfo = info[w.getIndex()]; in run()
200 DFSInfo predInfo = info[predBlock.getIndex()]; in run()
[all …]
/external/jetty/src/java/org/eclipse/jetty/io/
DAbstractBuffer.java80 System.arraycopy(array, getIndex(), bytes, 0, bytes.length); in asArray()
82 peek(getIndex(), bytes, 0, length()); in asArray()
116 return new View(this, markIndex(), getIndex(), putIndex(), READONLY); in asReadOnlyBuffer()
128 return new View(b, markIndex(), getIndex(), putIndex(), _access); in asMutableBuffer()
146 int s = markIndex() >= 0 ? markIndex() : getIndex(); in compact()
159 setGetIndex(getIndex() - s); in compact()
188 int get=getIndex(); in equals()
215 int get=getIndex(); in equalsIgnoreCase()
258 int gi = getIndex(); in get()
274 int gi = getIndex(); in get()
[all …]
DByteArrayBuffer.java126 int s = markIndex() >= 0 ? markIndex() : getIndex(); in compact()
135 setGetIndex(getIndex() - s); in compact()
169 int get=getIndex(); in equals()
199 int get=getIndex(); in equalsIgnoreCase()
244 int get=getIndex(); in hashCode()
321 System.arraycopy(src_array, src.getIndex(), _bytes, index, length); in poke()
324 int s=src.getIndex(); in poke()
365 int off=getIndex(); in writeTo()
375 out.write(_bytes,getIndex(),len); in writeTo()
/external/icu/icu4c/source/i18n/
Dcollationdatareader.cpp38 int32_t getIndex(const int32_t *indexes, int32_t length, int32_t i) { in getIndex() function
109 offset = getIndex(inIndexes, indexesLength, index); in read()
110 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read()
141 offset = getIndex(inIndexes, indexesLength, index); in read()
142 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read()
161 offset = getIndex(inIndexes, indexesLength, index); in read()
162 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read()
181 offset = getIndex(inIndexes, indexesLength, index); in read()
182 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read()
193 offset = getIndex(inIndexes, indexesLength, index); in read()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRuleCharacterIterator.java105 if (text == null || pos.getIndex() > text.length()) { in RuleCharacterIterator()
118 return buf == null && pos.getIndex() == text.length(); in atEnd()
217 return new Object[] {buf, new int[] {pos.getIndex(), bufPos}}; in getPos()
222 v[0] = pos.getIndex(); in getPos()
274 return text.substring(pos.getIndex()); in lookahead()
296 int i = pos.getIndex() + count; in jumpahead()
311 int b = pos.getIndex(); in toString()
324 int i = pos.getIndex(); in _current()
340 pos.setIndex(pos.getIndex() + count); in _advance()
341 if (pos.getIndex() > text.length()) { in _advance()
DZoneMeta.java666 if (id.charAt(pos.getIndex()) == 0x002D /*'-'*/) { in parseCustomID()
668 } else if (id.charAt(pos.getIndex()) != 0x002B /*'+'*/) { in parseCustomID()
671 pos.setIndex(pos.getIndex() + 1); in parseCustomID()
677 int start = pos.getIndex(); in parseCustomID()
680 if (pos.getIndex() == start) { in parseCustomID()
685 if (pos.getIndex() < id.length()){ in parseCustomID()
686 if (pos.getIndex() - start > 2 in parseCustomID()
687 || id.charAt(pos.getIndex()) != 0x003A /*':'*/) { in parseCustomID()
691 pos.setIndex(pos.getIndex() + 1); in parseCustomID()
692 int oldPos = pos.getIndex(); in parseCustomID()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRuleCharacterIterator.java104 if (text == null || pos.getIndex() > text.length()) { in RuleCharacterIterator()
117 return buf == null && pos.getIndex() == text.length(); in atEnd()
216 return new Object[] {buf, new int[] {pos.getIndex(), bufPos}}; in getPos()
221 v[0] = pos.getIndex(); in getPos()
273 return text.substring(pos.getIndex()); in lookahead()
295 int i = pos.getIndex() + count; in jumpahead()
310 int b = pos.getIndex(); in toString()
323 int i = pos.getIndex(); in _current()
339 pos.setIndex(pos.getIndex() + count); in _advance()
340 if (pos.getIndex() > text.length()) { in _advance()
DZoneMeta.java665 if (id.charAt(pos.getIndex()) == 0x002D /*'-'*/) { in parseCustomID()
667 } else if (id.charAt(pos.getIndex()) != 0x002B /*'+'*/) { in parseCustomID()
670 pos.setIndex(pos.getIndex() + 1); in parseCustomID()
676 int start = pos.getIndex(); in parseCustomID()
679 if (pos.getIndex() == start) { in parseCustomID()
684 if (pos.getIndex() < id.length()){ in parseCustomID()
685 if (pos.getIndex() - start > 2 in parseCustomID()
686 || id.charAt(pos.getIndex()) != 0x003A /*':'*/) { in parseCustomID()
690 pos.setIndex(pos.getIndex() + 1); in parseCustomID()
691 int oldPos = pos.getIndex(); in parseCustomID()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java94 int index = iterator2.getIndex(); in TestIteration()
113 int index = iterator2.getIndex(); in TestIteration()
195 if(iter.getIndex() != UTF16.getCharCount(c) + i) in TestIterationUChar32()
200 if (iter.getIndex() != 0) in TestIterationUChar32()
212 if(iter.getIndex() != i) in TestIterationUChar32()
260 public int getIndex() { in getIndex() method in TestUCharacterIterator.UCharIterator
383 if(expectIndex[iter.getIndex()]!=iter32.getIndex()) { in previousNext()
387 +history+ " : "+ "Normalizer index " +iter.getIndex() in previousNext()
388 +" expected "+ expectIndex[iter32.getIndex()]); in previousNext()
428 if(wrap_ci.getIndex()!=ci.getIndex()) { in TestUCharacterIteratorWrapper()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcitrtest.cpp169 if(test->getIndex()!=1){ in TestCoverage()
176 if(test->getIndex()!=0){ in TestCoverage()
180 if(test->getIndex()!=testText.length()){ in TestCoverage()
213 if (test1d->getIndex() < test1d->startIndex() || test1d->endIndex() < test1d->getIndex()) in TestConstructionAndEquality()
310 if (test8c->getIndex() < test8c->startIndex() || test8c->endIndex() < test8c->getIndex()) in TestConstructionAndEqualityUChariter()
354 if (test8b->getIndex()!=5) in TestConstructionAndEqualityUChariter()
409 if (iter.getIndex() != i) in TestIteration()
438 if (iter.getIndex() != i) in TestIteration()
460 if(iter.getIndex() != i+1) in TestIteration()
479 if(iter.getIndex() != i) in TestIteration()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/
DTestUCharacterIterator.java98 int index = iterator2.getIndex(); in TestIteration()
117 int index = iterator2.getIndex(); in TestIteration()
199 if(iter.getIndex() != UTF16.getCharCount(c) + i) in TestIterationUChar32()
204 if (iter.getIndex() != 0) in TestIterationUChar32()
216 if(iter.getIndex() != i) in TestIterationUChar32()
264 public int getIndex() { in getIndex() method in TestUCharacterIterator.UCharIterator
387 if(expectIndex[iter.getIndex()]!=iter32.getIndex()) { in previousNext()
391 +history+ " : "+ "Normalizer index " +iter.getIndex() in previousNext()
392 +" expected "+ expectIndex[iter32.getIndex()]); in previousNext()
432 if(wrap_ci.getIndex()!=ci.getIndex()) { in TestUCharacterIteratorWrapper()
[all …]
/external/llvm/include/llvm/CodeGen/
DSlotIndexes.h51 unsigned getIndex() const { return index; } in getIndex() function
133 unsigned getIndex() const {
134 return listEntry()->getIndex() | getSlot();
185 return getIndex() < other.getIndex();
190 return getIndex() <= other.getIndex();
196 return getIndex() > other.getIndex();
202 return getIndex() >= other.getIndex();
213 return A.listEntry()->getIndex() < B.listEntry()->getIndex();
218 return other.getIndex() - getIndex();
224 return (other.listEntry()->getIndex() - listEntry()->getIndex())
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DChoiceTest.java68 public int getIndex(Object object) {
127 public int getIndex(Object object) { in testChoiceInSequenceOf()
179 public int getIndex(Object obj) { in test_ExplicitChoice()
218 public int getIndex(Object obj) { in testChoiceOfChoice()
239 public int getIndex(Object obj) { in testChoiceOfChoice()
262 public int getIndex(Object obj) { in testDistinctTags()
277 public int getIndex(Object obj) { in testDistinctTags() method
295 public int getIndex(Object obj) { in testDistinctTags() method
313 public int getIndex(Object obj) { in testDistinctTags()
325 public int getIndex(Object obj) { in testDistinctTags() method
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DAbstractRealVector.java100 result[e.getIndex()] += e.getValue(); in add()
115 final int index = e.getIndex(); in add()
127 final int index = e.getIndex(); in subtract()
143 final int index = e.getIndex(); in subtract()
181 d += e.getValue() * v.getEntry(e.getIndex()); in dotProduct()
203 final double diff = e.getValue() - v.getEntry(e.getIndex()); in getDistance()
255 d += FastMath.abs(e.getValue() - v.getEntry(e.getIndex())); in getL1Distance()
267 d += FastMath.abs(e.getValue() - v[e.getIndex()]); in getL1Distance()
279 d = FastMath.max(FastMath.abs(e.getValue() - v.getEntry(e.getIndex())), d); in getLInfDistance()
291 d = FastMath.max(FastMath.abs(e.getValue() - v[e.getIndex()]), d); in getLInfDistance()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java338 return fText.getIndex(); in first()
470 rangeEnd = fText.getIndex(); in checkDictionary()
495 rangeStart = fText.getIndex(); in checkDictionary()
513 while((current = fText.getIndex()) < rangeEnd && (category & 0x4000) == 0) { in checkDictionary()
529 int startingIdx = fText.getIndex(); in checkDictionary()
531 assert fText.getIndex() > startingIdx; in checkDictionary()
705 return text.getIndex(); in following()
820 return text.getIndex(); in preceding()
929 int pos = fText.getIndex(); in isBoundary()
940 return (fText != null) ? fText.getIndex() : BreakIterator.DONE; in current()
[all …]
DNFSubstitution.java425 if (lenientParse && !ruleSet.isFractionSet() && parsePosition.getIndex() == 0) { in doParse()
438 if (parsePosition.getIndex() != 0) { in doParse()
969 if (parsePosition.getIndex() != 0) { in doParse()
1275 while (workText.length() > 0 && workPos.getIndex() != 0) { in doParse()
1278 if (lenientParse && workPos.getIndex() == 0) { in doParse()
1285 if (workPos.getIndex() != 0) { in doParse()
1288 parsePosition.setIndex(parsePosition.getIndex() + workPos.getIndex()); in doParse()
1289 workText = workText.substring(workPos.getIndex()); in doParse()
1292 parsePosition.setIndex(parsePosition.getIndex() + 1); in doParse()
1578 while (workText.length() > 0 && workPos.getIndex() != 0) { in doParse()
[all …]
DNFRule.java891 if (pp.getIndex() == 0 && sub1Pos != 0) { in doParse()
898 parsePosition.setIndex(pp.getIndex()); in doParse()
903 parsePosition.setIndex(pp.getIndex()); in doParse()
955 if (pp.getIndex() != 0 || sub1 == null) { in doParse()
956 start = pp.getIndex(); in doParse()
958 String workText2 = workText.substring(pp.getIndex()); in doParse()
972 if (pp2.getIndex() != 0 || sub2 == null) { in doParse()
973 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse()
974 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse()
997 while (sub1Pos != sub2Pos && pp.getIndex() > 0 && pp.getIndex() in doParse()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java331 return fText.getIndex(); in first()
460 rangeEnd = fText.getIndex(); in checkDictionary()
485 rangeStart = fText.getIndex(); in checkDictionary()
503 while((current = fText.getIndex()) < rangeEnd && (category & 0x4000) == 0) { in checkDictionary()
519 int startingIdx = fText.getIndex(); in checkDictionary()
521 assert fText.getIndex() > startingIdx; in checkDictionary()
693 return text.getIndex(); in following()
807 return text.getIndex(); in preceding()
914 int pos = fText.getIndex(); in isBoundary()
924 return (fText != null) ? fText.getIndex() : BreakIterator.DONE; in current()
[all …]
DNFSubstitution.java426 if (lenientParse && !ruleSet.isFractionSet() && parsePosition.getIndex() == 0) { in doParse()
439 if (parsePosition.getIndex() != 0) { in doParse()
970 if (parsePosition.getIndex() != 0) { in doParse()
1276 while (workText.length() > 0 && workPos.getIndex() != 0) { in doParse()
1279 if (lenientParse && workPos.getIndex() == 0) { in doParse()
1286 if (workPos.getIndex() != 0) { in doParse()
1289 parsePosition.setIndex(parsePosition.getIndex() + workPos.getIndex()); in doParse()
1290 workText = workText.substring(workPos.getIndex()); in doParse()
1293 parsePosition.setIndex(parsePosition.getIndex() + 1); in doParse()
1579 while (workText.length() > 0 && workPos.getIndex() != 0) { in doParse()
[all …]
DThaiBreakEngine.java118 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
133 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
145 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
171 if (fIter.getIndex() < rangeEnd && wordLength < THAI_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
219 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange()
221 wordLength += fIter.getIndex() - currPos; in divideUpDictionaryRange()
228 if (fIter.getIndex() < rangeEnd && wordLength > 0) { in divideUpDictionaryRange()
DNFRule.java892 if (pp.getIndex() == 0 && sub1Pos != 0) { in doParse()
899 parsePosition.setIndex(pp.getIndex()); in doParse()
904 parsePosition.setIndex(pp.getIndex()); in doParse()
956 if (pp.getIndex() != 0 || sub1 == null) { in doParse()
957 start = pp.getIndex(); in doParse()
959 String workText2 = workText.substring(pp.getIndex()); in doParse()
973 if (pp2.getIndex() != 0 || sub2 == null) { in doParse()
974 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse()
975 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse()
998 while (sub1Pos != sub2Pos && pp.getIndex() > 0 && pp.getIndex() in doParse()
[all …]
/external/icu/icu4c/source/samples/uciter8/
Duciter8.c49 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
50 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
84 … U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURR… in compareIterators()
94 …04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURR… in compareIterators()
124 …%s->next()=U+%04x != U+%04x=%s->next() at %d\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURR… in compareIterators()
189 …ious()=U+%04x != U+%04x=%s->previous() at %d\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURR… in compareIterators()
273 i=iter1->getIndex(iter1, UITER_CURRENT); in testIteratorState()
274 j=iter2->getIndex(iter2, UITER_CURRENT); in testIteratorState()
283 i=iter1->getIndex(iter1, UITER_LENGTH); in testIteratorState()
284 j=iter2->getIndex(iter2, UITER_LENGTH); in testIteratorState()
/external/icu/icu4c/source/common/
Druleiter.cpp33 return buf == 0 && pos.getIndex() == text.length(); in atEnd()
91 p.pos = pos.getIndex(); in getPos()
118 text.extract(pos.getIndex(), maxLookAhead, result); in lookahead()
139 int i = pos.getIndex(); in _current()
151 pos.setIndex(pos.getIndex() + count); in _advance()
152 if (pos.getIndex() > text.length()) { in _advance()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DCompositeFormat.java68 pos.setIndex(pos.getIndex() - 1); in parseAndIgnoreWhitespace()
80 int index = pos.getIndex(); in parseNextCharacter()
118 final int startIndex = pos.getIndex(); in parseNumber()
142 final int startIndex = pos.getIndex(); in parseNumber()
144 final int endIndex = pos.getIndex(); in parseNumber()
173 final int startIndex = pos.getIndex(); in parseFixedstring()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DFastClass.java88 return invoke(getIndex(name, parameterTypes), obj, args); in invoke()
92 return newInstance(getIndex(Constants.EMPTY_CLASS_ARRAY), null); in newInstance()
96 return newInstance(getIndex(parameterTypes), args); in newInstance()
156 abstract public int getIndex(String name, Class[] parameterTypes); in getIndex() method in FastClass
165 abstract public int getIndex(Class[] parameterTypes); in getIndex() method in FastClass
186 abstract public int getIndex(Signature sig); in getIndex() method in FastClass

12345678910>>...27