/openbmc/sdbusplus/example/ |
H A D | asio-example.cpp | 62 variant testValue; in do_start_async_method_call_one() local 67 testValue = conn->yield_method_call<variant>( in do_start_async_method_call_one() 71 if (!ec && std::get<int>(testValue) == 24) in do_start_async_method_call_one() 77 std::cout << "ec = " << ec << ": " << std::get<int>(testValue) << "\n"; in do_start_async_method_call_one() 83 testValue = conn->yield_method_call<variant>( in do_start_async_method_call_one() 87 if (!ec && std::get<int>(testValue) == 42) in do_start_async_method_call_one() 93 std::cout << "ec = " << ec << ": " << std::get<int>(testValue) << "\n"; in do_start_async_method_call_one() 150 int testValue = 0; in do_start_async_to_yield() local 151 testValue = conn->yield_method_call<int>( in do_start_async_to_yield() 155 if (!ec && testValue == 42) in do_start_async_to_yield() [all …]
|
/openbmc/intel-ipmi-oem/tests/ |
H A D | test_sensorcommands.cpp | 58 void testValue(int x, double y, int16_t M, int8_t rExp, int16_t B, int8_t bExp, in testValue() function 146 testValue(xMin, yMin, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 147 testValue(x25p, y25p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 148 testValue(x50p, y50p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 149 testValue(x75p, y75p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 150 testValue(xMax, yMax, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 160 testValue(xMin, yMin, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 161 testValue(x25p, y25p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 162 testValue(x50p, y50p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 163 testValue(x75p, y75p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() [all …]
|
/openbmc/phosphor-host-ipmid/test/dbus-sdr/ |
H A D | sensorcommands_unittest.cpp | 58 void testValue(int x, double y, int16_t M, int8_t rExp, int16_t B, int8_t bExp, in testValue() function 147 testValue(xMin, yMin, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 148 testValue(x25p, y25p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 149 testValue(x50p, y50p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 150 testValue(x75p, y75p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 151 testValue(xMax, yMax, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 161 testValue(xMin, yMin, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 162 testValue(x25p, y25p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 163 testValue(x50p, y50p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() 164 testValue(x75p, y75p, mValue, rExp, bValue, bExp, bSigned, yRange); in testBounds() [all …]
|