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

1 2 3 4 5 6 7 8 9

  /external/icu/icu4c/source/common/unicode/
umisc.h 44 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;
174 return beginIndex;
194 beginIndex = bi;
234 return (beginIndex == other.beginIndex
244 return (field << 24) | (beginIndex << 16) | endIndex;
254 ",beginIndex=" + beginIndex +
AttributedString.java 195 * @param beginIndex Index of the first character of the range.
200 * beginIndex and endIndex is out of the text range.
204 int beginIndex,
206 this(text, beginIndex, endIndex, null);
220 * @param beginIndex Index of the first character of the range.
228 * beginIndex and endIndex is out of the text range.
232 int beginIndex,
242 if (beginIndex < textBeginIndex || endIndex > textEndIndex || beginIndex > endIndex)
247 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 44 int32_t *beginIndex, int32_t *endIndex)
50 if (beginIndex) {
51 *beginIndex = fp.getBeginIndex();
scientificnumberformatter.cpp 40 int32_t beginIndex,
47 for (int32_t i = beginIndex; i < endIndex;) {
152 int32_t beginIndex = fp.getBeginIndex();
154 UChar32 aChar = original.char32At(beginIndex);
159 beginIndex - copyFromOffset);
165 beginIndex - copyFromOffset);
  /external/icu/icu4c/source/i18n/unicode/
ufieldpositer.h 94 * @param beginIndex
105 * values pointed to by beginIndex and endIndex are undefined.
117 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/protobuf/java/core/src/main/java/com/google/protobuf/
NioByteString.java 95 public ByteString substring(int beginIndex, int endIndex) {
97 ByteBuffer slice = slice(beginIndex, endIndex);
275 * @param beginIndex the beginning index of the slice (inclusive).
279 private ByteBuffer slice(int beginIndex, int endIndex) {
280 if (beginIndex < buffer.position() || endIndex > buffer.limit() || beginIndex > endIndex) {
282 String.format("Invalid indices [%d, %d]", beginIndex, endIndex));
286 slice.position(beginIndex - buffer.position());
  /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 142 int beginIndex() {
184 if (position < search_.beginIndex()
188 search_.beginIndex() + " and " + search_.endIndex());
459 int startIdx = search_.beginIndex();
501 setIndex(search_.beginIndex());
523 int startIdx = search_.beginIndex();
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
SearchIterator.java 145 int beginIndex() {
189 if (position < search_.beginIndex()
193 search_.beginIndex() + " and " + search_.endIndex());
475 int startIdx = search_.beginIndex();
520 setIndex(search_.beginIndex());
543 int startIdx = search_.beginIndex();
  /libcore/ojluni/src/main/java/java/lang/
String.java 685 * specified {@code beginIndex} and extends to the
688 * {@code endIndex-beginIndex}. Unpaired surrogates within
691 * @param beginIndex the index to the first {@code char} of
698 * {@code beginIndex} is negative, or {@code endIndex}
700 * {@code beginIndex} is larger than {@code endIndex}.
703 public int codePointCount(int beginIndex, int endIndex) {
704 if (beginIndex < 0 || endIndex > length() || beginIndex > endIndex) {
708 return Character.codePointCount(this, beginIndex, endIndex);
    [all...]
  /tools/apksig/src/main/java/com/android/apksig/internal/util/
ChainedDataSource.java 105 int beginIndex = firstSource.getFirst();
107 DataSource beginSource = mSources[beginIndex];
122 for (int i = beginIndex + 1; i < endIndex - 1; i++) {
  /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++) {
  /libcore/ojluni/src/main/java/java/nio/file/
Path.java 194 * <p> The {@code beginIndex} and {@code endIndex} parameters specify the
199 * that begin at {@code beginIndex} and extend to the element at index {@code
202 * @param beginIndex
211 * if {@code beginIndex} is negative, or greater than or equal to
213 * equal to {@code beginIndex}, or larger than the number of elements.
215 Path subpath(int beginIndex, int endIndex);
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
AbstractAuthenticationHandler.java 99 int beginIndex = pos;
104 String s = buffer.substring(beginIndex, endIndex);

Completed in 1358 milliseconds

1 2 3 4 5 6 7 8 9