Home
last modified time | relevance | path

Searched defs:literal (Results 1 – 25 of 48) sorted by relevance

12

/arkcompiler/runtime_core/libabckit/include/cpp/headers/
Dfile_impl.h47 for (const auto &literal : literals) { in CreateLiteralArray() local
114 AbckitLiteral *literal = GetApiConfig()->cMapi_->createLiteralBool(GetResource(), val); in CreateLiteralBool() local
121 AbckitLiteral *literal = GetApiConfig()->cMapi_->createLiteralDouble(GetResource(), val); in CreateLiteralDouble() local
128 …AbckitLiteral *literal = GetApiConfig()->cMapi_->createLiteralLiteralArray(GetResource(), val.GetV… in CreateLiteralLiteralArray() local
135 …AbckitLiteral *literal = GetApiConfig()->cMapi_->createLiteralString(GetResource(), val.data(), va… in CreateLiteralString() local
160 AbckitLiteral *literal = GetApiConfig()->cMapi_->createLiteralU8(GetResource(), value); in CreateLiteralU8() local
167 AbckitLiteral *literal = GetApiConfig()->cMapi_->createLiteralU16(GetResource(), value); in CreateLiteralU16() local
174 …AbckitLiteral *literal = GetApiConfig()->cMapi_->createLiteralMethodAffiliate(GetResource(), value… in CreateLiteralMethodAffiliate() local
181 AbckitLiteral *literal = GetApiConfig()->cMapi_->createLiteralU32(GetResource(), value); in CreateLiteralU32() local
188 AbckitLiteral *literal = GetApiConfig()->cMapi_->createLiteralU64(GetResource(), value); in CreateLiteralU64() local
[all …]
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyLiteralsProto.cpp104 for (const auto &literal : array.literals_) { in Serialize() local
114 panda::pandasm::LiteralArray::Literal literal; in Deserialize() local
120 void Literal::Serialize(const panda::pandasm::LiteralArray::Literal &literal, protoPanda::Literal &… in Serialize()
127 …Deserialize(const protoPanda::Literal &protoLiteral, panda::pandasm::LiteralArray::Literal &litera… in Deserialize()
/arkcompiler/runtime_core/libabckit/src/adapter_static/
Dmetadata_inspect_static.cpp284 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetBoolStatic() local
295 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetU8Static() local
306 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetU16Static() local
317 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetMethodAffiliateStatic() local
328 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetU32Static() local
339 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetU64Static() local
350 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetFloatStatic() local
361 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetDoubleStatic() local
373 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetStringStatic() local
/arkcompiler/runtime_core/libabckit/src/adapter_dynamic/
Dmetadata_inspect_dynamic.cpp307 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetBoolDynamic() local
318 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetU8Dynamic() local
329 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetU16Dynamic() local
340 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetMethodAffiliateDynamic() local
351 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetU32Dynamic() local
362 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetU64Dynamic() local
373 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetFloatDynamic() local
384 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetDoubleDynamic() local
395 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetLiteralArrayDynamic() local
421 auto *literal = reinterpret_cast<pandasm::LiteralArray::Literal *>(lit->val.get()); in LiteralGetStringDynamic() local
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
DtsLiteralTypeBuilder.h29 TSLiteralTypeBuilder &SetFunctionSignature(Expression *literal) in SetFunctionSignature()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsLiteralType.h24 explicit TSLiteralType(Expression *literal, ArenaAllocator *const allocator) in TSLiteralType()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsLiteralType.h34 …explicit TSLiteralType(Expression *literal) : TypeNode(AstNodeType::TS_LITERAL_TYPE), literal_(lit… in TSLiteralType()
/arkcompiler/runtime_core/libpandabase/utils/
Dtype_converter.cpp23 ValueUnit::ValueUnit(uint64_t value, const std::string_view &literal) : value_(value), literal_(lit… in ValueUnit()
25 ValueUnit::ValueUnit(double value, const std::string_view &literal) : value_(value), literal_(liter… in ValueUnit()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dtype_converter.cpp26 ValueUnit::ValueUnit(uint64_t value, std::string_view literal) : value_(value), literal_(literal) {} in ValueUnit()
28 ValueUnit::ValueUnit(double value, std::string_view literal) : value_(value), literal_(literal) {} in ValueUnit()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dconst_array_resolver.cpp115 pandasm::LiteralArray::Literal literal {}; in FillLiteralArray() local
276 static bool FillPrimitiveLiteral(pandasm::LiteralArray::Literal *literal, panda_file::Type::TypeId … in FillPrimitiveLiteral()
313 …Resolver::FillLiteral(compiler::StoreInst *storeArrayInst, pandasm::LiteralArray::Literal *literal) in FillLiteral()
/arkcompiler/ets_frontend/es2panda/util/
Ddumper.cpp26 for (auto literal : it.second.literals_) { in DumpLiterals() local
DpatchFix.cpp211 for (auto &literal : literalBuffer) { in ConvertLiteralToString() local
246 for (auto &literal : litPair.second) { in GetLiteralMethods() local
/arkcompiler/ets_frontend/ets2panda/checker/
DIsolatedDeclgenChecker.cpp131 std::string GetLiteralType(const ir::Literal *literal) in GetLiteralType()
145 std::string IsolatedDeclgenChecker::ProcessLiteralArgument(ir::Literal *literal, ir::ReturnStatemen… in ProcessLiteralArgument()
224 auto *literal = argument->AsLiteral(); in InferReturnTypeForArgument() local
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/
DetsImplements_test.cpp65 for (auto &literal : item.second.literals_) { variable
Dhello_world_test.cpp290 for (auto &literal : item.second.literals_) { variable
658 auto *literal = &(module_literals[idx]); in __anon3a331e0f0102() local
707 for (auto &literal : item.second.literals_) { variable
/arkcompiler/runtime_core/verifier/tests/
Dutils.cpp46 for (const auto &literal : literal_map) { in ModifyBuffer() local
/arkcompiler/ets_frontend/es2panda/compiler/base/
Dliterals.h64 void ResetLiteral(size_t index, const ir::Literal *literal) in ResetLiteral()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DstringConstructorLowering.cpp73 auto *literal = argType->IsETSNullType() ? ctx->AllocNode<ir::StringLiteral>("null") in ReplaceStringConstructor() local
DbigintLowering.cpp28 ir::Expression *CreateBigInt(public_lib::Context *ctx, ir::BigIntLiteral *literal) in CreateBigInt()
DconstantExpressionLowering.cpp42 auto literal = node->AsLiteral(); in IsSupportedLiteral() local
109 static TypeRank GetTypeRank(ir::Literal *const literal) in GetTypeRank()
130 static bool TestLiteralIsNotZero(ir::Literal *literal) in TestLiteralIsNotZero()
622 auto literal = unary->Argument()->AsLiteral(); in FoldUnaryNumericConstant() local
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Demitter.cpp42 static LiteralPair TransformMethodLiterals(const compiler::Literal *literal) in TransformMethodLiterals()
82 static LiteralPair TransformLiteral(const compiler::Literal *literal) in TransformLiteral()
524 for (const auto &literal : literals) { in AddLiteralBuffer() local
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.cpp21 uint32_t literal, CString entry, JSHandle<JSTaggedValue> sendableEnv, ClassKind kind) in GetClassLiteralFromCache()
64 uint32_t literal, CString entry) in GetFieldLiteral()
Dpanda_file_translator.cpp244 JSHandle<TaggedArray> literal = LiteralDataExtractor::GetDatasIgnoreType( in ParseConstPool() local
253 JSHandle<TaggedArray> literal = LiteralDataExtractor::GetDatasIgnoreTypeForClass( in ParseConstPool() local
316 JSHandle<TaggedArray> literal = LiteralDataExtractor::GetDatasIgnoreType( in ParseFuncAndLiteralConstPool() local
324 JSHandle<TaggedArray> literal = LiteralDataExtractor::GetDatasIgnoreTypeForClass( in ParseFuncAndLiteralConstPool() local
/arkcompiler/runtime_core/static_core/assembler/
Dassembly-emitter.cpp901 static ScalarValue CreateValue(const LiteralArray::Literal &literal) in CreateValue()
911 static ScalarValue CheckAndCreateArrayValue(const LiteralArray::Literal &literal, in CheckAndCreateArrayValue()
918 static ScalarValue MakeLiteralItemArrayValue(const LiteralArray::Literal &literal, const Program &p… in MakeLiteralItemArrayValue()
957 static ScalarValue MakeLiteralItemValue(const LiteralArray::Literal &literal, const Program &progra… in MakeLiteralItemValue()
1032 for (auto &literal : l.literals) { in MakeLiteralItems() local
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dslow_runtime_stub.cpp595 …lowRuntimeStub::CreateObjectWithBuffer(JSThread *thread, ObjectFactory *factory, JSObject *literal) in CreateObjectWithBuffer()
604 …wRuntimeStub::CreateObjectHavingMethod(JSThread *thread, ObjectFactory *factory, JSObject *literal, in CreateObjectHavingMethod()
692 … SlowRuntimeStub::CreateArrayWithBuffer(JSThread *thread, ObjectFactory *factory, JSArray *literal) in CreateArrayWithBuffer()
701 JSTaggedValue SlowRuntimeStub::GetTemplateObject(JSThread *thread, JSTaggedValue literal) in GetTemplateObject()
1116 …ggedValue SlowRuntimeStub::ResolveClass(JSThread *thread, JSTaggedValue ctor, TaggedArray *literal, in ResolveClass()

12