Home
last modified time | relevance | path

Searched refs:Str (Results 1 - 25 of 76) sorted by relevance

1234

/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A Dliteral.cpp47 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 DmemberExpression.cpp137 {"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 Dclass_helper.h59 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 Dmcr_gate_meta_data.cpp42 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 Dgate.cpp42 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 Dshare_gate_meta_data.h187 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 DkeywordsBase.h48 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 DkeywordString.h40 std::string_view Str() const in Str() function
H A DkeywordsUtil.h86 lexer_->GetToken().src_ = util::StringView(kws.Str()); in SetKeyword()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DmoduleContext.cpp31 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 DbigIntLiteral.h37 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 DstringLiteral.h37 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 Dprogram.cpp29 return dumper.Str(); in Dump()
35 ASSERT(!dumper.Str().empty()); in DumpSilent()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/literals/
H A DnumberLiteral.cpp39 if (std::string(number_.Str()).empty() || (parent_ != nullptr && parent_->IsTSEnumMember())) { in Dump()
60 dumper->Add(std::string(number_.Str())); in Dump()
H A DnumberLiteral.h35 [[nodiscard]] const util::StringView &Str() const noexcept
37 return number_.Str();
H A DbigIntLiteral.h33 const util::StringView &Str() const noexcept
H A DstringLiteral.h34 [[nodiscard]] const util::StringView &Str() const noexcept
/arkcompiler/ets_frontend/ets2panda/ir/
H A DsrcDump.h39 std::string Str() const in Str() function in ark::es2panda::ir::SrcDumper
H A DastNode.cpp224 return dumper.Str(); in DumpJSON()
230 return dumper.Str(); in DumpEtsSrc()
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/
H A Doptimized_call.cpp76 __ 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 Dcommon_call.cpp82 __ 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 Dasm_interpreter_call.cpp218 __ 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 Dhelpers.cpp74 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 DETSBinder.cpp568 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 Dextend_assembler.cpp113 Str(op, MemoryOperand(fp, -8, PREINDEX)); // -8: 8 bytes in PushArgc()
119 Str(op, MemoryOperand(fp, -8, PREINDEX)); // -8: 8 bytes in PushArgc()

Completed in 16 milliseconds

1234