Home
last modified time | relevance | path

Searched refs:entry_t (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/osi/src/
Dconfig.cc40 for (entry_t& entry : entries) { in Set()
48 entry_t{.key = std::move(key), .value = std::move(value)}); in Set()
51 std::list<entry_t>::iterator section_t::Find(const std::string& key) { in Find()
54 [&key](const entry_t& entry) { return entry.key == key; }); in Find()
82 static const entry_t* entry_find(const config_t& config, in entry_find()
88 for (const entry_t& entry : sec->entries) { in entry_find()
136 for (const entry_t& entry : sec.entries) { in config_new_clone()
155 const entry_t* entry = entry_find(config, section, key); in config_get_int()
165 const entry_t* entry = entry_find(config, section, key); in config_get_uint64()
175 const entry_t* entry = entry_find(config, section, key); in config_get_bool()
[all …]
/packages/modules/Bluetooth/system/osi/include/
Dconfig.h28 struct entry_t { struct
35 std::list<entry_t> entries; argument
37 std::list<entry_t>::iterator Find(const std::string& key);
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_config.h359 std::list<entry_t> list_;
360 std::function<std::list<entry_t>::iterator(const std::string& key)> body{
362 std::list<entry_t>::iterator operator()(const std::string& key) { in operator()
Dmock_osi_config.cc166 std::list<entry_t>::iterator section_t::Find(const std::string& key) { in Find()
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc61 std::list<entry_t>::iterator section_t::Find(const std::string& key) { in Find()
65 [&key](const entry_t& entry) { return entry.key == key; }); in Find()