Home
last modified time | relevance | path

Searched refs:isWellFormed (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava/src/com/google/common/base/
DUtf8.java111 public static boolean isWellFormed(byte[] bytes) { in isWellFormed() method in Utf8
112 return isWellFormed(bytes, 0, bytes.length); in isWellFormed()
124 public static boolean isWellFormed(byte[] bytes, int off, int len) { in isWellFormed() method in Utf8
/external/guava/guava-tests/test/com/google/common/base/
DUtf8Test.java241 assertTrue(Utf8.isWellFormed(toByteArray(bytes))); in assertWellFormed()
245 assertFalse(Utf8.isWellFormed(toByteArray(bytes))); in assertNotWellFormed()
310 boolean isRoundTrippable = Utf8.isWellFormed(bytes); in testBytes()
311 assertEquals(isRoundTrippable, Utf8.isWellFormed(bytes, 0, numBytes)); in testBytes()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DKeyTypeData.java42 …abstract boolean isWellFormed(String value); // doesn't test validity, just whether it is well for… in isWellFormed() method in KeyTypeData.SpecialTypeHandler
51 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.CodepointsTypeHandler
59 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.ReorderCodeTypeHandler
67 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.RgKeyValueTypeHandler
75 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.SubdivisionKeyValueTypeHandler
83 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.PrivateUseKeyValueTypeHandler
168 if (st.handler.isWellFormed(type)) { in toBcpType()
205 if (st.handler.isWellFormed(type)) { in toLegacyType()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DKeyTypeData.java37 …abstract boolean isWellFormed(String value); // doesn't test validity, just whether it is well for… in isWellFormed() method in KeyTypeData.SpecialTypeHandler
46 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.CodepointsTypeHandler
54 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.ReorderCodeTypeHandler
62 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.RgKeyValueTypeHandler
70 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.SubdivisionKeyValueTypeHandler
78 boolean isWellFormed(String value) { in isWellFormed() method in KeyTypeData.PrivateUseKeyValueTypeHandler
163 if (st.handler.isWellFormed(type)) { in toBcpType()
200 if (st.handler.isWellFormed(type)) { in toLegacyType()
/external/guava/guava-tests/benchmark/com/google/common/base/
DUtf8Benchmark.java125 @Benchmark void isWellFormed(int reps) { in isWellFormed() method in Utf8Benchmark
128 if (!Utf8.isWellFormed(byteArray)) { in isWellFormed()
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DUtf8Test.java185 assertTrue(Utf8.isWellFormed(toByteArray(bytes))); in assertWellFormed()
189 assertFalse(Utf8.isWellFormed(toByteArray(bytes))); in assertNotWellFormed()
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp155 static UBool isWellFormed(const UnicodeString &s) { in isWellFormed() function
162 if(!isWellFormed(m)) { in setOneWayMapping()
184 if(!isWellFormed(m)) { in setRoundTripMapping()
/external/cldr/tools/java/org/unicode/cldr/util/
DStandardCodes.java1062 boolean isWellFormed(String candidate) {
DPathHeader.java1929 if (StandardCodes.LstrType.subdivision.isWellFormed(input)) {
/external/icu/icu4j/
Dcoverage-exclusion.txt270 com/ibm/icu/impl/locale/KeyTypeData$PrivateUseKeyValueTypeHandler#isWellFormed:(Ljava/lang/String;)Z