/external/icu/icu4c/source/common/unicode/ |
umisc.h | 42 int32_t 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...] |
/libcore/ojluni/src/main/java/java/text/ |
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 +
|
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...] |
/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/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();
|
/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/ |
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)
|
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...] |
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);
|
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/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...] |
XMLString.java | 537 * @param beginIndex the beginning index, inclusive. 540 * <code>beginIndex</code> is negative or larger than the 543 public abstract XMLString substring(int beginIndex); 547 * substring begins at the specified <code>beginIndex</code> and 549 * Thus the length of the substring is <code>endIndex-beginIndex</code>. 551 * @param beginIndex the beginning index, inclusive. 555 * <code>beginIndex</code> is negative, or 558 * <code>beginIndex</code> is larger than 561 public abstract XMLString substring(int beginIndex, int endIndex);
|
/external/apache-http/src/org/apache/http/impl/auth/ |
AuthSchemeBase.java | 106 int beginIndex = pos; 111 String s = buffer.substring(beginIndex, endIndex);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
SearchIterator.java | 140 int beginIndex() { 182 if (position < search_.beginIndex() 186 search_.beginIndex() + " and " + search_.endIndex()); 457 int startIdx = search_.beginIndex(); 499 setIndex(search_.beginIndex()); 521 int startIdx = search_.beginIndex();
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
SearchIterator.java | 143 int beginIndex() { 187 if (position < search_.beginIndex() 191 search_.beginIndex() + " and " + search_.endIndex()); 473 int startIdx = search_.beginIndex(); 518 setIndex(search_.beginIndex()); 541 int startIdx = search_.beginIndex();
|
/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...] |
/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/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...] |
XString.java | 867 * @param beginIndex the beginning index, inclusive. 870 * <code>beginIndex</code> is negative or larger than the 873 public XMLString substring(int beginIndex) 875 return new XString(str().substring(beginIndex)); 880 * substring begins at the specified <code>beginIndex</code> and 882 * Thus the length of the substring is <code>endIndex-beginIndex</code>. 884 * @param beginIndex the beginning index, inclusive. 888 * <code>beginIndex</code> is negative, or 891 * <code>beginIndex</code> is larger than 894 public XMLString substring(int beginIndex, int endIndex [all...] |
/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/apache-http/src/org/apache/http/impl/client/ |
AbstractAuthenticationHandler.java | 99 int beginIndex = pos; 104 String s = buffer.substring(beginIndex, endIndex);
|