Searched refs:Borrowable (Results 1 – 16 of 16) sorted by relevance
/external/pigweed/pw_sync/public/pw_sync/ |
D | borrow.h | 95 friend class Borrowable; 113 class Borrowable { 115 constexpr Borrowable(GuardedType& object, Lock& lock) noexcept in Borrowable() function 118 Borrowable(const Borrowable&) = default; 119 Borrowable& operator=(const Borrowable&) = default; 120 Borrowable(Borrowable&& other) = default; 121 Borrowable& operator=(Borrowable&& other) = default;
|
D | inline_borrowable.h | 37 public Borrowable<GuardedType, LockInterface> { 39 using Base = Borrowable<GuardedType, LockInterface>;
|
/external/pigweed/pw_kvs/ |
D | fake_flash_test_key_value_store.cc | 68 sync::Borrowable<KeyValueStore> borrowable_kvs(test_kvs, 73 sync::Borrowable<KeyValueStore>& TestKvs() { in TestKvs()
|
/external/pigweed/pw_sync/ |
D | borrow_test.cc | 44 Borrowable<Foo, Lock> borrowable_foo_; 106 Borrowable<Foo, BasicLockable> borrowable_foo = std::move(borrowable_foo_); in TEST_F() 117 const Borrowable<Foo, BasicLockable>& other = borrowable_foo_; in TEST_F() 118 Borrowable<Foo, BasicLockable> borrowable_foo(other); in TEST_F()
|
D | docs.rst | 745 Borrowable section in Critical Section Lock Helpers 747 The Borrowable is a helper construct that enables callers to borrow an object 764 Before we explain why Borrowable is useful, it's important to understand the argument 846 This is why ``Borrowable`` exists. 848 Why use Borrowable? argument 850 ``Borrowable`` offers code-size efficient way to enable external locking that is 858 pw::sync::Borrowable<BankAccount, pw::sync::Mutex> bobs_acount( 870 into the ACK timeout you'd like to use for the transaction. Borrowable can help 872 ``Borrowable``. 879 .. doxygenclass:: pw::sync::Borrowable argument [all …]
|
/external/pigweed/pw_spi/public/pw_spi/ |
D | device.h | 35 Device(sync::Borrowable<Initiator>& initiator, in Device() 203 sync::Borrowable<Initiator>& initiator_;
|
/external/pigweed/pw_blob_store/public/pw_blob_store/ |
D | blob_store.h | 352 sync::Borrowable<kvs::KeyValueStore>& kvs, in BlobStore() 551 sync::Borrowable<kvs::KeyValueStore>& kvs_; 614 sync::Borrowable<kvs::KeyValueStore>& kvs, in BlobStoreBuffer()
|
/external/pigweed/pw_kvs/public/pw_kvs/ |
D | test_key_value_store.h | 22 sync::Borrowable<KeyValueStore>& TestKvs();
|
/external/pigweed/pw_spi/ |
D | spi_test.cc | 62 sync::Borrowable<Initiator> borrowable_initiator_;
|
D | docs.rst | 41 auto borrowable_initiator = pw::sync::Borrowable<Initiator&>(initiator); 50 The use of ``pw::sync::Borrowable`` in the interface provides a 246 the ``pw::sync::Borrowable`` object, where the ``pw::spi::Initiator`` object is
|
/external/pigweed/pw_blob_store/size_report/ |
D | base.cc | 40 pw::sync::Borrowable<pw::kvs::KeyValueStore> borrowable_kvs(
|
D | basic_blob.cc | 44 pw::sync::Borrowable<pw::kvs::KeyValueStore> borrowable_kvs(
|
D | deferred_write_blob.cc | 44 pw::sync::Borrowable<pw::kvs::KeyValueStore> borrowable_kvs(
|
/external/pigweed/pw_software_update/public/pw_software_update/ |
D | bundled_update_service.h | 94 sync::Borrowable<pw_software_update_BundledUpdateStatus, sync::Mutex> status_;
|
D | bundled_update_service_pwpb.h | 95 sync::Borrowable<BundledUpdateStatus::Message, sync::Mutex> status_;
|
/external/pigweed/pw_digital_io/ |
D | docs.rst | 100 level. For example, by wrapping the line instance in ``pw::Borrowable``.
|