Home
last modified time | relevance | path

Searched refs:ToStringView (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/util/
Dhelpers.h111 static util::StringView ToStringView(ArenaAllocator *allocator, double number);
112 static util::StringView ToStringView(ArenaAllocator *allocator, int32_t number);
113 static util::StringView ToStringView(ArenaAllocator *allocator, uint32_t number);
Dhelpers.cpp150 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, double number) in ToStringView() function in ark::es2panda::util::Helpers
156 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, uint32_t number) in ToStringView() function in ark::es2panda::util::Helpers
159 return ToStringView(allocator, static_cast<int32_t>(number)); in ToStringView()
162 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, int32_t number) in ToStringView() function in ark::es2panda::util::Helpers
623 return {Helpers::ToStringView(allocator, index), true}; in ParamName()
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.h140 static util::StringView ToStringView(ArenaAllocator *allocator, double number);
141 static util::StringView ToStringView(ArenaAllocator *allocator, int32_t number);
142 static util::StringView ToStringView(ArenaAllocator *allocator, uint32_t number);
Dhelpers.cpp78 return Helpers::ToStringView(allocator, lit->AsNumberLiteral()->Number()); in LiteralToPropName()
300 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, double number) in ToStringView() function in panda::es2panda::util::Helpers
306 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, uint32_t number) in ToStringView() function in panda::es2panda::util::Helpers
309 return ToStringView(allocator, static_cast<int32_t>(number)); in ToStringView()
312 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, int32_t number) in ToStringView() function in panda::es2panda::util::Helpers
588 return {Helpers::ToStringView(allocator, index), true}; in ParamName()
/arkcompiler/ets_frontend/es2panda/typescript/core/
DtypeElaborationContext.cpp62 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in Start()
DdestructuringContext.cpp221 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in GetTypeFromTupleByIndex()
326 … util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), iterIndex); in CreateTupleTypeForRest()
457 util::StringView name = util::Helpers::ToStringView(checker_->Allocator(), 0); in Start()
Dfunction.cpp142 util::StringView memberIndex = util::Helpers::ToStringView(allocator_, index); in CreateParameterTypeForArrayAssignmentPattern()
485 … propName = util::Helpers::ToStringView(allocator_, prop->Key()->AsNumberLiteral()->Number()); in CreatePatternParameterName()
Dobject.cpp404 util::Helpers::ToStringView(allocator_, indexType->AsNumberLiteralType()->Value()); in GetPropertyTypeForIndexType()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
DtypeElaborationContext.cpp65 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in Start()
DdestructuringContext.cpp226 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in GetTypeFromTupleByIndex()
330 … util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), iterIndex); in CreateTupleTypeForRest()
501 util::StringView name = util::Helpers::ToStringView(checker_->Allocator(), 0); in Start()
Dfunction.cpp157 util::StringView memberIndex = util::Helpers::ToStringView(Allocator(), index); in CreateParameterTypeForArrayAssignmentPattern()
447 … util::Helpers::ToStringView(Allocator(), prop->Key()->AsNumberLiteral()->Number().GetDouble()); in HandlePropertyPatternParameterName()
Dobject.cpp405 util::Helpers::ToStringView(Allocator(), indexType->AsNumberLiteralType()->Value()); in GetPropertyTypeForIndexType()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsTupleType.cpp55 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in GetType()
DtsEnumDeclaration.cpp260 util::StringView memberStr = util::Helpers::ToStringView(checker->Allocator(), number); in AddEnumValueDeclaration()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrayExpression.cpp243 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in Check()
358 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index - 1); in CheckPattern()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsTupleType.cpp116 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in GetType()
/arkcompiler/jsvm/src/inspector/
Dinspector_utils.h239 inline std::basic_string_view<T> ToStringView() const in ToStringView() function
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Dfunction.cpp80 util::StringView name = util::Helpers::ToStringView(pg->Allocator(), index); in CompileFunctionParameterDeclaration()
Dpandagen.cpp1277 Sa().Emit<EcmaCreateobjectwithbuffer>(node, util::Helpers::ToStringView(Allocator(), idx)); in CreateObjectWithBuffer()
1284 Sa().Emit<EcmaCreateobjecthavingmethod>(node, util::Helpers::ToStringView(Allocator(), idx)); in CreateObjectHavingMethod()
1313 Sa().Emit<EcmaCreatearraywithbuffer>(node, util::Helpers::ToStringView(Allocator(), idx)); in CreateArrayWithBuffer()
1501 …Sa().Emit<EcmaDefineclassprivatefields>(node, util::Helpers::ToStringView(Allocator(), privateBufI… in DefineClassPrivateFields()
1792 … Sa().Emit<EcmaLdevalbindings>(node, util::Helpers::ToStringView(Allocator(), scopeBindingsBuf)); in DirectEval()
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp83 util::StringView name = util::Helpers::ToStringView(pg->Allocator(), index); in CompileFunctionParameterDeclaration()
Dpandagen.cpp2146 return util::Helpers::ToStringView(allocator_, num); in ToNamedPropertyKey()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DarrayExpression.cpp330 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index - 1); in CheckPattern()
/arkcompiler/ets_frontend/ets2panda/checker/
DTSAnalyzer.cpp282 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in Check()
1730 util::StringView memberStr = util::Helpers::ToStringView(checker->Allocator(), number); in AddEnumValueDeclaration()