/third_party/node/deps/v8/src/objects/ |
D | string.h | 577 static inline ConsString VisitFlat(Visitor* visitor, String string, 581 static inline ConsString VisitFlat( 619 ConsString string, int slice_offset, base::Vector<const Char> str, 624 Isolate* isolate, Handle<ConsString> cons, AllocationType allocation); 814 class ConsString : public TorqueGeneratedConsString<ConsString, String> { 836 DECL_VERIFIER(ConsString) 838 TQ_OBJECT_CONSTRUCTORS(ConsString) 1053 inline explicit ConsStringIterator(ConsString cons_string, int offset = 0) { 1058 inline void Reset(ConsString cons_string, int offset = 0) { 1079 inline void PushLeft(ConsString string); [all …]
|
D | string-inl.h | 109 TQ_OBJECT_CONSTRUCTORS_IMPL(ConsString) in TQ_OBJECT_CONSTRUCTORS_IMPL() 283 V(ConsString) \ 575 return IsConsStringEqualToImpl<Char>(ConsString::cast(string), in IsEqualToImpl() 594 ConsString string, int slice_offset, base::Vector<const Char> str, in IsConsStringEqualToImpl() 601 ConsStringIterator iter(ConsString::cast(string), slice_offset); in IsConsStringEqualToImpl() 657 ConsString cons = ConsString::cast(s); in Flatten() 866 return ConsString::cast(*this).IsFlat(cage_base); in IsFlat() 882 STATIC_ASSERT(static_cast<int>(ConsString::kFirstOffset) == in GetUnderlying() 884 STATIC_ASSERT(static_cast<int>(ConsString::kFirstOffset) == in GetUnderlying() 891 ConsString String::VisitFlat(Visitor* visitor, String string, in VisitFlat() [all …]
|
D | string.tq | 40 extern class ConsString extends String { 191 builtin StringSlowFlatten(cons: ConsString): String { 199 const second = Cast<ConsString>(cons.second) otherwise FoundFlatString; 228 case (cons: ConsString): { 232 dcheck(!Is<ConsString>(thin.actual)); 240 macro Flatten(cons: ConsString): String { 262 case (s: ConsString): {
|
D | string.cc | 35 Handle<String> String::SlowFlatten(Isolate* isolate, Handle<ConsString> cons, in SlowFlatten() 46 cons = handle(ConsString::cast(cons->second()), isolate); in SlowFlatten() 759 ConsString cons = ConsString::cast(string); in SlowGetFlatContent() 883 ConsString cons_string = ConsString::cast(source); in WriteToFlat() 1647 string = ConsString::cast(string).first(cage_base); in ComputeAndSetHash() 1766 uint16_t ConsString::Get( in Get() 1781 ConsString cons_string = ConsString::cast(string); in Get() 1837 void ConsStringIterator::Initialize(ConsString cons_string, int offset) { in Initialize() 1860 if (string.is_null()) Reset(ConsString()); in Continue() 1865 ConsString cons_string = root_; in Search() [all …]
|
D | objects-definitions.h | 68 V(CONS_STRING_TYPE, ConsString::kSize, cons_string, ConsString) \ 69 V(CONS_ONE_BYTE_STRING_TYPE, ConsString::kSize, cons_one_byte_string, \
|
D | string-comparator.cc | 14 ConsString cons_string = String::VisitFlat(this, string, 0, access_guard); in Init()
|
D | object-list-macros.h | 21 class ConsString; variable 97 V(ConsString) \
|
D | string-table.cc | 718 source = ConsString::cast(source).first(); in TryStringToIndexOrLookupExisting()
|
D | objects-body-descriptors-inl.h | 1068 return CALL_APPLY(ConsString); in BodyDescriptorApply()
|
/third_party/node/deps/v8/src/builtins/ |
D | cast.tq | 624 Cast<ConsString>(o: HeapObject): ConsString labels CastError { 625 return Cast<ConsString>(Cast<String>(o) otherwise CastError) 629 Cast<ConsString>(o: String): ConsString labels CastError { 634 return %RawDownCast<ConsString>(o);
|
D | builtins-string-gen.cc | 331 TNode<HeapObject> result = AllocateInNewSpace(ConsString::kSize); in AllocateConsString() 333 StoreObjectFieldNoWriteBarrier(result, ConsString::kLengthOffset, length); in AllocateConsString() 334 StoreObjectFieldNoWriteBarrier(result, ConsString::kRawHashFieldOffset, in AllocateConsString() 336 StoreObjectFieldNoWriteBarrier(result, ConsString::kFirstOffset, left); in AllocateConsString() 337 StoreObjectFieldNoWriteBarrier(result, ConsString::kSecondOffset, right); in AllocateConsString() 376 GotoIf(Uint32LessThan(new_length, Uint32Constant(ConsString::kMinLength)), in StringAdd() 466 LoadObjectField<String>(string, ConsString::kSecondOffset); in BranchIfCanDerefIndirectString() 484 static_cast<int>(ConsString::kFirstOffset)); in DerefIndirectString() 534 static_cast<int>(ConsString::kFirstOffset)); in DerefIndirectString()
|
D | string-replaceall.tq | 135 // TODO(joshualitt): This leaves a completely degenerate ConsString tree.
|
/third_party/node/deps/v8/src/heap/ |
D | objects-visiting-inl.h | 69 map, ConcreteVisitor::template Cast<ConsString>(object)); in Visit() 123 Map map, ConsString object) { in TORQUE_VISITOR_ID_LIST()
|
D | factory-base.cc | 738 if (length < ConsString::kMinLength) { in NewConsString() 740 STATIC_ASSERT(ConsString::kMinLength <= SlicedString::kMinLength); in NewConsString() 744 STATIC_ASSERT(ConsString::kMinLength <= String::kMaxLength); in NewConsString() 789 DCHECK_GE(length, ConsString::kMinLength); in NewConsString() 792 ConsString result = ConsString::cast( in NewConsString()
|
D | concurrent-marking.cc | 141 int VisitConsString(Map map, ConsString object) { in VisitConsString() 364 ConsString ConcurrentMarkingVisitor::Cast(HeapObject object) { in Cast() 365 return ConsString::unchecked_cast(object); in Cast()
|
D | objects-visiting.h | 116 V8_INLINE ResultType VisitShortcutCandidate(Map map, ConsString object); in TORQUE_VISITOR_ID_LIST()
|
D | scavenger-inl.h | 304 ConsString object, in EvacuateShortcutCandidate() 379 map, slot, ConsString::unchecked_cast(source), size); in EvacuateObject()
|
D | scavenger.h | 179 ConsString object,
|
/third_party/node/deps/v8/src/regexp/ |
D | regexp-macro-assembler.cc | 390 DCHECK_EQ(0, ConsString::cast(subject_ptr).second().length()); in Match() 391 subject_ptr = ConsString::cast(subject_ptr).first(); in Match()
|
/third_party/node/deps/v8/src/runtime/ |
D | runtime-strings.cc | 78 ConsString cons = ConsString::cast(*subject); in StringReplaceOneCharWithString()
|
/third_party/node/deps/v8/src/compiler/ |
D | access-builder.cc | 709 FieldAccess access = {kTaggedBase, ConsString::kFirstOffset, in ForConsStringFirst() 718 FieldAccess access = {kTaggedBase, ConsString::kSecondOffset, in ForConsStringSecond()
|
D | js-typed-lowering.cc | 115 right_string.length().value() >= ConsString::kMinLength) in ShouldCreateConsString() 121 left_string.length().value() >= ConsString::kMinLength) { in ShouldCreateConsString()
|
/third_party/node/deps/v8/src/diagnostics/ |
D | objects-debug.cc | 184 ConsString::cast(*this).ConsStringVerify(isolate); in HeapObjectVerify() 839 void ConsString::ConsStringVerify(Isolate* isolate) { in ConsStringVerify() 841 CHECK_GE(length(), ConsString::kMinLength); in ConsStringVerify()
|
/third_party/node/deps/v8/tools/ |
D | grokdump.py | 1395 class ConsString(String): class 1757 "CONS_SYMBOL_TYPE": ConsString, 1758 "CONS_ONE_BYTE_SYMBOL_TYPE": ConsString, 1767 "CONS_STRING_TYPE": ConsString, 1768 "CONS_ONE_BYTE_STRING_TYPE": ConsString,
|
/third_party/node/deps/v8/src/profiler/ |
D | heap-snapshot-generator.cc | 1223 ConsString cs = ConsString::cast(string); in ExtractStringReferences() 1224 SetInternalReference(entry, "first", cs.first(), ConsString::kFirstOffset); in ExtractStringReferences() 1226 ConsString::kSecondOffset); in ExtractStringReferences()
|