Home
last modified time | relevance | path

Searched refs:GetChars (Results 1 - 25 of 26) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
H A Dstring-inl.h424 string->GetChars(no_gc) + from, len, HashSeed(isolate)); in SeqSubStringKey()
441 base::Vector<const Char>(string_->GetChars(no_gc) + from_, length()), in IsMatch()
451 CopyChars(result->GetChars(no_gc), string_->GetChars(no_gc) + from_, in PrepareForInsertion()
459 CopyChars(result->GetChars(no_gc), string_->GetChars(no_gc) + from_, in PrepareForInsertion()
544 SeqOneByteString::cast(string).GetChars(no_gc, access_guard) + in IsEqualToImpl()
549 SeqTwoByteString::cast(string).GetChars(no_gc, access_guard) + in IsEqualToImpl()
554 ExternalOneByteString::cast(string).GetChars(cage_base) + in IsEqualToImpl()
559 ExternalTwoByteString::cast(string).GetChars(cage_bas in IsEqualToImpl()
626 const Char* String::GetChars(PtrComprCageBase cage_base, GetChars() function in v8::internal::String
635 const Char* String::GetChars( GetChars() function in v8::internal::String
1013 uint8_t* SeqOneByteString::GetChars( GetChars() function in v8::internal::SeqOneByteString
1020 uint8_t* SeqOneByteString::GetChars( GetChars() function in v8::internal::SeqOneByteString
1032 base::uc16* SeqTwoByteString::GetChars( GetChars() function in v8::internal::SeqTwoByteString
1039 base::uc16* SeqTwoByteString::GetChars( GetChars() function in v8::internal::SeqTwoByteString
1197 const uint8_t* ExternalOneByteString::GetChars( GetChars() function in v8::internal::ExternalOneByteString
1269 const uint16_t* ExternalTwoByteString::GetChars( GetChars() function in v8::internal::ExternalTwoByteString
[all...]
H A Dstring.cc66 WriteToFlat(*cons, flat->GetChars(no_gc), 0, length); in SlowFlatten()
74 WriteToFlat(*cons, flat->GetChars(no_gc), 0, length); in SlowFlatten()
109 WriteToFlat(*flat, copy->GetChars(no_gc), 0, length); in SlowShare()
115 WriteToFlat(*flat, copy->GetChars(no_gc), 0, length); in SlowShare()
707 Handle<SeqOneByteString>::cast(subject)->GetChars(no_gc);
860 ExternalOneByteString::cast(source).GetChars(cage_base) + start, in WriteToFlat()
866 ExternalTwoByteString::cast(source).GetChars(cage_base) + start, in WriteToFlat()
871 SeqOneByteString::cast(source).GetChars(no_gc, access_guard) + in WriteToFlat()
877 SeqTwoByteString::cast(source).GetChars(no_gc, access_guard) + in WriteToFlat()
917 SeqOneByteString::cast(second).GetChars(no_g in WriteToFlat()
[all...]
H A Dstring.h208 inline const Char* GetChars(PtrComprCageBase cage_base,
213 inline const Char* GetChars(
733 inline uint8_t* GetChars(const DisallowGarbageCollection& no_gc) const;
736 inline uint8_t* GetChars(
779 inline base::uc16* GetChars(const DisallowGarbageCollection& no_gc) const;
782 inline base::uc16* GetChars(
963 inline const uint8_t* GetChars(PtrComprCageBase cage_base) const;
1006 inline const uint16_t* GetChars(PtrComprCageBase cage_base) const;
H A Djs-regexp.cc321 base::Vector<Char> dst(result->GetChars(no_gc), result->length()); in WriteEscapedRegExpSource()
H A Dbigint.cc949 uint8_t* start = result->GetChars(no_gc); in ToString()
984 char* characters = reinterpret_cast<char*>(result->GetChars(no_gc)); in ToString()
1010 uint8_t* chars = result->GetChars(no_gc); in ToString()
H A Dstring-table.cc652 chars = source.GetChars<Char>(isolate, no_gc, access_guard) + start; in TryStringToIndexOrLookupExisting()
H A Dintl-objects.cc267 case_converter(reinterpret_cast<UChar*>(result->GetChars(no_gc)), in LocaleConvertCase()
301 uint8_t* dst_data = SeqOneByteString::cast(dst).GetChars(no_gc); in ConvertOneByteToLower()
379 uint8_t* dest = result->GetChars(no_gc); in ConvertToUpper()
384 reinterpret_cast<char*>(result->GetChars(no_gc)), in ConvertToUpper()
H A Dobjects.cc4671 separator_one_char = SeqOneByteString::cast(separator).GetChars(no_gc)[0]; in WriteFixedArrayToFlat()
4749 SeqOneByteString::cast(dest).GetChars(no_gc), in ArrayJoinConcatToSequentialString()
4754 SeqTwoByteString::cast(dest).GetChars(no_gc), in ArrayJoinConcatToSequentialString()
/third_party/node/deps/v8/src/strings/
H A Dstring-builder.cc205 uint8_t* char_buffer = seq->GetChars(no_gc); in ToString()
217 base::uc16* char_buffer = seq->GetChars(no_gc); in ToString()
313 String::WriteToFlat(*string, part->GetChars(no_gc) + current_index_, 0, in AppendStringByCopy()
H A Dstring-builder-inl.h216 SeqOneByteString::cast(string).GetChars(no_gc) + offset); in NoExtend()
219 SeqTwoByteString::cast(string).GetChars(no_gc) + offset); in NoExtend()
232 end = reinterpret_cast<DestChar*>(one_byte_string.GetChars(no_gc_) + in ~NoExtend()
236 end = reinterpret_cast<DestChar*>(two_byte_string.GetChars(no_gc_) + in ~NoExtend()
H A Duri.cc200 base::uc16* chars = result->GetChars(no_gc); in Decode()
/third_party/node/deps/v8/src/ast/
H A Dast-value-factory.cc237 result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()) + in AllocateFlat()
245 DCHECK_EQ(dest, result->GetChars( in AllocateFlat()
256 result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()) + in AllocateFlat()
270 DCHECK_EQ(dest, result->GetChars( in AllocateFlat()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-string.cc118 CopyChars(result->GetChars(no_gc), one_byte_buffer.data(), in BUILTIN()
120 CopyChars(result->GetChars(no_gc) + one_byte_buffer.size(), in BUILTIN()
368 reinterpret_cast<char*>(result->GetChars(no_gc)), in ConvertCase()
H A Dbuiltins-trace.cc45 memcpy(buf_, Handle<SeqOneByteString>::cast(string)->GetChars(no_gc), in MaybeUtf8()
/third_party/node/deps/v8/src/heap/
H A Dfactory-base.cc629 MemCopy(result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()), in NewOneByteInternalizedString()
642 MemCopy(result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()), in NewTwoByteInternalizedString()
750 uint8_t* dest = result->GetChars(no_gc, access_guard); in NewConsString()
754 left->template GetChars<uint8_t>(isolate(), no_gc, access_guard); in NewConsString()
760 right->template GetChars<uint8_t>(isolate(), no_gc, access_guard); in NewConsString()
771 base::uc16* sink = result->GetChars(no_gc, access_guard); in NewConsString()
H A Dfactory.cc692 CopyChars(SeqOneByteString::cast(*result).GetChars(no_gc), string.begin(), in NewStringFromOneByte()
713 decoder.Decode(result->GetChars(no_gc), utf8_data); in NewStringFromUtf8()
724 decoder.Decode(result->GetChars(no_gc), utf8_data); in NewStringFromUtf8()
735 base::Vector<const uint8_t>(str->GetChars(no_gc) + begin, length); in NewStringFromUtf8SubString()
764 base::Vector<const uint8_t>(str->GetChars(no_gc) + begin, length); in NewStringFromUtf8SubString()
765 decoder.Decode(result->GetChars(no_gc), utf8_data); in NewStringFromUtf8SubString()
778 utf8_data = base::Vector<const uint8_t>(str->GetChars(no_gc) + begin, length); in NewStringFromUtf8SubString()
779 decoder.Decode(result->GetChars(no_gc), utf8_data); in NewStringFromUtf8SubString()
794 CopyChars(result->GetChars(no_gc), string, length); in NewStringFromTwoByte()
801 CopyChars(result->GetChars(no_g in NewStringFromTwoByte()
[all...]
/third_party/node/deps/v8/src/runtime/
H A Druntime-strings.cc256 StringBuilderConcatHelper(*special, answer->GetChars(no_gc), in RUNTIME_FUNCTION()
265 StringBuilderConcatHelper(*special, answer->GetChars(no_gc), in RUNTIME_FUNCTION()
H A Druntime-regexp.cc596 String::WriteToFlat(*subject, result->GetChars(no_gc) + result_pos, in StringReplaceGlobalAtomRegExpWithString()
603 String::WriteToFlat(*replacement, result->GetChars(no_gc) + result_pos, 0, in StringReplaceGlobalAtomRegExpWithString()
612 String::WriteToFlat(*subject, result->GetChars(no_gc) + result_pos, in StringReplaceGlobalAtomRegExpWithString()
754 String::WriteToFlat(*subject, answer->GetChars(no_gc) + position, prev, in StringReplaceGlobalRegExpWithEmptyString()
770 String::WriteToFlat(*subject, answer->GetChars(no_gc) + position, prev, in StringReplaceGlobalRegExpWithEmptyString()
/third_party/node/deps/v8/src/json/
H A Djson-parser.h321 const Char* chars = Handle<SeqString>::cast(source_)->GetChars(no_gc); in UpdatePointers()
H A Djson-parser.cc229 SeqExternalString::cast(*source_).GetChars(cage_base)); in JsonParser()
235 chars_ = SeqString::cast(*source_).GetChars(no_gc); in JsonParser()
1009 SinkChar* dest = intermediate->GetChars(no_gc); in DecodeString()
/third_party/node/deps/v8/src/parsing/
H A Dscanner-character-streams.cc83 return {&string_->GetChars(*no_gc)[start_offset_ + std::min(length_, pos)], in GetDataAt()
84 &string_->GetChars(*no_gc)[start_offset_ + length_]}; in GetDataAt()
106 data_(string.GetChars(GetPtrComprCageBase(string)) + start_offset), in ExternalStringStream()
/third_party/node/deps/v8/src/diagnostics/
H A Dperf-jit.cc301 return {reinterpret_cast<char*>(str.GetChars(no_gc)), in GetScriptName()
/third_party/node/deps/v8/tools/
H A Dgrokdump.py1342 def GetChars(self): member in String
1349 return "\"%s\"" % self.GetChars()
1361 def GetChars(self): member in SeqString
1391 def GetChars(self): member in ExternalString
1407 def GetChars(self): member in ConsString
1409 return self.left.GetChars() + self.right.GetChars()
1642 source = script_source.GetChars()[start:end]
/third_party/node/deps/v8/src/codegen/
H A Dexternal-reference.cc941 return ExternalOneByteString::cast(Object(string)).GetChars(cage_base);
951 return ExternalTwoByteString::cast(Object(string)).GetChars(cage_base);
/third_party/node/deps/v8/src/web-snapshot/
H A Dweb-snapshot.cc1295 uint8_t* data = source_as_seq.GetChars(no_gc); in ExtractScriptBuffer()
1321 uint16_t* data = source_as_seq.GetChars(no_gc); in ExtractScriptBuffer()

Completed in 54 milliseconds

12