Home
last modified time | relevance | path

Searched refs:UPPER_UNDERSCORE (Results 1 – 16 of 16) sorted by relevance

/external/guava/guava-tests/test/com/google/common/base/
DCaseFormatTest.java23 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/
DCaseFormatTest.java23 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/
DComponentCreatorKind.java20 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE;
35 return UPPER_UNDERSCORE.to(UPPER_CAMEL, name()); in typeName()
DFrameworkType.java20 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/
DRequestKind.java20 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/
DCaseFormat.java44 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/
DCaseFormat.java44 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/
DConvertIcuDataTask.java61 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/
DOptionalFactories.java20 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()))
DComponentImplementation.java21 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/
DProcessingEnvironmentCompilerOptions.java20 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/
DBreakIteratorMapperTest.java32 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString()
DRbnfMapperTest.java46 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString()
/external/icu/tools/cldr/cldr-to-icu/
DREADME.txt75 Note: Output types can be listed with mixedCase, lower_underscore or UPPER_UNDERSCORE.
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DGeneratedMonitorTest.java96 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/
DGeneratedMonitorTest.java99 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString()
159 return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()); in toString()