Home
last modified time | relevance | path

Searched full:result (Results 1 – 25 of 5750) sorted by relevance

12345678910>>...230

/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 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 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 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 …]
/openbmc/linux/tools/perf/tests/shell/
H A Dlock_contention.sh9 result=$(mktemp /tmp/__perf_test.result.XXXXX)
13 rm -f ${result}
42 perf lock contention -i ${perfdata} -E 1 -q 2> ${result}
43 if [ "$(cat "${result}" | wc -l)" != "1" ]; then
44 echo "[Fail] Recorded result count is not 1:" "$(cat "${result}" | wc -l)"
60 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
61 if [ "$(cat "${result}" | wc -l)" != "1" ]; then
62 echo "[Fail] BPF result count is not 1:" "$(cat "${result}" | wc -l)"
72 perf lock contention -i- -E 1 -q 2> ${result}
73 if [ "$(cat "${result}" | wc -l)" != "1" ]; then
[all …]
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Drepository.c112 int result; in read_node() local
122 result = lv1_read_repository_node(lpar_id, n1, n2, n3, n4, &v1, in read_node()
125 if (result) { in read_node()
127 __func__, __LINE__, ps3_result(result)); in read_node()
168 int result; in ps3_repository_read_bus_type() local
171 result = read_node(PS3_LPAR_ID_PME, in ps3_repository_read_bus_type()
177 return result; in ps3_repository_read_bus_type()
183 int result; in ps3_repository_read_bus_num_dev() local
186 result = read_node(PS3_LPAR_ID_PME, in ps3_repository_read_bus_num_dev()
192 return result; in ps3_repository_read_bus_num_dev()
[all …]
H A Dinterrupt.c172 int result; in ps3_virq_setup() local
187 result = -ENOMEM; in ps3_virq_setup()
194 result = irq_set_chip_data(*virq, pd); in ps3_virq_setup()
196 if (result) { in ps3_virq_setup()
204 return result; in ps3_virq_setup()
209 return result; in ps3_virq_setup()
246 int result; in ps3_irq_plug_setup() local
249 result = ps3_virq_setup(cpu, outlet, virq); in ps3_irq_plug_setup()
251 if (result) { in ps3_irq_plug_setup()
260 result = lv1_connect_irq_plug_ext(pd->ppe_id, pd->thread_id, *virq, in ps3_irq_plug_setup()
[all …]
H A Ddevice-init.c26 int result; in ps3_register_lpm_devices() local
42 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); in ps3_register_lpm_devices()
44 if (result) { in ps3_register_lpm_devices()
50 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, in ps3_register_lpm_devices()
53 if (result) { in ps3_register_lpm_devices()
64 result = -ENODEV; in ps3_register_lpm_devices()
71 result = -EPERM; in ps3_register_lpm_devices()
79 result = ps3_repository_read_pu_id(0, &dev->lpm.pu_id); in ps3_register_lpm_devices()
81 if (result) { in ps3_register_lpm_devices()
87 result = ps3_system_bus_device_register(dev); in ps3_register_lpm_devices()
[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/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.c152 int Result = epoll_wait(epfd, events, maxevents, timeout); in sigwrap_epoll_wait() local
154 if (Result != -1) in sigwrap_epoll_wait()
155 return Result; in sigwrap_epoll_wait()
158 return Result; in sigwrap_epoll_wait()
187 int Result = epoll_pwait(epfd, events, maxevents, timeout, sigmask); in sigwrap_epoll_pwait() local
189 if (Result != -1) in sigwrap_epoll_pwait()
190 return Result; in sigwrap_epoll_pwait()
193 return Result; in sigwrap_epoll_pwait()
210 int Result = sigwaitinfo(set, info); in sigwrap_sigwaitinfo() local
212 if (Result != -1) in sigwrap_sigwaitinfo()
[all …]
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c125 int Result = epoll_wait(epfd, events, maxevents, timeout); in sigwrap_epoll_wait() local
127 if (Result != -1) in sigwrap_epoll_wait()
128 return Result; in sigwrap_epoll_wait()
131 return Result; in sigwrap_epoll_wait()
160 int Result = epoll_pwait(epfd, events, maxevents, timeout, sigmask); in sigwrap_epoll_pwait() local
162 if (Result != -1) in sigwrap_epoll_pwait()
163 return Result; in sigwrap_epoll_pwait()
166 return Result; in sigwrap_epoll_pwait()
183 int Result = sigwaitinfo(set, info); in sigwrap_sigwaitinfo() local
185 if (Result != -1) in sigwrap_sigwaitinfo()
[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/linux/arch/xtensa/include/asm/
H A Datomic.h62 int result; \
66 " " #op " %[result], %[tmp], %[i]\n" \
67 " s32ex %[result], %[addr]\n" \
68 " getex %[result]\n" \
69 " beqz %[result], 1b\n" \
70 : [result] "=&a" (result), [tmp] "=&a" (tmp) \
80 int result; \
84 " " #op " %[result], %[tmp], %[i]\n" \
85 " s32ex %[result], %[addr]\n" \
86 " getex %[result]\n" \
[all …]
/openbmc/u-boot/tools/buildman/
H A Dbuilderthread.py53 result thread, and this helps to serialise the build output.
56 """Set up a new result thread
59 builder: Builder which will be sent each result
65 """Called to start up the result thread.
67 We collect the next result job and pass it on to the build.
70 result = self.builder.out_queue.get()
71 self.builder.ProcessResult(result)
130 force_build_failures: Force a bulid if the previous result showed
138 # Create a default result - it will be overwritte by the call to
140 result = command.CommandResult()
[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/linux/fs/hpfs/
H A Dnamei.c32 struct inode *result; in hpfs_mkdir() local
54 result = new_inode(dir->i_sb); in hpfs_mkdir()
55 if (!result) in hpfs_mkdir()
57 hpfs_init_inode(result); in hpfs_mkdir()
58 result->i_ino = fno; in hpfs_mkdir()
59 hpfs_i(result)->i_parent_dir = dir->i_ino; in hpfs_mkdir()
60 hpfs_i(result)->i_dno = dno; in hpfs_mkdir()
61 result->i_mtime = result->i_atime = in hpfs_mkdir()
62 inode_set_ctime(result, local_to_gmt(dir->i_sb, le32_to_cpu(dee.creation_date)), 0); in hpfs_mkdir()
63 hpfs_i(result)->i_ea_size = 0; in hpfs_mkdir()
[all …]
/openbmc/linux/arch/parisc/math-emu/
H A Dsfadd.c42 register unsigned int left, right, result, extent; in sgl_fadd() local
75 Sgl_makequietnan(result); in sgl_fadd()
76 *dstptr = result; in sgl_fadd()
185 /* Left is not a zero and must be the result. Trapped in sgl_fadd()
186 * underflows are signaled if left is denormalized. Result in sgl_fadd()
208 /* Both operands are denormalized. The result must be exact in sgl_fadd()
213 Sgl_subtract(left,/*minus*/right,/*into*/result); in sgl_fadd()
214 if(Sgl_iszero_mantissa(result)) in sgl_fadd()
218 Sgl_setone_sign(result); in sgl_fadd()
222 Sgl_setzero_sign(result); in sgl_fadd()
[all …]
H A Dsfsub.c42 register unsigned int left, right, result, extent; in sgl_fsub() local
73 Sgl_makequietnan(result); in sgl_fsub()
74 *dstptr = result; in sgl_fsub()
186 /* Left is not a zero and must be the result. Trapped in sgl_fsub()
187 * underflows are signaled if left is denormalized. Result in sgl_fsub()
210 /* Both operands are denormalized. The result must be exact in sgl_fsub()
215 Sgl_subtract(left,/*minus*/right,/*into*/result); in sgl_fsub()
216 if(Sgl_iszero_mantissa(result)) in sgl_fsub()
220 Sgl_setone_sign(result); in sgl_fsub()
224 Sgl_setzero_sign(result); in sgl_fsub()
[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/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_qmath.c10 * To fit the output into 16 bits the 32 bit multiplication result is right
19 * Description: This function make 16 bit multiplication and return the result
20 * in 16 bits. To fit the multiplication result into 16 bits the multiplication
21 * result is right shifted by 15 bits. Right shifting 15 bits instead of 16 bits
28 s32 result; in qm_muls16() local
30 result = 0x7fffffff; in qm_muls16()
32 result = ((s32) (op1) * (s32) (op2)); in qm_muls16()
34 return (s16) (result >> 15); in qm_muls16()
39 * result. If the result overflow 32 bits, the output will be saturated to
44 s32 result; in qm_add32() local
[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/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 …]
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_core.c447 int result; in inv_mpu6050_set_power_itg() local
449 result = inv_mpu6050_pwr_mgmt_1_write(st, !power_on, -1, -1); in inv_mpu6050_set_power_itg()
450 if (result) in inv_mpu6050_set_power_itg()
451 return result; in inv_mpu6050_set_power_itg()
488 int result; in inv_mpu6050_set_lpf_regs() local
490 result = regmap_write(st->map, st->reg->lpf, val); in inv_mpu6050_set_lpf_regs()
491 if (result) in inv_mpu6050_set_lpf_regs()
492 return result; in inv_mpu6050_set_lpf_regs()
524 int result; in inv_mpu6050_init_config() local
529 result = inv_mpu6050_set_gyro_fsr(st, st->chip_config.fsr); in inv_mpu6050_init_config()
[all …]
/openbmc/linux/scripts/
H A Drust_is_available_test.py111 result = subprocess.run("scripts/rust_is_available.sh", env=env, capture_output=True)
114 self.assertEqual(result.stdout, b"")
119 self.assertEqual(result.returncode, 0)
120 self.assertEqual(result.stderr, b"")
126 self.assertEqual(result.returncode, 0)
127 self.assertNotEqual(result.stderr, b"")
131 self.assertEqual(result.returncode, 0)
132 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
136 self.assertNotEqual(result.returncode, 0)
137 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
[all …]

12345678910>>...230