Home
last modified time | relevance | path

Searched refs:parts (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Dfilesystem.cpp90 std::vector<std::string_view> parts; in NormalizePath() local
114 if (parts.empty()) { in NormalizePath()
115 parts.emplace_back(""); in NormalizePath()
119 if (!parts.back().empty()) { in NormalizePath()
120 parts.pop_back(); in NormalizePath()
125 parts.push_back(sv); in NormalizePath()
129 parts.push_back(sv); in NormalizePath()
133 ASSERT(!parts.empty()); in NormalizePath()
135 ss << parts[i++]; in NormalizePath() local
137 while (i < parts in NormalizePath()
139 ss << parts[i++]; NormalizePath() local
[all...]
/arkcompiler/runtime_core/static_core/templates/
H A Dmessages.rb32 parts = []
36 parts << escape_string_literal(str_part) unless str_part.empty?
39 parts << expr_part
44 parts << escape_string_literal(scanner.rest)
48 parts.join(' << ')
/arkcompiler/runtime_core/templates/
H A Dmessages.rb32 parts = []
36 parts << escape_string_literal(str_part) unless str_part.empty?
39 parts << expr_part
44 parts << escape_string_literal(scanner.rest)
48 parts.join(' << ')
/arkcompiler/runtime_core/static_core/scripts/
H A Dcompiler_bisect.py242 parts = re.split('(?<!_)_(?!_*$)', method)
243 if parts[-1] in ['_ctor_', '_cctor_']:
244 parts[-1] = f'<{parts[-1].strip("_")}>'
247 if parts[0] == 'inlined':
249 parts.pop(0)
250 qname = '::'.join(('.'.join(parts[:-1]), parts[-1]))
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
H A Ddetailed_report.py57 :return: list of iterative partial parts
61 parts = test_id.split("/")[:-1]
62 if len(parts) < 2:
63 return parts
66 for part in parts:
/arkcompiler/runtime_core/verifier/tests/
H A Dversion_compatibility_test.py48 parts = version_str.split("API")[1].split("beta")
49 main_part = parts[0]
51 beta_part = f"beta{parts[1]}" if len(parts) > 1 else ""
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
H A Ddecorator_value.py158 parts = [p.strip() for p in cli_value.split(",") if p.strip().startswith(prop)]
159 if len(parts) == 0:
161 prop_parts = [p.strip() for p in parts[0].split("=")]
/arkcompiler/ets_frontend/test/scripts/utils/download_sdk_and_image/
H A Dupdate.py99 parts = output_path.split(os.sep)
100 if len(parts) >= 2:
101 filename = parts[-2]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSemitter.cpp535 std::vector<pandasm::ScalarValue> parts {}; in GenAnnotationSignature()
546 parts.emplace_back(pandasm::ScalarValue::Create<pandasm::Value::Type::STRING>(ss.str())); in GenAnnotationSignature()
560 parts.emplace_back(pandasm::ScalarValue::Create<pandasm::Value::Type::STRING>(ss.str())); in GenAnnotationSignature()
565 parts.emplace_back(pandasm::ScalarValue::Create<pandasm::Value::Type::STRING>(ss.str())); in GenAnnotationSignature()
577 parts.emplace_back(pandasm::ScalarValue::Create<pandasm::Value::Type::STRING>(ss.str())); in GenAnnotationSignature()
583 std::make_unique<pandasm::ArrayValue>(pandasm::Value::Type::STRING, std::move(parts))); in GenAnnotationSignature()
682 for (auto &[parts, startIdx] : callNames) { in GenAnnotationDynamicCall()
684 for (const auto &str : parts) { in GenAnnotationDynamicCall()
H A DETSCompiler.h38 void GetDynamicNameParts(const ir::CallExpression *expr, ArenaVector<util::StringView> &parts) const;
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_list_format_test.cpp248 JSHandle<JSArray> parts = JSListFormat::FormatListToParts(thread, jsFormatter, valueArr); in HWTEST_F_L0() local
249 auto element1 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 0).GetValue(); in HWTEST_F_L0()
250 auto literal1 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 1).GetValue(); in HWTEST_F_L0()
251 auto element2 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 2).GetValue(); in HWTEST_F_L0()
252 auto literal2 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 3).GetValue(); in HWTEST_F_L0()
253 auto element3 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 4).GetValue(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/component/sheet/
H A DTabPaneApSummary.js359 let parts = item.abcFile.split(/\/|\\/);
360 let fileName = parts.length > 1 ? parts[parts.length - 1] : item.abcFile;
/arkcompiler/ets_frontend/es2panda/test/
H A Drunner.py1490 parts = version_str.split("API")[1].split("beta")
1491 main_part = parts[0]
1492 beta_part = "beta%s" % parts[1] if len(parts) > 1 else ""
1812 parts = version_str.split("API")[1].split("beta")
1813 main_part = int(parts[0])
1814 beta_part = int(parts[1]) if len(parts) > 1 else self.beta_version_default
/arkcompiler/ets_frontend/test262/
H A Drun_test262.py873 parts = test.split(os.path.sep)[:3]
874 dirs.append(os.path.sep.join(parts))

Completed in 11 milliseconds