Searched refs:beginIndex (Results 1 - 25 of 41) sorted by relevance

12

/external/icu/icu4c/source/common/unicode/
H A Dumisc.h42 int32_t beginIndex; member in struct:UFieldPosition
/external/apache-http/src/org/apache/http/util/
H A DCharArrayBuffer.java211 public int indexOf(int ch, int beginIndex, int endIndex) { argument
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) { argument
234 if (beginIndex < 0) {
240 if (beginIndex > endIndex) {
243 return new String(this.buffer, beginIndex, endIndex - beginIndex);
246 substringTrimmed(int beginIndex, int endIndex) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dufieldpositer.cpp42 int32_t *beginIndex, int32_t *endIndex)
48 if (beginIndex) {
49 *beginIndex = fp.getBeginIndex();
41 ufieldpositer_next(UFieldPositionIterator *fpositer, int32_t *beginIndex, int32_t *endIndex) argument
H A Dscientificnumberformatter.cpp38 int32_t beginIndex,
45 for (int32_t i = beginIndex; i < endIndex;) {
150 int32_t beginIndex = fp.getBeginIndex(); local
152 UChar32 aChar = original.char32At(beginIndex);
157 beginIndex - copyFromOffset);
163 beginIndex - copyFromOffset);
36 copyAsSuperscript( const UnicodeString &s, int32_t beginIndex, int32_t endIndex, UnicodeString &result, UErrorCode &status) argument
H A Dudateintervalformat.cpp98 position->beginIndex = fp.getBeginIndex();
H A Dunum.cpp198 pos->beginIndex = fp.getBeginIndex();
231 pos->beginIndex = fp.getBeginIndex();
274 pos->beginIndex = fp.getBeginIndex();
314 pos->beginIndex = fp.getBeginIndex();
859 pos->beginIndex = fp.getBeginIndex();
/external/icu/icu4c/source/i18n/unicode/
H A Dufieldpositer.h93 * @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/
H A DBufferedSink.java57 * 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; argument
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) argument
H A DByteString.java243 * index until the end of this string. Returns this byte string if {@code beginIndex} is 0.
245 public ByteString substring(int beginIndex) { argument
246 return substring(beginIndex, data.length);
251 * {@code beginIndex} and ends at the specified {@code endIndex}. Returns this byte string if
252 * {@code beginIndex} is 0 and {@code endIndex} is the length of this byte string.
254 public ByteString substring(int beginIndex, int endIndex) { argument
255 if (beginIndex < 0) throw new IllegalArgumentException("beginIndex < 0");
260 int subLen = endIndex - beginIndex;
261 if (subLen < 0) throw new IllegalArgumentException("endIndex < beginIndex");
[all...]
H A DRealBufferedSink.java61 @Override public BufferedSink writeUtf8(String string, int beginIndex, int endIndex) argument
64 buffer.writeUtf8(string, beginIndex, endIndex);
80 @Override public BufferedSink writeString(String string, int beginIndex, int endIndex, argument
83 buffer.writeString(string, beginIndex, endIndex, charset);
H A DSegmentedByteString.java116 @Override public ByteString substring(int beginIndex) { argument
117 return toByteString().substring(beginIndex);
120 @Override public ByteString substring(int beginIndex, int endIndex) { argument
121 return toByteString().substring(beginIndex, endIndex);
H A DBuffer.java796 @Override public Buffer writeUtf8(String string, int beginIndex, int endIndex) { argument
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) { argument
915 if (beginIndex <
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXMLStringDefault.java627 * @param beginIndex the beginning index, inclusive.
630 * <code>beginIndex</code> is negative or larger than the
633 public XMLString substring(int beginIndex) argument
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, in argument
[all...]
H A DXMLString.java537 * @param beginIndex the beginning index, inclusive.
540 * <code>beginIndex</code> is negative or larger than the
543 public abstract XMLString substring(int beginIndex); argument
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); argument
/external/apache-http/src/org/apache/http/impl/auth/
H A DAuthSchemeBase.java106 int beginIndex = pos;
111 String s = buffer.substring(beginIndex, endIndex);
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DSearchIterator.java143 int beginIndex() { method in class:SearchIterator.Search
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();
H A DStringSearch.java399 if (isOutOfBounds(search_.beginIndex(), search_.endIndex(), result)) {
534 if (search_.matchedIndex_ == search_.beginIndex()) {
1002 || startIdx < search_.beginIndex()
1005 search_.beginIndex() + " and " + search_.endIndex());
1218 || startIdx < search_.beginIndex()
1221 search_.beginIndex() + " and " + search_.endIndex());
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DLiteralByteString.java83 public ByteString substring(int beginIndex, int endIndex) { argument
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,
H A DRopeByteString.java304 * @param beginIndex start at this index
309 public ByteString substring(int beginIndex, int endIndex) { argument
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...]
H A DByteString.java142 * Return the substring from {@code beginIndex}, inclusive, to the end of the
145 * @param beginIndex start at this index
147 * @throws IndexOutOfBoundsException if {@code beginIndex < 0} or
148 * {@code beginIndex > size()}.
150 public ByteString substring(int beginIndex) { argument
151 return substring(beginIndex, size());
155 * Return the substring from {@code beginIndex}, inclusive, to {@code
158 * @param beginIndex start at this index
161 * @throws IndexOutOfBoundsException if {@code beginIndex < 0},
162 * {@code endIndex > size()}, or {@code beginIndex > endInde
164 substring(int beginIndex, int endIndex) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXStringForFSB.java746 * @param beginIndex the beginning index, inclusive.
749 * <code>beginIndex</code> is negative or larger than the
752 public XMLString substring(int beginIndex) argument
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</cod
783 substring(int beginIndex, int endIndex) argument
[all...]
H A DXString.java867 * @param beginIndex the beginning index, inclusive.
870 * <code>beginIndex</code> is negative or larger than the
873 public XMLString substring(int beginIndex) argument
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, in argument
[all...]
/external/apache-http/android/src/android/net/http/
H A DHeaders.java474 * @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++) {
477 containsIgnoreCaseTrimmed(CharArrayBuffer buffer, int beginIndex, final String str) argument
/external/apache-http/src/org/apache/http/impl/client/
H A DAbstractAuthenticationHandler.java99 int beginIndex = pos;
104 String s = buffer.substring(beginIndex, endIndex);
/external/llvm/include/llvm/CodeGen/
H A DLiveInterval.h355 /// beginIndex - Return the lowest numbered slot covered.
356 SlotIndex beginIndex() const {
357 assert(!empty() && "Call to beginIndex() on empty range.");
471 return beginIndex() > Start.getBaseIndex() &&
547 const SlotIndex &thisIndex = beginIndex();
548 const SlotIndex &otherIndex = other.beginIndex();
726 const SlotIndex &thisIndex = beginIndex();
727 const SlotIndex &otherIndex = other.beginIndex();

Completed in 578 milliseconds

12