Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.h80 static util::StringView ToStringView(ArenaAllocator *allocator, double number);
81 static util::StringView ToStringView(ArenaAllocator *allocator, int32_t number);
82 static util::StringView ToStringView(ArenaAllocator *allocator, uint32_t number);
Dhelpers.cpp86 return Helpers::ToStringView(allocator, lit->AsNumberLiteral()->Number()); in LiteralToPropName()
304 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, double number) in ToStringView() function in panda::es2panda::util::Helpers
310 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, uint32_t number) in ToStringView() function in panda::es2panda::util::Helpers
313 return ToStringView(allocator, static_cast<int32_t>(number)); in ToStringView()
316 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, int32_t number) in ToStringView() function in panda::es2panda::util::Helpers
579 return {Helpers::ToStringView(allocator, index), true}; in ParamName()
/arkcompiler/ets_frontend/ets2panda/util/
Dhelpers.h80 static util::StringView ToStringView(ArenaAllocator *allocator, double number);
81 static util::StringView ToStringView(ArenaAllocator *allocator, int32_t number);
82 static util::StringView ToStringView(ArenaAllocator *allocator, uint32_t number);
Dhelpers.cpp145 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, double number) in ToStringView() function in panda::es2panda::util::Helpers
151 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, uint32_t number) in ToStringView() function in panda::es2panda::util::Helpers
154 return ToStringView(allocator, static_cast<int32_t>(number)); in ToStringView()
157 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, int32_t number) in ToStringView() function in panda::es2panda::util::Helpers
631 return {Helpers::ToStringView(allocator, index), true}; in ParamName()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
DtypeElaborationContext.cpp65 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in Start()
DdestructuringContext.cpp214 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in GetTypeFromTupleByIndex()
318 … util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), iterIndex); in CreateTupleTypeForRest()
449 util::StringView name = util::Helpers::ToStringView(checker_->Allocator(), 0); in Start()
Dfunction.cpp156 util::StringView memberIndex = util::Helpers::ToStringView(Allocator(), index); in CreateParameterTypeForArrayAssignmentPattern()
477 propName = util::Helpers::ToStringView(Allocator(), in CreatePatternParameterName()
Dobject.cpp406 util::Helpers::ToStringView(Allocator(), indexType->AsNumberLiteralType()->Value()); in GetPropertyTypeForIndexType()
/arkcompiler/ets_frontend/es2panda/typescript/core/
DtypeElaborationContext.cpp65 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in Start()
DdestructuringContext.cpp213 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in GetTypeFromTupleByIndex()
317 … util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), iterIndex); in CreateTupleTypeForRest()
448 util::StringView name = util::Helpers::ToStringView(checker_->Allocator(), 0); in Start()
Dfunction.cpp157 util::StringView memberIndex = util::Helpers::ToStringView(allocator_, index); in CreateParameterTypeForArrayAssignmentPattern()
495 … propName = util::Helpers::ToStringView(allocator_, prop->Key()->AsNumberLiteral()->Number()); in CreatePatternParameterName()
Dobject.cpp411 util::Helpers::ToStringView(allocator_, indexType->AsNumberLiteralType()->Value()); in GetPropertyTypeForIndexType()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsTupleType.cpp58 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.cpp78 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in GetType()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrayExpression.cpp245 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in Check()
359 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.cpp1282 Sa().Emit<EcmaCreateobjectwithbuffer>(node, util::Helpers::ToStringView(Allocator(), idx)); in CreateObjectWithBuffer()
1289 Sa().Emit<EcmaCreateobjecthavingmethod>(node, util::Helpers::ToStringView(Allocator(), idx)); in CreateObjectHavingMethod()
1317 Sa().Emit<EcmaCreatearraywithbuffer>(node, util::Helpers::ToStringView(Allocator(), idx)); in CreateArrayWithBuffer()
1493 …Sa().Emit<EcmaDefineclassprivatefields>(node, util::Helpers::ToStringView(Allocator(), privateBufI… in DefineClassPrivateFields()
1783 … 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.cpp2097 return util::Helpers::ToStringView(allocator_, num); in ToNamedPropertyKey()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DarrayExpression.cpp323 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index - 1); in CheckPattern()
/arkcompiler/ets_frontend/ets2panda/checker/
DTSAnalyzer.cpp414 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in Check()
1922 util::StringView memberStr = util::Helpers::ToStringView(checker->Allocator(), number); in AddEnumValueDeclaration()