Lines Matching refs:int32_t
37 int32_t String::FastIndexOf(int32_t ch, int32_t start) { in FastIndexOf()
38 int32_t count = GetLength(); in FastIndexOf()
68 const int32_t hash_code = ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode()
73 int32_t String::GetUtfLength() { in GetUtfLength()
77 void String::SetCharAt(int32_t index, uint16_t c) { in SetCharAt()
83 int32_t length = string->GetLength(); in AllocFromStrings()
84 int32_t length2 = string2->GetLength(); in AllocFromStrings()
97 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) { in AllocFromUtf16()
117 String* String::AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, const char* utf8_data_in)… in AllocFromModifiedUtf8()
121 String* String::AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, in AllocFromModifiedUtf8()
122 const char* utf8_data_in, int32_t utf8_length) { in AllocFromModifiedUtf8()
147 for (int32_t i = 0; i < that->GetLength(); ++i) { in Equals()
156 bool String::Equals(const uint16_t* that_chars, int32_t that_offset, int32_t that_length) { in Equals()
160 for (int32_t i = 0; i < that_length; ++i) { in Equals()
170 const int32_t length = GetLength(); in Equals()
171 int32_t i = 0; in Equals()
197 const int32_t length = GetLength(); in Equals()
199 for (int32_t i = 0; i < length; ++i) { in Equals()
229 int32_t String::CompareTo(String* rhs) { in CompareTo()
241 int32_t lhsCount = lhs->GetLength(); in CompareTo()
242 int32_t rhsCount = rhs->GetLength(); in CompareTo()
243 int32_t countDiff = lhsCount - rhsCount; in CompareTo()
244 int32_t minCount = (countDiff < 0) ? lhsCount : rhsCount; in CompareTo()
247 int32_t otherRes = MemCmp16(lhsChars, rhsChars, minCount); in CompareTo()
270 void String::GetChars(int32_t start, int32_t end, Handle<CharArray> array, int32_t index) { in GetChars()