Home
last modified time | relevance | path

Searched refs:suffix (Results 1 - 25 of 36) sorted by relevance

12

/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks/js/
H A DStringTest.js33 this.suffix = 'ok';
51 result = result.concat(this.suffix);
63 result += this.suffix;
/arkcompiler/runtime_core/compiler/optimizer/
H A Dpass_manager.cpp40 static std::string ClearFileName(std::string str, std::string_view suffix) in ClearFileName() argument
46 return str.substr(0, NAME_MAX - suffix.size()); in ClearFileName()
50 std::string PassManager::GetFileName([[maybe_unused]] const char *pass_name, [[maybe_unused]] const std::string &suffix) in GetFileName() argument
77 ss_fullpath << folder_name.c_str() << "/" << ClearFileName(ss_filename.str(), suffix) << suffix; in GetFileName()
H A Dpass_manager.h114 std::string GetFileName(const char *pass_name = nullptr, const std::string &suffix = ".cfg");
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlinker.cpp25 auto f = [&micros, &o](uint64_t d, const auto suffix) {
29 o << double(full) + rem << " " << suffix;
/arkcompiler/runtime_core/static_core/compiler/optimizer/
H A Dpass_manager.cpp61 static std::string ClearFileName(std::string str, std::string_view suffix) in ClearFileName() argument
67 return str.substr(0, NAME_MAX - suffix.size()); in ClearFileName()
71 std::string PassManager::GetFileName([[maybe_unused]] const char *passName, [[maybe_unused]] const std::string &suffix) in GetFileName() argument
98 ssFullpath << folderName.c_str() << "/" << ClearFileName(ssFilename.str(), suffix) << suffix; in GetFileName()
H A Dpass_manager.h123 std::string GetFileName(const char *passName = nullptr, const std::string &suffix = ".cfg");
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
H A Dgc_barriers.cpp39 auto createUniqBasicBlockName = [&initialBb](const std::string &suffix) { in EmitPreWRB()
40 return ark::llvmbackend::LLVMArkInterface::GetUniqueBasicBlockName(initialBb->getName().str(), suffix); in EmitPreWRB()
42 auto createBasicBlock = [&ctx, &initialBb, &createUniqBasicBlockName](const std::string &suffix) { in EmitPreWRB()
43 auto name = createUniqBasicBlockName(suffix); in EmitPreWRB()
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Dunit.py123 if (not ext or f.suffix in ext)]
134 if (not ext or lib.suffix in ext)]
137 if (not ext or lib.suffix in ext)}
H A Dgenerate.py62 if p.suffix and p.suffix in ext:
90 # if file name provided add it if suffix matches
92 if '.lst' == root.suffix:
96 if root.suffix not in ext:
270 f'{BENCH_PREFIX}{bu.name}{Path(src.full).suffix}')
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DdebugInfoStorage.cpp38 bool EndsWith(std::string_view str, std::string_view suffix) in EndsWith() argument
40 auto pos = str.rfind(suffix); in EndsWith()
41 return pos != std::string::npos && (str.size() - pos) == suffix.size(); in EndsWith()
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/hooks/
H A Dfix_print_call.py41 if not (f.is_file() and f.suffix in {'.js', '.mjs', '.ts'}):
/arkcompiler/ets_runtime/ecmascript/module/
H A Dmodule_path_helper.cpp432 // the package name may have a '.js' suffix, try to parseThirdPartyPackage in MakeNewRecord()
675 CString suffix = moduleRequestName.substr(pos); in IsImportFile() local
676 if (suffix == EXT_NAME_JS || suffix == EXT_NAME_TS || suffix == EXT_NAME_ETS || suffix == EXT_NAME_JSON) { in IsImportFile()
692 CString suffix = res.substr(pos); in RemoveSuffix() local
693 if (suffix == EXT_NAME_JS || suffix == EXT_NAME_TS || suffix in RemoveSuffix()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_string.h247 EtsBoolean EndsWith(EtsString *suffix, EtsInt endIndex) in EndsWith() argument
249 ASSERT(suffix != nullptr); in EndsWith()
250 if (suffix->IsEmpty()) { in EndsWith()
264 auto suffixLen = suffix->GetLength(); in EndsWith()
270 auto *suffCoreType = suffix->GetCoreType(); in EndsWith()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
H A Dets_templates_generator.py49 elif path.suffix == TEMPLATE_EXTENSION:
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Ddump.cpp356 ArenaString suffix = ArenaString(" ", adapter) + ArenaString(DataType::ToString(type), adapter); in DumpOpcode() local
358 (*out) << std::setw(INDENT_OPCODE) << ArenaString(IsFcmpg() ? "Fcmpg" : "Fcmpl", adapter) + suffix; in DumpOpcode() local
360 (*out) << std::setw(INDENT_OPCODE) << ArenaString("Cmp", adapter) + ArenaString(" ", adapter) + suffix; in DumpOpcode()
362 (*out) << std::setw(INDENT_OPCODE) << ArenaString("Ucmp", adapter) + suffix; in DumpOpcode()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dstring_helper.h408 static bool EndsWith(const std::string &str, const std::string &suffix) in EndsWith() argument
410 if (str.length() < suffix.length()) { in EndsWith()
413 std::string subStr = str.substr(str.length() - suffix.length(), str.length()); in EndsWith()
414 return subStr == suffix; in EndsWith()
/arkcompiler/ets_frontend/ets2panda/util/
H A Dhelpers.cpp166 bool Helpers::EndsWith(const std::string &str, const std::string &suffix) in EndsWith() argument
168 if (str.length() < suffix.length()) { in EndsWith()
171 size_t expectPos = str.length() - suffix.length(); in EndsWith()
172 return str.find(suffix, expectPos) == expectPos; in EndsWith()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DopAssignment.cpp277 std::string suffix = (argument->TsType() == checker->GlobalETSBigIntType()) ? "n" : ""; in ConstructUpdateResult() local
282 GenFormatForExpression(argument, 9U, 10U) + opSign + " 1" + suffix + ") as @@T11;"; in ConstructUpdateResult()
291 GenFormatForExpression(argument, 11U, 12U) + " = (@@I13 " + opSign + " 1" + suffix + in ConstructUpdateResult()
/arkcompiler/ets_frontend/arkguard/scripts/
H A Dgrammar_test.py108 def __init__(self, file_name, suffix):
110 self.suffix = suffix
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/
H A Dfile_structure.py63 if allowed_ext and filepath.suffix not in allowed_ext:
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/
H A Des2panda.py49 is_compilable = Path(path).suffix == '.sts' or Path(path).is_dir()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
H A Dbuiltins.cpp92 auto createUniqBasicBlockName = [&initialBb](const std::string &suffix) { in SlowClassLoadingHelper()
93 return ark::llvmbackend::LLVMArkInterface::GetUniqueBasicBlockName(initialBb->getName().str(), suffix); in SlowClassLoadingHelper()
95 auto createBasicBlock = [&ctx, &initialBb, &createUniqBasicBlockName](const std::string &suffix) { in SlowClassLoadingHelper()
96 auto name = createUniqBasicBlockName(suffix); in SlowClassLoadingHelper()
/arkcompiler/runtime_core/static_core/scripts/code_style/
H A Dclang_tidy_rename.py51 suffix='.yaml', prefix=fname_prefix, dir=fix_dir)[1]
/arkcompiler/ets_frontend/es2panda/util/
H A Dhelpers.cpp155 bool Helpers::EndsWith(std::string_view str, std::string_view suffix) in EndsWith() argument
157 if (str.length() < suffix.length()) { in EndsWith()
160 size_t expectPos = str.length() - suffix.length(); in EndsWith()
161 return str.find(suffix, expectPos) == expectPos; in EndsWith()
752 //check file suffix(.so|.dll) in CheckAopTransformPath()
754 std::string msg = "aop transform file suffix support " + supportSuffix + ", error file: " + libPath; in CheckAopTransformPath()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Ddump.cpp557 ArenaString suffix(IsExit() ? ".Exit" : ".Entry", adapter); in DumpOpcode()
559 (*out) << std::setw(INDENT_OPCODE) << opcode + suffix; in DumpOpcode() local
566 ArenaString suffix = ArenaString(" ", adapter) + ArenaString(DataType::ToString(type), adapter); in DumpOpcode() local
568 (*out) << std::setw(INDENT_OPCODE) << ArenaString(IsFcmpg() ? "Fcmpg" : "Fcmpl", adapter) + suffix; in DumpOpcode() local
570 (*out) << std::setw(INDENT_OPCODE) << ArenaString("Cmp", adapter) + ArenaString(" ", adapter) + suffix; in DumpOpcode()
572 (*out) << std::setw(INDENT_OPCODE) << ArenaString("Ucmp", adapter) + suffix; in DumpOpcode()

Completed in 20 milliseconds

12