Lines Matching refs:h_this
115 ObjPtr<String> String::DoConcat(Thread* self, Handle<String> h_this, Handle<String> h_arg) { in DoConcat() argument
116 int32_t length_this = h_this->GetLength(); in DoConcat()
120 kUseStringCompression && (h_this->IsCompressed() && h_arg->IsCompressed()); in DoConcat()
129 memcpy(new_value, h_this->GetValueCompressed(), length_this * sizeof(uint8_t)); in DoConcat()
133 if (h_this->IsCompressed()) { in DoConcat()
134 const uint8_t* value_this = h_this->GetValueCompressed(); in DoConcat()
139 memcpy(new_value, h_this->GetValue(), length_this * sizeof(uint16_t)); in DoConcat()
322 ObjPtr<CharArray> String::ToCharArray(Handle<String> h_this, Thread* self) { in ToCharArray() argument
323 ObjPtr<CharArray> result = CharArray::Alloc(self, h_this->GetLength()); in ToCharArray()
325 if (h_this->IsCompressed()) { in ToCharArray()
326 int32_t length = h_this->GetLength(); in ToCharArray()
327 const uint8_t* src = h_this->GetValueCompressed(); in ToCharArray()
333 memcpy(result->GetData(), h_this->GetValue(), h_this->GetLength() * sizeof(uint16_t)); in ToCharArray()