Home
last modified time | relevance | path

Searched refs:IsOneByteRepresentation (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/extensions/
Dexternalize-string-extension.cc93 if (string->IsOneByteRepresentation() && !force_two_byte) { in Externalize()
137 Utils::OpenHandle(*args[0].As<v8::String>())->IsOneByteRepresentation(); in IsOneByte()
/external/v8/src/runtime/
Druntime-strings.cc573 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()
Druntime-regexp.cc560 if (subject->IsOneByteRepresentation()) { in StringReplaceGlobalRegExpWithEmptyString()
/external/v8/src/
Dstring-builder.h199 is_one_byte_(subject->IsOneByteRepresentation()) { in ReplacementStringBuilder()
236 if (!string->IsOneByteRepresentation()) { in AddString()
Dlog-utils.cc190 Append(str->IsOneByteRepresentation() ? 'a' : '2'); in AppendDetailed()
Dfactory.cc533 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()
Dobjects-inl.h232 String::cast(this)->IsOneByteRepresentation(); in IsSeqOneByteString()
249 String::cast(this)->IsOneByteRepresentation(); in IsExternalOneByteString()
353 bool String::IsOneByteRepresentation() const { in IsOneByteRepresentation() function
376 return GetUnderlying()->IsOneByteRepresentation(); in IsOneByteRepresentationUnderneath()
400 IsOneByteRepresentation(); in HasOnlyOneByteChars()
3604 return this->IsOneByteRepresentation() in Set()
5888 if (src_str->IsOneByteRepresentation()) { in HasValidSource()
Dbootstrapper.cc2278 DCHECK(source->IsOneByteRepresentation()); in CompileExtension()
Dobjects.cc1939 if (cons->IsOneByteRepresentation()) { in SlowFlatten()
1980 bool is_one_byte = this->IsOneByteRepresentation(); in MakeExternal()
17023 bool one_byte = result->IsOneByteRepresentation(); in LookupString()
Dobjects.h8879 inline bool IsOneByteRepresentation() const;
Dapi.cc5393 str->IsOneByteRepresentation() ? ONE_BYTE_ENCODING : TWO_BYTE_ENCODING; in VerifyExternalStringResourceBase()
/external/v8/src/regexp/
Dregexp-macro-assembler.cc243 bool is_one_byte = subject_ptr->IsOneByteRepresentation(); in Match()
/external/v8/src/heap/
Dheap-inl.h102 return str->IsOneByteRepresentation(); in IsOneByte()
/external/v8/test/cctest/
Dtest-api.cc15502 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()