Searched refs:new_string (Results 1 – 2 of 2) sorted by relevance
133 ObjPtr<String> new_string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in AllocFromStrings() local134 if (UNLIKELY(new_string == nullptr)) { in AllocFromStrings()138 uint8_t* new_value = new_string->GetValueCompressed(); in AllocFromStrings()142 uint16_t* new_value = new_string->GetValue(); in AllocFromStrings()158 return new_string; in AllocFromStrings()
1354 ObjPtr<mirror::String> new_string = mirror::String::AllocFromModifiedUtf8(self, str.c_str()); in CreateString() local1355 if (new_string == nullptr) { in CreateString()1362 *new_string_id = gRegistry->Add(new_string); in CreateString()