Home
last modified time | relevance | path

Searched refs:ConsString (Results 1 – 25 of 28) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
Dstring.h577 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 …]
Dstring-inl.h109 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 …]
Dstring.tq40 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): {
Dstring.cc35 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 …]
Dobjects-definitions.h68 V(CONS_STRING_TYPE, ConsString::kSize, cons_string, ConsString) \
69 V(CONS_ONE_BYTE_STRING_TYPE, ConsString::kSize, cons_one_byte_string, \
Dstring-comparator.cc14 ConsString cons_string = String::VisitFlat(this, string, 0, access_guard); in Init()
Dobject-list-macros.h21 class ConsString; variable
97 V(ConsString) \
Dstring-table.cc718 source = ConsString::cast(source).first(); in TryStringToIndexOrLookupExisting()
Dobjects-body-descriptors-inl.h1068 return CALL_APPLY(ConsString); in BodyDescriptorApply()
/third_party/node/deps/v8/src/builtins/
Dcast.tq624 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);
Dbuiltins-string-gen.cc331 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()
Dstring-replaceall.tq135 // TODO(joshualitt): This leaves a completely degenerate ConsString tree.
/third_party/node/deps/v8/src/heap/
Dobjects-visiting-inl.h69 map, ConcreteVisitor::template Cast<ConsString>(object)); in Visit()
123 Map map, ConsString object) { in TORQUE_VISITOR_ID_LIST()
Dfactory-base.cc738 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()
Dconcurrent-marking.cc141 int VisitConsString(Map map, ConsString object) { in VisitConsString()
364 ConsString ConcurrentMarkingVisitor::Cast(HeapObject object) { in Cast()
365 return ConsString::unchecked_cast(object); in Cast()
Dobjects-visiting.h116 V8_INLINE ResultType VisitShortcutCandidate(Map map, ConsString object); in TORQUE_VISITOR_ID_LIST()
Dscavenger-inl.h304 ConsString object, in EvacuateShortcutCandidate()
379 map, slot, ConsString::unchecked_cast(source), size); in EvacuateObject()
Dscavenger.h179 ConsString object,
/third_party/node/deps/v8/src/regexp/
Dregexp-macro-assembler.cc390 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/
Druntime-strings.cc78 ConsString cons = ConsString::cast(*subject); in StringReplaceOneCharWithString()
/third_party/node/deps/v8/src/compiler/
Daccess-builder.cc709 FieldAccess access = {kTaggedBase, ConsString::kFirstOffset, in ForConsStringFirst()
718 FieldAccess access = {kTaggedBase, ConsString::kSecondOffset, in ForConsStringSecond()
Djs-typed-lowering.cc115 right_string.length().value() >= ConsString::kMinLength) in ShouldCreateConsString()
121 left_string.length().value() >= ConsString::kMinLength) { in ShouldCreateConsString()
/third_party/node/deps/v8/src/diagnostics/
Dobjects-debug.cc184 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/
Dgrokdump.py1395 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/
Dheap-snapshot-generator.cc1223 ConsString cs = ConsString::cast(string); in ExtractStringReferences()
1224 SetInternalReference(entry, "first", cs.first(), ConsString::kFirstOffset); in ExtractStringReferences()
1226 ConsString::kSecondOffset); in ExtractStringReferences()

12