/external/v8/src/objects/ |
D | string-inl.h | 233 string->GetChars() + from, length, isolate->heap()->HashSeed())), in SeqOneByteSubStringKey() 383 SeqOneByteString::cast(string)->GetChars() + slice_offset, in VisitFlat() 389 SeqTwoByteString::cast(string)->GetChars() + slice_offset, in VisitFlat() 395 ExternalOneByteString::cast(string)->GetChars() + slice_offset, in VisitFlat() 401 ExternalTwoByteString::cast(string)->GetChars() + slice_offset, in VisitFlat() 464 uint8_t* SeqOneByteString::GetChars() { in GetChars() function 472 uc16* SeqTwoByteString::GetChars() { in GetChars() function 598 const uint8_t* ExternalOneByteString::GetChars() { in GetChars() function 604 return GetChars()[index]; in ExternalOneByteStringGet() 633 const uint16_t* ExternalTwoByteString::GetChars() { return resource()->data(); } in GetChars() function [all …]
|
D | string.h | 512 inline uint8_t* GetChars(); 556 inline uc16* GetChars(); 777 inline const uint8_t* GetChars(); 815 inline const uint16_t* GetChars();
|
D | bigint.cc | 1956 uint8_t* buffer = result->GetChars(); in ToStringBasePowerOfTwo() 2028 uint8_t* chars = result->GetChars(); in ToStringGeneric() 2061 uint8_t* chars = result->GetChars(); in ToStringGeneric() 2075 uint8_t* chars = result->GetChars(); in ToStringGeneric()
|
/external/v8/src/regexp/ |
D | regexp-macro-assembler.cc | 145 SeqOneByteString::cast(subject)->GetChars() + start_index); in StringCharacterPosition() 148 SeqTwoByteString::cast(subject)->GetChars() + start_index); in StringCharacterPosition() 151 ExternalOneByteString::cast(subject)->GetChars() + start_index); in StringCharacterPosition() 155 ExternalTwoByteString::cast(subject)->GetChars() + start_index); in StringCharacterPosition()
|
/external/v8/src/ |
D | intl.cc | 182 dest_length = case_converter(reinterpret_cast<UChar*>(result->GetChars()), in LocaleConvertCase() 214 uint8_t* dst_data = SeqOneByteString::cast(dst)->GetChars(); in ConvertOneByteToLower() 292 uint8_t* dest = result->GetChars(); in ConvertToUpper() 297 FastAsciiConvert<false>(reinterpret_cast<char*>(result->GetChars()), in ConvertToUpper()
|
D | json-parser.cc | 264 const uint8_t* input_chars = seq_source_->GetChars() + position_ + 1; in ParseJsonString() 672 Vector<const uint8_t> chars(seq_source_->GetChars() + beg_pos, length); in ParseJsonNumber() 732 SinkChar* dest = seq_string->GetChars(); in SlowScanJsonString() 884 Vector<const uint8_t> string_vector(seq_source_->GetChars() + position_, in ScanJsonString() 934 uint8_t* dest = SeqOneByteString::cast(*result)->GetChars(); in ScanJsonString()
|
D | string-builder.cc | 206 uint8_t* char_buffer = seq->GetChars(); in ToString() 218 uc16* char_buffer = seq->GetChars(); in ToString()
|
D | string-builder-inl.h | 189 Handle<SeqOneByteString>::cast(string)->GetChars() + offset); in NoExtend() 192 Handle<SeqTwoByteString>::cast(string)->GetChars() + offset); in NoExtend()
|
D | uri.cc | 197 CopyChars(result->GetChars(), one_byte_buffer.data(), one_byte_buffer.size()); in Decode() 198 CopyChars(result->GetChars() + one_byte_buffer.size(), two_byte_buffer.data(), in Decode()
|
D | perf-jit.cc | 299 return {reinterpret_cast<char*>(str->GetChars()), in GetScriptName()
|
D | objects.cc | 2580 WriteToFlat(*cons, flat->GetChars(), 0, length); in SlowFlatten() 2586 WriteToFlat(*cons, flat->GetChars(), 0, length); in SlowFlatten() 10963 uint8_t const* data = Handle<SeqOneByteString>::cast(subject)->GetChars(); in ToNumber() 11038 start = SeqOneByteString::cast(string)->GetChars(); in GetFlatContent() 11040 start = ExternalOneByteString::cast(string)->GetChars(); in GetFlatContent() 11047 start = SeqTwoByteString::cast(string)->GetChars(); in GetFlatContent() 11049 start = ExternalTwoByteString::cast(string)->GetChars(); in GetFlatContent() 11398 CopyChars(sink, ExternalOneByteString::cast(source)->GetChars() + from, in WriteToFlat() 11404 ExternalTwoByteString::cast(source)->GetChars(); in WriteToFlat() 11412 SeqOneByteString::cast(source)->GetChars() + from, in WriteToFlat() [all …]
|
D | value-serializer.cc | 1338 memcpy(string->GetChars(), bytes.begin(), bytes.length()); in ReadTwoByteString()
|
/external/v8/src/runtime/ |
D | runtime-strings.cc | 328 StringBuilderConcatHelper(*special, answer->GetChars(), in RUNTIME_FUNCTION() 336 StringBuilderConcatHelper(*special, answer->GetChars(), in RUNTIME_FUNCTION() 395 uc16* sink = answer->GetChars(); in RUNTIME_FUNCTION() 553 Vector<uint8_t>(result->GetChars(), string_length)); in RUNTIME_FUNCTION() 562 Vector<uc16>(result->GetChars(), string_length)); in RUNTIME_FUNCTION()
|
D | runtime-regexp.cc | 575 String::WriteToFlat(*subject, result->GetChars() + result_pos, in StringReplaceGlobalAtomRegExpWithString() 582 String::WriteToFlat(*replacement, result->GetChars() + result_pos, 0, in StringReplaceGlobalAtomRegExpWithString() 591 String::WriteToFlat(*subject, result->GetChars() + result_pos, subject_pos, in StringReplaceGlobalAtomRegExpWithString() 746 String::WriteToFlat(*subject, answer->GetChars() + position, prev, start); in StringReplaceGlobalRegExpWithEmptyString() 761 String::WriteToFlat(*subject, answer->GetChars() + position, prev, in StringReplaceGlobalRegExpWithEmptyString()
|
/external/v8/src/parsing/ |
D | scanner-character-streams.cc | 56 return {&string_->GetChars()[start_offset_ + Min(length_, pos)], in GetDataAt() 57 &string_->GetChars()[start_offset_ + length_]}; in GetDataAt() 708 ExternalOneByteString::cast(*data)->GetChars() + start_offset, in For() 713 ExternalTwoByteString::cast(*data)->GetChars() + start_offset, in For()
|
/external/v8/src/heap/ |
D | factory.cc | 606 CopyChars(SeqOneByteString::cast(*result)->GetChars(), string.start(), in NewStringFromOneByte() 639 uint16_t* data = result->GetChars(); in NewStringFromUtf8() 653 reinterpret_cast<const char*>(str->GetChars() + begin); in NewStringFromUtf8SubString() 679 ascii_data = reinterpret_cast<const char*>(str->GetChars() + begin); in NewStringFromUtf8SubString() 684 uint16_t* data = result->GetChars(); in NewStringFromUtf8SubString() 703 CopyChars(result->GetChars(), string, length); in NewStringFromTwoByte() 709 CopyChars(result->GetChars(), string, length); in NewStringFromTwoByte() 806 MemCopy(answer->GetChars(), str.start(), str.length() * kUC16Size); in AllocateTwoByteInternalizedString() 839 WriteOneByteData(t, SeqOneByteString::cast(*answer)->GetChars(), chars); in AllocateInternalizedStringImpl() 841 WriteTwoByteData(t, SeqTwoByteString::cast(*answer)->GetChars(), chars); in AllocateInternalizedStringImpl() [all …]
|
/external/v8/src/builtins/ |
D | builtins-string.cc | 112 CopyChars(result->GetChars(), one_byte_buffer.data(), one_byte_buffer.size()); in BUILTIN() 113 CopyChars(result->GetChars() + one_byte_buffer.size(), two_byte_buffer.data(), in BUILTIN() 468 reinterpret_cast<char*>(result->GetChars()), in ConvertCase()
|
D | builtins-trace.cc | 37 memcpy(buf_, Handle<SeqOneByteString>::cast(string)->GetChars(), len); in MaybeUtf8()
|
/external/v8/tools/ |
D | grokdump.py | 1298 def GetChars(self): member in String 1305 return "\"%s\"" % self.GetChars() 1317 def GetChars(self): member in SeqString 1347 def GetChars(self): member in ExternalString 1363 def GetChars(self): member in ConsString 1365 return self.left.GetChars() + self.right.GetChars() 1598 source = script_source.GetChars()[start:end]
|