| /openbmc/sdbusplus/include/sdbusplus/ |
| H A D | event.hpp | 45 class condition class 50 condition() = delete; 51 explicit condition(event& e) : condition_source(e) {} in condition() function in sdbusplus::event::condition 52 condition(const condition&) = delete; 53 condition(condition&&); 55 condition& operator=(const condition&) = delete; 56 condition& operator=(condition&&); 58 ~condition() in ~condition() 72 condition(source&& s, int&& f) : in condition() function in sdbusplus::event::condition 112 condition add_condition(sd_event_io_handler_t handler, void* data); [all …]
|
| /openbmc/u-boot/include/linux/ |
| H A D | bug.h | 14 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument 16 #define WARN_ON(condition) ({ \ argument 17 int __ret_warn_on = !!(condition); \ 23 #define WARN(condition, format...) ({ \ argument 24 int __ret_warn_on = !!(condition); \ 30 #define WARN_ON_ONCE(condition) ({ \ argument 32 int __ret_warn_once = !!(condition); \ 41 #define WARN_ONCE(condition, format...) ({ \ argument 43 int __ret_warn_once = !!(condition); \
|
| H A D | build_bug.h | 13 #define BUILD_BUG_ON(condition) (0) argument 67 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument 69 #define BUILD_BUG_ON(condition) \ argument 70 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
|
| H A D | compiler.h | 471 # define __compiletime_error_fallback(condition) \ argument 472 do { ((void)sizeof(char[1 - 2 * condition])); } while (0) 476 # define __compiletime_error_fallback(condition) do { } while (0) argument 480 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument 482 bool __cond = !(condition); \ 489 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument 492 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument 493 __compiletime_assert(condition, msg, prefix, suffix) 504 #define compiletime_assert(condition, msg) \ argument 505 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
|
| /openbmc/phosphor-power/phosphor-regulators/docs/config_file/ |
| H A D | if.md | 5 Performs actions based on whether a condition is true. 7 The "condition" property specifies an action to execute. The condition is true 8 if the action returns true. Otherwise the condition is false. 10 If the condition is true, the actions within the "then" property are executed. 12 If the condition is false, the actions within the "else" property are executed 19 | condition | yes | [action](action.md) | Action that tests whether condition is tru… 20 … yes | array of [actions](action.md) | One or more actions to perform if condition is true. | 21 … no | array of [actions](action.md) | One or more actions to perform if condition is false. | 25 If the condition was true, returns the value of the last action in the "then" 28 If the condition was false, returns the value of the last action in the "else" [all …]
|
| /openbmc/qemu/io/ |
| H A D | channel-watch.c | 29 GIOCondition condition; member 41 GIOCondition condition; member 53 GIOCondition condition; member 72 return ssource->fd.revents & ssource->condition; in qio_channel_fd_source_check() 85 ssource->fd.revents & ssource->condition, in qio_channel_fd_source_dispatch() 121 if (!ssource->condition) { in qio_channel_socket_source_check() 128 if (ssource->condition & G_IO_IN) { in qio_channel_socket_source_check() 131 if (ssource->condition & G_IO_OUT) { in qio_channel_socket_source_check() 134 if (ssource->condition & G_IO_PRI) { in qio_channel_socket_source_check() 203 return poll_condition & ssource->condition; in qio_channel_fd_pair_source_check() [all …]
|
| H A D | channel.c | 386 GIOCondition condition) in qio_channel_create_watch() argument 389 GSource *ret = klass->io_create_watch(ioc, condition); in qio_channel_create_watch() 413 GIOCondition condition, in qio_channel_add_watch_full() argument 422 source = qio_channel_create_watch(ioc, condition); in qio_channel_add_watch_full() 433 GIOCondition condition, in qio_channel_add_watch() argument 438 return qio_channel_add_watch_full(ioc, condition, func, in qio_channel_add_watch() 443 GIOCondition condition, in qio_channel_add_watch_source() argument 452 id = qio_channel_add_watch_full(ioc, condition, func, in qio_channel_add_watch_source() 628 qio_channel_set_fd_handlers(QIOChannel *ioc, GIOCondition condition) in qio_channel_set_fd_handlers() argument 638 if (condition == G_IO_IN) { in qio_channel_set_fd_handlers() [all …]
|
| H A D | channel-tls.c | 157 GIOCondition condition, 187 GIOCondition condition; in qio_channel_tls_handshake_task() local 198 condition = G_IO_OUT; in qio_channel_tls_handshake_task() 200 condition = G_IO_IN; in qio_channel_tls_handshake_task() 206 condition, in qio_channel_tls_handshake_task() 216 GIOCondition condition, in qio_channel_tls_handshake_io() argument 256 static gboolean qio_channel_tls_bye_io(QIOChannel *ioc, GIOCondition condition, 262 GIOCondition condition; in qio_channel_tls_bye_task() local 290 condition = G_IO_OUT; in qio_channel_tls_bye_task() 292 condition = G_IO_IN; in qio_channel_tls_bye_task() [all …]
|
| H A D | channel-buffer.c | 157 GIOCondition condition; member 168 return (G_IO_IN | G_IO_OUT) & bsource->condition; in qio_channel_buffer_source_prepare() 176 return (G_IO_IN | G_IO_OUT) & bsource->condition; in qio_channel_buffer_source_check() 188 ((G_IO_IN | G_IO_OUT) & bsource->condition), in qio_channel_buffer_source_dispatch() 208 GIOCondition condition) in qio_channel_buffer_create_watch() argument 221 ssource->condition = condition; in qio_channel_buffer_create_watch()
|
| H A D | channel-null.c | 32 GIOCondition condition; member 166 ssource->condition, in qio_channel_null_source_dispatch() 190 GIOCondition condition) in qio_channel_null_create_watch() argument 202 ssource->condition = condition; in qio_channel_null_create_watch()
|
| /openbmc/phosphor-inventory-manager/ |
| H A D | association_manager.cpp | 138 for (const auto& condition : _conditions) in conditionMatch() local 140 if (condition.path != objectPath) in conditionMatch() 146 object.begin(), object.end(), [&condition](const auto& i) { in conditionMatch() 147 return i.first == condition.interface; in conditionMatch() 156 [&condition](const auto& p) { in conditionMatch() 157 return condition.property == p.first; in conditionMatch() 164 auto match = std::find(condition.values.begin(), condition.values.end(), in conditionMatch() 166 if (match != condition.values.end()) in conditionMatch() 168 foundPath = condition.file; in conditionMatch() 189 for (const auto& condition : _conditions) in conditionMatch() local [all …]
|
| H A D | functor.hpp | 60 auto make_path_condition(T&& condition) in make_path_condition() argument 62 return PathCondition(std::forward<T>(condition)); in make_path_condition() 201 U&& condition) : in PropertyChangedCondition() 203 _condition(std::forward<U>(condition)) in PropertyChangedCondition() 338 U&& condition, const char* service, in PropertyCondition() 341 _condition(std::forward<decltype(condition)>(condition)), in PropertyCondition() 382 auto condition = [val = std::forward<T>(val)](T&& arg) { in propertyChangedTo() local 385 using U = decltype(condition); in propertyChangedTo() 387 std::move(condition)); in propertyChangedTo() 396 auto condition = [val = std::forward<T>(val)](T&& arg) { in propertyIs() local [all …]
|
| /openbmc/sdbusplus/src/ |
| H A D | event.cpp | 42 condition::condition(condition&& c) in condition() function in sdbusplus::event::condition 53 condition& condition::operator=(condition&& c) in operator =() 65 void condition::signal() in signal() 75 void condition::ack() in ack() 126 condition event::add_condition(sd_event_io_handler_t handler, void* data) in add_condition()
|
| /openbmc/qemu/include/io/ |
| H A D | channel-watch.h | 48 GIOCondition condition); 66 GIOCondition condition); 88 GIOCondition condition);
|
| H A D | channel.h | 62 GIOCondition condition, 130 GIOCondition condition); 736 GIOCondition condition); 762 GIOCondition condition, 782 GIOCondition condition, 806 GIOCondition condition, 829 GIOCondition condition); 854 GIOCondition condition);
|
| /openbmc/phosphor-fan-presence/monitor/ |
| H A D | conditions.hpp | 24 auto make_condition(T&& condition) in make_condition() argument 26 return Condition(std::forward<T>(condition)); in make_condition() 29 namespace condition namespace
|
| /openbmc/u-boot/drivers/i2c/ |
| H A D | mv_i2c.c | 27 u8 condition; member 142 if (msg->condition == I2C_COND_START) in i2c_transfer() 144 if (msg->condition == I2C_COND_STOP) in i2c_transfer() 175 if (msg->condition == I2C_COND_START) in i2c_transfer() 177 if (msg->condition == I2C_COND_STOP) in i2c_transfer() 254 msg.condition = I2C_COND_START; in __i2c_read() 269 msg.condition = I2C_COND_NORMAL; in __i2c_read() 279 msg.condition = I2C_COND_START; in __i2c_read() 290 msg.condition = I2C_COND_STOP; in __i2c_read() 293 msg.condition = I2C_COND_NORMAL; in __i2c_read() [all …]
|
| /openbmc/qemu/tests/tcg/tricore/c/ |
| H A D | testdev_assert.h | 11 static inline void testdev_assert(int condition) in testdev_assert() argument 13 if (!condition) { in testdev_assert()
|
| /openbmc/qemu/ui/ |
| H A D | vnc-ws.h | 25 GIOCondition condition, 28 GIOCondition condition,
|
| H A D | vnc-ws.c | 51 GIOCondition condition, in vncws_tls_handshake_io() argument 63 if (condition & (G_IO_HUP | G_IO_ERR)) { in vncws_tls_handshake_io() 121 GIOCondition condition, in vncws_handshake_io() argument 132 if (condition & (G_IO_HUP | G_IO_ERR)) { in vncws_handshake_io()
|
| /openbmc/phosphor-dbus-monitor/src/templates/ |
| H A D | conditional.mako.cpp | 4 ${indent(1)}*ConfigConditions::get()[${c.condition}], 9 ${indent(1)}*ConfigConditions::get()[${c.condition}])\
|
| /openbmc/phosphor-state-manager/host_condition_gpio/ |
| H A D | phosphor-host-condition-gpio@.service | 2 Description=Phosphor host condition gpios check for HOST %i 6 ExecStart=/usr/bin/phosphor-host-condition-gpio %i
|
| H A D | meson.build | 8 'phosphor-host-condition-gpio', 25 'phosphor-host-condition-gpio@.service',
|
| H A D | host_condition.hpp | 11 namespace condition namespace 15 sdbusplus::server::xyz::openbmc_project::condition::HostFirmware>;
|
| /openbmc/phosphor-dbus-monitor/src/ |
| H A D | callback.hpp | 174 Conditional& cond) : graph(graphEntry), condition(cond) in ConditionalCallback() 180 if (condition()) in operator ()() 191 Conditional& condition; member in phosphor::dbus::monitoring::ConditionalCallback 247 if (this->condition()) in operator ()()
|