/art/runtime/mirror/ |
string.cc | 95 ObjPtr<String> String::DoReplace(Thread* self, Handle<String> src, uint16_t old_c, uint16_t new_c) { 98 ? ContainsElement(ArrayRef<uint8_t>(src->value_compressed_, length), old_c) 99 : ContainsElement(ArrayRef<uint16_t>(src->value_, length), old_c)); 103 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); 112 auto replace = [old_c, new_c](uint16_t c) { 113 return dchecked_integral_cast<uint8_t>((old_c != c) ? c : new_c); 123 auto replace = [old_c, new_c](uint16_t c) { 124 return (old_c != c) ? c : new_c;
|
string.h | 96 // Create a new string where all occurences of `old_c` are replaced with `new_c`. 98 static ObjPtr<String> DoReplace(Thread* self, Handle<String> src, uint16_t old_c, uint16_t new_c)
|
/art/runtime/native/ |
java_lang_String.cc | 105 static jstring String_doReplace(JNIEnv* env, jobject java_this, jchar old_c, jchar new_c) { 109 ObjPtr<mirror::String> result = mirror::String::DoReplace(soa.Self(), string, old_c, new_c);
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | 636 char old_c = NewName.at(pos); local 638 sprintf(new_str, "%d", (int)old_c); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy.cpp | 638 char old_c = NewName.at(pos); local 640 sprintf(new_str, "%d", (int)old_c); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy.cpp | 659 char old_c = NewName.at(pos); local 661 sprintf(new_str, "%d", (int)old_c); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 678 char old_c = NewName.at(pos); local 680 sprintf(new_str, "%d", (int)old_c); [all...] |
/art/runtime/interpreter/ |
unstarted_runtime.cc | 1288 jchar old_c = shadow_frame->GetVReg(arg_offset + 1); local [all...] |