/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks/js/ |
H A D | StringTest.js | 33 this.suffix = 'ok'; 51 result = result.concat(this.suffix); 63 result += this.suffix;
|
/arkcompiler/runtime_core/compiler/optimizer/ |
H A D | pass_manager.cpp | 40 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 D | pass_manager.h | 114 std::string GetFileName(const char *pass_name = nullptr, const std::string &suffix = ".cfg");
|
/arkcompiler/runtime_core/static_core/static_linker/ |
H A D | linker.cpp | 25 auto f = [µs, &o](uint64_t d, const auto suffix) { 29 o << double(full) + rem << " " << suffix;
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ |
H A D | pass_manager.cpp | 61 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 D | pass_manager.h | 123 std::string GetFileName(const char *passName = nullptr, const std::string &suffix = ".cfg");
|
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
H A D | gc_barriers.cpp | 39 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 D | unit.py | 123 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 D | generate.py | 62 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 D | debugInfoStorage.cpp | 38 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 D | fix_print_call.py | 41 if not (f.is_file() and f.suffix in {'.js', '.mjs', '.ts'}):
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | module_path_helper.cpp | 432 // 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 D | ets_string.h | 247 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 D | ets_templates_generator.py | 49 elif path.suffix == TEMPLATE_EXTENSION:
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | dump.cpp | 356 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 D | string_helper.h | 408 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 D | helpers.cpp | 166 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 D | opAssignment.cpp | 277 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 D | grammar_test.py | 108 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 D | file_structure.py | 63 if allowed_ext and filepath.suffix not in allowed_ext:
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
H A D | es2panda.py | 49 is_compilable = Path(path).suffix == '.sts' or Path(path).is_dir()
|
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/ |
H A D | builtins.cpp | 92 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 D | clang_tidy_rename.py | 51 suffix='.yaml', prefix=fname_prefix, dir=fix_dir)[1]
|
/arkcompiler/ets_frontend/es2panda/util/ |
H A D | helpers.cpp | 155 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 D | dump.cpp | 557 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()
|