Lines Matching refs:int32_t

41 int32_t String::FastIndexOf(int32_t ch, int32_t start) {  in FastIndexOf()
42 int32_t count = GetLength(); in FastIndexOf()
68 int32_t hash_code = 0; in ComputeHashCode()
78 int32_t String::GetUtfLength() { in GetUtfLength()
86 inline bool String::AllASCIIExcept(const uint16_t* chars, int32_t length, uint16_t non_ascii) { in AllASCIIExcept()
88 for (int32_t i = 0; i < length; ++i) { in AllASCIIExcept()
97 int32_t length = src->GetLength(); in DoReplace()
106 const int32_t length_with_flag = String::GetFlaggedCount(length, compressible); in DoReplace()
139 int32_t length = string->GetLength(); in AllocFromStrings()
140 int32_t length2 = string2->GetLength(); in AllocFromStrings()
144 const int32_t length_with_flag = String::GetFlaggedCount(length + length2, compressible); in AllocFromStrings()
175 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) { in AllocFromUtf16()
180 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromUtf16()
205 int32_t utf16_length, in AllocFromModifiedUtf8()
211 int32_t utf16_length, in AllocFromModifiedUtf8()
213 int32_t utf8_length) { in AllocFromModifiedUtf8()
216 const int32_t utf16_length_with_flag = String::GetFlaggedCount(utf16_length, compressible); in AllocFromModifiedUtf8()
244 for (int32_t i = 0; i < that->GetLength(); ++i) { in Equals()
253 bool String::Equals(const uint16_t* that_chars, int32_t that_offset, int32_t that_length) { in Equals()
257 for (int32_t i = 0; i < that_length; ++i) { in Equals()
267 const int32_t length = GetLength(); in Equals()
268 int32_t i = 0; in Equals()
294 const int32_t length = GetLength(); in Equals()
296 for (int32_t i = 0; i < length; ++i) { in Equals()
332 int32_t String::CompareTo(ObjPtr<String> rhs) { in CompareTo()
338 int32_t lhs_count = lhs->GetLength(); in CompareTo()
339 int32_t rhs_count = rhs->GetLength(); in CompareTo()
340 int32_t count_diff = lhs_count - rhs_count; in CompareTo()
341 int32_t min_count = (count_diff < 0) ? lhs_count : rhs_count; in CompareTo()
345 for (int32_t i = 0; i < min_count; ++i) { in CompareTo()
346 int32_t char_diff = static_cast<int32_t>(lhs_chars[i]) - static_cast<int32_t>(rhs_chars[i]); in CompareTo()
355 for (int32_t i = 0; i < min_count; ++i) { in CompareTo()
356 int32_t char_diff = in CompareTo()
357 static_cast<int32_t>(compressed_chars[i]) - static_cast<int32_t>(uncompressed_chars[i]); in CompareTo()
367 int32_t char_diff = MemCmp16(lhs_chars, rhs_chars, min_count); in CompareTo()
385 int32_t length = string->GetLength(); in ToCharArray()
398 void String::GetChars(int32_t start, int32_t end, Handle<CharArray> array, int32_t index) { in GetChars()