Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring.cc95 ObjPtr<String> String::DoReplace(Thread* self, Handle<String> src, uint16_t old_c, uint16_t new_c) { in DoReplace() argument
98 ? ContainsElement(ArrayRef<uint8_t>(src->value_compressed_, length), old_c) in DoReplace()
99 : ContainsElement(ArrayRef<uint16_t>(src->value_, length), old_c)); in DoReplace()
103 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
112 auto replace = [old_c, new_c](uint16_t c) { in DoReplace()
113 return dchecked_integral_cast<uint8_t>((old_c != c) ? c : new_c); in DoReplace()
123 auto replace = [old_c, new_c](uint16_t c) { in DoReplace()
124 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.cc105 static jstring String_doReplace(JNIEnv* env, jobject java_this, jchar old_c, jchar new_c) { in String_doReplace() argument
109 ObjPtr<mirror::String> result = mirror::String::DoReplace(soa.Self(), string, old_c, new_c); in String_doReplace()
/art/runtime/interpreter/
Dunstarted_runtime.cc1288 jchar old_c = shadow_frame->GetVReg(arg_offset + 1); in UnstartedStringDoReplace() local
1297 result->SetL(mirror::String::DoReplace(self, string, old_c, new_c)); in UnstartedStringDoReplace()