Home
last modified time | relevance | path

Searched refs:Ascii (Results 1 – 25 of 50) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/base/
DAsciiTest.java42 assertEquals(LOWER, Ascii.toLowerCase(UPPER)); in testToLowerCase()
43 assertSame(LOWER, Ascii.toLowerCase(LOWER)); in testToLowerCase()
44 assertEquals(IGNORED, Ascii.toLowerCase(IGNORED)); in testToLowerCase()
45 assertEquals("foobar", Ascii.toLowerCase("fOobaR")); in testToLowerCase()
49 assertEquals(UPPER, Ascii.toUpperCase(LOWER)); in testToUpperCase()
50 assertSame(UPPER, Ascii.toUpperCase(UPPER)); in testToUpperCase()
51 assertEquals(IGNORED, Ascii.toUpperCase(IGNORED)); in testToUpperCase()
52 assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr")); in testToUpperCase()
58 assertTrue(str, c == Ascii.toLowerCase(c)); in testCharsIgnored()
59 assertTrue(str, c == Ascii.toUpperCase(c)); in testCharsIgnored()
[all …]
DStandardSystemPropertyTest.java31 String expected = Ascii.toLowerCase(fieldName).replaceAll("_", "."); in testGetKeyMatchesString()
/external/guava/guava/src/com/google/common/base/
DCaseFormat.java42 return Ascii.toLowerCase(word); in normalizeWord()
49 return Ascii.toUpperCase(s.replace('-', '_')); in convert()
60 return Ascii.toLowerCase(word); in normalizeWord()
67 return Ascii.toUpperCase(s); in convert()
96 return Ascii.toUpperCase(word); in normalizeWord()
100 return Ascii.toLowerCase(s.replace('_', '-')); in convert()
103 return Ascii.toLowerCase(s); in convert()
206 return (this == LOWER_CAMEL) ? Ascii.toLowerCase(word) : normalizeWord(word); in normalizeFirstWord()
213 .append(Ascii.toUpperCase(word.charAt(0))) in firstCharOnlyToUpper()
214 .append(Ascii.toLowerCase(word.substring(1))) in firstCharOnlyToUpper()
DAscii.java45 public final class Ascii { class
47 private Ascii() {} in Ascii() method in Ascii
/external/guava/guava-tests/benchmark/com/google/common/base/
DAsciiBenchmark.java22 import com.google.common.base.Ascii;
77 ? Ascii.toUpperCase(testString) in asciiStringToUpperCase()
82 dummy += Ascii.toUpperCase(string).length(); in asciiStringToUpperCase()
121 dummy ^= Ascii.equalsIgnoreCase(lhs[i & 0x3], rhs[i & 0x3]); in equalsIgnoreCaseCharSequence()
133 dummy ^= Ascii.equalsIgnoreCase(lhs, rhs); in equalsIgnoreCaseStringOnly()
157 dummy ^= Ascii.isUpperCase(chars[n]); in isUpperCase()
167 builder.append(Ascii.toUpperCase(chars.charAt(i))); in charSequenceToUpperCase()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DDependencyVariableNamer.java18 import com.google.common.base.Ascii;
45 ? Ascii.toLowerCase(variableName.charAt(4)) + variableName.substring(5) in apply()
57 ? Ascii.toLowerCase(variableName.charAt(8)) + variableName.substring(9) in apply()
DComponentProcessor.java20 import com.google.common.base.Ascii;
279 Ascii.toUpperCase(options.get(key))); in valueOf()
/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/
DDependentProducerModule.java18 import com.google.common.base.Ascii;
32 String.valueOf(numGreetings), greeting, Ascii.toUpperCase(greeting)); in greetings()
DDependedProducerModule.java18 import com.google.common.base.Ascii;
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/
DBaseEncoding.java31 import com.google.common.base.Ascii;
419 byte[] decodabet = new byte[Ascii.MAX + 1]; in Alphabet()
445 if (ch > Ascii.MAX || decodabet[ch] == -1) { in decode()
453 if (Ascii.isLowerCase(c)) { in hasLowerCase()
462 if (Ascii.isUpperCase(c)) { in hasUpperCase()
476 upperCased[i] = Ascii.toUpperCase(chars[i]); in upperCase()
489 lowerCased[i] = Ascii.toLowerCase(chars[i]); in lowerCase()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DPrimitiveName.java18 import com.google.common.base.Ascii;
34 return Ascii.toLowerCase(name()); in toString()
DClassName.java18 import com.google.common.base.Ascii;
207 if (Ascii.isLowerCase(firstChar)) { in bestGuessFromString()
212 } else if (Ascii.isUpperCase(firstChar)) { in bestGuessFromString()
/external/guava/guava/src/com/google/common/io/
DBaseEncoding.java35 import com.google.common.base.Ascii;
476 byte[] decodabet = new byte[Ascii.MAX + 1];
502 if (ch > Ascii.MAX || decodabet[ch] == -1) {
510 if (Ascii.isLowerCase(c)) {
519 if (Ascii.isUpperCase(c)) {
533 upperCased[i] = Ascii.toUpperCase(chars[i]);
546 lowerCased[i] = Ascii.toLowerCase(chars[i]);
DCharSource.java22 import com.google.common.base.Ascii;
402 return "CharSource.wrap(" + Ascii.truncate(seq, 30, "...") + ")";
/external/guava/guava-tests/test/com/google/common/io/
DBaseEncodingTest.java24 import com.google.common.base.Ascii;
312 testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); in testEncodingWithCasing()
313 testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded)); in testEncodingWithCasing()
375 testStreamingEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); in testStreamingEncodingWithCasing()
376 testStreamingEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded)); in testStreamingEncodingWithCasing()
/external/guava/guava-tests/test/com/google/common/net/
DHttpHeadersTest.java19 import com.google.common.base.Ascii;
83 part = part.charAt(0) + Ascii.toLowerCase(part.substring(1)); in upperToHttpHeaderName()
DInternetDomainNameTest.java21 import com.google.common.base.Ascii;
358 String expectedName = Ascii.toLowerCase(inputName); in testToString()
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/
DBaseEncodingTest.java23 import com.google.common.base.Ascii;
246 testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); in testEncodingWithCasing()
247 testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded)); in testEncodingWithCasing()
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java25 import com.google.common.base.Ascii;
143 name = Ascii.toLowerCase(DOTS_MATCHER.replaceFrom(name, '.')); in InternetDomainName()
DMediaType.java28 import com.google.common.base.Ascii;
86 ImmutableListMultimap.of(CHARSET_ATTRIBUTE, Ascii.toLowerCase(UTF_8.name()));
583 return Ascii.toLowerCase(token);
587 return CHARSET_ATTRIBUTE.equals(attribute) ? Ascii.toLowerCase(value) : value;
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DAscii.java23 public final class Ascii { class
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java24 import com.google.common.base.Ascii;
609 s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString())); in toString()
612 s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString())); in toString()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java26 import com.google.common.base.Ascii;
854 s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString())); in toString()
857 s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString())); in toString()
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java24 import com.google.common.base.Ascii;
613 s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString())); in toString()
616 s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString())); in toString()
/external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/
DInternetDomainNameTest.java20 import com.google.common.base.Ascii;
356 String expectedName = Ascii.toLowerCase(inputName); in testToString()

12