Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/hash/
DAbstractHasher.java39 @Override public Hasher putUnencodedChars(CharSequence charSequence) { in putUnencodedChars() argument
40 for (int i = 0, len = charSequence.length(); i < len; i++) { in putUnencodedChars()
41 putChar(charSequence.charAt(i)); in putUnencodedChars()
46 @Override public Hasher putString(CharSequence charSequence, Charset charset) { in putString() argument
47 return putBytes(charSequence.toString().getBytes(charset)); in putString()
DPrimitiveSink.java98 PrimitiveSink putUnencodedChars(CharSequence charSequence); in putUnencodedChars() argument
103 PrimitiveSink putString(CharSequence charSequence, Charset charset); in putString() argument
DHasher.java83 @Override Hasher putUnencodedChars(CharSequence charSequence); in putUnencodedChars() argument
88 @Override Hasher putString(CharSequence charSequence, Charset charset); in putString() argument
DAbstractStreamingHashFunction.java179 public final Hasher putUnencodedChars(CharSequence charSequence) { in putUnencodedChars() argument
180 for (int i = 0; i < charSequence.length(); i++) { in putUnencodedChars()
181 putChar(charSequence.charAt(i)); in putUnencodedChars()
/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPasswordTransformationMethod.java16 public CharSequence getTransformation(CharSequence charSequence, View view) { in getTransformation() argument
17 if(isEmpty(charSequence)) { in getTransformation()
20 … return String.format(String.format("%%0%dd", charSequence.length()), 0).replace("0", "\u2022"); in getTransformation()
32 … public void onFocusChanged(View view, CharSequence charSequence, boolean b, int i, Rect rect) { } in onFocusChanged() argument
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
DTextViewHasTextMatcher.java22 final CharSequence charSequence = actual.getText(); in matchesSafely() local
23 if (charSequence == null || charSequence.toString() == null) { in matchesSafely()
26 actualText = charSequence.toString(); in matchesSafely()
DViewHasTextMatcher.java36 final CharSequence charSequence = shadowOf(actual).innerText(); in matchesSafely() local
37 if (charSequence == null || charSequence.toString() == null) { in matchesSafely()
40 actualText = charSequence.toString(); in matchesSafely()
/external/guava/guava/src/com/google/common/io/
DCharSink.java90 public void write(CharSequence charSequence) throws IOException { in write() argument
91 checkNotNull(charSequence); in write()
96 out.append(charSequence); in write()
DCharSource.java312 public static CharSource wrap(CharSequence charSequence) { in wrap() argument
313 return new CharSequenceCharSource(charSequence); in wrap()
/external/smali/util/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/smali/smali/src/main/java/org/jf/smali/
DsmaliFlexLexer.java3103 public void reset(CharSequence charSequence, int start, int end, int initialState) { in reset() argument
3105 zzBuffer = new char[charSequence.length()]; in reset()
3106 for (int i=0; i<charSequence.length(); i++) { in reset()
3107 zzBuffer[i] = charSequence.charAt(i); in reset()
/external/smali/smali/src/main/jflex/
DsmaliLexer.jflex176 public void reset(CharSequence charSequence, int start, int end, int initialState) {
178 zzBuffer = new char[charSequence.length()];
179 for (int i=0; i<charSequence.length(); i++) {
180 zzBuffer[i] = charSequence.charAt(i);
/external/guava/guava-testlib/test/com/google/common/testing/
DNullPointerTesterTest.java846 String string, CharSequence charSequence, in checkDefaultValuesForTheseTypes() argument
864 string, charSequence, in checkDefaultValuesForTheseTypes()