Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring.cc80 ObjPtr<String> String::DoReplace(Thread* self, Handle<String> src, uint16_t old_c, uint16_t new_c) { in DoReplace() argument
83 ? ContainsElement(ArrayRef<uint8_t>(src->value_compressed_, length), old_c) in DoReplace()
84 : ContainsElement(ArrayRef<uint16_t>(src->value_, length), old_c)); in DoReplace()
88 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
97 auto replace = [old_c, new_c](uint16_t c) { in DoReplace()
98 return dchecked_integral_cast<uint8_t>((old_c != c) ? c : new_c); in DoReplace()
108 auto replace = [old_c, new_c](uint16_t c) { in DoReplace()
109 return (old_c != c) ? c : new_c; in DoReplace()
Dstring.h112 static ObjPtr<String> DoReplace(Thread* self, Handle<String> src, uint16_t old_c, uint16_t new_c)
/art/runtime/native/
Djava_lang_String.cc98 static jstring String_doReplace(JNIEnv* env, jobject java_this, jchar old_c, jchar new_c) { in String_doReplace() argument
102 ObjPtr<mirror::String> result = mirror::String::DoReplace(soa.Self(), string, old_c, new_c); in String_doReplace()
/art/runtime/interpreter/
Dunstarted_runtime.cc1338 jchar old_c = shadow_frame->GetVReg(arg_offset + 1); in UnstartedStringDoReplace() local
1347 result->SetL(mirror::String::DoReplace(self, string, old_c, new_c)); in UnstartedStringDoReplace()