Home
last modified time | relevance | path

Searched full:suffix (Results 1 – 25 of 91) sorted by relevance

1234

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/js_to_ets/indirect_call/
Dindirect_call.js22 const SUFFIX = 'bar';
23 return arg + SUFFIX;
28 const SUFFIX = 'bar';
30 return [str + SUFFIX, num + 1];
/arkcompiler/runtime_core/static_core/libllvmbackend/templates/
Dpipeline.rb25 opts.on('-s', '--suffix STRING', 'Suffix for generated variable')
37 lines = "constexpr std::string_view PIPELINE#{options.suffix} = R\"__MAGIC__(#{lines})__MAGIC__\";"
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks/js/
DStringTest.js33 this.suffix = 'ok';
51 result = result.concat(this.suffix);
63 result += this.suffix;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/
Dlist.std_core_string_static.yaml35 …a_types: {"param1":"String[][]", "param2": "String[]", "prefix": "String[]", "suffix": "String[]"},
36 param_types: {"param1":"String[]", "param2": "String", "prefix": "String", "suffix": "String"},
38 …["Ah.", "Satan", "sees", "Natasha"]]', "param2": '[" "]', "prefix": '["PX"]', "suffix": '["SX"]'},
/arkcompiler/runtime_core/static_core/irtoc/scripts/
Darrays.irt48 suffix = el_size.to_s + "B"
52 function("ArrayCopyTo#{suffix}".to_sym,
76 ep_offset = get_entrypoint_offset("ARRAY_COPY_TO#{suffix}_SLOW_PATH")
Dstring_helpers.irt32 suffix = (compression ? "Compressed" : "")
41 function("#{lang}StringEqualsUnroll#{suffix}".to_sym,
103 function("#{lang}StringEquals#{suffix}".to_sym,
268 suffix = (string_compression_enabled ? "Compressed" : "")
270 function("CreateStringFromStringTlab#{suffix}".to_sym,
668 suffix = (string_compression_enabled ? "Compressed" : "")
670 function("CreateStringFromCharArrayTlab#{suffix}".to_sym,
729 suffix = (string_compression_enabled ? "Compressed" : "")
731 function("CreateStringFromZeroBasedCharArrayTlab#{suffix}".to_sym,
789 suffix = (string_compression_enabled ? "Compressed" : "")
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Dstring-builder.sts24 function concatenate_float(prefix: String, number: float, suffix: String) : String {
25 return (prefix + number + suffix);
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/
DDataView.sts.j2189 {%- for suffix in impls: %}
190 {%- set getIdx = '+' if suffix == 'Little' else '+ {} -'.format(bit // 8 - 1) %}
191 private get{{methodName}}{{suffix}}(byteOffset: int): {{type2name[bit]}} {
213 private get{{methodName}}{{suffix}}(byteOffset: number): {{type2nameCompat[bit]}} {
214 let res = this.get{{methodName}}{{suffix}}(byteOffset as int)
224 private set{{methodName}}{{suffix}}(byteOffset: int, value: {{type2name[bit]}}): void {
241 private set{{methodName}}{{suffix}}(byteOffset: number, value: {{type2nameCompat[bit]}}): void {
249 this.set{{methodName}}{{suffix}}(byteOffset as int, val)
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dbin_mplt.h32 void Export(const std::string &suffix, std::unordered_set<std::string> *dumpFuncSet = nullptr)
34 binExport.Export(suffix, dumpFuncSet);
/arkcompiler/runtime_core/static_core/irtoc/backend/
Dfunction.h37 // 2. Current function is an interpreter handler for Ark's compiler (no "_LLVM" suffix)
246 * Suffix for compilation unit names to compile by llvm.
250 …* 1. Copy a graph for a handler with "_LLVM" suffix. For example, "ClassResolver" becomes "ClassRe…
251 * 2. Compile handlers with suffix by LLVMIrtocCompiler
252 …* 3. Setup dispatch table to invoke handlers with "_LLVM" suffix at runtime in SetupLLVMDispatchTa…
/arkcompiler/runtime_core/compiler/optimizer/
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 …er::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()
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
Dgc_barriers.cpp39 auto createUniqBasicBlockName = [&initialBb](const std::string &suffix) { in EmitPreWRB() argument
40 …rn ark::llvmbackend::LLVMArkInterface::GetUniqueBasicBlockName(initialBb->getName().str(), suffix); in EmitPreWRB()
42 … auto createBasicBlock = [&ctx, &initialBb, &createUniqBasicBlockName](const std::string &suffix) { in EmitPreWRB() argument
43 auto name = createUniqBasicBlockName(suffix); in EmitPreWRB()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/rawheap_translate/
Dutils.cpp132 bool EndsWith(const std::string &str, const std::string &suffix) in RealPath() argument
134 if (str.length() < suffix.length()) { in RealPath()
137 std::string subStr = str.substr(str.length() - suffix.length(), str.length()); in RealPath()
138 return subStr == suffix; in RealPath()
/arkcompiler/runtime_core/static_core/compiler/optimizer/
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 …ger::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()
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
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}')
Dunit.py123 if (not ext or f.suffix in ext)]
132 if (not ext or lib.suffix in ext)]
135 if (not ext or lib.suffix in ext)}
/arkcompiler/ets_frontend/merge_abc/src/
Doptions.cpp36 panda::PandArg<std::string> protoBinSuffix("suffix", "", "suffix of proto bin file"); in Parse()
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
Dconf.py51 # The suffix(es) of source filenames.
52 # You can specify multiple suffix as a list of string:
/arkcompiler/runtime_core/static_core/plugins/ets/doc/annotations/
Dconf.py51 # The suffix(es) of source filenames.
52 # You can specify multiple suffix as a list of string:
/arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/
Dconf.py51 # The suffix(es) of source filenames.
52 # You can specify multiple suffix as a list of string:
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dconf.py51 # The suffix(es) of source filenames.
52 # You can specify multiple suffix as a list of string:
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
Dextractor.h68 * @param suffix Indicates the suffix of file.
/arkcompiler/runtime_core/static_core/plugins/ets/doc/stdlib/
Dconf.py67 # The suffix(es) of source filenames.
68 # You can specify multiple suffix as a list of string:
/arkcompiler/runtime_core/static_core/plugins/ets/doc/system_arkts/
Dconf.py67 # The suffix(es) of source filenames.
68 # You can specify multiple suffix as a list of string:
/arkcompiler/ets_runtime/ecmascript/module/
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… in IsImportFile()
692 CString suffix = res.substr(pos); in RemoveSuffix() local
693 if (suffix == EXT_NAME_JS || suffix == EXT_NAME_TS || suffix == EXT_NAME_ETS || in RemoveSuffix()
694 suffix == EXT_NAME_JSON || suffix == EXT_NAME_MJS) { in RemoveSuffix()
695 res.erase(pos, suffix.length()); in RemoveSuffix()

1234