Searched refs:isUTF8 (Results 1 – 13 of 13) sorted by relevance
67 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()
62 boolean useReplacement = isUTF8(cs.name()); in getZipEncoding()71 static boolean isUTF8(String charsetName) { in isUTF8() method in ZipEncodingHelper
353 if (useUTF8Flag && !ZipEncodingHelper.isUTF8(encoding)) { in setEncoding()377 useUTF8Flag = b && ZipEncodingHelper.isUTF8(encoding); in setUseLanguageEncodingFlag()
330 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
401 if (mTree.mStrings.isUTF8()) { in indexOfAttribute()
179 bool isUTF8() const { return Kind == tok::utf8_char_constant; } in isUTF8() function244 bool isUTF8() const { return Kind == tok::utf8_string_literal; } in isUTF8() function
75 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))) {
202 EXPECT_TRUE(isUTF8(Valid)) << Valid; in TEST()214 EXPECT_FALSE(isUTF8(Invalid.first)) << Invalid.first; in TEST()
205 if (isUTF8(StringRef(Start, End - Start), &ErrOffset)) in checkUTF8()527 bool isUTF8(llvm::StringRef S, size_t *ErrOffset) { in isUTF8() function
47 613 41 b java.util.zip.ZipCoder::isUTF8 (5 bytes)
1559 bool isUTF8() const { return Kind == UTF8; } in isUTF8() function
1620 } else if (Literal.isUTF8()) { in ActOnStringLiteral()3153 else if (Literal.isUTF8()) in ActOnCharacterConstant()
5553 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()