Home
last modified time | relevance | path

Searched refs:beginIndex (Results 1 – 25 of 54) sorted by relevance

123

/external/apache-http/src/org/apache/http/util/
DCharArrayBuffer.java211 public int indexOf(int ch, int beginIndex, int endIndex) { in indexOf() argument
212 if (beginIndex < 0) { in indexOf()
213 beginIndex = 0; in indexOf()
218 if (beginIndex > endIndex) { in indexOf()
221 for (int i = beginIndex; i < endIndex; i++) { in indexOf()
233 public String substring(int beginIndex, int endIndex) { in substring() argument
234 if (beginIndex < 0) { in substring()
240 if (beginIndex > endIndex) { in substring()
243 return new String(this.buffer, beginIndex, endIndex - beginIndex); in substring()
246 public String substringTrimmed(int beginIndex, int endIndex) { in substringTrimmed() argument
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DLiteralByteString.java83 public ByteString substring(int beginIndex, int endIndex) { in substring() argument
84 if (beginIndex < 0) { in substring()
86 "Beginning index: " + beginIndex + " < 0"); in substring()
92 int substringLength = endIndex - beginIndex; in substring()
95 "Beginning index larger than ending index: " + beginIndex + ", " in substring()
103 result = new BoundedByteString(bytes, getOffsetIntoBytes() + beginIndex, in substring()
DRopeByteString.java309 public ByteString substring(int beginIndex, int endIndex) { in substring() argument
310 if (beginIndex < 0) { in substring()
312 "Beginning index: " + beginIndex + " < 0"); in substring()
318 int substringLength = endIndex - beginIndex; in substring()
321 "Beginning index larger than ending index: " + beginIndex + ", " in substring()
336 result = left.substring(beginIndex, endIndex); in substring()
337 } else if (beginIndex >= leftLength) { in substring()
340 .substring(beginIndex - leftLength, endIndex - leftLength); in substring()
343 ByteString leftSub = left.substring(beginIndex); in substring()
DByteString.java150 public ByteString substring(int beginIndex) { in substring() argument
151 return substring(beginIndex, size()); in substring()
164 public abstract ByteString substring(int beginIndex, int endIndex); in substring() argument
/external/icu/icu4c/source/i18n/
Dufieldpositer.cpp42 int32_t *beginIndex, int32_t *endIndex) in ufieldpositer_next() argument
48 if (beginIndex) { in ufieldpositer_next()
49 *beginIndex = fp.getBeginIndex(); in ufieldpositer_next()
Dscientificnumberformatter.cpp38 int32_t beginIndex, in copyAsSuperscript() argument
45 for (int32_t i = beginIndex; i < endIndex;) { in copyAsSuperscript()
150 int32_t beginIndex = fp.getBeginIndex(); in format() local
152 UChar32 aChar = original.char32At(beginIndex); in format()
157 beginIndex - copyFromOffset); in format()
163 beginIndex - copyFromOffset); in format()
Dunum.cpp208 pos->beginIndex = fp.getBeginIndex(); in unum_formatInt64()
241 pos->beginIndex = fp.getBeginIndex(); in unum_formatDouble()
284 pos->beginIndex = fp.getBeginIndex(); in unum_formatDecimal()
324 pos->beginIndex = fp.getBeginIndex(); in unum_formatDoubleCurrency()
869 pos->beginIndex = fp.getBeginIndex(); in unum_formatUFormattable()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java143 int beginIndex() { in beginIndex() method in SearchIterator.Search
187 if (position < search_.beginIndex() in setIndex()
191 search_.beginIndex() + " and " + search_.endIndex()); in setIndex()
473 int startIdx = search_.beginIndex(); in previous()
518 setIndex(search_.beginIndex()); in reset()
541 int startIdx = search_.beginIndex(); in first()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSearchIterator.java140 int beginIndex() { in beginIndex() method in SearchIterator.Search
182 if (position < search_.beginIndex() in setIndex()
186 search_.beginIndex() + " and " + search_.endIndex()); in setIndex()
457 int startIdx = search_.beginIndex(); in previous()
499 setIndex(search_.beginIndex()); in reset()
521 int startIdx = search_.beginIndex(); in first()
/external/okhttp/okio/okio/src/main/java/okio/
DByteString.java247 public ByteString substring(int beginIndex) { in substring() argument
248 return substring(beginIndex, data.length); in substring()
256 public ByteString substring(int beginIndex, int endIndex) { in substring() argument
257 if (beginIndex < 0) throw new IllegalArgumentException("beginIndex < 0"); in substring()
262 int subLen = endIndex - beginIndex; in substring()
265 if ((beginIndex == 0) && (endIndex == data.length)) { in substring()
270 System.arraycopy(data, beginIndex, copy, 0, subLen); in substring()
DRealBufferedSink.java61 @Override public BufferedSink writeUtf8(String string, int beginIndex, int endIndex) in writeUtf8() argument
64 buffer.writeUtf8(string, beginIndex, endIndex); in writeUtf8()
80 @Override public BufferedSink writeString(String string, int beginIndex, int endIndex, in writeString() argument
83 buffer.writeString(string, beginIndex, endIndex, charset); in writeString()
DSegmentedByteString.java116 @Override public ByteString substring(int beginIndex) { in substring() argument
117 return toByteString().substring(beginIndex); in substring()
120 @Override public ByteString substring(int beginIndex, int endIndex) { in substring() argument
121 return toByteString().substring(beginIndex, endIndex); in substring()
DBufferedSink.java60 BufferedSink writeUtf8(String string, int beginIndex, int endIndex) throws IOException; in writeUtf8() argument
72 BufferedSink writeString(String string, int beginIndex, int endIndex, Charset charset) in writeString() argument
DBuffer.java796 @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);
916 if (endIndex < beginIndex) {
917 throw new IllegalArgumentException("endIndex < beginIndex: " + endIndex + " < " + beginIndex);
925 byte[] data = string.substring(beginIndex, endIndex).getBytes(charset);
/external/apache-http/android/src/android/net/http/
DHeaders.java478 int beginIndex, final String str) { in containsIgnoreCaseTrimmed() argument
481 while (beginIndex < len && HTTP.isWhitespace(chars[beginIndex])) { in containsIgnoreCaseTrimmed()
482 beginIndex++; in containsIgnoreCaseTrimmed()
485 boolean ok = len >= (beginIndex + size); in containsIgnoreCaseTrimmed()
487 char a = chars[beginIndex + j]; in containsIgnoreCaseTrimmed()
505 int beginIndex = 0; in setLowercaseIndexOf() local
509 for (int i = beginIndex; i < endIndex; i++) { in setLowercaseIndexOf()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXMLStringDefault.java633 public XMLString substring(int beginIndex) in substring() argument
635 return new XMLStringDefault(m_str.substring(beginIndex)); in substring()
654 public XMLString substring(int beginIndex, int endIndex) in substring() argument
656 return new XMLStringDefault(m_str.substring(beginIndex, endIndex)); in substring()
DXMLString.java543 public abstract XMLString substring(int beginIndex); in substring() argument
561 public abstract XMLString substring(int beginIndex, int endIndex); in substring() argument
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXStringForFSB.java752 public XMLString substring(int beginIndex) in substring() argument
755 int len = m_length - beginIndex; in substring()
761 int start = m_start + beginIndex; in substring()
783 public XMLString substring(int beginIndex, int endIndex) in substring() argument
786 int len = endIndex - beginIndex; in substring()
795 int start = m_start + beginIndex; in substring()
DXString.java873 public XMLString substring(int beginIndex) in substring() argument
875 return new XString(str().substring(beginIndex)); in substring()
894 public XMLString substring(int beginIndex, int endIndex) in substring() argument
896 return new XString(str().substring(beginIndex, endIndex)); in substring()
/external/apache-http/src/org/apache/http/impl/auth/
DAuthSchemeBase.java106 int beginIndex = pos; in processChallenge() local
111 String s = buffer.substring(beginIndex, endIndex); in processChallenge()
/external/llvm/include/llvm/CodeGen/
DLiveInterval.h357 SlotIndex beginIndex() const { in beginIndex() function
472 return beginIndex() > Start.getBaseIndex() && in isLocal()
548 const SlotIndex &thisIndex = beginIndex();
549 const SlotIndex &otherIndex = other.beginIndex();
729 const SlotIndex &thisIndex = beginIndex();
730 const SlotIndex &otherIndex = other.beginIndex();
/external/apache-http/src/org/apache/http/impl/client/
DAbstractAuthenticationHandler.java99 int beginIndex = pos; in parseChallenges() local
104 String s = buffer.substring(beginIndex, endIndex); in parseChallenges()
/external/icu/icu4c/source/common/unicode/
Dumisc.h42 int32_t beginIndex; member
/external/icu/icu4c/source/i18n/unicode/
Dufieldpositer.h116 int32_t *beginIndex, int32_t *endIndex);
/external/icu/icu4c/source/test/cintltst/
Dcdateintervalformattest.c306 … fpos.beginIndex != expectedPtr->posBegin || fpos.endIndex != expectedPtr->posEnd ) { in TestFPos_SkelWithSeconds()
312 fpos.beginIndex, fpos.endIndex, bbuf); in TestFPos_SkelWithSeconds()

123