Home
last modified time | relevance | path

Searched full:mutable (Results 1 – 25 of 74) sorted by relevance

123

/openbmc/openbmc/poky/bitbake/lib/bb/
H A DCOW.py9 # Be careful when using mutable types (ie Dict and Lists) - operations involving these are SLOW.
26 MUTABLE = "__mutable__" variable
58 key += MUTABLE
62 nkey = key + MUTABLE
73 print("Warning: Doing a copy because %s is a mutable type." % key, file=cls.__warn__)
85 Get a value (even if mutable) which you promise not to change.
112 key += MUTABLE
129 if key.endswith(MUTABLE):
130 key = key[:-len(MUTABLE)]
/openbmc/google-misc/subprojects/ncsid/test/
H A Dnet_iface_mock.h34 mutable std::vector<int> bound_socks;
36 mutable short flags = 0;
/openbmc/qemu/rust/qemu-api/src/
H A Duninit.rs28 /// Return a mutable pointer to the containing object.
42 // SAFETY: self.child was obtained by dereferencing a valid mutable in deref()
51 // SAFETY: self.child was obtained by dereferencing a valid mutable in deref_mut()
H A Dqom.rs303 /// Return the receiver as a mutable raw pointer to Object.
314 /// Return the receiver as a mutable raw pointer to Object.
478 /// Return the receiver as a mutable raw pointer to Object.
482 /// This cast is always safe, but because the result is mutable
554 /// Convert to a mutable Rust pointer, to be used for example for FFI.
785 // mutable reference when the reference count reaches zero and `T` is dropped.
792 // thread, so the thread may ultimately access `T` using a mutable reference
816 // SAFETY NOTE: while NonNull requires a mutable pointer, only in from_raw()
841 // SAFETY NOTE: while NonNull requires a mutable pointer, only in from()
H A Dcell.rs30 //! QEMU-specific mutable containers
37 //! - Having one mutable reference (`&mut T`) to the object (also known as
46 //! parts of a device must be made mutable in a controlled manner; this module
66 //! a single borrow and a mutable reference can be passed around. Instead,
127 //! process whereby one can claim temporary, exclusive, mutable access to the
132 //! // A mutable borrow gives read-write access to the registers
142 //! or a single mutable borrow via [`borrow_mut`](BqlRefCell::borrow_mut). The
248 /// A mutable memory location that is protected by the Big QEMU Lock.
459 /// A mutable memory location with dynamically checked borrow rules,
1008 /// Returns a raw mutable pointer to the opaque data.
/openbmc/qemu/hw/display/
H A Dapple-gfx.h49 /* Mutable state (BQL protected) */
60 /* Mutable state (atomic) */
/openbmc/bmcweb/include/
H A Ddbus_privileges.hpp145 const dbus::utility::DBusPropertiesMap& userInfoMap) mutable { in requestUserInfo()
172 const dbus::utility::DBusPropertiesMap& userInfoMap) mutable { in validatePrivilege()
188 const dbus::utility::DBusPropertiesMap& userInfoMap) mutable { in getUserInfo()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/
H A DValueMutability.interface.yaml4 - name: Mutable
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dproperty.hpp24 data) mutable { handler(ec, data); }, in getAllProperties()
53 std::variant<std::monostate, PropertyType>& ret) mutable { in getProperty()
/openbmc/telemetry/src/
H A Dtelemetry.hpp36 mutable SensorCache sensorCache;
/openbmc/telemetry/tests/src/
H A Ddbus_environment.hpp127 boost::system::error_code ec) mutable { in setProperty()
142 boost::system::error_code ec) mutable { in callMethod()
/openbmc/google-misc/subprojects/libcr51sign/
H A DREADME.md16 in rodata) while the data in context is mutable.
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__stopped_as_error.hpp39 [__err2 = static_cast<_Error&&>(__err)]() mutable noexcept( in operator ()()
/openbmc/bmcweb/redfish-core/include/utils/
H A Dchassis_utils.hpp45 chassisPaths) mutable { in getValidChassisPath()
/openbmc/qemu/docs/devel/
H A Drust.rst230 In particular, even if a value is loaded from a raw mutable pointer (``*mut``),
232 from a mutable reference. Furthermore, it is undefined behavior if any
239 // p_raw keeps the mutable reference "alive"
244 // Bring back the mutable reference, its lifetime overlaps
274 to a Rust mutable reference, and use a shared reference instead. The
/openbmc/phosphor-networkd/src/
H A Dnetwork_manager_main.cpp46 timer.set_callback([cb = std::move(cb)](Timer&) mutable { cb(); }); in setCallback()
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Doemrouter.hpp50 /// Expose mutable Router for configuration & activation.
/openbmc/pldm/utilities/requester/
H A Dset_state_effecter_async.cpp53 &pldmTransport](IO& io, int fd, uint32_t revents) mutable { in main()
/openbmc/bmcweb/redfish-core/lib/
H A Dsensors.hpp445 chassisPaths) mutable { in getChassis()
487 nodeSensorList) mutable { in getChassis()
1040 const dbus::utility::ManagedObjectType& resp) mutable { in getInventoryItemsData()
1119 const dbus::utility::MapperGetSubTreeResponse& subtree) mutable { in getInventoryItemsConnections()
1195 const dbus::utility::ManagedObjectType& resp) mutable { in getInventoryItemAssociations()
1371 const std::string& state) mutable { in getInventoryLedData()
1464 const dbus::utility::MapperGetSubTreeResponse& subtree) mutable { in getInventoryLeds()
1557 uint32_t value) mutable { in getPowerSupplyAttributesData()
1640 const dbus::utility::MapperGetSubTreeResponse& subtree) mutable { in getPowerSupplyAttributes()
1723 inventoryItems) mutable { in getInventoryItems()
[all …]
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Dstop_token.hpp156 mutable std::atomic<uint8_t> __state_{0};
157 mutable __stok::__inplace_stop_callback_base* __callbacks_ = nullptr;
/openbmc/bmcweb/src/
H A Dwebserver_cli.cpp69 [&io, loglevel](boost::system::error_code& ec) mutable { in setLogLevel()
/openbmc/dbus-sensors/src/
H A Dsensor.hpp101 * interface are mutable. If mutable, then
361 valueMutabilityInterface->register_property("Mutable", true); in setInitialProperties()
/openbmc/smbios-mdr/src/
H A Dspeed_select.cpp139 // Keep mutable copies of the properties so we can cache values that we
146 mutable unsigned int currentLevel;
147 mutable bool bfEnabled;
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dcow.py167 with self.checkReportsWarning("Warning: Doing a copy because d is a mutable type."):
211 with self.checkReportsWarning("Warning: Doing a copy because dict is a mutable type."):
/openbmc/sdbusplus/tools/sdbusplus/
H A Dnamedelement.py124 "mutable",

123