Searched refs:LOWER_UNDERSCORE (Results 1 – 6 of 6) sorted by relevance
/external/guava/guava-tests/test/com/google/common/base/ |
D | CaseFormatTest.java | 21 import static com.google.common.base.CaseFormat.LOWER_UNDERSCORE; 64 assertEquals("foo", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo")); in testLowerHyphenToLowerUnderscore() 65 assertEquals("foo_bar", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar")); in testLowerHyphenToLowerUnderscore() 84 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo")); in testLowerUnderscoreToLowerHyphen() 85 assertEquals("foo-bar", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo_bar")); in testLowerUnderscoreToLowerHyphen() 89 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_UNDERSCORE, "foo")); in testLowerUnderscoreToLowerUnderscore() 90 assertEquals("foo_bar", LOWER_UNDERSCORE.to(LOWER_UNDERSCORE, "foo_bar")); in testLowerUnderscoreToLowerUnderscore() 94 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_CAMEL, "foo")); in testLowerUnderscoreToLowerCamel() 95 assertEquals("fooBar", LOWER_UNDERSCORE.to(LOWER_CAMEL, "foo_bar")); in testLowerUnderscoreToLowerCamel() 99 assertEquals("Foo", LOWER_UNDERSCORE.to(UPPER_CAMEL, "foo")); in testLowerUnderscoreToUpperCamel() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | CaseFormatTest.java | 21 import static com.google.common.base.CaseFormat.LOWER_UNDERSCORE; 64 assertEquals("foo", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo")); in testLowerHyphenToLowerUnderscore() 65 assertEquals("foo_bar", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar")); in testLowerHyphenToLowerUnderscore() 84 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo")); in testLowerUnderscoreToLowerHyphen() 85 assertEquals("foo-bar", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo_bar")); in testLowerUnderscoreToLowerHyphen() 89 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_UNDERSCORE, "foo")); in testLowerUnderscoreToLowerUnderscore() 90 assertEquals("foo_bar", LOWER_UNDERSCORE.to(LOWER_UNDERSCORE, "foo_bar")); in testLowerUnderscoreToLowerUnderscore() 94 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_CAMEL, "foo")); in testLowerUnderscoreToLowerCamel() 95 assertEquals("fooBar", LOWER_UNDERSCORE.to(LOWER_CAMEL, "foo_bar")); in testLowerUnderscoreToLowerCamel() 99 assertEquals("Foo", LOWER_UNDERSCORE.to(UPPER_CAMEL, "foo")); in testLowerUnderscoreToUpperCamel() [all …]
|
/external/guava/android/guava/src/com/google/common/base/ |
D | CaseFormat.java | 41 if (format == LOWER_UNDERSCORE) { in convert() 52 LOWER_UNDERSCORE(CharMatcher.is('_'), "_") { enumConstant 103 if (format == LOWER_UNDERSCORE) { in convert()
|
/external/guava/guava/src/com/google/common/base/ |
D | CaseFormat.java | 41 if (format == LOWER_UNDERSCORE) { in convert() 52 LOWER_UNDERSCORE(CharMatcher.is('_'), "_") { enumConstant 103 if (format == LOWER_UNDERSCORE) { in convert()
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/ |
D | ConvertIcuDataTask.java | 62 private static final CharMatcher LOWER_UNDERSCORE = inRange('a', 'z').or(DIGIT_OR_UNDERSCORE); field in ConvertIcuDataTask 63 private static final CharMatcher VALID_ENUM_CHAR = LOWER_UNDERSCORE.or(UPPER_UNDERSCORE); 386 } else if (LOWER_UNDERSCORE.matchesAllOf(name)) { in resolve() 387 format = CaseFormat.LOWER_UNDERSCORE; in resolve()
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskUtil.java | 159 paths.add(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, path)); in toJsonString() 175 builder.addPaths(CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, path)); in fromJsonString()
|