HomeSort by relevance Sort by last modified time
    Searched full:getindex (Results 1 - 25 of 896) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tools/aapt2/
StringPool_test.cpp 62 EXPECT_EQ(0u, ref.getIndex());
63 EXPECT_EQ(1u, ref2.getIndex());
64 EXPECT_EQ(2u, ref3.getIndex());
89 EXPECT_EQ(0u, ref.getIndex());
92 EXPECT_EQ(1u, ref2.getIndex());
95 EXPECT_EQ(2u, ref3.getIndex());
103 EXPECT_EQ(2u, ref.getIndex());
106 EXPECT_EQ(0u, ref2.getIndex());
109 EXPECT_EQ(1u, ref3.getIndex());
127 EXPECT_EQ(ref4.getIndex(), ref.getIndex())
    [all...]
  /dalvik/dx/src/com/android/dx/ssa/
Dominators.java 116 DFSInfo bbInfo = info[in.getIndex()];
117 DFSInfo ancestorbbInfo = info[bbInfo.ancestor.getIndex()];
127 DFSInfo vbbInfo = info[v.getIndex()];
129 DFSInfo vabbInfo = info[vAncestor.getIndex()];
144 if (info[vAncestorRep.getIndex()].semidom
145 < info[vRep.getIndex()].semidom) {
154 DFSInfo bbInfo = info[v.getIndex()];
176 domInfos[root.getIndex()].idom = root.getIndex();
193 DFSInfo wInfo = info[w.getIndex()];
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/ssa/
Dominators.java 116 DFSInfo bbInfo = info[in.getIndex()];
117 DFSInfo ancestorbbInfo = info[bbInfo.ancestor.getIndex()];
127 DFSInfo vbbInfo = info[v.getIndex()];
129 DFSInfo vabbInfo = info[vAncestor.getIndex()];
144 if (info[vAncestorRep.getIndex()].semidom
145 < info[vRep.getIndex()].semidom) {
154 DFSInfo bbInfo = info[v.getIndex()];
176 domInfos[root.getIndex()].idom = root.getIndex();
193 DFSInfo wInfo = info[w.getIndex()];
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
PatternSyntaxExceptionTest.java 34 assertEquals(0, e.getIndex());
45 assertEquals(0, e.getIndex());
56 assertEquals(0, e.getIndex());
67 assertEquals(0, e.getIndex());
76 assertEquals(-1, e.getIndex());
83 assertEquals(0, e.getIndex());
95 assertEquals(1, e.getIndex());
106 assertEquals(3, e.getIndex());
141 assertEquals(initPatternSyntaxException.getIndex(),
142 dserPatternSyntaxException.getIndex());
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
StringCharacterIteratorTest.java 234 * @tests java.text.StringCharacterIterator.getIndex()
238 assertEquals(0, fixture.getIndex());
240 assertEquals(1, fixture.getIndex());
243 assertEquals(2, fixture.getIndex());
245 assertEquals(2, fixture.getIndex());
270 assertEquals(0, fixture.getIndex());
272 assertEquals(1, fixture.getIndex());
274 assertEquals(2, fixture.getIndex());
276 assertEquals(3, fixture.getIndex());
278 assertEquals(4, fixture.getIndex());
    [all...]
ParsePositionTest.java 31 assertTrue("Initialization failed.", pp1.getIndex() == Integer.MIN_VALUE);
59 * @tests java.text.ParsePosition#getIndex()
62 // Test for method int java.text.ParsePosition.getIndex()
63 assertTrue("getIndex failed.", pp.getIndex() == Integer.MAX_VALUE);
71 assertTrue("Wrong hashCode returned", (pp.hashCode() == pp.getIndex()
90 assertEquals("setErrorIndex failed.", 4564, pp.getIndex());
  /external/jetty/src/java/org/eclipse/jetty/io/
Buffer.java 31 * pointers into the buffer and the valid _content of the buffer is always between the getIndex and the putIndex.
38 * markValue <= getIndex <= putIndex <= capacity
60 * @return a <code>byte[]</code> value of the bytes from the getIndex to the putIndex.
108 * Clear the buffer. getIndex=0, putIndex=0.
114 * Bytes from the getIndex (or mark) to the putIndex are moved to the beginning of
120 * Get the byte at the current getIndex and increment it.
121 * @return The <code>byte</code> value from the current getIndex.
127 * The getIndex is incremented by the number of bytes copied into the array.
146 int getIndex();
149 * @return true of putIndex > getIndex
    [all...]
AbstractBuffer.java 80 System.arraycopy(array, getIndex(), bytes, 0, bytes.length);
82 peek(getIndex(), bytes, 0, length());
116 return new View(this, markIndex(), getIndex(), putIndex(), READONLY);
128 return new View(b, markIndex(), getIndex(), putIndex(), _access);
146 int s = markIndex() >= 0 ? markIndex() : getIndex();
159 setGetIndex(getIndex() - s);
188 int get=getIndex();
215 int get=getIndex();
258 int gi = getIndex();
274 int gi = getIndex();
    [all...]
  /external/skia/src/animator/
SkOpArray.cpp 16 bool SkOpArray::getIndex(int index, SkOperand2* operand) {
SkOpArray.h 20 bool getIndex(int index, SkOperand2* operand);
SkTypedArray.h 20 bool getIndex(int index, SkOperand* operand);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CharacterIteratorWrapper.java 50 * @see UCharacterIterator#getIndex()
52 public int getIndex() {
53 return iterator.getIndex();
102 int currentIndex = iterator.getIndex();
132 int idx = iterator.getIndex()+delta;
CharacterIteration.java 63 // from there, but the ci.getIndex() will be wrong, and needs
66 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) {
84 if (ci.getIndex() <= ci.getBeginIndex()) {
89 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) {
118 if (ci.getIndex() >= ci.getEndIndex()) {
  /external/icu/icu4c/source/common/
ruleiter.cpp 33 return buf == 0 && pos.getIndex() == text.length();
91 p.pos = pos.getIndex();
118 text.extract(pos.getIndex(), maxLookAhead, result);
129 int32_t b = pos.getIndex();
139 int i = pos.getIndex();
151 pos.setIndex(pos.getIndex() + count);
152 if (pos.getIndex() > text.length()) {
  /external/icu/icu4c/source/i18n/
collationdatareader.cpp 37 int32_t getIndex(const int32_t *indexes, int32_t length, int32_t i) {
108 offset = getIndex(inIndexes, indexesLength, index);
109 length = getIndex(inIndexes, indexesLength, index + 1) - offset;
140 offset = getIndex(inIndexes, indexesLength, index);
141 length = getIndex(inIndexes, indexesLength, index + 1) - offset;
160 offset = getIndex(inIndexes, indexesLength, index);
161 length = getIndex(inIndexes, indexesLength, index + 1) - offset;
180 offset = getIndex(inIndexes, indexesLength, index);
181 length = getIndex(inIndexes, indexesLength, index + 1) - offset;
192 offset = getIndex(inIndexes, indexesLength, index)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/
ExpatAttributes.java 77 public int getIndex(String uri, String localName) {
88 return getIndex(pointer, uri, localName);
91 public int getIndex(String qName) {
109 return getIndex(uri, localName) == -1 ? null : CDATA;
113 return getIndex(qName) == -1 ? null : CDATA;
145 private static native int getIndex(long attributePointer, String uri, String localName);
  /cts/tests/tests/webkit/src/android/webkit/cts/
DateSorterTest.java 66 assertEquals(i, dateSorter.getIndex(boundary + 1));
68 assertEquals(nextIndex, dateSorter.getIndex(boundary));
69 assertEquals(nextIndex, dateSorter.getIndex(boundary-1));
  /external/icu/icu4c/source/test/intltest/
pptest.cpp 53 if (pp1.getIndex() == 0) {
56 errln("*** PP getIndex or constructor() result");
62 if (pp2.getIndex() == 5) {
63 logln("PP getIndex and constructor(int32_t) tested.");
65 errln("*** PP getIndex or constructor(int32_t) result");
68 if (pp2.getIndex() == 3) {
71 errln("*** PP getIndex or setIndex result");
87 errln(UnicodeString("*** PP equals fails (") + pp3.getIndex() + " != " + pp4.getIndex() + ")");
citrtest.cpp 169 if(test->getIndex()!=1){
170 errln("Failed: getIndex().");
176 if(test->getIndex()!=0){
180 if(test->getIndex()!=testText.length()){
213 if (test1d->getIndex() < test1d->startIndex() || test1d->endIndex() < test1d->getIndex())
310 if (test8c->getIndex() < test8c->startIndex() || test8c->endIndex() < test8c->getIndex())
354 if (test8b->getIndex()!=5)
409 if (iter.getIndex() != i
    [all...]
  /libcore/luni/src/test/java/tests/security/cert/
CertPathValidatorExceptionTest.java 201 assertEquals("getIndex() must be -1", tE.getIndex(), -1);
255 assertEquals("getIndex() must return -1", tE.getIndex(), -1);
324 assertEquals("getIndex() must return -1", tE.getIndex(), -1);
388 * Test for <code>getIndex()</code>. Returns the index of the certificate
395 assertEquals("getIndex() must be equals -1", -1, tE.getIndex());
399 assertEquals("getIndex() must be equals -1", -1, tE.getIndex())
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
FastClass.java 88 return invoke(getIndex(name, parameterTypes), obj, args);
92 return newInstance(getIndex(Constants.EMPTY_CLASS_ARRAY), null);
96 return newInstance(getIndex(parameterTypes), args);
156 abstract public int getIndex(String name, Class[] parameterTypes);
165 abstract public int getIndex(Class[] parameterTypes);
169 * @see getIndex(name, Class[])
179 * @see getIndex(Class[])
186 abstract public int getIndex(Signature sig);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
TestUCharacterIterator.java 94 int index = iterator2.getIndex();
113 int index = iterator2.getIndex();
195 if(iter.getIndex() != UTF16.getCharCount(c) + i)
196 errln("getIndex() after first32PostInc() failed");
200 if (iter.getIndex() != 0)
212 if(iter.getIndex() != i)
213 errln("getIndex() aftr nextCodePointPostInc() isn't working right");
260 public int getIndex() {
383 if(expectIndex[iter.getIndex()]!=iter32.getIndex()) {
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
ChoiceTest.java 68 public int getIndex(Object object) {
127 public int getIndex(Object object) {
179 public int getIndex(Object obj) {
218 public int getIndex(Object obj) {
239 public int getIndex(Object obj) {
262 public int getIndex(Object obj) {
277 public int getIndex(Object obj) {
295 public int getIndex(Object obj) {
313 public int getIndex(Object obj) {
325 public int getIndex(Object obj)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
AttributesImplSerializer.java 69 * @see org.xml.sax.Attributes#getIndex(String)
71 public final int getIndex(String qname)
79 index = super.getIndex(qname);
93 * the hashtable for fast lookup by getIndex(qName).
101 * @see #getIndex(String)
187 * getIndex(qName).
190 * @see #getIndex(String)
211 * @see org.xml.sax.Attributes#getIndex(String)
213 public final int getIndex(String uri, String localName)
221 index = super.getIndex(uri,localName)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
URISyntaxExceptionTest.java 53 assertEquals("returned incorrect index", 2, e.getIndex());
78 assertEquals("returned incorrect index", -1, e.getIndex());
82 * java.net.URISyntaxException#getIndex()

Completed in 2282 milliseconds

1 2 3 4 5 6 7 8 91011>>