Searched refs:IsOneByteRepresentation (Results 1 – 20 of 20) sorted by relevance
96 if (string->IsOneByteRepresentation() && !force_two_byte) { in Externalize()132 Utils::OpenHandle(*args[0].As<v8::String>())->IsOneByteRepresentation(); in IsOneByte()
172 is_one_byte_(subject->IsOneByteRepresentation()) { in ReplacementStringBuilder()186 if (!string->IsOneByteRepresentation()) { in AddString()
179 os << (str->IsOneByteRepresentation() ? 'a' : '2'); in AppendSymbolNameDetails()
284 if (str->IsOneByteRepresentation()) return str->length(); in GetScriptNameLength()
254 String::cast(this)->IsOneByteRepresentation(); in IsSeqOneByteString()271 String::cast(this)->IsOneByteRepresentation(); in IsExternalOneByteString()
2576 if (cons->IsOneByteRepresentation()) { in SlowFlatten()2621 bool is_one_byte = this->IsOneByteRepresentation(); in MakeExternal()17120 bool one_byte = internalized->IsOneByteRepresentation(); in MakeStringThin()17158 bool one_byte = result->IsOneByteRepresentation(); in LookupString()
3875 DCHECK(source->IsOneByteRepresentation()); in CompileExtension()
5764 str->IsOneByteRepresentation() ? ONE_BYTE_ENCODING : TWO_BYTE_ENCODING; in VerifyExternalStringResourceBase()
423 DCHECK(!answer->IsOneByteRepresentation()); in RUNTIME_FUNCTION()498 bool is_one_byte = separator->IsOneByteRepresentation(); in RUNTIME_FUNCTION()509 if (is_one_byte && !string->IsOneByteRepresentation()) { in RUNTIME_FUNCTION()610 if (s->IsFlat() && s->IsOneByteRepresentation()) { in RUNTIME_FUNCTION()
112 CHECK(left->IsOneByteRepresentation()); in RUNTIME_FUNCTION()113 CHECK(right->IsOneByteRepresentation()); in RUNTIME_FUNCTION()126 CHECK(string->IsOneByteRepresentation()); in RUNTIME_FUNCTION()
703 if (subject->IsOneByteRepresentation()) { in StringReplaceGlobalRegExpWithEmptyString()
105 if (src_str->IsOneByteRepresentation()) { in HasValidSource()
132 bool String::IsOneByteRepresentation() const { in IsOneByteRepresentation() function175 IsOneByteRepresentation(); in HasOnlyOneByteChars()351 return this->IsOneByteRepresentation() in Set()
173 inline bool IsOneByteRepresentation() const;
164 int byte_len = length * (source->IsOneByteRepresentation() ? 1 : 2); in PrepareOnMainThread()180 if (source->IsOneByteRepresentation()) { in PrepareOnMainThread()
26 if (string->IsOneByteRepresentation()) { in MaybeUtf8()
477 if (s->IsOneByteRepresentation()) { in ConvertCase()488 if (s->IsOneByteRepresentation() && length > 0) { in ConvertCase()
804 string->IsOneByteRepresentation() in RecordVirtualScriptDetails()812 source->IsOneByteRepresentation() in RecordVirtualScriptDetails()826 string->IsOneByteRepresentation() in RecordVirtualExternalStringDetails()
733 return str->IsOneByteRepresentation(); in IsOneByte()1080 bool left_is_one_byte = left->IsOneByteRepresentation(); in NewConsString()1081 bool right_is_one_byte = right->IsOneByteRepresentation(); in NewConsString()1194 if (str->IsOneByteRepresentation()) { in NewProperSubString()1224 Handle<Map> map = str->IsOneByteRepresentation() in NewProperSubString()
254 bool is_one_byte = subject_ptr->IsOneByteRepresentation(); in Match()