Home
last modified time | relevance | path

Searched refs:line_ends (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/js/
Dmessages.js238 var line_ends = this.line_ends;
241 if (position > line_ends[upper]) {
246 if (position <= line_ends[0]) {
254 if (position > line_ends[i]) {
256 } else if (position <= line_ends[i - 1]) {
280 var line_ends = this.line_ends;
281 var start = line == 0 ? 0 : line_ends[line - 1] + 1;
282 var end = line_ends[line];
343 this.line_ends[offset_line + line - 1] + 1 + column); // line > 0 here.
377 var line_ends = this.line_ends;
[all …]
/external/v8/src/
Daccessors.cc553 DCHECK(script->line_ends()->IsFixedArray()); in ScriptLineEndsGetter()
554 Handle<FixedArray> line_ends(FixedArray::cast(script->line_ends())); in ScriptLineEndsGetter() local
556 DCHECK(*line_ends == isolate->heap()->empty_fixed_array() || in ScriptLineEndsGetter()
557 line_ends->map() == isolate->heap()->fixed_cow_array_map()); in ScriptLineEndsGetter()
559 isolate->factory()->NewJSArrayWithElements(line_ends); in ScriptLineEndsGetter()
Disolate.cc522 Handle<FixedArray> line_ends(FixedArray::cast(script->line_ends())); in NewStackFrameObject() local
524 Smi::cast(line_ends->get(relative_line_number - 1))->value() + 1; in NewStackFrameObject()
Dobjects-debug.cc1019 VerifyPointer(line_ends()); in ScriptVerify()
Dobjects-printer.cc1125 os << "\n - line ends: " << Brief(line_ends()); in ScriptPrint()
Dobjects.cc11621 List<int>* line_ends, in CalculateLineEndsImpl() argument
11629 if (cache->IsLineTerminatorSequence(current, next)) line_ends->Add(i); in CalculateLineEndsImpl()
11633 line_ends->Add(src_len - 1); in CalculateLineEndsImpl()
11638 line_ends->Add(src_len); in CalculateLineEndsImpl()
11649 List<int> line_ends(line_count_estimate); in CalculateLineEnds() local
11657 &line_ends, in CalculateLineEnds()
11662 &line_ends, in CalculateLineEnds()
11667 int line_count = line_ends.length(); in CalculateLineEnds()
11670 array->set(i, Smi::FromInt(line_ends[i])); in CalculateLineEnds()
13366 if (!script->line_ends()->IsUndefined()) return; in InitLineEnds()
[all …]
Dobjects-inl.h5563 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) in ACCESSORS()
Dobjects.h6288 DECL_ACCESSORS(line_ends, Object)
/external/v8/src/profiler/
Dheap-snapshot-generator.cc1414 TagObject(script->line_ends(), "(script line ends)"); in ExtractScriptReferences()
1416 "line_ends", script->line_ends(), in ExtractScriptReferences()