Home
last modified time | relevance | path

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

/external/v8/src/extensions/
Dexternalize-string-extension.cc96 if (string->IsOneByteRepresentation() && !force_two_byte) { in Externalize()
132 Utils::OpenHandle(*args[0].As<v8::String>())->IsOneByteRepresentation(); in IsOneByte()
/external/v8/src/
Dstring-builder.cc172 is_one_byte_(subject->IsOneByteRepresentation()) { in ReplacementStringBuilder()
186 if (!string->IsOneByteRepresentation()) { in AddString()
Dlog-utils.cc179 os << (str->IsOneByteRepresentation() ? 'a' : '2'); in AppendSymbolNameDetails()
Dperf-jit.cc284 if (str->IsOneByteRepresentation()) return str->length(); in GetScriptNameLength()
Dobjects-inl.h254 String::cast(this)->IsOneByteRepresentation(); in IsSeqOneByteString()
271 String::cast(this)->IsOneByteRepresentation(); in IsExternalOneByteString()
Dobjects.cc2576 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()
Dbootstrapper.cc3875 DCHECK(source->IsOneByteRepresentation()); in CompileExtension()
Dapi.cc5764 str->IsOneByteRepresentation() ? ONE_BYTE_ENCODING : TWO_BYTE_ENCODING; in VerifyExternalStringResourceBase()
/external/v8/src/runtime/
Druntime-strings.cc423 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()
Druntime-test.cc112 CHECK(left->IsOneByteRepresentation()); in RUNTIME_FUNCTION()
113 CHECK(right->IsOneByteRepresentation()); in RUNTIME_FUNCTION()
126 CHECK(string->IsOneByteRepresentation()); in RUNTIME_FUNCTION()
Druntime-regexp.cc703 if (subject->IsOneByteRepresentation()) { in StringReplaceGlobalRegExpWithEmptyString()
/external/v8/src/objects/
Dscript-inl.h105 if (src_str->IsOneByteRepresentation()) { in HasValidSource()
Dstring-inl.h132 bool String::IsOneByteRepresentation() const { in IsOneByteRepresentation() function
175 IsOneByteRepresentation(); in HasOnlyOneByteChars()
351 return this->IsOneByteRepresentation() in Set()
Dstring.h173 inline bool IsOneByteRepresentation() const;
/external/v8/src/compiler-dispatcher/
Dunoptimized-compile-job.cc164 int byte_len = length * (source->IsOneByteRepresentation() ? 1 : 2); in PrepareOnMainThread()
180 if (source->IsOneByteRepresentation()) { in PrepareOnMainThread()
/external/v8/src/builtins/
Dbuiltins-trace.cc26 if (string->IsOneByteRepresentation()) { in MaybeUtf8()
Dbuiltins-string.cc477 if (s->IsOneByteRepresentation()) { in ConvertCase()
488 if (s->IsOneByteRepresentation() && length > 0) { in ConvertCase()
/external/v8/src/heap/
Dobject-stats.cc804 string->IsOneByteRepresentation() in RecordVirtualScriptDetails()
812 source->IsOneByteRepresentation() in RecordVirtualScriptDetails()
826 string->IsOneByteRepresentation() in RecordVirtualExternalStringDetails()
Dfactory.cc733 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()
/external/v8/src/regexp/
Dregexp-macro-assembler.cc254 bool is_one_byte = subject_ptr->IsOneByteRepresentation(); in Match()