Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 1742) sorted by relevance

12345678910>>...70

/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-bmi2.c74 reg_t result; in insn1q() local
78 result = andnq(mask, ehlo); in insn1q()
79 assert(result == 0x002020204d4c4844); in insn1q()
81 result = pextq(ehlo, mask); in insn1q()
82 assert(result == 133); in insn1q()
84 result = pdepq(result, mask); in insn1q()
85 assert(result == (ehlo & mask)); in insn1q()
87 result = pextq(-1ull, mask); in insn1q()
88 assert(result == 511); /* mask has 9 bits set */ in insn1q()
90 result = pdepq(-1ull, mask); in insn1q()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dbblogging.py19 result = bitbake("logging-test -c shelltest -f", ignore_status = True)
20 self.assertIn("ERROR: Logfile of failure stored in:", result.output)
21 self.assertNotIn("This is shell stdout", result.output)
22 self.assertNotIn("This is shell stderr", result.output)
27 result = bitbake("logging-test -c shelltest -f", ignore_status = True)
28 self.assertIn("ERROR: Logfile of failure stored in:", result.output)
29 self.assertCount(result.output, "This is shell stdout", 1)
30 self.assertCount(result.output, "This is shell stderr", 1)
35 result = bitbake("logging-test -c shelltest -f -v", ignore_status = True)
36 self.assertIn("ERROR: Logfile of failure stored in:", result.output)
[all …]
H A Dpkgdata.py26 result = runCmd('oe-pkgdata-util lookup-pkg "zlib busybox"')
27 self.assertEqual(result.output, 'libz1\nbusybox')
28 result = runCmd('oe-pkgdata-util lookup-pkg zlib-dev')
29 self.assertEqual(result.output, 'libz-dev')
30 result = runCmd('oe-pkgdata-util lookup-pkg nonexistentpkg', ignore_status=True)
31 self.assertEqual(result.status, 1, "Status different than 1. output: %s" % result.output)
32 …self.assertEqual(result.output, 'ERROR: The following packages could not be found: nonexistentpkg')
34 result = runCmd('oe-pkgdata-util lookup-pkg -r "libz1 busybox"')
35 self.assertEqual(result.output, 'zlib\nbusybox')
36 result = runCmd('oe-pkgdata-util lookup-pkg -r libz-dev')
[all …]
H A Dbblayers.py24 result = runCmd('bitbake-layers layerindex-show-depends meta-poky')
25 find_in_contents = re.search("openembedded-core", result.output)
26 … listed at this step. bitbake-layers layerindex-show-depends meta-poky output: %s" % result.output)
29 result = runCmd('bitbake-layers show-cross-depends')
30 self.assertIn('aspell', result.output)
33 result = runCmd('bitbake-layers show-layers')
34 self.assertIn('meta-selftest', result.output)
39 result = runCmd('bitbake-layers show-appends')
40 self.assertIn(bb_file, result.output)
43 result = runCmd('bitbake-layers show-overlayed')
[all …]
H A Dbbtests.py44 result = bitbake('selftest-hello-native')
45 … = re.search(r"NOTE: Test for bb\.event\.BuildStarted(\n.*)*NOTE: Executing.*Tasks", result.output)
46 …eted = re.search(r"Tasks Summary:.*(\n.*)*NOTE: Test for bb\.event\.BuildCompleted", result.output)
47 self.assertTrue(find_build_started, msg = "Match failed in:\n%s" % result.output)
48 self.assertTrue(find_build_completed, msg = "Match failed in:\n%s" % result.output)
49 self.assertNotIn('Test for bb.event.InvalidEvent', result.output)
54 result = bitbake('selftest-hello-native')
55 find_setscene = re.search("selftest-hello-native.*do_.*_setscene", result.output)
56 …etscene\" message found during bitbake selftest-hello-native. bitbake output: %s" % result.output )
59 result = bitbake('-b asdf', ignore_status=True)
[all …]
H A Ddevtool.py33 result = runCmd('bitbake-layers show-layers')
34 …assert "workspacelayer" not in result.output, "Devtool test suite cannot be run with a local works…
56 result = runCmd('git rev-parse --show-toplevel', cwd=canonical_layerpath)
57 oldreporoot = result.output.rstrip()
66 result = runCmd('git status --porcelain', cwd=oldreporoot)
71 for line in result.output.splitlines():
116 result = runCmd('git status --porcelain', cwd=repo_dir)
117 self.assertEqual(result.output.strip(), "",
119 result = runCmd('git symbolic-ref HEAD', cwd=repo_dir)
120 self.assertEqual(result.output.strip(), "refs/heads/devtool",
[all …]
/openbmc/qemu/tests/tcg/hexagon/
H A Dreg_mut.c65 uint32_t result = 0; in write_control_registers() local
67 WRITE_REG_NOCLOBBER(result, "usr", 0xffffffff); in write_control_registers()
68 check32(result, 0x3ecfff3f); in write_control_registers()
70 WRITE_REG_NOCLOBBER(result, "gp", 0xffffffff); in write_control_registers()
71 check32(result, 0xffffffc0); in write_control_registers()
73 WRITE_REG_NOCLOBBER(result, "upcyclelo", 0xffffffff); in write_control_registers()
74 check32(result, 0x00000000); in write_control_registers()
76 WRITE_REG_NOCLOBBER(result, "upcyclehi", 0xffffffff); in write_control_registers()
77 check32(result, 0x00000000); in write_control_registers()
79 WRITE_REG_NOCLOBBER(result, "utimerlo", 0xffffffff); in write_control_registers()
[all …]
H A Dload_align.c65 int64_t result = ~0LL; \
66 LOAD_io_##SZ(result, buf, 0 * (SIZE)); \
67 check64(result, (EXP1)); \
68 LOAD_io_##SZ(result, buf, 1 * (SIZE)); \
69 check64(result, (EXP2)); \
70 LOAD_io_##SZ(result, buf, 2 * (SIZE)); \
71 check64(result, (EXP3)); \
72 LOAD_io_##SZ(result, buf, 3 * (SIZE)); \
73 check64(result, (EXP4)); \
100 uint64_t result = ~0LL; \
[all …]
H A Dload_unpack.c68 TYPE result; \
70 BxW_LOAD_io_##SIGN(result, buf, 0 * (SIZE)); \
71 check64(result, (EXP1) | (EXT)); \
72 BxW_LOAD_io_##SIGN(result, buf, 1 * (SIZE)); \
73 check64(result, (EXP2) | (EXT)); \
74 BxW_LOAD_io_##SIGN(result, buf, 2 * (SIZE)); \
75 check64(result, (EXP3) | (EXT)); \
76 BxW_LOAD_io_##SIGN(result, buf, 3 * (SIZE)); \
77 check64(result, (EXP4) | (EXT)); \
109 TYPE result; \
[all …]
/openbmc/qemu/backends/
H A Dspdm-socket.c21 ssize_t result; in read_bytes() local
24 result = recv(socket, buffer + number_received, in read_bytes()
26 if (result <= 0) { in read_bytes()
29 number_received += result; in read_bytes()
36 bool result; in read_data32() local
38 result = read_bytes(socket, (uint8_t *)data, sizeof(uint32_t)); in read_data32()
39 if (!result) { in read_data32()
40 return result; in read_data32()
51 bool result; in read_multiple_bytes() local
53 result = read_data32(socket, &length); in read_multiple_bytes()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-timed-average.c37 uint64_t result; in test_average() local
43 result = timed_average_min(&ta); in test_average()
44 g_assert(result == 0); in test_average()
45 result = timed_average_avg(&ta); in test_average()
46 g_assert(result == 0); in test_average()
47 result = timed_average_max(&ta); in test_average()
48 g_assert(result == 0); in test_average()
52 result = timed_average_min(&ta); in test_average()
53 g_assert(result == 1); in test_average()
54 result = timed_average_avg(&ta); in test_average()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Dimx_lpi2c.c31 lpi2c_status_t result = LPI2C_SUCESS; in imx_lpci2c_check_busy_bus() local
37 result = LPI2C_BUSY; in imx_lpci2c_check_busy_bus()
39 return result; in imx_lpci2c_check_busy_bus()
44 lpi2c_status_t result = LPI2C_SUCESS; in imx_lpci2c_check_clear_error() local
54 result = LPI2C_PIN_LOW_TIMEOUT_ERR; in imx_lpci2c_check_clear_error()
56 result = LPI2C_ARB_LOST_ERR; in imx_lpci2c_check_clear_error()
58 result = LPI2C_NAK_ERR; in imx_lpci2c_check_clear_error()
60 result = LPI2C_FIFO_ERR; in imx_lpci2c_check_clear_error()
70 return result; in imx_lpci2c_check_clear_error()
75 lpi2c_status_t result = LPI2C_SUCESS; in bus_i2c_wait_for_tx_ready() local
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D11884 result = self.vm.qmp('query-block')
86 self.assert_qmp(result, 'return[0]/tray_open', False)
87 self.assert_qmp(result, 'return[0]/inserted/image/filename', new_img)
94 result = self.vm.qmp('query-block')
96 self.assert_qmp(result, 'return[0]/tray_open', True)
97 self.assert_qmp_absent(result, 'return[0]/inserted')
104 result = self.vm.qmp('query-block')
106 self.assert_qmp(result, 'return[0]/tray_open', True)
107 self.assert_qmp_absent(result, 'return[0]/inserted')
114 result = self.vm.qmp('query-block')
[all …]
H A D04568 result = self.vm.qmp('query-fdsets')
69 self.assert_qmp(result, 'return[0]/fdset-id', 2)
70 self.assert_qmp(result, 'return[1]/fdset-id', 1)
71 self.assert_qmp(result, 'return[2]/fdset-id', 0)
72 self.assert_qmp(result, 'return[0]/fds[0]/opaque', 'image3:r')
73 self.assert_qmp(result, 'return[0]/fds[1]/opaque', 'image4:r')
74 self.assert_qmp(result, 'return[1]/fds[0]/opaque', 'image0:r')
75 self.assert_qmp(result, 'return[1]/fds[1]/opaque', 'image1:w+')
76 self.assert_qmp(result, 'return[2]/fds[0]/opaque', 'image2:r')
81 result = self.vm.qmp('query-fdsets')
[all …]
/openbmc/u-boot/tools/patman/
H A Dtest.py220 result = checkpatch.CheckPatch(inf)
221 self.assertEqual(result.ok, True)
222 self.assertEqual(result.problems, [])
223 self.assertEqual(result.errors, 0)
224 self.assertEqual(result.warnings, 0)
225 self.assertEqual(result.checks, 0)
226 self.assertEqual(result.lines, 62)
231 result = checkpatch.CheckPatch(inf)
232 self.assertEqual(result.ok, False)
233 self.assertEqual(len(result.problems), 1)
[all …]
H A Dcheckpatch.py58 result = collections.namedtuple('CheckPatchResult', fields)
59 result.ok = False
60 result.errors, result.warning, result.checks = 0, 0, 0
61 result.lines = 0
62 result.problems = []
65 result.stdout = command.Output(chk, '--no-tree', fname,
83 for line in result.stdout.splitlines():
89 result.problems.append(item)
95 result.errors = int(match.group(1))
96 result.warnings = int(match.group(2))
[all …]
/openbmc/qemu/scripts/
H A Dxml-preprocess-test.py27 result = xmlpp.preprocess_xml(temp_file_name)
28 self.assertEqual(result, "<root></root>")
45 result = xpp.preprocess(xml_str)
46 self.assertEqual(result, expected)
55 result = xpp.preprocess(xml_str)
56 self.assertEqual(result, expected)
63 result = xpp.preprocess(xml_str)
64 self.assertEqual(result, expected)
71 result = xpp.preprocess(xml_str)
72 self.assertEqual(result, expected)
[all …]
/openbmc/u-boot/tools/buildman/
H A Dbuilderthread.py70 result = self.builder.out_queue.get()
71 self.builder.ProcessResult(result)
140 result = command.CommandResult()
141 result.return_code = 0
153 result.already_done = os.path.exists(done_file)
155 not result.already_done)
156 if result.already_done:
160 result.return_code = int(fd.readline())
164 result.return_code = RETURN_CODE_RETRY
167 if result.return_code == RETURN_CODE_RETRY:
[all …]
/openbmc/qemu/tests/tcg/openrisc/
H A Dtest_logic.c6 int result; in main() local
10 result = 0x25d0c; in main()
16 if (a != result) { in main()
22 result = 0x25d0c; in main()
28 if (a != result) { in main()
35 result = 0xeca; in main()
43 result = 0xeca; in main()
49 if (a != result) { in main()
56 result = 0x18000000; in main()
62 if (a != result) { in main()
[all …]
H A Dtest_lx.c7 int result; in main() local
9 result = 0x23; in main()
17 if (a != result) { in main()
22 result = 0x23; in main()
28 if (a != result) { in main()
33 result = 0x1111; in main()
41 if (a != result) { in main()
46 result = 0x1111; in main()
52 if (a != result) { in main()
57 result = 0x1111233; in main()
[all …]
H A Dtest_extx.c6 int result; in main() local
9 result = 0xffffff83; in main()
15 if (a != result) { in main()
20 result = 0x83; in main()
26 if (a != result) { in main()
32 result = 0xffff8083; in main()
38 if (a != result) { in main()
43 result = 0x8083; in main()
49 if (a != result) { in main()
55 result = 0x11; in main()
[all …]
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dmon.c17 int result; in mon_install() local
28 : "=&r" (result) in mon_install()
31 return result; in mon_install()
36 int result; in mon_power_on() local
46 : "=&r" (result) in mon_power_on()
49 return result; in mon_power_on()
54 int result; in mon_power_off() local
63 : "=&r" (result) in mon_power_off()
66 return result; in mon_power_off()
88 int result; in k2_hs_bm_auth() local
[all …]
/openbmc/openbmc/poky/bitbake/lib/prserv/
H A Dtests.py161 result = self.client1.test_pr(version, pkgarch, checksum0)
162 self.assertIsNone(result, "test_pr should return 'None' for a non existing PR")
164 result = self.client1.test_package(version, pkgarch)
165 self.assertFalse(result, "test_package should return 'False' for a non existing PR")
167 result = self.client1.max_package_pr(version, pkgarch)
168 self.assertIsNone(result, "max_package_pr should return 'None' for a non existing PR")
172 result = self.client1.getPR(version, pkgarch, checksum0)
173 self.assertEqual(result, "0", "getPR: initial PR of a package should be '0'")
175 result = self.client1.test_pr(version, pkgarch, checksum0)
176 … self.assertEqual(result, "0", "test_pr should return '0' here, matching the result of getPR")
[all …]
/openbmc/qemu/target/tricore/
H A Dfpu_helper.c52 float32 arg3, float32 result, in f_maddsub_nan_result() argument
84 return result; in f_maddsub_nan_result()
209 uint32_t new_E, new_M, new_S, result; in helper_qseed() local
219 result = float32_quiet_nan; in helper_qseed()
222 result = float32_infinity | (1 << 31); in helper_qseed()
224 result = float32_infinity; in helper_qseed()
227 result = float32_sqrt_nan; in helper_qseed()
229 result = float32_zero; in helper_qseed()
237 result = 0; in helper_qseed()
238 result = deposit32(result, 31, 1, new_S); in helper_qseed()
[all …]
/openbmc/u-boot/lib/
H A Dstrto.c36 unsigned long result = 0; in simple_strtoul() local
43 result = result*base + value; in simple_strtoul()
50 return result; in simple_strtoul()
87 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul() local
90 result *= 1024; in ustrtoul()
93 result *= 1024; in ustrtoul()
96 result *= 1024; in ustrtoul()
103 return result; in ustrtoul()
108 unsigned long long result = simple_strtoull(cp, endp, base); in ustrtoull() local
111 result *= 1024; in ustrtoull()
[all …]

12345678910>>...70