Home
last modified time | relevance | path

Searched refs:_callbacks (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-fan-presence/
H A Dpower_state.hpp50 _callbacks.emplace("default", std::move(callback)); in PowerState()
70 _callbacks.emplace(name, std::move(callback)); in addCallback()
80 _callbacks.erase(name); in deleteCallback()
106 for (const auto& [name, callback] : _callbacks) in setPowerState()
127 std::map<std::string, StateChangeFunc> _callbacks; member in phosphor::fan::PowerState
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dtypeahead.jquery.js305 this._callbacks = this._callbacks || {};
307 this._callbacks[type] = this._callbacks[type] || {
311 this._callbacks[type][method].push(cb);
323 if (!this._callbacks) {
328 delete this._callbacks[type];
334 if (!this._callbacks) {
339 while ((type = types.shift()) && (callbacks = this._callbacks[type])) {