Home
last modified time | relevance | path

Searched full:tc (Results 1 – 25 of 222) sorted by relevance

123456789

/openbmc/qemu/util/
H A Dthread-context.c44 ThreadContext *tc = opaque; in thread_context_run() local
46 tc->thread_id = qemu_get_thread_id(); in thread_context_run()
47 qemu_sem_post(&tc->sem); in thread_context_run()
60 switch (tc->thread_cmd) { in thread_context_run()
64 tc->thread_cmd = TC_CMD_NONE; in thread_context_run()
65 qemu_sem_post(&tc->sem); in thread_context_run()
68 ThreadContextCmdNew *cmd_new = tc->thread_cmd_data; in thread_context_run()
73 tc->thread_cmd = TC_CMD_NONE; in thread_context_run()
74 tc->thread_cmd_data = NULL; in thread_context_run()
75 qemu_sem_post(&tc->sem); in thread_context_run()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/
H A Dtablesort.html7 {% for tc in tablecols %}
8 … <th class="{%if tc.dclass%}{{tc.dclass}}{%endif%} {%if tc.clclass%}{{tc.clclass}}{%endif%}">
9 … {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%}
10 {{tc.name}}
20 {% for tc in tablecols %}
21 … <th class="{%if tc.dclass%}{{tc.dclass}}{%endif%} {%if tc.clclass%}{{tc.clclass}}{%endif%}">
22 … {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%}
23 {%if tc.orderfield%}
24 <a {%if tc.ordericon%} class="sorted" {%endif%}
25 … href="javascript:reload_params({'page': 1, 'orderby' : '{{tc.orderfield}}' })" >
[all …]
H A Ddetail_sorted_header.html12 …{% for tc in tablecols %}<th class="{%if tc.dclass%}{{tc.dclass}}{% endif %} {%if tc.class %}{{tc.…
13 …{%if tc.qhelp%}<span class="glyphicon glyphicon-question-sign get-help" title="{{tc.qhelp}}"></spa…
14tc.orderfield%}<a {%if tc.ordericon%} class="sorted" {%endif%}href="javascript:reload_params({'pag…
15 {%if tc.ordericon%} <span class="icon-caret-{{tc.ordericon}}"></span>{%endif%}
19 {%if tc.filter%}<div class="btn-group pull-right">
20tc.filter.class}}" role="button" class="btn btn-mini {%if request.GET.filter%}{{tc.filter.options|…
H A Dbasetable_top.html245 …{% for tc in tablecols %}<th class="{%if tc.dclass%}{{tc.dclass}}{%endif%} {% if tc.clclass %}{{tc
246 …{%if tc.qhelp%}<span class="glyphicon glyphicon-question-sign get-help" title="{{tc.qhelp}}"></spa…
247tc.orderfield%}<a {%if tc.ordericon%} class="sorted" {%endif%}href="javascript:reload_params({'pag…
248 {%if tc.ordericon%} <i class="icon-caret-{{tc.ordericon}}"></i>{%endif%}
249 {%if tc.filter%}<div class="btn-group pull-right">
250tc.filter.class}}" role="button" class="btn btn-xs {%if request.GET.filter%}{{tc.filter.options|fi…
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/cases/
H A Dgcc.py22 files = {'test.c' : self.tc.files_dir, 'test.cpp' : self.tc.files_dir,
23 'testsdkmakefile' : self.tc.sdk_files_dir}
26 os.path.join(self.tc.sdk_dir, f))
34 if not (self.tc.hasHostPackage("packagegroup-cross-canadian-%s" % machine) or
35 self.tc.hasHostPackage("^gcc-", regex=True)):
39 self._run('$CC %s/test.c -o %s/test -lm' % (self.tc.sdk_dir, self.tc.sdk_dir))
42 self._run('$CXX %s/test.c -o %s/test -lm' % (self.tc.sdk_dir, self.tc.sdk_dir))
45 self._run('$CXX %s/test.cpp -o %s/test -lm' % (self.tc.sdk_dir, self.tc.sdk_dir))
48 self._run('cd %s; make -f testsdkmakefile' % self.tc.sdk_dir)
52 files = [os.path.join(self.tc.sdk_dir, f) \
H A Drust.py21 targetdir = os.path.join(self.tc.sdk_dir, "hello")
26 shutil.copytree(os.path.join(self.tc.sdk_files_dir, "rust/hello"), targetdir)
30 if not self.tc.hasHostPackage("packagegroup-rust-cross-canadian-%s" % machine):
34 self._run('cd %s/hello; cargo add zstd' % (self.tc.sdk_dir))
35 self._run('cd %s/hello; cargo build' % self.tc.sdk_dir)
42 targetdir = os.path.join(self.tc.sdk_dir, "hello")
47 shutil.copytree(os.path.join(self.tc.sdk_files_dir, "rust/hello"), targetdir)
51 if not self.tc.hasHostPackage("packagegroup-rust-cross-canadian-%s" % machine):
56 self._run('cd %s/hello; cargo add zstd' % (self.tc.sdk_dir))
57 self._run('cd %s/hello; cargo build --target %s-gnu' % (self.tc.sdk_dir, sdksys))
[all …]
H A Dmanifest.py18 isinstance(self.tc, OESDKExtTestContext)
22 self.assertEqual(self.tc.target_pkg_manifest, {})
23 self.assertEqual(self.tc.host_pkg_manifest, {})
25 self.assertNotEqual(self.tc.target_pkg_manifest, {})
26 self.assertNotEqual(self.tc.host_pkg_manifest, {})
/openbmc/u-boot/arch/arm/mach-at91/arm920t/
H A Dtimer.c30 at91_tc_t *tc = (at91_tc_t *) ATMEL_BASE_TC; in timer_init() local
34 writel(0, &tc->bcr); in timer_init()
36 AT91_TC_BMR_TC2XC2S_NONE , &tc->bmr); in timer_init()
38 writel(AT91_TC_CCR_CLKDIS, &tc->tc[0].ccr); in timer_init()
41 writel(AT91_TC_CMR_TCCLKS_CLOCK1 | AT91_TC_CMR_CPCTRG, &tc->tc[0].cmr); in timer_init()
43 writel(0xFFFFFFFF, &tc->tc[0].idr); /* disable interrupts */ in timer_init()
44 writel(TIMER_LOAD_VAL, &tc->tc[0].rc); in timer_init()
46 writel(AT91_TC_CCR_SWTRG | AT91_TC_CCR_CLKEN, &tc->tc[0].ccr); in timer_init()
58 at91_tc_t *tc = (at91_tc_t *) ATMEL_BASE_TC; in get_timer_raw() local
61 now = readl(&tc->tc[0].cv) & 0x0000ffff; in get_timer_raw()
/openbmc/openbmc/poky/meta/recipes-connectivity/iproute2/
H A Diproute2_6.14.0.bb4 and tc are the most important. ip controls IPv4 and IPv6 \
5 configuration and tc stands for traffic control."
30 IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink ti…
60 # Remove support fot ipt and xt in tc. So tc library directory is not needed.
61 rm ${D}${libdir}/tc -rf
64 # The .so files in iproute2-tc are modules, not traditional libraries
65 INSANE_SKIP:${PN}-tc = "dev-so"
78 ${PN}-tc \
86 FILES:${PN}-tc = "${base_sbindir}/tc* \
87 ${libdir}/tc/*.so"
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/
H A Drunner.py39 def __init__(self, tc, *args, **kwargs): argument
49 # Inject into tc so that TestDepends decorator can see results
50 tc.results = self
52 self.tc = tc
70 self.tc.logger.info(self.progressinfo[test.id()])
77 self.tc.logger.info(str(msg))
82 elapsed_time = self.tc._run_end_time - self.tc._run_start_time
83 self.tc.logger.info("SUMMARY:")
84 self.tc.logger.info("%s (%s) - Ran %d test%s in %.3fs" % (component,
93 self.tc.logger.info(msg)
[all …]
/openbmc/openbmc-tools/dbus-pcap/
H A Ddbus-pcap181 def align(self, tc): argument
182 assert tc.type.value in TypePropertyLookup
183 prop = TypePropertyLookup[tc.type.value]
199 def autotake(self, tc): argument
200 assert tc.type.value in DBusTypeCategory.FIXED.value
201 assert tc.type.value in TypePropertyLookup
202 self.align(tc)
203 prop = TypePropertyLookup[tc.type.value]
246 def parse_fixed(endian, stream, tc): argument
247 assert tc.type.value in TypePropertyLookup
[all …]
/openbmc/qemu/hw/timer/
H A Dslavio_timer.c97 static int slavio_timer_is_user(TimerContext *tc) in slavio_timer_is_user() argument
99 SLAVIO_TIMERState *s = tc->s; in slavio_timer_is_user()
100 unsigned int timer_index = tc->timer_index; in slavio_timer_is_user()
126 TimerContext *tc = opaque; in slavio_timer_irq() local
127 SLAVIO_TIMERState *s = tc->s; in slavio_timer_irq()
128 CPUTimerState *t = &s->cputimer[tc->timer_index]; in slavio_timer_irq()
137 if (!slavio_timer_is_user(tc) && t->limit != 0) { in slavio_timer_irq()
145 TimerContext *tc = opaque; in slavio_timer_mem_readl() local
146 SLAVIO_TIMERState *s = tc->s; in slavio_timer_mem_readl()
148 unsigned int timer_index = tc->timer_index; in slavio_timer_mem_readl()
[all …]
/openbmc/openbmc/poky/scripts/lib/checklayer/cases/
H A Dcommon.py15 if self.tc.layer['type'] == LayerType.CORE:
19 readme_files = glob.glob(os.path.join(self.tc.layer['path'], '[Rr][Ee][Aa][Dd][Mm][Ee]*'))
49 directories = [self.tc.layer["path"]]
66 if self.tc.layer["type"] == LayerType.CORE:
76 check_command('Layer %s failed to parse.' % self.tc.layer['name'],
80 check_command('Layer %s failed to show environment.' % self.tc.layer['name'],
104 self.tc.layer['name'])
112 for dirpath, dirs, files in os.walk(self.tc.layer['path']):
122 if self.tc.layer['type'] == LayerType.SOFTWARE and \
123 not self.tc.test_software_layer_signatures:
[all …]
/openbmc/openbmc/poky/meta/recipes-support/apr/apr-util/
H A D0001-test_transformation-Check-if-transform-is-supported-.patch20 @@ -116,8 +116,12 @@ static void test_transformation(abts_case *tc, void *data)
24 - one_test(tc, "UTF-8", "UTF-7", test_utf8, test_utf7, p);
25 - one_test(tc, "UTF-7", "UTF-8", test_utf7, test_utf8, p);
26 + if (is_transform_supported(tc, "UTF-8", "UTF-7", p)) {
27 + one_test(tc, "UTF-8", "UTF-7", test_utf8, test_utf7, p);
29 + if (is_transform_supported(tc, "UTF-7", "UTF-8", p)) {
30 + one_test(tc, "UTF-7", "UTF-8", test_utf7, test_utf8, p);
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/
H A Dcontext.py143 if not hasattr(t, "tc"):
145 cp = t.tc.config_paths
299 …self.tc.logger.error("%s is not set. Did you forget to source your build environment setup script?…
305 self.tc.logger.info("Changing cwd to %s" % builddir)
308 if not "meta-selftest" in self.tc.td["BBLAYERS"]:
309 self.tc.logger.info("meta-selftest layer not found in BBLAYERS, adding it")
311 self.tc.td["BBLAYERS_FETCH_DIR"], 'meta-selftest')
315 self.tc.td = get_bb_vars()
316 self.tc.config_paths['testlayer_path'] = get_test_layer(self.tc.td["BBLAYERS"])
318 … self.tc.logger.error("could not locate meta-selftest in:\n%s" % meta_selftestdir)
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/tests/
H A Dtest_decorators.py19 tc = self._testLoader(modules = modules, tags_filter = filterfn)
20 test_loaded = set(getSuiteCasesIDs(tc.suites))
81 tc = self._testLoader(modules=self.modules, tests=tests)
82 test_loaded = getSuiteCasesIDs(tc.suites)
94 tc = self._testLoader(modules=self.modules, tests=tests)
108 tc = self._testLoader(modules=self.modules, tests=tests)
122 tc = self._testLoader(modules=self.modules, tests=tests)
123 self.assertTrue(tc.runTests().wasSuccessful(), msg=msg)
131 tc = self._testLoader(modules=self.modules, tests=tests)
132 self.assertFalse(tc.runTests().wasSuccessful(), msg=msg)
[all …]
H A Dtest_loader.py27 tc = self._testLoader()
37 tc = self._testLoader(modules=expected_modules)
38 modules = getSuiteModules(tc.suites)
46 tc = self._testLoader(modules=modules, tests=expected_cases)
47 cases = set(getSuiteCasesIDs(tc.suites))
56 tc = self._testLoader(modules=expected_modules)
57 modules = getSuiteModules(tc.suites)
H A Dtest_data.py24 tc = self._testLoader(modules=self.modules)
25 results = tc.runTests()
38 tc = self._testLoader(d=d, modules=self.modules)
39 results = tc.runTests()
51 tc = self._testLoader(d=d, modules=self.modules)
52 self.assertEqual(True, tc.runTests().wasSuccessful())
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D3002-fix-EGL-macro-undeclared-and-EGLImageKHR.patch53 @@ -199,7 +227,7 @@ static tex_context_t * get_tex_context(const opengl_tex_converter_t * const tc,
57 - const EGLImage image = tc->gl->egl.createImageKHR(tc->gl, EGL_LINUX_DMA_BUF_EXT, NULL, att…
58 + const EGLImageKHR image = tc->gl->egl.createImageKHR(tc->gl, EGL_LINUX_DMA_BUF_EXT, NULL, …
60 msg_Err(tc, "Failed to import fd %d: Err=%#x", fd, tc->vt->GetError());
/openbmc/openpower-hw-diags/test/
H A Dmeson.build83 foreach tc : testcases
86 tc.underscorify(),
87 sources: [files(tc + '.cpp'), test_additional_srcs],
94 test(tc, exe, env: test_vars, timeout: 30 * longtests.get(tc, 1))
110 foreach tc : testcases
113 tc.underscorify(),
114 sources: [files(tc + '.cpp'), test_additional_srcs],
121 test(tc, exe, env: test_vars, timeout: 30 * longtests.get(tc, 1))
/openbmc/qemu/hw/i3c/
H A Dcore.c112 I3CTargetClass *tc = I3C_TARGET_GET_CLASS(target); in i3c_target_match_and_add() local
113 bool matched = tc->target_match(target, address, event == I3C_START_RECV, in i3c_target_match_and_add()
151 I3CTargetClass *tc = I3C_TARGET_GET_CLASS(t); in i3c_target_event() local
159 return tc->event(t, event); in i3c_target_event()
172 I3CTargetClass *tc; in i3c_do_start_transfer() local
193 tc = I3C_TARGET_GET_CLASS(t); in i3c_do_start_transfer()
194 if (tc->event) { in i3c_do_start_transfer()
227 I3CTargetClass *tc; in i3c_end_transfer() local
246 tc = I3C_TARGET_GET_CLASS(t); in i3c_end_transfer()
247 if (tc->event) { in i3c_end_transfer()
[all …]
/openbmc/openbmc/meta-security/meta-tpm/lib/oeqa/runtime/cases/
H A Dswtpm.py11 cls.tc.target.run('swtpm_ioctl -s --tcp :2322')
12 cls.tc.target.run('mkdir /tmp/myvtpm2')
13 cls.tc.target.run('chown tss:root /tmp/myvtpm2')
17 cls.tc.target.run('swtpm_ioctl -s --tcp :2322')
18 cls.tc.target.run('rm -fr /tmp/myvtpm2')
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/builds/
H A Dtest_core_image_min.py49 # Check task order sequence for one build - tc=825
67 # StartTimeIO in build stats - tc=828
71 # tc=832
84 # be 0 (SSTATE_NA) - tc=833
104 # 0 (NA), 1 (MISS) or 2 (FAILED) - tc=834
119 # (CODING_PYTHON), 3 (CODING_SHELL) - tc=891
133 # (FAILED) - tc=836
146 # Check if task_executed = FALSE (0), script_type must be 0 - tc=890
162 # tc=837
177 # Key verification - tc=888
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dscons.py18 src = os.path.join(cls.tc.runtime_files_dir, 'hello.c')
19 cls.tc.target.copyTo(src, dst)
21 src = os.path.join(cls.tc.runtime_files_dir, 'SConstruct')
22 cls.tc.target.copyTo(src, dst)
27 cls.tc.target.run('rm %s' % files)
H A Dopkg.py27 if cls.tc.td["MULTILIB_VARIANTS"]:
28 allarchfeed = cls.tc.td["TUNE_PKGARCH"]
29 service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_IPK'], allarchfeed)
31 '0.0.0.0', port=cls.tc.target.server_port,
32 logger=cls.tc.logger)
40 apt_get_source_server = 'http://%s:%s/' % (self.tc.target.server_ip, self.repo_server.port)

123456789