Home
last modified time | relevance | path

Searched refs:old_c (Results 1 – 4 of 4) sorted by relevance

/art/runtime/mirror/
Dstring.cc72 ObjPtr<String> String::DoReplace(Thread* self, Handle<String> src, uint16_t old_c, uint16_t new_c) { in DoReplace() argument
75 ? ContainsElement(ArrayRef<uint8_t>(src->value_compressed_, length), old_c) in DoReplace()
76 : ContainsElement(ArrayRef<uint16_t>(src->value_, length), old_c)); in DoReplace()
80 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
89 auto replace = [old_c, new_c](uint16_t c) { in DoReplace()
90 return dchecked_integral_cast<uint8_t>((old_c != c) ? c : new_c); in DoReplace()
100 auto replace = [old_c, new_c](uint16_t c) { in DoReplace()
101 return (old_c != c) ? c : new_c; in DoReplace()
Dstring.h118 static ObjPtr<String> DoReplace(Thread* self, Handle<String> src, uint16_t old_c, uint16_t new_c)
/art/runtime/native/
Djava_lang_String.cc97 static jstring String_doReplace(JNIEnv* env, jobject java_this, jchar old_c, jchar new_c) { in String_doReplace() argument
101 ObjPtr<mirror::String> result = mirror::String::DoReplace(soa.Self(), string, old_c, new_c); in String_doReplace()
/art/runtime/interpreter/
Dunstarted_runtime.cc1316 jchar old_c = shadow_frame->GetVReg(arg_offset + 1); in UnstartedStringDoReplace() local
1325 result->SetL(mirror::String::DoReplace(self, string, old_c, new_c)); in UnstartedStringDoReplace()