Home
last modified time | relevance | path

Searched refs:IsASCII (Results 1 – 6 of 6) sorted by relevance

/art/runtime/mirror/
Dstring-inl.h98 if (!IsASCII(chars[i])) { in AllASCII()
Dstring.cc59 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()
Dstring.h276 static constexpr bool IsASCII(uint16_t c) { in IsASCII() function
Dstring-alloc-inl.h276 if (!IsASCII((src[i] & 0xff) + ((src[i + 1] & 0xff) << 8))) { in AllocFromUtf16ByteArray()
/art/runtime/
Dstring_builder_append.cc364 mirror::String::IsASCII(reinterpret_cast<const uint16_t*>(current_arg)[0]); in CalculateLengthWithFlag()
/art/runtime/jni/
Djni_internal.cc175 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()