Searched refs:new_string (Results 1 – 2 of 2) sorted by relevance
51 static size_t RemainingSpace(ObjPtr<mirror::String> new_string, const uint8_t* data) in RemainingSpace() argument53 DCHECK(new_string->IsCompressed()); in RemainingSpace()54 DCHECK_GE(new_string->GetLength(), data - new_string->GetValueCompressed()); in RemainingSpace()55 return new_string->GetLength() - (data - new_string->GetValueCompressed()); in RemainingSpace()58 static size_t RemainingSpace(ObjPtr<mirror::String> new_string, const uint16_t* data) in RemainingSpace() argument60 DCHECK(!new_string->IsCompressed()); in RemainingSpace()61 DCHECK_GE(new_string->GetLength(), data - new_string->GetValue()); in RemainingSpace()62 return new_string->GetLength() - (data - new_string->GetValue()); in RemainingSpace()66 CharType* AppendFpArg(ObjPtr<mirror::String> new_string,71 static CharType* AppendLiteral(ObjPtr<mirror::String> new_string,[all …]
95 ObjPtr<String> new_string = obj->AsString(); in DoReplace() local100 uint8_t* out = new_string->value_compressed_; in DoReplace()111 uint16_t* out = new_string->value_; in DoReplace()134 ObjPtr<String> new_string = obj->AsString(); in DoConcat() local136 uint8_t* new_value = new_string->GetValueCompressed(); in DoConcat()140 uint16_t* new_value = new_string->GetValue(); in DoConcat()163 static void RepeatCharacters(ObjPtr<String> new_string, Handle<String> h_this, int32_t count) in RepeatCharacters() argument167 new_value = new_string->GetValueCompressed(); in RepeatCharacters()170 new_value = new_string->GetValue(); in RepeatCharacters()199 ObjPtr<String> new_string = obj->AsString(); in DoRepeat() local[all …]