/external/v8/src/objects/ |
D | string-inl.h | 307 const uint8_t* chars = s.GetChars<uint8_t>(no_gc, access_guard); in IsMatch() 310 const uint16_t* chars = s.GetChars<uint16_t>(no_gc, access_guard); in IsMatch() 361 string->GetChars(no_gc) + from, len, HashSeed(isolate)); 376 const uint8_t* data = string.GetChars<uint8_t>(no_gc); in IsMatch() 377 return CompareChars(string_->GetChars(no_gc) + from_, data, length()) == in IsMatch() 380 const uint16_t* data = string.GetChars<uint16_t>(no_gc); in IsMatch() 381 return CompareChars(string_->GetChars(no_gc) + from_, data, length()) == 0; in IsMatch() 391 CopyChars(result->GetChars(no_gc), string_->GetChars(no_gc) + from_, in AsHandle() 399 CopyChars(result->GetChars(no_gc), string_->GetChars(no_gc) + from_, in AsHandle() 430 const Char* String::GetChars(const DisallowHeapAllocation& no_gc) { in GetChars() function [all …]
|
D | string.cc | 58 WriteToFlat(*cons, flat->GetChars(no_gc), 0, length); in SlowFlatten() 66 WriteToFlat(*cons, flat->GetChars(no_gc), 0, length); in SlowFlatten() 490 Handle<SeqOneByteString>::cast(subject)->GetChars(no_gc); in ToNumber() 573 start = SeqOneByteString::cast(string).GetChars(no_gc); in GetFlatContent() 575 start = ExternalOneByteString::cast(string).GetChars(); in GetFlatContent() 582 start = SeqTwoByteString::cast(string).GetChars(no_gc); in GetFlatContent() 584 start = ExternalTwoByteString::cast(string).GetChars(); in GetFlatContent() 650 CopyChars(sink, ExternalOneByteString::cast(source).GetChars() + from, in WriteToFlat() 655 const uc16* data = ExternalTwoByteString::cast(source).GetChars(); in WriteToFlat() 662 SeqOneByteString::cast(source).GetChars(no_gc, access_guard) + from, in WriteToFlat() [all …]
|
D | string.h | 183 inline const Char* GetChars(const DisallowHeapAllocation& no_gc); 187 inline const Char* GetChars( 591 inline uint8_t* GetChars(const DisallowHeapAllocation& no_gc); 594 inline uint8_t* GetChars(const DisallowHeapAllocation& no_gc, 636 inline uc16* GetChars(const DisallowHeapAllocation& no_gc); 639 inline uc16* GetChars(const DisallowHeapAllocation& no_gc, 811 inline const uint8_t* GetChars(); 853 inline const uint16_t* GetChars();
|
D | intl-objects.cc | 258 case_converter(reinterpret_cast<UChar*>(result->GetChars(no_gc)), in LocaleConvertCase() 292 uint8_t* dst_data = SeqOneByteString::cast(dst).GetChars(no_gc); in ConvertOneByteToLower() 370 uint8_t* dest = result->GetChars(no_gc); in ConvertToUpper() 375 reinterpret_cast<char*>(result->GetChars(no_gc)), in ConvertToUpper()
|
D | js-regexp.cc | 371 Vector<Char> dst(result->GetChars(no_gc), result->length()); in WriteEscapedRegExpSource()
|
D | bigint.cc | 2098 uint8_t* buffer = result->GetChars(no_gc); in ToStringBasePowerOfTwo() 2175 uint8_t* chars = result->GetChars(no_gc); in ToStringGeneric() 2209 uint8_t* chars = result->GetChars(no_gc); in ToStringGeneric() 2238 chars = result->GetChars(no_gc); in ToStringGeneric() 2245 uint8_t* chars = result->GetChars(no_gc); in ToStringGeneric()
|
D | string-table.cc | 610 chars = source.GetChars<Char>(no_gc) + start; in TryStringToIndexOrLookupExisting()
|
D | value-serializer.cc | 1416 memcpy(string->GetChars(no_gc), bytes.begin(), bytes.length()); in ReadTwoByteString()
|
D | objects.cc | 4579 SeqOneByteString::cast(separator).GetChars(no_allocation)[0]; in WriteFixedArrayToFlat() 4657 SeqOneByteString::cast(dest).GetChars(no_allocation), in ArrayJoinConcatToSequentialString() 4662 SeqTwoByteString::cast(dest).GetChars(no_allocation), in ArrayJoinConcatToSequentialString()
|
/external/v8/src/ast/ |
D | ast-value-factory.cc | 198 result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()) + in AllocateFlat() 206 DCHECK_EQ(dest, result->GetChars( in AllocateFlat() 217 result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()) + in AllocateFlat() 231 DCHECK_EQ(dest, result->GetChars( in AllocateFlat()
|
/external/v8/src/strings/ |
D | string-builder.cc | 204 uint8_t* char_buffer = seq->GetChars(no_gc); in ToString() 216 uc16* char_buffer = seq->GetChars(no_gc); in ToString() 308 String::WriteToFlat(*string, part->GetChars(no_gc) + current_index_, 0, in AppendStringByCopy()
|
D | string-builder-inl.h | 198 Handle<SeqOneByteString>::cast(string)->GetChars(no_gc) + offset); in NoExtend() 201 Handle<SeqTwoByteString>::cast(string)->GetChars(no_gc) + offset); in NoExtend()
|
D | uri.cc | 198 uc16* chars = result->GetChars(no_gc); in Decode()
|
/external/v8/src/heap/ |
D | factory-base.cc | 512 MemCopy(result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()), in NewOneByteInternalizedString() 523 MemCopy(result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()), in NewTwoByteInternalizedString() 613 result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()); in NewConsString() 618 left->template GetChars<uint8_t>(no_gc, access_guard); in NewConsString() 625 right->template GetChars<uint8_t>(no_gc, access_guard); in NewConsString() 636 result->GetChars(no_gc, SharedStringAccessGuardIfNeeded::NotNeeded()); in NewConsString()
|
D | factory.cc | 601 CopyChars(SeqOneByteString::cast(*result).GetChars(no_gc), string.begin(), in NewStringFromOneByte() 621 decoder.Decode(result->GetChars(no_gc), utf8_data); in NewStringFromUtf8() 632 decoder.Decode(result->GetChars(no_gc), utf8_data); in NewStringFromUtf8() 642 utf8_data = Vector<const uint8_t>(str->GetChars(no_gc) + begin, length); in NewStringFromUtf8SubString() 670 utf8_data = Vector<const uint8_t>(str->GetChars(no_gc) + begin, length); in NewStringFromUtf8SubString() 671 decoder.Decode(result->GetChars(no_gc), utf8_data); in NewStringFromUtf8SubString() 684 utf8_data = Vector<const uint8_t>(str->GetChars(no_gc) + begin, length); in NewStringFromUtf8SubString() 685 decoder.Decode(result->GetChars(no_gc), utf8_data); in NewStringFromUtf8SubString() 700 CopyChars(result->GetChars(no_gc), string, length); in NewStringFromTwoByte() 707 CopyChars(result->GetChars(no_gc), string, length); in NewStringFromTwoByte() [all …]
|
/external/v8/src/builtins/ |
D | builtins-string.cc | 116 CopyChars(result->GetChars(no_gc), one_byte_buffer.data(), in BUILTIN() 118 CopyChars(result->GetChars(no_gc) + one_byte_buffer.size(), in BUILTIN() 362 reinterpret_cast<char*>(result->GetChars(no_gc)), in ConvertCase()
|
D | builtins-trace.cc | 43 memcpy(buf_, Handle<SeqOneByteString>::cast(string)->GetChars(no_gc), in MaybeUtf8()
|
/external/v8/src/json/ |
D | json-parser.cc | 223 static_cast<const Char*>(SeqExternalString::cast(*source_).GetChars()); in JsonParser() 229 chars_ = SeqString::cast(*source_).GetChars(no_gc); in JsonParser() 992 const uint8_t* string_data = string->GetChars<uint8_t>(no_gc); in Matches() 995 const uint16_t* string_data = string->GetChars<uint16_t>(no_gc); in Matches() 1009 SinkChar* dest = intermediate->GetChars(no_gc); in DecodeString()
|
D | json-parser.h | 313 const Char* chars = Handle<SeqString>::cast(source_)->GetChars(no_gc); in UpdatePointers()
|
/external/v8/src/parsing/ |
D | scanner-character-streams.cc | 80 return {&string_->GetChars(*no_gc)[start_offset_ + Min(length_, pos)], in GetDataAt() 81 &string_->GetChars(*no_gc)[start_offset_ + length_]}; in GetDataAt() 103 data_(string.GetChars() + start_offset), in ExternalStringStream()
|
/external/v8/src/runtime/ |
D | runtime-strings.cc | 331 StringBuilderConcatHelper(*special, answer->GetChars(no_gc), in RUNTIME_FUNCTION() 340 StringBuilderConcatHelper(*special, answer->GetChars(no_gc), in RUNTIME_FUNCTION()
|
D | runtime-regexp.cc | 577 String::WriteToFlat(*subject, result->GetChars(no_gc) + result_pos, in StringReplaceGlobalAtomRegExpWithString() 584 String::WriteToFlat(*replacement, result->GetChars(no_gc) + result_pos, 0, in StringReplaceGlobalAtomRegExpWithString() 593 String::WriteToFlat(*subject, result->GetChars(no_gc) + result_pos, in StringReplaceGlobalAtomRegExpWithString() 737 String::WriteToFlat(*subject, answer->GetChars(no_gc) + position, prev, in StringReplaceGlobalRegExpWithEmptyString() 753 String::WriteToFlat(*subject, answer->GetChars(no_gc) + position, prev, in StringReplaceGlobalRegExpWithEmptyString()
|
/external/v8/src/diagnostics/ |
D | perf-jit.cc | 309 return {reinterpret_cast<char*>(str.GetChars(no_gc)), in GetScriptName()
|