/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | literal.cpp | 47 return AsStringLiteral()->Str(); in GetString() 50 return AsNumberLiteral()->Str(); in GetString() 53 return AsTaggedLiteral()->Str(); in GetString() 71 return AsStringLiteral()->Str(); in GetName() 74 return AsNumberLiteral()->Str(); in GetName() 77 return AsBigIntLiteral()->Str(); in GetName() 80 return AsTaggedLiteral()->Str(); in GetName()
|
H A D | memberExpression.cpp | 137 {"Property ", property_->AsNumberLiteral()->Str(), " does not exist on this type."}, in Check() 142 {"Property ", property_->AsStringLiteral()->Str(), " does not exist on this type."}, in Check()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | class_helper.h | 59 template <typename Str = std::string> 60 static Str GetName(const uint8_t *descriptor); 62 template <typename Str = std::string> 63 static Str GetNameUndecorated(const uint8_t *descriptor); 90 // Str is std::string or PandaString 92 template <typename Str> 93 Str ClassHelper::GetName(const uint8_t *descriptor) in GetName() 127 Str name = utf::Mutf8AsCString(descriptor); in GetName() 142 // Str is std::string or PandaString 144 template <typename Str> [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | mcr_gate_meta_data.cpp | 42 std::string GateMetaData::Str(TypedBinOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData 55 std::string GateMetaData::Str(TypedUnOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData 68 std::string GateMetaData::Str(TypedJumpOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData 81 std::string GateMetaData::Str(TypedLoadOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData 94 std::string GateMetaData::Str(TypedStoreOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData 107 std::string GateMetaData::Str(TypedCallTargetCheckOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData 120 std::string GateMetaData::Str(ValueType type) in Str() function in panda::ecmascript::kungfu::GateMetaData
|
H A D | gate.cpp | 42 CheckFailed("State input does not match (expected:" + GateMetaData::Str(expected) + in CheckInputOpcode() 43 " actual:" + GateMetaData::Str(actual) + ")", idx); in CheckInputOpcode() 80 GateMetaData::Str(actual) + ")", idx); in CheckGeneralState() 90 GateMetaData::Str(actual) + ")", idx); in CheckState() 206 LOG_COMPILER(ERROR) << "depend in of " << GetId() << GateMetaData::Str(GetOpCode()) << "is " in CheckDependInput() 207 << GetInGateConst(idx)->GetId() << GateMetaData::Str(GetInGateConst(idx)->GetOpCode()); in CheckDependInput() 250 log << std::to_string(id_) << ", \"op\":\"" << GateMetaData::Str(opcode) << "\", "; in GetValueInAndOut() 280 (inListPreview ? std::string(":" + GateMetaData::Str(opcode)) : std::string("")); in GetValueInAndOut() 285 (inListPreview ? std::string(":" + GateMetaData::Str(opcode)) in GetValueInAndOut() 394 GateMetaData::Str(stateO in CheckSelector() [all...] |
H A D | share_gate_meta_data.h | 187 static std::string Str(OpCode opcode); 188 static std::string Str(TypedBinOp op); 189 static std::string Str(TypedUnOp op); 190 static std::string Str(TypedJumpOp op); 191 static std::string Str(TypedLoadOp op); 192 static std::string Str(TypedStoreOp op); 193 static std::string Str(TypedCallTargetCheckOp op); 194 static std::string Str(ValueType type); 195 std::string Str() const in Str() function in panda::ecmascript::kungfu::GateMetaData 197 return Str(opcode in Str() [all...] |
/arkcompiler/ets_frontend/ets2panda/lexer/ |
H A D | keywordsBase.h | 48 util_.SetKeyword({kws.Str(), TokenType::LITERAL_IDENT, kws.GetKeywordType()}); in SetKeyword() 60 util_.SetKeyword({kws.Str(), TokenType::LITERAL_IDENT, kws.GetKeywordType()}); in SetKeyword() 62 util_.SetKeyword(HANDLER(util_, kws.Str(), kws.GetTokenType())); in SetKeyword()
|
H A D | keywordString.h | 40 std::string_view Str() const in Str() function
|
H A D | keywordsUtil.h | 86 lexer_->GetToken().src_ = util::StringView(kws.Str()); in SetKeyword()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | moduleContext.cpp | 31 pg->ImportModule(importDecl, importDecl->Source()->Str()); in CompileImports() 55 pg->ImportModule(exportDecl, exportDecl->AsExportAllDeclaration()->Source()->Str()); in CompileExports() 58 pg->ImportModule(exportDecl, exportDecl->AsExportNamedDeclaration()->Source()->Str()); in CompileExports()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/ |
H A D | bigIntLiteral.h | 37 const util::StringView &Str() const in Str() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::BigIntLiteral 42 util::StringView Str() in Str() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::BigIntLiteral
|
H A D | stringLiteral.h | 37 const util::StringView &Str() const in Str() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::StringLiteral
|
/arkcompiler/ets_frontend/ets2panda/parser/program/ |
H A D | program.cpp | 29 return dumper.Str(); in Dump() 35 ASSERT(!dumper.Str().empty()); in DumpSilent()
|
/arkcompiler/ets_frontend/ets2panda/ir/expressions/literals/ |
H A D | numberLiteral.cpp | 39 if (std::string(number_.Str()).empty() || (parent_ != nullptr && parent_->IsTSEnumMember())) { in Dump() 60 dumper->Add(std::string(number_.Str())); in Dump()
|
H A D | numberLiteral.h | 35 [[nodiscard]] const util::StringView &Str() const noexcept 37 return number_.Str();
|
H A D | bigIntLiteral.h | 33 const util::StringView &Str() const noexcept
|
H A D | stringLiteral.h | 34 [[nodiscard]] const util::StringView &Str() const noexcept
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | srcDump.h | 39 std::string Str() const in Str() function in ark::es2panda::ir::SrcDumper
|
H A D | astNode.cpp | 224 return dumper.Str(); in DumpJSON() 230 return dumper.Str(); in DumpEtsSrc()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/ |
H A D | optimized_call.cpp | 76 __ Str(fp, MemoryOperand(glue, JSThread::GlueData::GetLeaveFrameOffset(false))); in CallRuntime() 262 __ Str(currentSp, MemoryOperand(sp, FRAME_SLOT_SIZE)); in OptimizedCallAndPushArgv() 263 __ Str(actualNumArgs, MemoryOperand(sp, 0)); // argv, argc in OptimizedCallAndPushArgv() 333 __ Str(temp, MemoryOperand(glue, JSThread::GlueData::GetLeaveFrameOffset(false))); // rbp in CallBuiltinTrampoline() 547 __ Str(Register(X7), MemoryOperand(sp, 0)); // reset arg2's position in JSCallInternal() 555 __ Str(Register(X7), MemoryOperand(sp, 0)); // reset arg2's position in JSCallInternal() 562 __ Str(Register(X7), MemoryOperand(sp, 0)); // reset arg2's position in JSCallInternal() 981 __ Str(Register(X19), MemoryOperand(fp, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSBoundFunctionCallInternal() 1033 __ Str(jsfunc, MemoryOperand(sp, DOUBLE_SLOT_SIZE)); in JSProxyCallInternalWithArgV() 1077 __ Str(f in CallRuntimeWithArgv() [all...] |
H A D | common_call.cpp | 82 __ Str(Register(FP), MemoryOperand(glue, JSThread::GlueData::GetLeaveFrameOffset(false))); in PushLeaveFrame() 111 __ Str(op, MemoryOperand(currentSlot, -FRAME_SLOT_SIZE, PREINDEX)); // -8: 8 bytes in PushArgsWithArgv() 173 __ Str(temp, MemoryOperand(currentSlot, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in PushUndefinedWithArgc()
|
H A D | asm_interpreter_call.cpp | 218 __ Str(arg2, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonFastPath() 222 __ Str(arg1, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonFastPath() 226 __ Str(arg0, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonFastPath() 308 __ Str(arg1, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonSlowPath() 313 __ Str(arg0, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonSlowPath() 531 __ Str(callTarget, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in CallNativeWithArgv() 653 __ Str(op, MemoryOperand(glue, JSThread::GlueData::GetLeaveFrameOffset(false))); in PushBuiltinFrame() 1181 __ Str(X18, MemoryOperand(SP, FRAME_SLOT_SIZE)); 1425 __ Str(Register(X16, W), MemoryOperand(X15, 0)); 1559 __ Str(tempRegiste [all...] |
/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | helpers.cpp | 74 return lit->AsStringLiteral()->Str(); in LiteralToPropName() 77 return lit->AsNumberLiteral()->Str(); in LiteralToPropName() 343 return lit->Str().Is("prototype") || lit->Str().Is("constructor"); in IsSpecialPropertyKey() 377 return compiler::Literal(lit->Str()); in ToConstantLiteral() 495 auto fileName = statement->ResolvedSource()->Str(); in CheckDefaultImport()
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | ETSBinder.cpp | 568 if (auto source = import->ResolvedSource()->Str(), program = item->GetProgramPath(); in AddImportNamespaceSpecifiersToTopBindings() 628 if (auto source = import->ResolvedSource()->Str(), program = item->GetProgramPath(); in FindImportDeclInReExports() 644 GetExternalProgram(item->GetETSImportDeclarations()->ResolvedSource()->Str(), importPath); in FindImportDeclInReExports() 680 return importPath->Str() != savedSpecifier.first && imported == savedSpecifier.second; in ImportLocalName() 686 importSpecifiers.push_back(std::make_pair(importPath->Str(), imported)); in ImportLocalName() 734 util::StringView nameToSearchFor = FindNameInAliasMap(import->ResolvedSource()->Str(), imported); in AddImportSpecifiersToTopBindings() 805 "Cannot find index.[sts|ts] or package module in folder: " + importPath->Str().Mutf8()); in GetExternalProgram() 808 ThrowError(importPath->Start(), "Cannot find import: " + importPath->Str().Mutf8()); in GetExternalProgram() 825 const util::StringView sourceName = import->ResolvedSource()->Str(); in AddSpecifiersToTopBindings() 1066 if (decl->Source()->Str() in BuildImportDeclaration() [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
H A D | extend_assembler.cpp | 113 Str(op, MemoryOperand(fp, -8, PREINDEX)); // -8: 8 bytes in PushArgc() 119 Str(op, MemoryOperand(fp, -8, PREINDEX)); // -8: 8 bytes in PushArgc()
|