Home
last modified time | relevance | path

Searched refs:Range (Results 1 - 25 of 88) sorted by relevance

1234

/arkcompiler/runtime_core/static_core/verification/util/
H A Drange.h27 class Range;
31 class Range<Int> { class
92 Range(const Container &cont) : from_ {0}, to_ {cont.size() - 1} in Range() function in ark::verifier::Range
95 Range(const Int from, const Int to) : from_ {std::min(from, to)}, to_ {std::max(from, to)} {} in Range() function in ark::verifier::Range
96 Range() = default;
97 ~Range() = default;
115 Range BasedAt(Int point) const in BasedAt()
117 return Range {point, point + to_ - from_}; in BasedAt()
153 bool operator==(const Range &rhs) const in operator ==()
164 Range(In member
[all...]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
H A Dcollection_set.h98 return Range<PandaVector<Region *>::iterator>(begin(), begin() + tenuredBegin_); in Young()
103 return Range<PandaVector<Region *>::const_iterator>(begin(), begin() + tenuredBegin_); in Young()
108 return Range<PandaVector<Region *>::iterator>(begin() + tenuredBegin_, begin() + humongousBegin_); in Tenured()
113 return Range<PandaVector<Region *>::const_iterator>(begin() + tenuredBegin_, begin() + humongousBegin_); in Tenured()
118 return Range<PandaVector<Region *>::iterator>(begin() + humongousBegin_, end()); in Humongous()
123 return Range<PandaVector<Region *>::const_iterator>(begin() + humongousBegin_, end()); in Humongous()
128 return Range<PandaVector<Region *>::iterator>(begin(), begin() + humongousBegin_); in Movable()
133 return Range<PandaVector<Region *>::const_iterator>(begin(), begin() + humongousBegin_); in Movable()
/arkcompiler/ets_frontend/ets2panda/lexer/token/
H A DsourceLocation.h69 class Range { class
71 explicit Range(size_t bS) noexcept : byteSize(bS) {} in byteSize()
73 DEFAULT_COPY_SEMANTIC(Range);
74 DEFAULT_MOVE_SEMANTIC(Range);
75 ~Range() = default;
94 std::vector<Range> ranges {};
H A DsourceLocation.cpp29 ranges.emplace_back(Range {diff}); in AddCol()
38 ranges.emplace_back(Range {diff}); in AddCol()
/arkcompiler/ets_frontend/es2panda/lexer/token/
H A DsourceLocation.h69 class Range { class
71 explicit Range(size_t bS) noexcept : byteSize(bS) {} in byteSize()
73 DEFAULT_COPY_SEMANTIC(Range);
74 DEFAULT_MOVE_SEMANTIC(Range);
75 ~Range() = default;
91 std::vector<Range> ranges {};
H A DsourceLocation.cpp30 ranges.emplace_back(Range {diff}); in AddCol()
39 ranges.emplace_back(Range {diff}); in AddCol()
/arkcompiler/runtime_core/libpandabase/os/
H A Ddebug_info.h95 class Range { class in panda::DebugInfo
97 Range(Dwarf_Addr low_pc, Dwarf_Addr high_pc, CompUnit *cu = nullptr, in Range() function in panda::DebugInfo::Range
118 bool Contain(const Range &r) const in Contain()
138 bool operator<(const Range &r) const in operator <()
143 bool operator==(const Range &r) const in operator ==()
179 std::set<Range> ranges_;
H A Ddebug_info.cpp247 Range range(pc, pc); in GetSrcLocation()
258 ranges->insert(Range(low_pc, high_pc, cu)); in GetSrcLocation()
350 auto it = ranges_.upper_bound(Range(low_pc, low_pc)); in AddFunction()
352 Range range(low_pc, high_pc, cu, function); in AddFunction()
354 Range enclosing = *it; in AddFunction()
357 ranges_.insert(Range(enclosing.GetLowPc(), low_pc, enclosing.GetCu(), enclosing.GetFunction())); in AddFunction()
361 ranges_.insert(Range(high_pc, enclosing.GetHighPc(), enclosing.GetCu(), enclosing.GetFunction())); in AddFunction()
364 ranges_.insert(Range(range.GetLowPc(), it->GetLowPc(), cu, function)); in AddFunction()
365 ranges_.insert(Range(it->GetHighPc(), range.GetHighPc(), cu, function)); in AddFunction()
/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Ddebug_info.h96 class Range { class in ark::DebugInfo
98 Range(Dwarf_Addr lowPc, Dwarf_Addr highPc, CompUnit *cu = nullptr, in Range() function in ark::DebugInfo::Range
119 bool Contain(const Range &r) const in Contain()
139 bool operator<(const Range &r) const in operator <()
144 bool operator==(const Range &r) const in operator ==()
180 std::set<Range> ranges_;
H A Ddebug_info.cpp331 Range range(pc, pc); in GetSrcLocation()
342 ranges->insert(Range(lowPc, highPc, cu)); in GetSrcLocation()
434 auto it = ranges_.upper_bound(Range(lowPc, lowPc)); in AddFunction()
436 Range range(lowPc, highPc, cu, function); in AddFunction()
438 Range enclosing = *it; // NOLINT(performance-unnecessary-copy-initialization) in AddFunction()
441 ranges_.insert(Range(enclosing.GetLowPc(), lowPc, enclosing.GetCu(), enclosing.GetFunction())); in AddFunction()
445 ranges_.insert(Range(highPc, enclosing.GetHighPc(), enclosing.GetCu(), enclosing.GetFunction())); in AddFunction()
448 ranges_.insert(Range(range.GetLowPc(), it->GetLowPc(), cu, function)); in AddFunction()
449 ranges_.insert(Range(it->GetHighPc(), range.GetHighPc(), cu, function)); in AddFunction()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/
H A DglobalDeclTransformer.cpp45 funcExpr->SetRange(funcDecl->Function()->Range()); in VisitFunctionDeclaration()
55 method->SetRange(funcDecl->Range()); in VisitFunctionDeclaration()
73 field->SetRange(declarator->Range()); in VisitVariableDeclaration()
99 ident->SetRange(classProperty->Id()->Range()); in InitTopLevelProperty()
109 expressionStatement->SetRange(classProperty->Range()); in InitTopLevelProperty()
/arkcompiler/runtime_core/libpandabase/utils/
H A Drange.h22 class Range { class
24 Range(It begin, It end) : begin_(begin), end_(end) {} in Range() function in panda::Range
H A Dbit_table.h304 class Range { class in panda::BitTable
309 Range(BitTable *table, int start, int end) : table_(table), start_(start), end_(end) {} in Range() function in panda::BitTable::Range
351 return Range<false>(this, start, end); in GetRange()
355 return Range<true>(this, end - 1, start - 1); in GetRangeReversed()
360 return Range<true>(this, -1, -1); in GetRangeReversed()
362 return Range<true>(this, GetRowsCount() - 1, -1); in GetRangeReversed()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Drange.h21 class Range { class
23 Range(It begin, It end) : begin_(begin), end_(end) {} in Range() function in ark::Range
H A Dbit_table.h319 class Range { class in ark::BitTable
324 Range(BitTable *table, int start, int end) : table_(table), start_(start), end_(end) {} in Range() function in ark::BitTable::Range
372 return Range<false>(this, start, end); in GetRange()
376 return Range<true>(this, end - 1, start - 1); in GetRangeReversed()
381 return Range<true>(this, -1, -1); in GetRangeReversed()
383 return Range<true>(this, GetRowsCount() - 1, -1); in GetRangeReversed()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DpromiseVoid.cpp45 const auto &returnLoc = returnStmt->Range(); in HandleAsyncScriptFunctionBody()
153 const auto &loc = last->Range(); in Perform()
158 const auto &loc = id->Range(); in Perform()
163 const auto &loc = body->Range(); in Perform()
167 const auto &loc = function->Range(); in Perform()
H A DinterfacePropertyDeclarations.cpp90 paramExpression->SetRange(paramIdent->Range()); in GenerateGetterOrSetter()
107 func->SetRange(field->Range()); in GenerateGetterOrSetter()
119 funcExpr->SetRange(func->Range()); in GenerateGetterOrSetter()
126 method->SetRange(field->Range()); in GenerateGetterOrSetter()
186 newInterface->SetRange(interface->Range()); in UpdateInterfacePropertys()
H A DoptionalLowering.cpp39 if (isDummyLoc(n->Range())) { in RefineSourceRanges()
40 n->SetRange(n->Parent()->Range()); in RefineSourceRanges()
H A DobjectIndexAccess.cpp43 loweringResult->SetRange(assignmentExpression->Range()); in ProcessIndexSetAccess()
61 loweringResult->SetRange(memberExpression->Range()); in ProcessIndexGetAccess()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dcg_option.h27 struct Range { struct
266 void SetRange(const std::string &str, const std::string &cmd, Range &subRange);
481 static Range &GetRange() in GetRange()
496 static Range &GetSpillRanges() in GetSpillRanges()
932 static Range range;
937 static Range spillRanges;
/arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/
H A Dgc_workers_tasks.h149 using MovedObjectsRange = std::conditional_t<VECTOR, Range<PandaVector<ObjectHeader *>::iterator>,
150 Range<PandaDeque<ObjectHeader *>::iterator>>;
/arkcompiler/ets_frontend/es2panda/util/
H A Dconcurrent.cpp44 auto line = expr->Range().start.line; in ThrowInvalidConcurrentFunction()
45 auto column = (const_cast<lexer::LineIndex &>(lineIndex)).GetLocation(expr->Range().start).col - 1; in ThrowInvalidConcurrentFunction()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dcg_option.cpp48 Range CGOptions::range = Range();
49 Range CGOptions::spillRanges = Range();
287 void CGOptions::SetRange(const std::string &str, const std::string &cmd, Range &subRange) in SetRange()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/
H A Dpending_exception_test.cpp62 INSTANTIATE_TEST_SUITE_P(MovingGcExceptionTests, PendingEtsExceptionTest, ::testing::Range(0, 8));
/arkcompiler/ets_frontend/ets2panda/ir/expressions/literals/
H A DbooleanLiteral.cpp69 clone->SetRange(Range()); in Clone()

Completed in 16 milliseconds

1234