Searched refs:IsOneByteRepresentation (Results 1 – 14 of 14) sorted by relevance
93 if (string->IsOneByteRepresentation() && !force_two_byte) { in Externalize()137 Utils::OpenHandle(*args[0].As<v8::String>())->IsOneByteRepresentation(); in IsOneByte()
573 DCHECK(!answer->IsOneByteRepresentation()); in RUNTIME_FUNCTION()649 bool is_one_byte = separator->IsOneByteRepresentation(); in RUNTIME_FUNCTION()660 if (is_one_byte && !string->IsOneByteRepresentation()) { in RUNTIME_FUNCTION()763 if (s->IsFlat() && s->IsOneByteRepresentation()) { in RUNTIME_FUNCTION()1052 if (s->IsOneByteRepresentation()) { in ConvertCase()1063 if (s->IsOneByteRepresentation() && length > 0) { in ConvertCase()
560 if (subject->IsOneByteRepresentation()) { in StringReplaceGlobalRegExpWithEmptyString()
199 is_one_byte_(subject->IsOneByteRepresentation()) { in ReplacementStringBuilder()236 if (!string->IsOneByteRepresentation()) { in AddString()
190 Append(str->IsOneByteRepresentation() ? 'a' : '2'); in AppendDetailed()
533 bool left_is_one_byte = left->IsOneByteRepresentation(); in NewConsString()534 bool right_is_one_byte = right->IsOneByteRepresentation(); in NewConsString()623 if (str->IsOneByteRepresentation()) { in NewProperSubString()649 Handle<Map> map = str->IsOneByteRepresentation() in NewProperSubString()
232 String::cast(this)->IsOneByteRepresentation(); in IsSeqOneByteString()249 String::cast(this)->IsOneByteRepresentation(); in IsExternalOneByteString()353 bool String::IsOneByteRepresentation() const { in IsOneByteRepresentation() function376 return GetUnderlying()->IsOneByteRepresentation(); in IsOneByteRepresentationUnderneath()400 IsOneByteRepresentation(); in HasOnlyOneByteChars()3604 return this->IsOneByteRepresentation() in Set()5888 if (src_str->IsOneByteRepresentation()) { in HasValidSource()
2278 DCHECK(source->IsOneByteRepresentation()); in CompileExtension()
1939 if (cons->IsOneByteRepresentation()) { in SlowFlatten()1980 bool is_one_byte = this->IsOneByteRepresentation(); in MakeExternal()17023 bool one_byte = result->IsOneByteRepresentation(); in LookupString()
8879 inline bool IsOneByteRepresentation() const;
5393 str->IsOneByteRepresentation() ? ONE_BYTE_ENCODING : TWO_BYTE_ENCODING; in VerifyExternalStringResourceBase()
243 bool is_one_byte = subject_ptr->IsOneByteRepresentation(); in Match()
102 return str->IsOneByteRepresentation(); in IsOneByte()
15502 if (string->IsOneByteRepresentation()) { in MorphAString()19212 CHECK(string->IsOneByteRepresentation()); in THREADED_TEST()19216 CHECK(string->IsOneByteRepresentation()); in THREADED_TEST()19217 CHECK(flat_string->IsOneByteRepresentation()); in THREADED_TEST()19237 CHECK(string->IsOneByteRepresentation()); in THREADED_TEST()