| /openbmc/qemu/tests/tcg/i386/ |
| H A D | test-i386-bmi2.c | 74 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 D | bblogging.py | 19 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 D | pkgdata.py | 26 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 D | bblayers.py | 24 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 D | bbtests.py | 44 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 …]
|
| /openbmc/qemu/backends/ |
| H A D | spdm-socket.c | 21 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 D | EINTR_wrappers.c | 152 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 D | EINTR_wrappers.c | 125 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/unit/ |
| H A D | test-timed-average.c | 37 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/qemu-iotests/ |
| H A D | 118 | 84 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 D | 045 | 68 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/buildman/ |
| H A D | builderthread.py | 53 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 D | imx_lpi2c.c | 31 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/tcg/hexagon/ |
| H A D | reg_mut.c | 65 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 D | load_align.c | 65 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 D | load_unpack.c | 68 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/openbmc/poky/bitbake/lib/prserv/ |
| H A D | tests.py | 161 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/scripts/ |
| H A D | xml-preprocess-test.py | 27 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/qemu/system/ |
| H A D | memory_ldst.c.inc | 24 hwaddr addr, MemTxAttrs attrs, MemTxResult *result, 60 if (result) { 61 *result = r; 71 hwaddr addr, MemTxAttrs attrs, MemTxResult *result) 73 return glue(address_space_ldl_internal, SUFFIX)(ARG1, addr, attrs, result, 78 hwaddr addr, MemTxAttrs attrs, MemTxResult *result) 80 return glue(address_space_ldl_internal, SUFFIX)(ARG1, addr, attrs, result, 85 hwaddr addr, MemTxAttrs attrs, MemTxResult *result) 87 return glue(address_space_ldl_internal, SUFFIX)(ARG1, addr, attrs, result, 93 hwaddr addr, MemTxAttrs attrs, MemTxResult *result, [all …]
|
| /openbmc/openbmc/poky/scripts/lib/resulttool/ |
| H A D | report.py | 1 # test result tool - report text based test results 27 def handle_ptest_result(self, k, status, result, machine): argument 33 for suite in result['ptestresult.sections']: 39 if 'duration' in result['ptestresult.sections'][suite]: 40 … self.ptests[machine][suite]['duration'] = result['ptestresult.sections'][suite]['duration'] 41 if 'timeout' in result['ptestresult.sections'][suite]: 45 # process test result 52 if 'ptestresult.sections' in result and suite not in result['ptestresult.sections']: 55 if suite + "." + suite1 in result['ptestresult.sections']: 68 print("Warning duplicate ptest result '{}.{}' for {}".format(suite, test, machine)) [all …]
|
| /openbmc/qemu/include/exec/ |
| H A D | memory_ldst.h.inc | 23 hwaddr addr, MemTxAttrs attrs, MemTxResult *result); 25 hwaddr addr, MemTxAttrs attrs, MemTxResult *result); 27 hwaddr addr, MemTxAttrs attrs, MemTxResult *result); 29 hwaddr addr, uint32_t val, MemTxAttrs attrs, MemTxResult *result); 31 hwaddr addr, uint16_t val, MemTxAttrs attrs, MemTxResult *result); 33 hwaddr addr, uint32_t val, MemTxAttrs attrs, MemTxResult *result); 35 hwaddr addr, uint64_t val, MemTxAttrs attrs, MemTxResult *result); 37 hwaddr addr, MemTxAttrs attrs, MemTxResult *result); 39 hwaddr addr, MemTxAttrs attrs, MemTxResult *result); 41 hwaddr addr, MemTxAttrs attrs, MemTxResult *result); [all …]
|
| /openbmc/u-boot/tools/patman/ |
| H A D | checkpatch.py | 58 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/target/tricore/ |
| H A D | fpu_helper.c | 52 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/qemu/tests/tcg/openrisc/ |
| H A D | test_logic.c | 6 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 …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/ |
| H A D | 0003-Add-compatibility-for-gcc-15-869.patch | 38 result = prop_request(sconn->sparams->propctx, propnames); 39 - RETURN(conn, result); 40 + RETURN_VAL(conn, result); 52 - RETURN(conn, result); 53 + RETURN_VAL(conn, result); 61 - RETURN(conn, result); 62 + RETURN_VAL(conn, result); 70 - RETURN(conn, result); 71 + RETURN_VAL(conn, result); 83 - if (result != SASL_OK) RETURN(*pconn, result); [all …]
|