/openbmc/sdbusplus/example/ |
H A D | asio-example.cpp | 61 variant testValue; in do_start_async_method_call_one() local 66 testValue = conn->yield_method_call<variant>( in do_start_async_method_call_one() 70 if (!ec && std::get<int>(testValue) == 24) in do_start_async_method_call_one() 82 testValue = conn->yield_method_call<variant>( in do_start_async_method_call_one() 86 if (!ec && std::get<int>(testValue) == 42) in do_start_async_method_call_one() 149 int testValue = 0; in do_start_async_to_yield() local 150 testValue = conn->yield_method_call<int>( in do_start_async_to_yield() 154 if (!ec && testValue == 42) in do_start_async_to_yield() 161 std::cout << "ec = " << ec << ": " << testValue << "\n"; in do_start_async_to_yield() 386 [](boost::system::error_code ec, int32_t testValue) { in client() argument [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 …]
|