| /arkcompiler/runtime_core/libabckit/include/cpp/headers/ |
| D | file_impl.h | 47 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/ |
| D | assemblyLiteralsProto.cpp | 104 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/ |
| D | metadata_inspect_static.cpp | 284 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/ |
| D | metadata_inspect_dynamic.cpp | 307 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/ |
| D | tsLiteralTypeBuilder.h | 29 TSLiteralTypeBuilder &SetFunctionSignature(Expression *literal) in SetFunctionSignature()
|
| /arkcompiler/ets_frontend/ets2panda/ir/ts/ |
| D | tsLiteralType.h | 24 explicit TSLiteralType(Expression *literal, ArenaAllocator *const allocator) in TSLiteralType()
|
| /arkcompiler/ets_frontend/es2panda/ir/ts/ |
| D | tsLiteralType.h | 34 …explicit TSLiteralType(Expression *literal) : TypeNode(AstNodeType::TS_LITERAL_TYPE), literal_(lit… in TSLiteralType()
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | type_converter.cpp | 23 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/ |
| D | type_converter.cpp | 26 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/ |
| D | const_array_resolver.cpp | 115 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/ |
| D | dumper.cpp | 26 for (auto literal : it.second.literals_) { in DumpLiterals() local
|
| D | patchFix.cpp | 211 for (auto &literal : literalBuffer) { in ConvertLiteralToString() local 246 for (auto &literal : litPair.second) { in GetLiteralMethods() local
|
| /arkcompiler/ets_frontend/ets2panda/checker/ |
| D | IsolatedDeclgenChecker.cpp | 131 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/ |
| D | etsImplements_test.cpp | 65 for (auto &literal : item.second.literals_) { variable
|
| D | hello_world_test.cpp | 290 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/ |
| D | utils.cpp | 46 for (const auto &literal : literal_map) { in ModifyBuffer() local
|
| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | literals.h | 64 void ResetLiteral(size_t index, const ir::Literal *literal) in ResetLiteral()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | stringConstructorLowering.cpp | 73 auto *literal = argType->IsETSNullType() ? ctx->AllocNode<ir::StringLiteral>("null") in ReplaceStringConstructor() local
|
| D | bigintLowering.cpp | 28 ir::Expression *CreateBigInt(public_lib::Context *ctx, ir::BigIntLiteral *literal) in CreateBigInt()
|
| D | constantExpressionLowering.cpp | 42 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/ |
| D | emitter.cpp | 42 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/ |
| D | program_object.cpp | 21 uint32_t literal, CString entry, JSHandle<JSTaggedValue> sendableEnv, ClassKind kind) in GetClassLiteralFromCache() 64 uint32_t literal, CString entry) in GetFieldLiteral()
|
| D | panda_file_translator.cpp | 244 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/ |
| D | assembly-emitter.cpp | 901 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/ |
| D | slow_runtime_stub.cpp | 595 …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()
|