Home
last modified time | relevance | path

Searched refs:charSequence (Results 1 – 25 of 27) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowFilterTest.java20 protected FilterResults performFiltering(CharSequence charSequence) { in testFilterShouldCallPerformFilteringAndPublishResults()
26 protected void publishResults(CharSequence charSequence, FilterResults filterResults) { in testFilterShouldCallPerformFilteringAndPublishResults()
41 protected FilterResults performFiltering(CharSequence charSequence) { in testFilterShouldCallListenerWithCorrectCount()
49 protected void publishResults(CharSequence charSequence, FilterResults filterResults) { in testFilterShouldCallListenerWithCorrectCount()
69 protected FilterResults performFiltering(CharSequence charSequence) { in testFilter_whenNullResults_ShouldCallListenerWithMinusOne()
74 protected void publishResults(CharSequence charSequence, FilterResults filterResults) {} in testFilter_whenNullResults_ShouldCallListenerWithMinusOne()
91 protected FilterResults performFiltering(CharSequence charSequence) { in testFilter_whenExceptionThrown_ShouldReturn()
96 protected void publishResults(CharSequence charSequence, FilterResults filterResults) {} in testFilter_whenExceptionThrown_ShouldReturn()
/external/guava/android/guava-tests/test/com/google/common/io/
DCharSequenceReaderTest.java182 private static void assertReadsCorrectly(CharSequence charSequence) throws IOException { in assertReadsCorrectly() argument
183 String expected = charSequence.toString(); in assertReadsCorrectly()
186 CharSequenceReader reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
193 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
200 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
211 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
219 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
231 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
237 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
/external/guava/guava-tests/test/com/google/common/io/
DCharSequenceReaderTest.java182 private static void assertReadsCorrectly(CharSequence charSequence) throws IOException { in assertReadsCorrectly() argument
183 String expected = charSequence.toString(); in assertReadsCorrectly()
186 CharSequenceReader reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
193 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
200 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
211 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
219 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
231 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
237 reader = new CharSequenceReader(charSequence); in assertReadsCorrectly()
/external/guava/guava/src/com/google/common/hash/
DAbstractHasher.java46 public Hasher putUnencodedChars(CharSequence charSequence) { in putUnencodedChars() argument
47 for (int i = 0, len = charSequence.length(); i < len; i++) { in putUnencodedChars()
48 putChar(charSequence.charAt(i)); in putUnencodedChars()
54 public Hasher putString(CharSequence charSequence, Charset charset) { in putString() argument
55 return putBytes(charSequence.toString().getBytes(charset)); in putString()
DPrimitiveSink.java101 PrimitiveSink putUnencodedChars(CharSequence charSequence); in putUnencodedChars() argument
111 PrimitiveSink putString(CharSequence charSequence, Charset charset); in putString() argument
DHasher.java108 Hasher putUnencodedChars(CharSequence charSequence); in putUnencodedChars() argument
119 Hasher putString(CharSequence charSequence, Charset charset); in putString() argument
/external/guava/android/guava/src/com/google/common/hash/
DAbstractHasher.java46 public Hasher putUnencodedChars(CharSequence charSequence) { in putUnencodedChars() argument
47 for (int i = 0, len = charSequence.length(); i < len; i++) { in putUnencodedChars()
48 putChar(charSequence.charAt(i)); in putUnencodedChars()
54 public Hasher putString(CharSequence charSequence, Charset charset) { in putString() argument
55 return putBytes(charSequence.toString().getBytes(charset)); in putString()
DPrimitiveSink.java101 PrimitiveSink putUnencodedChars(CharSequence charSequence); in putUnencodedChars() argument
111 PrimitiveSink putString(CharSequence charSequence, Charset charset); in putString() argument
DHasher.java108 Hasher putUnencodedChars(CharSequence charSequence); in putUnencodedChars() argument
119 Hasher putString(CharSequence charSequence, Charset charset); in putString() argument
/external/dagger2/java/dagger/internal/codegen/javac/
DJavacPluginModule.java57 public void printMessage(Diagnostic.Kind kind, CharSequence charSequence) {} in printMessage() argument
60 public void printMessage(Diagnostic.Kind kind, CharSequence charSequence, Element element) {} in printMessage() argument
65 CharSequence charSequence, in printMessage() argument
72 CharSequence charSequence, in printMessage() argument
/external/guava/android/guava/src/com/google/common/io/
DCharSink.java89 public void write(CharSequence charSequence) throws IOException { in write() argument
90 checkNotNull(charSequence); in write()
95 out.append(charSequence); in write()
DCharSource.java410 public static CharSource wrap(CharSequence charSequence) { in wrap() argument
411 return charSequence instanceof String in wrap()
412 ? new StringCharSource((String) charSequence) in wrap()
413 : new CharSequenceCharSource(charSequence); in wrap()
/external/smali/dexlib2/src/main/java/org/jf/util/
DIndentingWriter.java136 public Writer append(CharSequence charSequence) throws IOException { in append() argument
137 write(charSequence.toString()); in append()
142 public Writer append(CharSequence charSequence, int start, int len) throws IOException { in append() argument
143 write(charSequence.subSequence(start, len).toString()); in append()
/external/guava/guava/src/com/google/common/io/
DCharSink.java92 public void write(CharSequence charSequence) throws IOException { in write() argument
93 checkNotNull(charSequence); in write()
98 out.append(charSequence); in write()
DCharSource.java479 public static CharSource wrap(CharSequence charSequence) {
480 return charSequence instanceof String
481 ? new StringCharSource((String) charSequence)
482 : new CharSequenceCharSource(charSequence);
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/util/
DRequestPayloadTest.java27 CharSequence charSequence = new String(); in testCreateTakingCharSequenceAndCallsGetRawPayload() local
29 RequestPayload requestPayload = new RequestPayload(charSequence); in testCreateTakingCharSequenceAndCallsGetRawPayload()
/external/cldr/tools/java/org/unicode/cldr/util/
DStringId.java37 public static long getId(CharSequence charSequence) { in getId() argument
38 String string = charSequence.toString(); in getId()
DWith.java321 for (CharSequence charSequence : sources) { in andCodePoints()
323 .add((Iterator<V>) new ToIterator<>(new CharSequenceSimpleIterator(charSequence))); in andCodePoints()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStaxPluralsLoader.java13 …blic StaxPluralsLoader(PackageResourceTable resourceTable, String attrType, ResType charSequence) { in StaxPluralsLoader() argument
14 super(resourceTable, attrType, charSequence); in StaxPluralsLoader()
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliFlexLexer.java3227 public void reset(CharSequence charSequence, int start, int end, int initialState) { in reset() argument
3229 zzBuffer = new char[charSequence.length()]; in reset()
3230 for (int i=0; i<charSequence.length(); i++) { in reset()
3231 zzBuffer[i] = charSequence.charAt(i); in reset()
/external/javapoet/src/main/java/com/squareup/javapoet/
DJavaFile.java48 @Override public Appendable append(CharSequence charSequence) {
51 @Override public Appendable append(CharSequence charSequence, int start, int end) {
/external/javapoet/src/test/java/com/squareup/javapoet/
DAbstractTypesTest.java240 TypeMirror charSequence = elements.getTypeElement(CharSequence.class.getName()).asType(); in wildcardMirrorExtendsType() local
241 WildcardType wildcard = types.getWildcardType(charSequence, null); in wildcardMirrorExtendsType()
/external/smali/smali/src/main/jflex/
DsmaliLexer.jflex177 public void reset(CharSequence charSequence, int start, int end, int initialState) {
179 zzBuffer = new char[charSequence.length()];
180 for (int i=0; i<charSequence.length(); i++) {
181 zzBuffer[i] = charSequence.charAt(i);
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeTest.java399 …ReferenceTypeImpl charSequence = new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(CharSequ… in charSequenceIsAssignableToObject() local
401 assertEquals(false, charSequence.isAssignableBy(object)); in charSequenceIsAssignableToObject()
402 assertEquals(true, object.isAssignableBy(charSequence)); in charSequenceIsAssignableToObject()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java60 charSequence -> Collections.singletonList(LOCALE_TAG);

12