HomeSort by relevance Sort by last modified time
    Searched refs:getBeginIndex (Results 1 - 25 of 142) sorted by null

1 2 3 4 5 6

  /libcore/ojluni/src/main/java/java/text/
CharacterIterator.java 47 * are indexed with values beginning with the value returned by getBeginIndex() and
51 * getBeginIndex() to getEndIndex(); the value getEndIndex() is included to allow
57 * they would move outside the range from getBeginIndex() to getEndIndex() -1,
116 * Sets the position to getBeginIndex() and returns the character at that
119 * @see #getBeginIndex()
151 * at the new index. If the current index is getBeginIndex(), the index
152 * remains at getBeginIndex() and a value of DONE is returned.
154 * position is equal to getBeginIndex().
162 * getBeginIndex() to getEndIndex(). An IllegalArgumentException is thrown
172 public int getBeginIndex();
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
CharacterIteratorWrapper.java 52 return (iterator.getEndIndex() - iterator.getBeginIndex());
113 int length =iterator.getEndIndex() - iterator.getBeginIndex();
145 int length = iterator.getEndIndex() - iterator.getBeginIndex();
UCharacterIteratorWrapper.java 33 * Sets the position to getBeginIndex() and returns the character at that
36 * @see #getBeginIndex()
85 * at the new index. If the current index is getBeginIndex(), the index
86 * remains at getBeginIndex() and a value of DONE is returned.
88 * position is equal to getBeginIndex().
100 * getBeginIndex() to getEndIndex(). An IllegalArgumentException is thrown
115 public int getBeginIndex(){
CharacterIteration.java 90 if (ci.getIndex() <= ci.getBeginIndex()) {
95 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) {
CSCharacterIterator.java 85 public int getBeginIndex() {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CharacterIteratorWrapper.java 50 return (iterator.getEndIndex() - iterator.getBeginIndex());
111 int length =iterator.getEndIndex() - iterator.getBeginIndex();
143 int length = iterator.getEndIndex() - iterator.getBeginIndex();
UCharacterIteratorWrapper.java 31 * Sets the position to getBeginIndex() and returns the character at that
34 * @see #getBeginIndex()
83 * at the new index. If the current index is getBeginIndex(), the index
84 * remains at getBeginIndex() and a value of DONE is returned.
86 * position is equal to getBeginIndex().
98 * getBeginIndex() to getEndIndex(). An IllegalArgumentException is thrown
113 public int getBeginIndex(){
CharacterIteration.java 86 if (ci.getIndex() <= ci.getBeginIndex()) {
91 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) {
CSCharacterIterator.java 83 public int getBeginIndex() {
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
CSCharacterIteratorTest.java 36 assertEquals("", sci.getBeginIndex(), csci.getBeginIndex());
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
CSCharacterIteratorTest.java 33 assertEquals("", sci.getBeginIndex(), csci.getBeginIndex());
  /external/icu/android_icu4j/src/main/java/android/icu/text/
QuantityFormatter.java 118 pos.setBeginIndex(fpos.getBeginIndex());
130 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) {
132 pos.setBeginIndex(pos.getBeginIndex() + offsets[0]);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
QuantityFormatter.java 117 pos.setBeginIndex(fpos.getBeginIndex());
129 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) {
131 pos.setBeginIndex(pos.getBeginIndex() + offsets[0]);
  /external/icu/icu4c/source/i18n/
ufieldpositer.cpp 51 *beginIndex = fp.getBeginIndex();
fphdlimp.cpp 58 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) {
59 pos.setBeginIndex(delta + pos.getBeginIndex());
scientificnumberformatter.cpp 146 fp.getBeginIndex() - copyFromOffset);
152 int32_t beginIndex = fp.getBeginIndex();
178 fp.getBeginIndex() - copyFromOffset);
181 fp.getBeginIndex(),
220 fp.getBeginIndex() - copyFromOffset);
udateintervalformat.cpp 100 position->beginIndex = fp.getBeginIndex();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
StringCharacterIteratorTest.java 198 * @tests java.text.StringCharacterIterator.getBeginIndex()
202 assertEquals(0, fixture.getBeginIndex());
204 assertEquals(0, fixture.getBeginIndex());
207 assertEquals(1, fixture.getBeginIndex());
211 assertEquals("Wrong begin index 2", 2, it1.getBeginIndex());
408 assertEquals("Wrong begin index", 0, it.getBeginIndex());
421 assertEquals("Wrong begin index", 0, it.getBeginIndex());
435 assertEquals("Wrong begin index", 2, it.getBeginIndex());
517 assertEquals("Wrong begin index", 0, it1.getBeginIndex());
FieldPositionTest.java 108 * @tests java.text.FieldPosition#getBeginIndex()
111 // Test for method int java.text.FieldPosition.getBeginIndex()
115 assertEquals("getBeginIndex should have returned 2",
116 2, fpos.getBeginIndex());
187 .getBeginIndex());
191 Integer.MAX_VALUE, fpos.getBeginIndex());
195 -1, fpos.getBeginIndex());
Support_Format.java 52 if (begin != pos.getBeginIndex() || end != pos.getEndIndex()) {
54 pos.getFieldAttribute() + " " + pos.getBeginIndex() + ".." + pos.getEndIndex());
  /external/icu/icu4c/source/i18n/unicode/
fieldpos.h 200 int32_t getBeginIndex(void) const { return fBeginIndex; }
  /frameworks/base/core/java/android/text/
CharSequenceCharacterIterator.java 89 public int getBeginIndex() {
  /libcore/luni/src/test/java/libcore/java/text/
OldFormatTest.java 70 assertEquals(0, aci.getBeginIndex());
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
TestDeprecatedNormalizerAPI.java 49 if(clone.getBeginIndex()!= norm.getBeginIndex()){
50 errln("error in Normalizer.getBeginIndex()");
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
TestDeprecatedNormalizerAPI.java 46 if(clone.getBeginIndex()!= norm.getBeginIndex()){
47 errln("error in Normalizer.getBeginIndex()");

Completed in 528 milliseconds

1 2 3 4 5 6