Home
last modified time | relevance | path

Searched refs:Str (Results 1 – 25 of 81) sorted by relevance

1234

/arkcompiler/ets_frontend/es2panda/ir/expressions/
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()
/arkcompiler/runtime_core/static_core/runtime/include/
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);
92 template <typename Str>
93 Str ClassHelper::GetName(const uint8_t *descriptor) in GetName()
127 Str name = utf::Mutf8AsCString(descriptor); in GetName()
144 template <typename Str>
145 Str ClassHelper::GetNameUndecorated(const uint8_t *descriptor) in GetNameUndecorated()
147 Str result; in GetNameUndecorated()
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-type-template-literal3.ts16 type upperWord<Str extends string> = `OpenHarmony-${Uppercase<Str>}`;
17 type lowerWord<Str extends string> = `OpenHarmony-${Lowercase<Str>}`;
Dtest-type-template-literal3-expected.txt46 "name": "Str",
147 "name": "Str",
250 "name": "Str",
351 "name": "Str",
/arkcompiler/ets_runtime/ecmascript/compiler/
Dmcr_gate_meta_data.cpp85 std::string GateMetaData::Str(TypedBinOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData
98 std::string GateMetaData::Str(TypedUnOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData
111 std::string GateMetaData::Str(TypedJumpOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData
124 std::string GateMetaData::Str(TypedLoadOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData
137 std::string GateMetaData::Str(TypedStoreOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData
150 std::string GateMetaData::Str(TypedCallTargetCheckOp op) in Str() function in panda::ecmascript::kungfu::GateMetaData
163 std::string GateMetaData::Str(ValueType type) in Str() function in panda::ecmascript::kungfu::GateMetaData
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()
196 … LOG_COMPILER(ERROR) << "depend in of " << GetId() << GateMetaData::Str(GetOpCode()) << "is " in CheckDependInput()
197 … << GetInGateConst(idx)->GetId() << GateMetaData::Str(GetInGateConst(idx)->GetOpCode()); in CheckDependInput()
331 GateMetaData::Str(stateOp) + ")", 0); in CheckSelector()
354 GateMetaData::Str(stateOp) + ")", 0); in CheckRelay()
735 …std::string log("{\"id\":" + std::to_string(id_) + ", \"op\":\"" + GateMetaData::Str(opcode) + "\"… in Print()
777 … (inListPreview ? std::string(":" + GateMetaData::Str(opcode)) : std::string("")); in Print()
[all …]
Dshare_gate_meta_data.h252 static std::string Str(OpCode opcode);
253 static std::string Str(TypedBinOp op);
254 static std::string Str(TypedUnOp op);
255 static std::string Str(TypedJumpOp op);
256 static std::string Str(TypedLoadOp op);
257 static std::string Str(TypedStoreOp op);
258 static std::string Str(TypedCallTargetCheckOp op);
259 static std::string Str(ValueType type);
260 std::string Str() const in Str() function
262 return Str(opcode_); in Str()
[all …]
/arkcompiler/toolchain/tooling/client/utils/
Dutils.cpp123 std::string Str = str; in IsNumber() local
124 Str.erase(0, Str.find_first_not_of("0")); in IsNumber()
125 if (Str.size() > 9) { //9: size of int in IsNumber()
129 for (char c : Str) { in IsNumber()
/arkcompiler/ets_frontend/ets2panda/lexer/
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()
DkeywordString.h40 std::string_view Str() const in Str() function
/arkcompiler/ets_frontend/ets2panda/compiler/core/
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/ets2panda/linter-4.2/test/
Dutility_types.ts223 type ASCIICacheKey<Str extends string> = `ID-${Uppercase<Str>}`;
231 type ASCIICacheKey<Str extends string> = `id-${Lowercase<Str>}`;
Dconditional_types.ts52 type Str = Flatten<string[]>; // type Str = string alias
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dutility_types.ts223 type ASCIICacheKey<Str extends string> = `ID-${Uppercase<Str>}`;
231 type ASCIICacheKey<Str extends string> = `id-${Lowercase<Str>}`;
Dconditional_types.ts52 type Str = Flatten<string[]>; // type Str = string alias
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/
DbigIntLiteral.h37 const util::StringView &Str() const in Str() function
42 util::StringView Str() in Str() function
DstringLiteral.h37 const util::StringView &Str() const in Str() function
/arkcompiler/ets_frontend/ets2panda/parser/program/
Dprogram.cpp29 return dumper.Str(); in Dump()
35 ASSERT(!dumper.Str().empty()); in DumpSilent()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/literals/
DnumberLiteral.h35 [[nodiscard]] const util::StringView &Str() const noexcept in Str() function
37 return number_.Str(); in Str()
/arkcompiler/ets_frontend/ets2panda/ir/
DastNode.cpp117 return dumper.Str(); in DumpJSON()
123 return dumper.Str(); in DumpEtsSrc()
DsrcDump.h39 std::string Str() const in Str() function
/arkcompiler/ets_frontend/ets2panda/varbinder/
DETSBinder.cpp499 if (auto source = import->ResolvedSource()->Str().Mutf8(), in AddImportNamespaceSpecifiersToTopBindings()
518 … dirName.Str().Is(".") ? item->GetETSImportDeclarations()->Source() in AddImportNamespaceSpecifiersToTopBindings()
593 … return importPath->Str() != savedSpecifier.first && imported == savedSpecifier.second; in AddImportSpecifiersToTopBindings()
599 importSpecifiers_.push_back(std::make_pair(importPath->Str(), imported)); in AddImportSpecifiersToTopBindings()
609 if (auto source = import->ResolvedSource()->Str().Mutf8(), in AddImportSpecifiersToTopBindings()
623 … dirName.Str().Is(".") ? item->GetETSImportDeclarations()->Source() : &dirName, viewedReExport); in AddImportSpecifiersToTopBindings()
697 return importPath->Str(); in AddSpecifiersToTopBindings()
700 auto strImportPath = importPath->Str().Mutf8(); in AddSpecifiersToTopBindings()
702 … return util::UString(strImportPath + import->Module()->Str().Mutf8(), Allocator()).View(); in AddSpecifiersToTopBindings()
706 if (!import->Source()->Str().Is(path->Str().Mutf8()) && !import->Source()->Str().Empty() && in AddSpecifiersToTopBindings()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/
Dcommon_call.cpp83 __ Str(Register(FP), MemoryOperand(glue, JSThread::GlueData::GetLeaveFrameOffset(false))); in PushLeaveFrame() local
112 __ Str(op, MemoryOperand(currentSlot, -FRAME_SLOT_SIZE, PREINDEX)); // -8: 8 bytes in PushArgsWithArgv() local
130 __ Str(temp, MemoryOperand(currentSlot, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in PushUndefinedWithArgc() local
Dasm_interpreter_call.cpp215 __ Str(arg2, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonFastPath() local
219 __ Str(arg1, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonFastPath() local
223 __ Str(arg0, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonFastPath() local
305 … __ Str(arg1, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonSlowPath() local
310 … __ Str(arg0, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in JSCallCommonSlowPath() local
526 __ Str(callTarget, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in CallNativeWithArgv() local
630 __ Str(op, MemoryOperand(glue, JSThread::GlueData::GetLeaveFrameOffset(false))); in PushBuiltinFrame() local
1075 … __ Str(tempRegister, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in PushCallThis() local
1077 … __ Str(thisRegister, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in PushCallThis() local
1086 … __ Str(newTarget, MemoryOperand(currentSlotRegister, -FRAME_SLOT_SIZE, AddrMode::PREINDEX)); in PushCallThis() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_driver/include/
Dtriple.h50 std::string Str() const;

1234