/external/guava/guava-tests/test/com/google/common/base/ |
D | CaseFormatTest.java | 23 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 79 assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo")); in testLowerHyphenToUpperUnderscore() 80 assertEquals("FOO_BAR", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo-bar")); in testLowerHyphenToUpperUnderscore() 104 assertEquals("FOO", LOWER_UNDERSCORE.to(UPPER_UNDERSCORE, "foo")); in testLowerUnderscoreToUpperUnderscore() 105 assertEquals("FOO_BAR", LOWER_UNDERSCORE.to(UPPER_UNDERSCORE, "foo_bar")); in testLowerUnderscoreToUpperUnderscore() 132 assertEquals("FOO", LOWER_CAMEL.to(UPPER_UNDERSCORE, "foo")); in testLowerCamelToUpperUnderscore() 133 assertEquals("FOO_BAR", LOWER_CAMEL.to(UPPER_UNDERSCORE, "fooBar")); in testLowerCamelToUpperUnderscore() 158 assertEquals("FOO", UPPER_CAMEL.to(UPPER_UNDERSCORE, "Foo")); in testUpperCamelToUpperUnderscore() 159 assertEquals("FOO_BAR", UPPER_CAMEL.to(UPPER_UNDERSCORE, "FooBar")); in testUpperCamelToUpperUnderscore() 160 assertEquals("H_T_T_P", UPPER_CAMEL.to(UPPER_UNDERSCORE, "HTTP")); in testUpperCamelToUpperUnderscore() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | CaseFormatTest.java | 23 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 79 assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo")); in testLowerHyphenToUpperUnderscore() 80 assertEquals("FOO_BAR", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo-bar")); in testLowerHyphenToUpperUnderscore() 104 assertEquals("FOO", LOWER_UNDERSCORE.to(UPPER_UNDERSCORE, "foo")); in testLowerUnderscoreToUpperUnderscore() 105 assertEquals("FOO_BAR", LOWER_UNDERSCORE.to(UPPER_UNDERSCORE, "foo_bar")); in testLowerUnderscoreToUpperUnderscore() 132 assertEquals("FOO", LOWER_CAMEL.to(UPPER_UNDERSCORE, "foo")); in testLowerCamelToUpperUnderscore() 133 assertEquals("FOO_BAR", LOWER_CAMEL.to(UPPER_UNDERSCORE, "fooBar")); in testLowerCamelToUpperUnderscore() 158 assertEquals("FOO", UPPER_CAMEL.to(UPPER_UNDERSCORE, "Foo")); in testUpperCamelToUpperUnderscore() 159 assertEquals("FOO_BAR", UPPER_CAMEL.to(UPPER_UNDERSCORE, "FooBar")); in testUpperCamelToUpperUnderscore() 160 assertEquals("H_T_T_P", UPPER_CAMEL.to(UPPER_UNDERSCORE, "HTTP")); in testUpperCamelToUpperUnderscore() [all …]
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | ComponentCreatorKind.java | 20 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 35 return UPPER_UNDERSCORE.to(UPPER_CAMEL, name()); in typeName()
|
D | FrameworkType.java | 20 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 221 return UPPER_UNDERSCORE.to(UPPER_CAMEL, super.toString()); in toString()
|
/external/dagger2/java/dagger/model/ |
D | RequestKind.java | 20 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 82 return String.format("%s<%s>", UPPER_UNDERSCORE.to(UPPER_CAMEL, name()), key); in format()
|
/external/guava/android/guava/src/com/google/common/base/ |
D | CaseFormat.java | 44 if (format == UPPER_UNDERSCORE) { in convert() 63 if (format == UPPER_UNDERSCORE) { in convert() 92 UPPER_UNDERSCORE(CharMatcher.is('_'), "_") { enumConstant
|
/external/guava/guava/src/com/google/common/base/ |
D | CaseFormat.java | 44 if (format == UPPER_UNDERSCORE) { in convert() 63 if (format == UPPER_UNDERSCORE) { in convert() 92 UPPER_UNDERSCORE(CharMatcher.is('_'), "_") { enumConstant
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/ |
D | ConvertIcuDataTask.java | 61 private static final CharMatcher UPPER_UNDERSCORE = inRange('A', 'Z').or(DIGIT_OR_UNDERSCORE); field in ConvertIcuDataTask 63 private static final CharMatcher VALID_ENUM_CHAR = LOWER_UNDERSCORE.or(UPPER_UNDERSCORE); 384 if (UPPER_UNDERSCORE.matchesAllOf(name)) { in resolve() 385 format = CaseFormat.UPPER_UNDERSCORE; in resolve() 396 return Enum.valueOf(enumClass, format.to(CaseFormat.UPPER_UNDERSCORE, name)); in resolve()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | OptionalFactories.java | 20 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 138 "absent%sProvider", UPPER_UNDERSCORE.to(UPPER_CAMEL, optionalKind.name()))) in absentOptionalProviderMethod() 259 .append(UPPER_UNDERSCORE.to(UPPER_CAMEL, optionalKind().name())) 260 .append(UPPER_UNDERSCORE.to(UPPER_CAMEL, valueKind().toString()))
|
D | ComponentImplementation.java | 21 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 366 : UPPER_UNDERSCORE.to(UPPER_CAMEL, request.kindName())); in uniqueMethodName()
|
/external/dagger2/java/dagger/internal/codegen/compileroption/ |
D | ProcessingEnvironmentCompilerOptions.java | 20 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 398 return "dagger." + UPPER_UNDERSCORE.to(LOWER_CAMEL, option.name()); in optionName()
|
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
D | BreakIteratorMapperTest.java | 32 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString()
|
D | RbnfMapperTest.java | 46 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString()
|
/external/icu/tools/cldr/cldr-to-icu/ |
D | README.txt | 75 Note: Output types can be listed with mixedCase, lower_underscore or UPPER_UNDERSCORE.
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | GeneratedMonitorTest.java | 96 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString() 156 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | GeneratedMonitorTest.java | 99 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString() 159 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString()
|