/external/icu/icu4c/source/i18n/ |
ufieldpositer.cpp | 42 int32_t *beginIndex, int32_t *endIndex) 48 if (beginIndex) { 49 *beginIndex = fp.getBeginIndex();
|
scientificnumberformatter.cpp | 38 int32_t beginIndex, 45 for (int32_t i = beginIndex; i < endIndex;) { 150 int32_t beginIndex = fp.getBeginIndex(); 152 UChar32 aChar = original.char32At(beginIndex); 157 beginIndex - copyFromOffset); 163 beginIndex - copyFromOffset);
|
udateintervalformat.cpp | 98 position->beginIndex = fp.getBeginIndex();
|
unum.cpp | 208 pos->beginIndex = fp.getBeginIndex(); 241 pos->beginIndex = fp.getBeginIndex(); 284 pos->beginIndex = fp.getBeginIndex(); 324 pos->beginIndex = fp.getBeginIndex(); 869 pos->beginIndex = fp.getBeginIndex();
|
/libcore/ojluni/src/main/java/java/text/ |
AttributedString.java | 194 * @param beginIndex Index of the first character of the range. 199 * beginIndex and endIndex is out of the text range. 203 int beginIndex, 205 this(text, beginIndex, endIndex, null); 219 * @param beginIndex Index of the first character of the range. 227 * beginIndex and endIndex is out of the text range. 231 int beginIndex, 241 if (beginIndex < textBeginIndex || endIndex > textEndIndex || beginIndex > endIndex) 246 text.setIndex(beginIndex); [all...] |
FieldPosition.java | 91 int beginIndex = 0; 169 return beginIndex; 185 beginIndex = bi; 223 return (beginIndex == other.beginIndex 233 return (field << 24) | (beginIndex << 16) | endIndex; 243 ",beginIndex=" + beginIndex +
|
/external/apache-http/src/org/apache/http/util/ |
CharArrayBuffer.java | 211 public int indexOf(int ch, int beginIndex, int endIndex) { 212 if (beginIndex < 0) { 213 beginIndex = 0; 218 if (beginIndex > endIndex) { 221 for (int i = beginIndex; i < endIndex; i++) { 233 public String substring(int beginIndex, int endIndex) { 234 if (beginIndex < 0) { 240 if (beginIndex > endIndex) { 243 return new String(this.buffer, beginIndex, endIndex - beginIndex); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
LinkifyUtils.java | 52 final int beginIndex = text.indexOf(PLACE_HOLDER_LINK_BEGIN); 53 if (beginIndex == -1) { 57 text.delete(beginIndex, beginIndex + PLACE_HOLDER_LINK_BEGIN.length()); 80 spannableContent.setSpan(spannableLink, beginIndex, endIndex,
|
/external/icu/icu4c/source/common/unicode/ |
umisc.h | 42 int32_t beginIndex;
|
/external/icu/icu4c/source/i18n/unicode/ |
ufieldpositer.h | 93 * @param beginIndex 104 * values pointed to by beginIndex and endIndex are undefined. 116 int32_t *beginIndex, int32_t *endIndex);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
ByteString.java | 245 * index until the end of this string. Returns this byte string if {@code beginIndex} is 0. 247 public ByteString substring(int beginIndex) { 248 return substring(beginIndex, data.length); 253 * {@code beginIndex} and ends at the specified {@code endIndex}. Returns this byte string if 254 * {@code beginIndex} is 0 and {@code endIndex} is the length of this byte string. 256 public ByteString substring(int beginIndex, int endIndex) { 257 if (beginIndex < 0) throw new IllegalArgumentException("beginIndex < 0"); 262 int subLen = endIndex - beginIndex; 263 if (subLen < 0) throw new IllegalArgumentException("endIndex < beginIndex"); [all...] |
BufferedSink.java | 57 * Encodes the characters at {@code beginIndex} up to {@code endIndex} from {@code string} in 60 BufferedSink writeUtf8(String string, int beginIndex, int endIndex) throws IOException; 69 * Encodes the characters at {@code beginIndex} up to {@code endIndex} from {@code string} in 72 BufferedSink writeString(String string, int beginIndex, int endIndex, Charset charset)
|
RealBufferedSink.java | 61 @Override public BufferedSink writeUtf8(String string, int beginIndex, int endIndex) 64 buffer.writeUtf8(string, beginIndex, endIndex); 80 @Override public BufferedSink writeString(String string, int beginIndex, int endIndex, 83 buffer.writeString(string, beginIndex, endIndex, charset);
|
Buffer.java | 796 @Override public Buffer writeUtf8(String string, int beginIndex, int endIndex) { 798 if (beginIndex < 0) throw new IllegalAccessError("beginIndex < 0: " + beginIndex); 799 if (endIndex < beginIndex) { 800 throw new IllegalArgumentException("endIndex < beginIndex: " + endIndex + " < " + beginIndex); 808 for (int i = beginIndex; i < endIndex;) { 913 public Buffer writeString(String string, int beginIndex, int endIndex, Charset charset) { 915 if (beginIndex < 0) throw new IllegalAccessError("beginIndex < 0: " + beginIndex) [all...] |
SegmentedByteString.java | 116 @Override public ByteString substring(int beginIndex) { 117 return toByteString().substring(beginIndex); 120 @Override public ByteString substring(int beginIndex, int endIndex) { 121 return toByteString().substring(beginIndex, endIndex);
|
/external/clang/lib/ASTMatchers/Dynamic/ |
Diagnostics.cpp | 43 : Error(Error), BeginIndex(Error->Errors.size()) {} 47 if (BeginIndex < Error->Errors.size()) { 48 Diagnostics::ErrorContent &Dest = Error->Errors[BeginIndex]; 49 for (size_t i = BeginIndex + 1, e = Error->Errors.size(); i < e; ++i) { 52 Error->Errors.resize(BeginIndex + 1); 58 Error->Errors.resize(BeginIndex);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
FieldPositionTest.java | 92 assertTrue("Objects with a different beginIndex were still equal!", 186 assertEquals("beginIndex should have been set to 2", 2, fpos 190 assertEquals("beginIndex should have been set to Integer.MAX_VALUE", 194 assertEquals("beginIndex should have been set to -1", 224 "java.text.FieldPosition[field=1,attribute=null,beginIndex=2,endIndex=3]", 232 + ",beginIndex=4,endIndex=5]", fpos2.toString());
|
/external/apache-http/android/src/android/net/http/ |
Headers.java | 474 * @param beginIndex index at which we should start 478 int beginIndex, final String str) { 481 while (beginIndex < len && HTTP.isWhitespace(chars[beginIndex])) { 482 beginIndex++; 485 boolean ok = len >= (beginIndex + size); 487 char a = chars[beginIndex + j]; 505 int beginIndex = 0; 509 for (int i = beginIndex; i < endIndex; i++) {
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
LiteralByteString.java | 83 public ByteString substring(int beginIndex, int endIndex) { 84 if (beginIndex < 0) { 86 "Beginning index: " + beginIndex + " < 0"); 92 int substringLength = endIndex - beginIndex; 95 "Beginning index larger than ending index: " + beginIndex + ", " 103 result = new BoundedByteString(bytes, getOffsetIntoBytes() + beginIndex,
|
RopeByteString.java | 304 * @param beginIndex start at this index 309 public ByteString substring(int beginIndex, int endIndex) { 310 if (beginIndex < 0) { 312 "Beginning index: " + beginIndex + " < 0"); 318 int substringLength = endIndex - beginIndex; 321 "Beginning index larger than ending index: " + beginIndex + ", " 336 result = left.substring(beginIndex, endIndex); 337 } else if (beginIndex >= leftLength) { 340 .substring(beginIndex - leftLength, endIndex - leftLength); 343 ByteString leftSub = left.substring(beginIndex); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XStringForFSB.java | 746 * @param beginIndex the beginning index, inclusive. 749 * <code>beginIndex</code> is negative or larger than the 752 public XMLString substring(int beginIndex) 755 int len = m_length - beginIndex; 761 int start = m_start + beginIndex; 769 * substring begins at the specified <code>beginIndex</code> and 771 * Thus the length of the substring is <code>endIndex-beginIndex</code>. 773 * @param beginIndex the beginning index, inclusive. 777 * <code>beginIndex</code> is negative, or 780 * <code>beginIndex</code> is larger tha [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
String.java | 640 * specified <code>beginIndex</code> and extends to the 643 * <code>endIndex-beginIndex</code>. Unpaired surrogates within 646 * @param beginIndex the index to the first <code>char</code> of 653 * <code>beginIndex</code> is negative, or <code>endIndex</code> 655 * <code>beginIndex</code> is larger than <code>endIndex</code>. 658 public int codePointCount(int beginIndex, int endIndex) { 659 if (beginIndex < 0 || endIndex > count || beginIndex > endIndex) { 662 return Character.codePointCount(this, beginIndex, endIndex); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XMLStringDefault.java | 627 * @param beginIndex the beginning index, inclusive. 630 * <code>beginIndex</code> is negative or larger than the 633 public XMLString substring(int beginIndex) 635 return new XMLStringDefault(m_str.substring(beginIndex)); 640 * substring begins at the specified <code>beginIndex</code> and 642 * Thus the length of the substring is <code>endIndex-beginIndex</code>. 644 * @param beginIndex the beginning index, inclusive. 648 * <code>beginIndex</code> is negative, or 651 * <code>beginIndex</code> is larger than 654 public XMLString substring(int beginIndex, int endIndex [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
AuthSchemeBase.java | 106 int beginIndex = pos; 111 String s = buffer.substring(beginIndex, endIndex);
|
/external/apache-http/src/org/apache/http/impl/client/ |
AbstractAuthenticationHandler.java | 99 int beginIndex = pos; 104 String s = buffer.substring(beginIndex, endIndex);
|