Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring.cc96 ObjPtr<String> String::DoReplace(Thread* self, Handle<String> src, uint16_t old_c, uint16_t new_c) { in DoReplace() argument
99 ? ContainsElement(ArrayRef<uint8_t>(src->value_compressed_, length), old_c) in DoReplace()
100 : ContainsElement(ArrayRef<uint16_t>(src->value_, length), old_c)); in DoReplace()
104 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
113 auto replace = [old_c, new_c](uint16_t c) { in DoReplace()
114 return dchecked_integral_cast<uint8_t>((old_c != c) ? c : new_c); in DoReplace()
124 auto replace = [old_c, new_c](uint16_t c) { in DoReplace()
125 return (old_c != c) ? c : new_c; in DoReplace()
Dstring.h98 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.cc1324 jchar old_c = shadow_frame->GetVReg(arg_offset + 1); in UnstartedStringDoReplace() local
1333 result->SetL(mirror::String::DoReplace(self, string, old_c, new_c)); in UnstartedStringDoReplace()