Home
last modified time | relevance | path

Searched refs:subSequence (Results 1 – 25 of 115) sorted by relevance

12345

/external/cldr/tools/java/org/unicode/cldr/util/
DCharUtilities.java31 return new CharSourceWrapper<CharSequence>(source.subSequence(start, end)); in sublist()
35 return new CharSourceWrapper<CharSequence>(source.subSequence(start, source.length())); in sublist()
42 public CharSequence subSequence(int start, int end) { in subSequence() method in CharUtilities.CharSourceWrapper
43 return source.subSequence(start, end); in subSequence()
52 return source.subSequence(toSourceOffset(start), toSourceOffset(end)); in sourceSubSequence()
DRegexUtilities.java11 boolean matches = m.reset(s.subSequence(0, i)).matches(); in findMismatch()
26 String show = s.subSequence(0, failPoint) + "☹" + s.subSequence(failPoint, s.length()); in showMismatch()
DDictionary.java430 + text.subSequence(0, text.getKnownLength()) in toString()
545 public CharSequence subSequence(int start, int end) { in subSequence() method in Dictionary.DictionaryCharList
549 return buffer.subSequence(start, end); in subSequence()
554 return source.subSequence(toSourceOffset(start), toSourceOffset(end)); in sourceSubSequence()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DFilteredNormalizer2.java133 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized()
157 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
183 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes()
245 … dest.append(norm2.normalize(src.subSequence(prevSpanLimit, spanLimit), tempDest)); in normalize()
272 CharSequence prefix=second.subSequence(0, prefixLimit); in normalizeSecondAndAppend()
282 first.subSequence(suffixStart, first.length())); in normalizeSecondAndAppend()
292 CharSequence rest=second.subSequence(prefixLimit, second.length()); in normalizeSecondAndAppend()
DUnicodeSetSpanner.java307 result.append(sequence.subSequence(endModify, endCopy)); in replaceFrom()
421 … return endLeadContained == 0 && startTrailContained == length ? sequence : sequence.subSequence( in trim()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DFilteredNormalizer2.java124 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized()
147 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
172 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes()
231 … dest.append(norm2.normalize(src.subSequence(prevSpanLimit, spanLimit), tempDest)); in normalize()
258 CharSequence prefix=second.subSequence(0, prefixLimit); in normalizeSecondAndAppend()
268 first.subSequence(suffixStart, first.length())); in normalizeSecondAndAppend()
278 CharSequence rest=second.subSequence(prefixLimit, second.length()); in normalizeSecondAndAppend()
DUnicodeSetSpanner.java276 result.append(sequence.subSequence(endModify, endCopy)); in replaceFrom()
376 … return endLeadContained == 0 && startTrailContained == length ? sequence : sequence.subSequence( in trim()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DNumberPicker.java321 CharSequence filtered = String.valueOf(source.subSequence(start, end)); in filter()
323 String.valueOf(dest.subSequence(0, dstart)) + filtered in filter()
324 + dest.subSequence(dend, dest.length()); in filter()
355 filtered = source.subSequence(start, end); in filter()
359 String.valueOf(dest.subSequence(0, dstart)) + filtered in filter()
360 + dest.subSequence(dend, dest.length()); in filter()
/external/cldr/tools/java/org/unicode/cldr/draft/
DRegexTransformState.java42 processedAlready.append(toBeProcessed.subSequence(0, 1)); in RegexTransformState()
106 … toBeProcessed.insert(0, processedAlready.subSequence(newCursor, processedAlready.length())); in match()
109 processedAlready.append(toBeProcessed.subSequence(0, delta)); in match()
DCodePoints.java72 … return buffer.subSequence(0, position) + "|||" + buffer.subSequence(position, buffer.length()); in toString()
/external/guava/guava/src/com/google/thirdparty/publicsuffix/
DTrieParser.java45 encoded.subSequence(idx, encodedLen), in parseTrie()
77 stack.add(0, reverse(encoded.subSequence(0, idx))); in doParseTrieToBuilder()
94 idx += doParseTrieToBuilder(stack, encoded.subSequence(idx, encodedLen), builder); in doParseTrieToBuilder()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/
DBaseStringReference.java60 …@Override public CharSequence subSequence(int start, int end) { return getString().subSequence(sta… in subSequence() method in BaseStringReference
DBaseTypeReference.java64 …@Override public CharSequence subSequence(int start, int end) { return getType().subSequence(start… in subSequence() method in BaseTypeReference
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DStringEscapeUtils.java273 final CharSequence subSeq = input.subSequence(index, index + i); in translate()
418 final CharSequence unicode = input.subSequence(index + i, index + i + 4); in translate()
428 …ArgumentException("Less than 4 hex digits in unicode value: '" + input.subSequence(index, input.le… in translate()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DConstantMultiFieldModifier.java119 temp.subSequence(0, prefixLength), in toString()
120 temp.subSequence(prefixLength, temp.length())); in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DConstantMultiFieldModifier.java117 temp.subSequence(0, prefixLength), in toString()
118 temp.subSequence(prefixLength, temp.length())); in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberFormatter.java180 return string.subSequence(0, prefixLength).toString(); in getAffixImpl()
182 return string.subSequence(prefixLength, string.length()).toString(); in getAffixImpl()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DLocalizedNumberFormatter.java176 return string.subSequence(0, prefixLength).toString(); in getAffixImpl()
178 return string.subSequence(prefixLength, string.length()).toString(); in getAffixImpl()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringSegment.java83 public CharSequence subSequence(int start, int end) { in subSequence() method in StringSegment
84 return str.subSequence(start + this.start, end + this.start); in subSequence()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DStringSegment.java85 public CharSequence subSequence(int start, int end) { in subSequence() method in StringSegment
86 return str.subSequence(start + this.start, end + this.start); in subSequence()
/external/replicaisland/src/com/replica/replicaisland/
DConversationDialogActivity.java129 currentPage.text = spannedText.subSequence(lastPageStart, currentOffset); in formatPages()
134 newPage.text = spannedText.subSequence(lastPageStart, currentOffset); in formatPages()
278 CharSequence subtext = mText.subSequence(0, mCurrentCharacter); in onDraw()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
DHtmlStripFunction.java175 appendNumberedEntity(out, entityName.subSequence(1, entityName.length())); in appendDecodedEntityReference()
201 c = (char) Integer.parseInt(entity.subSequence(1, entity.length()).toString(), 16); in appendNumberedEntity()
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/
DCloudTraceFormat.java117 TraceId traceId = TraceId.fromLowerBase16(headerStr.subSequence(0, TRACE_ID_SIZE)); in extract()
120 headerStr.subSequence( in extract()
/external/guava/guava/src/com/google/common/base/
DStrings.java201 return a.subSequence(0, p).toString(); in commonPrefix()
226 return a.subSequence(a.length() - s, a.length()).toString(); in commonSuffix()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DErrorMessages.java429 result.append(type.subSequence(index, matcher.start(1))); in stripCommonTypePrefixes()
432 result.append(type.subSequence(index, type.length())); in stripCommonTypePrefixes()

12345