Searched refs:validSurrogatePairAt (Results 1 – 8 of 8) sorted by relevance
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | StringsTest.java | 208 assertTrue(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 0)); in testValidSurrogatePairAt() 209 assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCAB", 3)); in testValidSurrogatePairAt() 210 assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCABxyz", 3)); in testValidSurrogatePairAt() 211 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uD8AB", 0)); in testValidSurrogatePairAt() 212 assertFalse(Strings.validSurrogatePairAt("\uDCAB\uDCAB", 0)); in testValidSurrogatePairAt() 213 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", -1)); in testValidSurrogatePairAt() 214 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 1)); in testValidSurrogatePairAt() 215 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", -2)); in testValidSurrogatePairAt() 216 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 2)); in testValidSurrogatePairAt() 217 assertFalse(Strings.validSurrogatePairAt("x\uDCAB", 0)); in testValidSurrogatePairAt() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | StringsTest.java | 210 assertTrue(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 0)); in testValidSurrogatePairAt() 211 assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCAB", 3)); in testValidSurrogatePairAt() 212 assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCABxyz", 3)); in testValidSurrogatePairAt() 213 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uD8AB", 0)); in testValidSurrogatePairAt() 214 assertFalse(Strings.validSurrogatePairAt("\uDCAB\uDCAB", 0)); in testValidSurrogatePairAt() 215 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", -1)); in testValidSurrogatePairAt() 216 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 1)); in testValidSurrogatePairAt() 217 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", -2)); in testValidSurrogatePairAt() 218 assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 2)); in testValidSurrogatePairAt() 219 assertFalse(Strings.validSurrogatePairAt("x\uDCAB", 0)); in testValidSurrogatePairAt() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Strings.java | 198 if (validSurrogatePairAt(a, p - 1) || validSurrogatePairAt(b, p - 1)) { in commonPrefix() 222 if (validSurrogatePairAt(a, a.length() - s - 1) in commonSuffix() 223 || validSurrogatePairAt(b, b.length() - s - 1)) { in commonSuffix() 234 static boolean validSurrogatePairAt(CharSequence string, int index) { in validSurrogatePairAt() method in Strings
|
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/guice/lib/ |
D | guava-16.0.1.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/external/dagger2/lib/ |
D | google-java-format-0.1-20151017.042846-2.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/robolectric/v3/runtime/ |
D | android-all-4.4_r1-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |