Searched refs:line_ends (Results 1 - 7 of 7) sorted by relevance
/third_party/node/deps/v8/src/debug/ |
H A D | debug-interface.cc | 524 CHECK(script->line_ends().IsFixedArray()); in GetPossibleBreakpoints() 525 i::Handle<i::FixedArray> line_ends = in GetPossibleBreakpoints() local 526 i::Handle<i::FixedArray>::cast(i::handle(script->line_ends(), isolate)); in GetPossibleBreakpoints() 527 CHECK(line_ends->length()); in GetPossibleBreakpoints() 531 ? GetSmiValue(line_ends, line_ends->length() - 1) + 1 in GetPossibleBreakpoints() 546 while (offset > GetSmiValue(line_ends, current_line_end_index)) { in GetPossibleBreakpoints() 548 CHECK(current_line_end_index < line_ends->length()); in GetPossibleBreakpoints() 553 line_offset = GetSmiValue(line_ends, current_line_end_index - 1) + 1; in GetPossibleBreakpoints() 580 CHECK(script->line_ends() in GetSourceOffset() 581 i::Handle<i::FixedArray> line_ends = i::Handle<i::FixedArray>::cast( GetSourceOffset() local [all...] |
H A D | debug.cc | 2565 Handle<FixedArray> line_ends(FixedArray::cast(script->line_ends()), in PrintBreakLocation() 2567 int line_start = line == 0 ? 0 : Smi::ToInt(line_ends->get(line - 1)) + 1; in PrintBreakLocation() 2568 int line_end = Smi::ToInt(line_ends->get(line)); in PrintBreakLocation()
|
/third_party/node/deps/v8/src/objects/ |
H A D | string.cc | 949 static void CalculateLineEndsImpl(std::vector<int>* line_ends, in CalculateLineEndsImpl() argument 956 if (IsLineTerminatorSequence(current, next)) line_ends->push_back(i); in CalculateLineEndsImpl() 960 line_ends->push_back(src_len - 1); in CalculateLineEndsImpl() 965 line_ends->push_back(src_len); in CalculateLineEndsImpl() 977 std::vector<int> line_ends; in CalculateLineEnds() local 978 line_ends.reserve(line_count_estimate); in CalculateLineEnds() 985 CalculateLineEndsImpl(&line_ends, content.ToOneByteVector(), in CalculateLineEnds() 988 CalculateLineEndsImpl(&line_ends, content.ToUC16Vector(), in CalculateLineEnds() 992 int line_count = static_cast<int>(line_ends.size()); in CalculateLineEnds() 996 array->set(i, Smi::FromInt(line_ends[ in CalculateLineEnds() [all...] |
H A D | objects.cc | 4824 if (!script->line_ends().IsUndefined(isolate)) return; in InitLineEnds() 4841 DCHECK(script->line_ends().IsFixedArray()); in InitLineEnds() 4853 // For wasm, we do not create an artificial line_ends array, but do the in GetPositionInfo() 4945 if (line_ends().IsUndefined()) { in GetPositionInfo() 4946 // Slow mode: we do not have line_ends. We have to iterate through source. in GetPositionInfo() 4951 DCHECK(line_ends().IsFixedArray()); in GetPositionInfo() 4952 FixedArray ends = FixedArray::cast(line_ends()); in GetPositionInfo()
|
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-debug.cc | 564 FixedArray line_ends_array = FixedArray::cast(script->line_ends()); in ScriptLinePosition()
|
/third_party/node/deps/v8/src/profiler/ |
H A D | heap-snapshot-generator.cc | 1453 TagObject(script.line_ends(), "(script line ends)", HeapEntry::kCode); in ExtractScriptReferences() 1454 SetInternalReference(entry, "line_ends", script.line_ends(), in ExtractScriptReferences()
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | objects-printer.cc | 2200 os << "\n - line ends: " << Brief(line_ends()); in ScriptPrint()
|
Completed in 31 milliseconds