Searched refs:old_c (Results 1 – 4 of 4) sorted by relevance
/art/runtime/mirror/ |
D | string.cc | 72 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()
|
D | string.h | 118 static ObjPtr<String> DoReplace(Thread* self, Handle<String> src, uint16_t old_c, uint16_t new_c)
|
/art/runtime/native/ |
D | java_lang_String.cc | 97 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/ |
D | unstarted_runtime.cc | 1316 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()
|