Lines Matching refs:uint16_t
44 const uint16_t* chars = GetValue(); in FastIndexOf()
45 const uint16_t* p = chars + start; in FastIndexOf()
46 const uint16_t* end = chars + count; in FastIndexOf()
77 void String::SetCharAt(int32_t index, uint16_t c) { in SetCharAt()
91 uint16_t* new_value = new_string->GetValue(); in AllocFromStrings()
92 memcpy(new_value, string->GetValue(), length * sizeof(uint16_t)); in AllocFromStrings()
93 memcpy(new_value + length, string2->GetValue(), length2 * sizeof(uint16_t)); in AllocFromStrings()
97 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) { in AllocFromUtf16()
105 uint16_t* array = string->GetValue(); in AllocFromUtf16()
106 memcpy(array, utf16_data_in, utf16_length * sizeof(uint16_t)); in AllocFromUtf16()
129 uint16_t* utf16_data_out = string->GetValue(); in AllocFromModifiedUtf8()
156 bool String::Equals(const uint16_t* that_chars, int32_t that_offset, int32_t that_length) { in Equals()
182 const uint16_t trailing = GetTrailingUtf16Char(ch); in Equals()
206 const uint16_t trailing = GetTrailingUtf16Char(ch); in Equals()
222 const uint16_t* chars = GetValue(); in ToModifiedUtf8()
245 const uint16_t* lhsChars = lhs->GetValue(); in CompareTo()
246 const uint16_t* rhsChars = rhs->GetValue(); in CompareTo()
263 memcpy(result->GetData(), string->GetValue(), string->GetLength() * sizeof(uint16_t)); in ToCharArray()
271 uint16_t* data = array->GetData() + index; in GetChars()
272 uint16_t* value = GetValue() + start; in GetChars()
273 memcpy(data, value, (end - start) * sizeof(uint16_t)); in GetChars()