Home
last modified time | relevance | path

Searched full:ts (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/opencv/opencv/
H A D0003-To-fix-errors-as-following.patch13 ts module.
20 modules/ts/include/opencv2/ts.hpp | 4 ++--
21 modules/ts/include/opencv2/ts/ocl_test.hpp | 2 +-
22 modules/ts/include/opencv2/ts/ts_ext.hpp | 2 +-
25 diff --git a/modules/ts/include/opencv2/ts.hpp b/modules/ts/include/opencv2/ts.hpp
27 --- a/modules/ts/include/opencv2/ts.hpp
28 +++ b/modules/ts/include/opencv2/ts.hpp
47 diff --git a/modules/ts/include/opencv2/ts/ocl_test.hpp b/modules/ts/include/opencv2/ts/ocl_test.hpp
49 --- a/modules/ts/include/opencv2/ts/ocl_test.hpp
50 +++ b/modules/ts/include/opencv2/ts/ocl_test.hpp
[all …]
H A D0001-Make-ts-module-external.patch4 Subject: [PATCH] Make ts module external
6 Make ts module external
14 modules/ts/CMakeLists.txt | 5 +----
17 diff --git a/modules/ts/CMakeLists.txt b/modules/ts/CMakeLists.txt
19 --- a/modules/ts/CMakeLists.txt
20 +++ b/modules/ts/CMakeLists.txt
22 ocv_module_disable(ts)
35 -ocv_add_module(ts INTERNAL opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highg…
36 +ocv_add_module(ts opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highgui)
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/packagegroups/
H A Dpackagegroup-ts-tests.bb14 ts-demo \
15 ts-service-test \
16 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-env-test', 'ts-remote-test', '' , d)} \
17 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-smm-gateway', 'ts-uefi-test', '' , d)} \
20 SUMMARY:${PN}-psa = "PSA certification tests (psa-arch-test) for TS SPs"
22 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-crypto', 'ts-psa-crypto-api-test', '' , d)} \
23 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', 'ts-psa-its-api-test', '' , d)} \
24 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', 'ts-psa-ps-api-test', '' , d)} \
25 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-attestation', 'ts-psa-iat-api-test', '' , d)} \
26 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-se-proxy', \
[all …]
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/
H A Doptee-os-ts.inc6 # TS SPs UUIDs definitions
7 require recipes-security/trusted-services/ts-uuid.inc
16 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \
17 ' ts-sp-its', '' , d)}"
18 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \
22 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', \
23 ' ts-sp-storage', '' , d)}"
24 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', \
28 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-crypto', \
29 ' ts-sp-crypto', '' , d)}"
[all …]
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/runtime/cases/
H A Dtrusted_services.py18 @OEHasPackage(['ts-demo'])
21 self.run_test_tool('ts-demo')
23 @OEHasPackage(['ts-uefi-test'])
28 @OEHasPackage(['ts-psa-crypto-api-test'])
33 @OEHasPackage(['ts-psa-its-api-test'])
38 @OEHasPackage(['ts-psa-ps-api-test'])
43 @OEHasPackage(['ts-psa-iat-api-test'])
48 @OEHasPackage(['ts-service-test'])
51 # If this test fails, available test groups in ts-service-test have changed and all
53 # TS SP mapping is still valid.
[all …]
/openbmc/qemu/tests/qtest/
H A Dtpm-crb-swtpm-test.c30 const TestState *ts = data; in tpm_crb_swtpm_test() local
32 tpm_test_swtpm_test(ts->src_tpm_path, tpm_util_crb_transfer, in tpm_crb_swtpm_test()
38 const TestState *ts = data; in tpm_crb_swtpm_migration_test() local
40 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_crb_swtpm_migration_test()
47 TestState ts = { 0 }; in main() local
49 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-crb-swtpm-test.XXXXXX", NULL); in main()
50 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-crb-swtpm-test.XXXXXX", NULL); in main()
51 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
56 qtest_add_data_func("/tpm/crb-swtpm/test", &ts, tpm_crb_swtpm_test); in main()
57 qtest_add_data_func("/tpm/crb-swtpm-migration/test", &ts, in main()
[all …]
H A Dtpm-tis-swtpm-test.c33 const TestState *ts = data; in tpm_tis_swtpm_test() local
35 tpm_test_swtpm_test(ts->src_tpm_path, tpm_tis_transfer, in tpm_tis_swtpm_test()
41 const TestState *ts = data; in tpm_tis_swtpm_migration_test() local
43 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_tis_swtpm_migration_test()
50 TestState ts = { 0 }; in main() local
52 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
53 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
54 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
59 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
60 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
[all …]
H A Dtpm-tis-device-swtpm-test.c35 const TestState *ts = data; in tpm_tis_swtpm_test() local
37 tpm_test_swtpm_test(ts->src_tpm_path, tpm_tis_transfer, in tpm_tis_swtpm_test()
43 const TestState *ts = data; in tpm_tis_swtpm_migration_test() local
45 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_tis_swtpm_migration_test()
53 TestState ts = { 0 }; in main() local
55 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
57 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
59 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
64 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
65 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
[all …]
/openbmc/qemu/linux-user/
H A Dvm86.c53 TaskState *ts = get_task_state(cs); in save_v86_state() local
56 if (!lock_user_struct(VERIFY_WRITE, target_v86, ts->target_v86, 0)) in save_v86_state()
75 set_flags(env->eflags, ts->v86flags, VIF_MASK | ts->v86mask); in save_v86_state()
77 unlock_user_struct(target_v86, ts->target_v86, 1); in save_v86_state()
82 env->regs[R_EAX] = ts->vm86_saved_regs.eax; in save_v86_state()
83 env->regs[R_EBX] = ts->vm86_saved_regs.ebx; in save_v86_state()
84 env->regs[R_ECX] = ts->vm86_saved_regs.ecx; in save_v86_state()
85 env->regs[R_EDX] = ts->vm86_saved_regs.edx; in save_v86_state()
86 env->regs[R_ESI] = ts->vm86_saved_regs.esi; in save_v86_state()
87 env->regs[R_EDI] = ts->vm86_saved_regs.edi; in save_v86_state()
[all …]
/openbmc/qemu/tests/unit/
H A Dptimer-test-stubs.c37 void timer_init_full(QEMUTimer *ts, in timer_init_full() argument
45 ts->timer_list = timer_list_group->tl[type]; in timer_init_full()
46 ts->cb = cb; in timer_init_full()
47 ts->opaque = opaque; in timer_init_full()
48 ts->scale = scale; in timer_init_full()
49 ts->attributes = attributes; in timer_init_full()
50 ts->expire_time = -1; in timer_init_full()
53 void timer_mod(QEMUTimer *ts, int64_t expire_time) in timer_mod() argument
55 QEMUTimerList *timer_list = ts->timer_list; in timer_mod()
59 if (t->next == ts) { in timer_mod()
[all …]
H A Dtest-throttle.c30 static ThrottleState ts; variable
162 memset(&ts, 1, sizeof(ts)); in test_init()
166 throttle_init(&ts); in test_init()
168 read_timer_cb, write_timer_cb, &ts); in test_init()
176 g_assert(!ts.previous_leak); in test_init()
177 g_assert(!ts.cfg.op_size); in test_init()
179 g_assert(!ts.cfg.buckets[i].avg); in test_init()
180 g_assert(!ts.cfg.buckets[i].max); in test_init()
181 g_assert(!ts.cfg.buckets[i].level); in test_init()
194 memset(&ts, 1, sizeof(ts)); in test_init_readonly()
[all …]
/openbmc/openbmc/meta-arm/ci/
H A Dqemuarm64-secureboot-ts.yml11 …# Include TS Crypto, TS Protected Storage, and TS Internal Trusted Storage and SPs into optee-os i…
12 # FIXME - remove TS SMM Gateway due to QEMU v9.0.0 test failures
13 MACHINE_FEATURES:append = " arm-ffa ts-crypto ts-storage ts-its"
14 # Include TS demo/test tools into image
15 IMAGE_INSTALL:append = " packagegroup-ts-tests"
16 # Include TS PSA Arch tests into image
17 IMAGE_INSTALL:append = " packagegroup-ts-tests-psa"
H A Dfvp-base-ts.yml15 MACHINE_FEATURES:append = " arm-ffa ts-crypto ts-storage ts-its"
16 MACHINE_FEATURES:append = " ts-attestation ts-smm-gateway optee-spmc-test"
17 MACHINE_FEATURES:append = " ts-block-storage ts-fwu ts-logging"
20 # Include TS demo/test tools into image
21 IMAGE_INSTALL:append = " packagegroup-ts-tests"
22 # Include TS PSA Arch tests into image
23 IMAGE_INSTALL:append = " packagegroup-ts-tests-psa"
25 # Set the TS environment
/openbmc/phosphor-logging/lib/include/phosphor-logging/
H A Dlg2.hpp18 template <level S = level::debug, details::any_but<std::source_location>... Ts>
25 * @param[in] ts - The rest of the arguments.
28 details::header_str_conversion_t<Ts&&>... ts) in log()
32 std::forward<details::header_str_conversion_t<Ts&&>>(ts)...); in log()
38 * @param[in] ts - The rest of the arguments.
42 const char* msg, details::header_str_conversion_t<Ts&&>... ts, in log()
44 log(s, msg, std::forward<details::header_str_conversion_t<Ts&&>>(ts)...) in log()
56 template <typename... Ts> \
57 struct levelval : public log<level::levelval, Ts...> \
59 using log<level::levelval, Ts...>::log; \
[all …]
/openbmc/qemu/util/
H A Dqemu-timer.c256 QEMUTimer *ts; in qemu_clock_deadline_ns_all() local
269 ts = timer_list->active_timers; in qemu_clock_deadline_ns_all()
271 while (ts && (ts->attributes & ~attr_mask)) { in qemu_clock_deadline_ns_all()
272 ts = ts->next; in qemu_clock_deadline_ns_all()
274 if (!ts) { in qemu_clock_deadline_ns_all()
278 expire_time = ts->expire_time; in qemu_clock_deadline_ns_all()
332 struct timespec ts; in qemu_poll_ns() local
340 ts.tv_sec = tvsec; in qemu_poll_ns()
341 ts.tv_nsec = timeout % 1000000000LL; in qemu_poll_ns()
342 return ppoll((struct pollfd *)fds, nfds, &ts, NULL); in qemu_poll_ns()
[all …]
/openbmc/telemetry/src/utils/
H A Dconversion_trigger.cpp10 namespace ts = utils::tstring;
50 labeledThresholdParam.at_label<ts::Type>()), in operator ()()
51 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()()
53 labeledThresholdParam.at_label<ts::Direction>()), in operator ()()
54 labeledThresholdParam.at_label<ts::ThresholdValue>()); in operator ()()
64 labeledThresholdParam.at_label<ts::UserId>(), in operator ()()
66 labeledThresholdParam.at_label<ts::Severity>()), in operator ()()
67 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()()
68 labeledThresholdParam.at_label<ts::ThresholdValue>()); in operator ()()
76 sdbusplus::message::object_path(val.at_label<ts::Path>()), in fromLabeledSensorsInfo()
[all …]
/openbmc/qemu/common-user/
H A Dplugin-api.c.inc24 TaskState *ts = get_task_state(current_cpu);
25 return g_strdup(ts->bprm->filename);
30 TaskState *ts = get_task_state(current_cpu);
31 return ts->info->start_code;
36 TaskState *ts = get_task_state(current_cpu);
37 return ts->info->end_code;
42 TaskState *ts = get_task_state(current_cpu);
43 return ts->info->entry;
/openbmc/telemetry/src/types/
H A Dreport_types.cpp8 namespace ts = utils::tstring; in toReadingParameters()
14 metricParams.at_label<ts::SensorPath>(), in toReadingParameters()
18 sensorParameters.at_label<ts::Path>(), in toReadingParameters()
19 sensorParameters.at_label<ts::Metadata>()); in toReadingParameters()
21 utils::enumToString(metricParams.at_label<ts::OperationType>()), in toReadingParameters()
23 metricParams.at_label<ts::CollectionTimeScope>()), in toReadingParameters()
24 metricParams.at_label<ts::CollectionDuration>().t.count()); in toReadingParameters()
/openbmc/openbmc/meta-arm/documentation/
H A Dtrusted-services.md8 We define dedicated recipes for all supported Trusted Services (TS) Secure Partitions.
12 ### How to include TS SPs
14 To include TS SPs into optee-os image you need to add into MACHINE_FEATURES
19 | Attestation | ts-attesation |
20 | Crypto | ts-crypto |
21 | Firmware Update | ts-fwu
22 | Internal Storage | ts-its |
23 | Protected Storage | ts-storage |
24 | se-proxy | ts-se-proxy |
25 | smm-gateway | ts-smm-gateway |
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ptpd/ptpd/
H A DFixed-100-CPU-using-issue-by-adding-minimum-POSIX-ti.patch55 ts.tv_sec = interval;
56 ts.tv_nsec = (interval - ts.tv_sec) * 1E9;
58 + if(!ts.tv_sec && ts.tv_nsec < EVENTTIMER_MIN_INTERVAL_US * 1000) {
59 + ts.tv_nsec = EVENTTIMER_MIN_INTERVAL_US * 1000;
62 DBGV("Timer %s start requested at %d.%4d sec interval\n", timer->id, ts.tv_sec, ts.tv_nsec);
64 its.it_interval = ts;
/openbmc/qemu/block/
H A Dthrottle-groups.c74 ThrottleState ts; member
142 return &tg->ts; in throttle_group_incref()
153 * @ts: The ThrottleGroup to unref, given by its ThrottleState member
155 void throttle_group_unref(ThrottleState *ts) in throttle_group_unref() argument
157 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_unref()
169 ThrottleGroup *tg = container_of(tgm->throttle_state, ThrottleGroup, ts); in throttle_group_get_name()
183 ThrottleState *ts = tgm->throttle_state; in throttle_group_next_tgm() local
184 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_next_tgm()
222 ThrottleState *ts = tgm->throttle_state; in next_throttle_token() local
223 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in next_throttle_token()
[all …]
/openbmc/qemu/tcg/
H A Dtcg.c1807 TCGTemp *ts; in tcg_context_init() local
1854 ts = tcg_global_reg_new_internal(s, TCG_TYPE_PTR, TCG_AREG0, "env"); in tcg_context_init()
1855 tcg_env = temp_tcgv_ptr(ts); in tcg_context_init()
2008 TCGTemp *ts; in tcg_global_alloc() local
2013 ts = tcg_temp_alloc(s); in tcg_global_alloc()
2014 ts->kind = TEMP_GLOBAL; in tcg_global_alloc()
2016 return ts; in tcg_global_alloc()
2022 TCGTemp *ts; in tcg_global_reg_new_internal() local
2026 ts = tcg_global_alloc(s); in tcg_global_reg_new_internal()
2027 ts->base_type = type; in tcg_global_reg_new_internal()
[all …]
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/trusted-services/
H A Dts-demo_git.bb1 DESCRIPTION = "Trusted Services ts-demo deployment for arm-linux. \
2 Used for running simple TS demo from Linux user-space \
13 OECMAKE_SOURCEPATH = "${S}/deployments/ts-demo/${TS_ENV}"
16 # This can be removed after TS updated required mbedtls version
19 FILES:${PN} = "${bindir}/ts-demo"
27 mv ${D}${TS_INSTALL}/bin/ts-demo ${D}${bindir}
/openbmc/qemu/bsd-user/
H A Dsignal.c43 static inline int on_sig_stack(TaskState *ts, unsigned long sp) in on_sig_stack() argument
45 return sp - ts->sigaltstack_used.ss_sp < ts->sigaltstack_used.ss_size; in on_sig_stack()
48 static inline int sas_ss_flags(TaskState *ts, unsigned long sp) in sas_ss_flags() argument
50 return ts->sigaltstack_used.ss_size == 0 ? SS_DISABLE : in sas_ss_flags()
51 on_sig_stack(ts, sp) ? SS_ONSTACK : 0; in sas_ss_flags()
332 TaskState *ts = get_task_state(thread_cpu); in block_signals() local
346 return qatomic_xchg(&ts->signal_pending, 1); in block_signals()
372 TaskState *ts = get_task_state(cpu); in dump_core_and_abort() local
381 if (core_dump_signal(target_sig) && (ts->bprm->core_dump != NULL)) { in dump_core_and_abort()
384 ((*ts->bprm->core_dump)(target_sig, env) == 0); in dump_core_and_abort()
[all …]
/openbmc/qemu/include/qemu/
H A Dtimer.h397 * @ts: the timer to be initialised
413 void timer_init_full(QEMUTimer *ts,
420 * @ts: the timer to be initialised
430 static inline void timer_init(QEMUTimer *ts, QEMUClockType type, int scale, in timer_init() argument
433 timer_init_full(ts, NULL, type, scale, 0, cb, opaque); in timer_init()
438 * @ts: the timer to be initialised
447 static inline void timer_init_ns(QEMUTimer *ts, QEMUClockType type, in timer_init_ns() argument
450 timer_init(ts, type, SCALE_NS, cb, opaque); in timer_init_ns()
455 * @ts: the timer to be initialised
464 static inline void timer_init_us(QEMUTimer *ts, QEMUClockType type, in timer_init_us() argument
[all …]

12345678910>>...16