Searched refs:new_string (Results 1 – 2 of 2) sorted by relevance
49 static size_t RemainingSpace(ObjPtr<mirror::String> new_string, const uint8_t* data) in RemainingSpace() argument51 DCHECK(new_string->IsCompressed()); in RemainingSpace()52 DCHECK_GE(new_string->GetLength(), data - new_string->GetValueCompressed()); in RemainingSpace()53 return new_string->GetLength() - (data - new_string->GetValueCompressed()); in RemainingSpace()56 static size_t RemainingSpace(ObjPtr<mirror::String> new_string, const uint16_t* data) in RemainingSpace() argument58 DCHECK(!new_string->IsCompressed()); in RemainingSpace()59 DCHECK_GE(new_string->GetLength(), data - new_string->GetValue()); in RemainingSpace()60 return new_string->GetLength() - (data - new_string->GetValue()); in RemainingSpace()64 static CharType* AppendLiteral(ObjPtr<mirror::String> new_string,69 static CharType* AppendString(ObjPtr<mirror::String> new_string,[all …]
87 ObjPtr<String> new_string = obj->AsString(); in DoReplace() local92 uint8_t* out = new_string->value_compressed_; in DoReplace()103 uint16_t* out = new_string->value_; in DoReplace()126 ObjPtr<String> new_string = obj->AsString(); in DoConcat() local128 uint8_t* new_value = new_string->GetValueCompressed(); in DoConcat()132 uint16_t* new_value = new_string->GetValue(); in DoConcat()166 ObjPtr<String> new_string = obj->AsString(); in AllocFromUtf16() local168 uint8_t* value = new_string->GetValueCompressed(); in AllocFromUtf16()173 memcpy(new_string->GetValue(), utf16_data_in, utf16_length * sizeof(uint16_t)); in AllocFromUtf16()203 ObjPtr<String> new_string = obj->AsString(); in AllocFromModifiedUtf8() local[all …]