Home
last modified time | relevance | path

Searched refs:pred (Results 1 - 7 of 7) sorted by relevance

/base/msdp/device_status/intention/prototype/include/
H A Di_device_manager.h37 virtual bool AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) = 0;
/base/msdp/device_status/intention/services/device_manager/src/
H A Ddevice_manager.cpp401 bool DeviceManager::AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) in AnyOf() argument
403 return std::any_of(devices_.cbegin(), devices_.cend(), [pred](const auto &item) { in AnyOf()
404 return (pred != nullptr ? pred(item.second) : false); in AnyOf()
/base/msdp/device_status/tools/vdev/include/
H A Dvirtual_device_builder.h49 static int32_t ScanFor(std::function<bool(std::shared_ptr<VirtualDevice>)> pred,
/base/msdp/device_status/intention/services/device_manager/include/
H A Ddevice_manager.h52 bool AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) override;
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_elf.cpp559 auto pred = [](ElfSymbol a, ElfSymbol b) { return a.value == b.value; }; in GetElfSymbols() local
560 elfSymbols_.erase(std::unique(elfSymbols_.begin(), elfSymbols_.end(), pred), elfSymbols_.end()); in GetElfSymbols()
582 auto pred = [](ElfSymbol a, ElfSymbol b) { return a.value == b.value; }; in GetFuncSymbols() local
583 funcSymbols_.erase(std::unique(funcSymbols_.begin(), funcSymbols_.end(), pred), funcSymbols_.end()); in GetFuncSymbols()
613 auto pred = [](ElfSymbol a, ElfSymbol b) { return a.value == b.value; }; in GetFuncInfoLazily() local
614 funcSymbols_.erase(std::unique(funcSymbols_.begin(), funcSymbols_.end(), pred), funcSymbols_.end()); in GetFuncInfoLazily()
/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_device_builder.cpp424 int32_t VirtualDeviceBuilder::ScanFor(std::function<bool(std::shared_ptr<VirtualDevice>)> pred,
450 if (pred(vdev)) {
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Delf_imitate.cpp852 auto pred = [](DfxSymbol a, DfxSymbol b) { return a.funcVaddr_ == b.funcVaddr_; }; in ParseSymbols() local
853 symbols.erase(std::unique(symbols.begin(), symbols.end(), pred), symbols.end()); in ParseSymbols()

Completed in 5 milliseconds