/external/guava/guava-tests/test/com/google/common/base/ |
D | AsciiTest.java | 42 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 …]
|
D | StandardSystemPropertyTest.java | 31 String expected = Ascii.toLowerCase(fieldName).replaceAll("_", "."); in testGetKeyMatchesString()
|
/external/guava/guava/src/com/google/common/base/ |
D | CaseFormat.java | 42 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()
|
D | Ascii.java | 45 public final class Ascii { class 47 private Ascii() {} in Ascii() method in Ascii
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | AsciiBenchmark.java | 22 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/ |
D | DependencyVariableNamer.java | 18 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()
|
D | ComponentProcessor.java | 20 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/ |
D | DependentProducerModule.java | 18 import com.google.common.base.Ascii; 32 String.valueOf(numGreetings), greeting, Ascii.toUpperCase(greeting)); in greetings()
|
D | DependedProducerModule.java | 18 import com.google.common.base.Ascii;
|
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/ |
D | BaseEncoding.java | 31 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/ |
D | PrimitiveName.java | 18 import com.google.common.base.Ascii; 34 return Ascii.toLowerCase(name()); in toString()
|
D | ClassName.java | 18 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/ |
D | BaseEncoding.java | 35 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]);
|
D | CharSource.java | 22 import com.google.common.base.Ascii; 402 return "CharSource.wrap(" + Ascii.truncate(seq, 30, "...") + ")";
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | BaseEncodingTest.java | 24 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/ |
D | HttpHeadersTest.java | 19 import com.google.common.base.Ascii; 83 part = part.charAt(0) + Ascii.toLowerCase(part.substring(1)); in upperToHttpHeaderName()
|
D | InternetDomainNameTest.java | 21 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/ |
D | BaseEncodingTest.java | 23 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/ |
D | InternetDomainName.java | 25 import com.google.common.base.Ascii; 143 name = Ascii.toLowerCase(DOTS_MATCHER.replaceFrom(name, '.')); in InternetDomainName()
|
D | MediaType.java | 28 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/ |
D | Ascii.java | 23 public final class Ascii { class
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
D | CacheBuilder.java | 24 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/ |
D | CacheBuilder.java | 26 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/ |
D | MapMaker.java | 24 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/ |
D | InternetDomainNameTest.java | 20 import com.google.common.base.Ascii; 356 String expectedName = Ascii.toLowerCase(inputName); in testToString()
|