Home
last modified time | relevance | path

Searched refs:isUTF8 (Results 1 – 13 of 13) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipEncodingTest.java67 assertTrue(ZipEncodingHelper.isUTF8("UTF-8")); in testIsUTF8()
68 assertTrue(ZipEncodingHelper.isUTF8("UTF8")); in testIsUTF8()
69 …sert.assertEquals(Charset.defaultCharset().name().equals("UTF-8"), ZipEncodingHelper.isUTF8(null)); in testIsUTF8()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipEncodingHelper.java62 boolean useReplacement = isUTF8(cs.name()); in getZipEncoding()
71 static boolean isUTF8(String charsetName) { in isUTF8() method in ZipEncodingHelper
DZipArchiveOutputStream.java353 if (useUTF8Flag && !ZipEncodingHelper.isUTF8(encoding)) { in setEncoding()
377 useUTF8Flag = b && ZipEncodingHelper.isUTF8(encoding); in setUseLanguageEncodingFlag()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResStringPool.java330 final boolean isUTF8 = (mHeader.flags&ResStringPool_header.UTF8_FLAG) != 0; in stringAt()
336 /(isUTF8?1/*sizeof(uint8_t)*/:2/*sizeof(uint16_t)*/); in stringAt()
338 if (!isUTF8) { in stringAt()
551 public boolean isUTF8() { in isUTF8() method in ResStringPool
DResXMLParser.java401 if (mTree.mStrings.isUTF8()) { in indexOfAttribute()
/external/clang/include/clang/Lex/
DLiteralSupport.h179 bool isUTF8() const { return Kind == tok::utf8_char_constant; } in isUTF8() function
244 bool isUTF8() const { return Kind == tok::utf8_string_literal; } in isUTF8() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DJSON.h75 bool isUTF8(llvm::StringRef S, size_t *ErrOffset = nullptr);
302 if (LLVM_UNLIKELY(!isUTF8(V))) { in Value()
314 if (LLVM_UNLIKELY(!isUTF8(V))) { in Value()
491 if (LLVM_UNLIKELY(!isUTF8(*Owned))) {
498 if (LLVM_UNLIKELY(!isUTF8(Data))) {
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DJSONTest.cpp202 EXPECT_TRUE(isUTF8(Valid)) << Valid; in TEST()
214 EXPECT_FALSE(isUTF8(Invalid.first)) << Invalid.first; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DJSON.cpp205 if (isUTF8(StringRef(Start, End - Start), &ErrOffset)) in checkUTF8()
527 bool isUTF8(llvm::StringRef S, size_t *ErrOffset) { in isUTF8() function
/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/
Djdk7-compilation.txt47 613 41 b java.util.zip.ZipCoder::isUTF8 (5 bytes)
/external/clang/include/clang/AST/
DExpr.h1559 bool isUTF8() const { return Kind == UTF8; } in isUTF8() function
/external/clang/lib/Sema/
DSemaExpr.cpp1620 } else if (Literal.isUTF8()) { in ActOnStringLiteral()
3153 else if (Literal.isUTF8()) in ActOnCharacterConstant()
DSemaChecking.cpp5553 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()