Searched refs:IsASCII (Results 1 – 6 of 6) sorted by relevance
98 if (!IsASCII(chars[i])) { in AllASCII()
59 DCHECK(!IsASCII(non_ascii)); in AllASCIIExcept()61 if (!IsASCII(chars[i]) && chars[i] != non_ascii) { in AllASCIIExcept()75 IsASCII(new_c) && in DoReplace()76 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
276 static constexpr bool IsASCII(uint16_t c) { in IsASCII() function
276 if (!IsASCII((src[i] & 0xff) + ((src[i + 1] & 0xff) << 8))) { in AllocFromUtf16ByteArray()
364 mirror::String::IsASCII(reinterpret_cast<const uint16_t*>(current_arg)[0]); in CalculateLengthWithFlag()
175 DCHECK(mirror::String::IsASCII(c)); in operator ()()2007 DCHECK(mirror::String::IsASCII(*ptr)); in NewStringUTF()2011 if (!mirror::String::IsASCII(DecodeModifiedUtf8Character(ptr, length))) { in NewStringUTF()2024 static_assert(mirror::String::IsASCII(kBadUtf8ReplacementChar)); // Compressible. in NewStringUTF()