Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/util/
Dhelpers.cpp146 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, double number) in ToStringView() function in ark::es2panda::util::Helpers
152 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, uint32_t number) in ToStringView() function in ark::es2panda::util::Helpers
155 return ToStringView(allocator, static_cast<int32_t>(number)); in ToStringView()
158 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, int32_t number) in ToStringView() function in ark::es2panda::util::Helpers
593 return {Helpers::ToStringView(allocator, index), true}; in ParamName()
Dhelpers.h116 static util::StringView ToStringView(ArenaAllocator *allocator, double number);
117 static util::StringView ToStringView(ArenaAllocator *allocator, int32_t number);
118 static util::StringView ToStringView(ArenaAllocator *allocator, uint32_t number);
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.h127 static util::StringView ToStringView(ArenaAllocator *allocator, double number);
128 static util::StringView ToStringView(ArenaAllocator *allocator, int32_t number);
129 static util::StringView ToStringView(ArenaAllocator *allocator, uint32_t number);
Dhelpers.cpp89 return Helpers::ToStringView(allocator, lit->AsNumberLiteral()->Number()); in LiteralToPropName()
311 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, double number) in ToStringView() function in panda::es2panda::util::Helpers
317 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, uint32_t number) in ToStringView() function in panda::es2panda::util::Helpers
320 return ToStringView(allocator, static_cast<int32_t>(number)); in ToStringView()
323 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, int32_t number) in ToStringView() function in panda::es2panda::util::Helpers
599 return {Helpers::ToStringView(allocator, index), true}; in ParamName()
/arkcompiler/ets_frontend/es2panda/typescript/core/
DtypeElaborationContext.cpp65 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in Start()
DdestructuringContext.cpp222 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in GetTypeFromTupleByIndex()
327 … util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), iterIndex); in CreateTupleTypeForRest()
458 util::StringView name = util::Helpers::ToStringView(checker_->Allocator(), 0); in Start()
Dfunction.cpp158 util::StringView memberIndex = util::Helpers::ToStringView(allocator_, index); in CreateParameterTypeForArrayAssignmentPattern()
501 … propName = util::Helpers::ToStringView(allocator_, prop->Key()->AsNumberLiteral()->Number()); in CreatePatternParameterName()
Dobject.cpp417 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.cpp227 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in GetTypeFromTupleByIndex()
331 … util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), iterIndex); in CreateTupleTypeForRest()
501 util::StringView name = util::Helpers::ToStringView(checker_->Allocator(), 0); in Start()
Dfunction.cpp156 util::StringView memberIndex = util::Helpers::ToStringView(Allocator(), index); in CreateParameterTypeForArrayAssignmentPattern()
438 … util::Helpers::ToStringView(Allocator(), prop->Key()->AsNumberLiteral()->Number().GetDouble()); in HandlePropertyPatternParameterName()
Dobject.cpp404 util::Helpers::ToStringView(Allocator(), indexType->AsNumberLiteralType()->Value()); in GetPropertyTypeForIndexType()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsTupleType.cpp59 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in GetType()
DtsEnumDeclaration.cpp262 util::StringView memberStr = util::Helpers::ToStringView(checker->Allocator(), number); in AddEnumValueDeclaration()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsTupleType.cpp94 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in GetType()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrayExpression.cpp246 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in Check()
361 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index - 1); in CheckPattern()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Dfunction.cpp80 util::StringView name = util::Helpers::ToStringView(pg->Allocator(), index); in CompileFunctionParameterDeclaration()
Dpandagen.cpp1322 Sa().Emit<EcmaCreateobjectwithbuffer>(node, util::Helpers::ToStringView(Allocator(), idx)); in CreateObjectWithBuffer()
1329 Sa().Emit<EcmaCreateobjecthavingmethod>(node, util::Helpers::ToStringView(Allocator(), idx)); in CreateObjectHavingMethod()
1358 Sa().Emit<EcmaCreatearraywithbuffer>(node, util::Helpers::ToStringView(Allocator(), idx)); in CreateArrayWithBuffer()
1546 …Sa().Emit<EcmaDefineclassprivatefields>(node, util::Helpers::ToStringView(Allocator(), privateBufI… in DefineClassPrivateFields()
1836 … Sa().Emit<EcmaLdevalbindings>(node, util::Helpers::ToStringView(Allocator(), scopeBindingsBuf)); in DirectEval()
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp89 util::StringView name = util::Helpers::ToStringView(pg->Allocator(), index); in CompileFunctionParameterDeclaration()
Dpandagen.cpp2100 return util::Helpers::ToStringView(allocator_, num); in ToNamedPropertyKey()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DarrayExpression.cpp338 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index - 1); in CheckPattern()
/arkcompiler/ets_frontend/ets2panda/checker/
DTSAnalyzer.cpp280 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in Check()
1717 util::StringView memberStr = util::Helpers::ToStringView(checker->Allocator(), number); in AddEnumValueDeclaration()