/openbmc/sdbusplus/include/sdbusplus/test/ |
H A D | sdbus_mock.hpp | 14 virtual ~SdBusMock() override {} in ~SdBusMock() 17 (sd_bus*, sd_bus_slot**, const char*), (override)); 22 (override)); 27 (override)); 29 (override)); 33 (override)); 37 (override)); 38 MOCK_METHOD(int, sd_bus_detach_event, (sd_bus*), (override)); 41 (sd_bus*, const char*, char**), (override)); 43 (sd_bus*, const char*, char**), (override)); [all …]
|
/openbmc/linux/drivers/memory/tegra/ |
H A D | tegra194.c | 19 .override = 0x000, 29 .override = 0x008, 39 .override = 0x010, 49 .override = 0x0a8, 59 .override = 0x0b0, 69 .override = 0x0e0, 79 .override = 0x0f8, 89 .override = 0x138, 99 .override = 0x158, 109 .override = 0x1a8, [all …]
|
H A D | tegra186.c | 78 if (client->regs.sid.security == 0 && client->regs.sid.override == 0) in tegra186_mc_client_sid_override() 103 value = readl(mc->regs + client->regs.sid.override); in tegra186_mc_client_sid_override() 109 writel(sid, mc->regs + client->regs.sid.override); in tegra186_mc_client_sid_override() 157 .override = 0x000, 167 .override = 0x070, 177 .override = 0x0a8, 187 .override = 0x0b0, 197 .override = 0x0e0, 207 .override = 0x0f8, 217 .override = 0x138, [all …]
|
H A D | tegra234.c | 28 .override = 0xa8, 40 .override = 0xe0, 52 .override = 0x140, 64 .override = 0x148, 76 .override = 0x150, 88 .override = 0x158, 98 .override = 0x160, 108 .override = 0x168, 118 .override = 0x170, 128 .override = 0x178, [all …]
|
/openbmc/sdeventplus/src/sdeventplus/internal/ |
H A D | sdevent.hpp | 121 int sd_event_default(sd_event** event) const override; 122 int sd_event_new(sd_event** event) const override; 123 sd_event* sd_event_ref(sd_event* event) const override; 124 sd_event* sd_event_unref(sd_event* event) const override; 128 void* userdata) const override; 132 void* userdata) const override; 136 void* userdata) const override in sd_event_add_signal() 143 void* userdata) const override in sd_event_add_child() 151 void* userdata) const override; 154 void* userdata) const override; [all …]
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | sdbus.hpp | 174 ~SdBusImpl() override = default; 181 const char* path) override in sd_bus_add_object_manager() 189 void* userdata) override in sd_bus_add_object_vtable() 197 void* userdata) override in sd_bus_add_match() 202 int sd_bus_attach_event(sd_bus* bus, sd_event* e, int priority) override in sd_bus_attach_event() 208 sd_bus_error* ret_error, sd_bus_message** reply) override in sd_bus_call() 215 uint64_t usec) override in sd_bus_call_async() 220 int sd_bus_detach_event(sd_bus* bus) override in sd_bus_detach_event() 226 char** interfaces) override in sd_bus_emit_interfaces_added_strv() 232 char** interfaces) override in sd_bus_emit_interfaces_removed_strv() [all …]
|
H A D | exception.hpp | 47 int get_errno() const noexcept override; 63 const char* name() const noexcept override in name() 68 const char* description() const noexcept override in description() 73 const char* what() const noexcept override in what() 78 int get_errno() const noexcept override in get_errno() 83 int severity() const noexcept override in severity() 116 ~SdBusError() override; 118 const char* name() const noexcept override; 119 const char* description() const noexcept override; 120 const char* what() const noexcept override; [all …]
|
/openbmc/google-ipmi-sys/test/ |
H A D | handler_mock.hpp | 40 (std::string), (const, override)); 42 (const, override)); 45 getCpldVersion, (unsigned int), (const, override)); 47 MOCK_METHOD(void, psuResetDelay, (std::uint32_t), (const, override)); 48 MOCK_METHOD(void, psuResetOnShutdown, (), (const, override)); 49 MOCK_METHOD(std::uint32_t, getFlashSize, (), (override)); 51 (override)); 52 MOCK_METHOD(std::string, getMachineName, (), (override)); 53 MOCK_METHOD(void, buildI2cPcieMapping, (), (override)); 54 MOCK_METHOD(size_t, getI2cPcieMappingSize, (), (const, override)); [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | mocks.hpp | 28 MOCK_METHOD(std::string, getMachineTypeModel, (), (const override)); 29 MOCK_METHOD(std::string, getMachineSerialNumber, (), (const override)); 30 MOCK_METHOD(std::string, getServerFWVersion, (), (const override)); 31 MOCK_METHOD(std::string, getBMCFWVersion, (), (const override)); 32 MOCK_METHOD(std::string, getBMCFWVersionID, (), (const override)); 33 MOCK_METHOD(bool, getHostPELEnablement, (), (const override)); 34 MOCK_METHOD(std::string, getBMCState, (), (const override)); 35 MOCK_METHOD(std::string, getChassisState, (), (const override)); 36 MOCK_METHOD(std::string, getHostState, (), (const override)); 37 MOCK_METHOD(std::string, getMotherboardCCIN, (), (const override)); [all …]
|
/openbmc/phosphor-ipmi-flash/tools/test/ |
H A D | internal_sys_mock.hpp | 19 MOCK_METHOD(int, open, (const char*, int), (const override)); 20 MOCK_METHOD(int, read, (int, void*, std::size_t), (const override)); 21 MOCK_METHOD(int, pread, (int, void*, std::size_t, off_t), (const override)); 23 (const override)); 24 MOCK_METHOD(int, close, (int), (const override)); 26 (const override)); 27 MOCK_METHOD(int, munmap, (void*, std::size_t), (const override)); 28 MOCK_METHOD(int, getpagesize, (), (const override)); 29 MOCK_METHOD(int, ioctl, (int, unsigned long, void*), (const override)); 30 MOCK_METHOD(int, poll, (struct pollfd*, nfds_t, int), (const override)); [all …]
|
/openbmc/google-ipmi-sys/ |
H A D | handler_impl.hpp | 53 uint8_t getBmcMode() override; 55 getEthDetails(std::string intf) const override; 56 std::int64_t getRxPackets(const std::string& name) const override; 57 VersionTuple getCpldVersion(unsigned int id) const override; 58 void psuResetDelay(std::uint32_t delay) const override; 59 void psuResetOnShutdown() const override; 60 std::string getEntityName(std::uint8_t id, std::uint8_t instance) override; 61 uint32_t getFlashSize() override; 62 std::string getMachineName() override; 63 void buildI2cPcieMapping() override; [all …]
|
/openbmc/phosphor-pid-control/pid/ |
H A D | zone.hpp | 69 bool getManualMode(void) const override; 74 bool getRedundantWrite(void) const override; 76 bool getFailSafeMode(void) const override; 78 bool getAccSetPoint(void) const override; 80 int64_t getZoneID(void) const override; 81 void addSetPoint(double setPoint, const std::string& name) override; 82 double getMaxSetPointRequest(void) const override; 83 void addRPMCeiling(double ceiling) override; 84 void clearSetPoints(void) override; 85 void clearRPMCeilings(void) override; [all …]
|
/openbmc/estoraged/src/test/include/ |
H A D | estoraged_test.hpp | 23 (override)); 29 (override)); 31 MOCK_METHOD(int, doUnmount, (const char* target), (override)); 34 (override)); 37 (override)); 40 (override)); 50 (override)); 56 (override)); 61 (override)); 67 (override)); [all …]
|
/openbmc/phosphor-power/phosphor-power-supply/test/ |
H A D | mock.hpp | 27 (override)); 29 (override)); 32 (override)); 35 (override)); 36 MOCK_METHOD(void, findHwmonDir, (), (override)); 37 MOCK_METHOD(const fs::path&, path, (), (const, override)); 39 (const std::string& templateName, size_t page), (override)); 40 MOCK_METHOD(fs::path, getPath, (Type type), (override)); 56 (const, override)); 60 (const, override)); [all …]
|
/openbmc/phosphor-user-manager/ |
H A D | users.hpp | 72 void delete_(void) override; 78 std::string userPrivilege(std::string value) override; 87 std::string userPrivilege(void) const override; 94 std::vector<std::string> value) override; 99 std::vector<std::string> userGroups(void) const override; 104 bool userEnabled(void) const override; 112 bool userEnabled(bool value) override; 117 bool userLockedForFailedAttempt(void) const override; 123 bool userLockedForFailedAttempt(bool value) override; 128 bool userPasswordExpired(void) const override; [all …]
|
/openbmc/phosphor-power/tools/i2c/test/ |
H A D | mocked_i2c_interface.hpp | 15 MOCK_METHOD(void, open, (), (override)); 16 MOCK_METHOD(bool, isOpen, (), (const, override)); 17 MOCK_METHOD(void, close, (), (override)); 19 MOCK_METHOD(void, read, (uint8_t& data), (override)); 20 MOCK_METHOD(void, read, (uint8_t addr, uint8_t& data), (override)); 21 MOCK_METHOD(void, read, (uint8_t addr, uint16_t& data), (override)); 24 (override)); 26 MOCK_METHOD(void, write, (uint8_t data), (override)); 27 MOCK_METHOD(void, write, (uint8_t addr, uint8_t data), (override)); 28 MOCK_METHOD(void, write, (uint8_t addr, uint16_t data), (override)); [all …]
|
/openbmc/phosphor-ipmi-blobs/test/ |
H A D | manager_mock.hpp | 21 (override)); 22 MOCK_METHOD(uint32_t, buildBlobList, (), (override)); 23 MOCK_METHOD(std::string, getBlobId, (uint32_t), (override)); 25 (override)); 26 MOCK_METHOD(bool, stat, (const std::string&, BlobMeta*), (override)); 27 MOCK_METHOD(bool, stat, (uint16_t, BlobMeta*), (override)); 29 (override)); 30 MOCK_METHOD(bool, close, (uint16_t), (override)); 32 (override)); 34 (override)); [all …]
|
H A D | blob_mock.hpp | 15 MOCK_METHOD(bool, canHandleBlob, (const std::string&), (override)); 16 MOCK_METHOD(std::vector<std::string>, getBlobIds, (), (override)); 17 MOCK_METHOD(bool, deleteBlob, (const std::string&), (override)); 18 MOCK_METHOD(bool, stat, (const std::string&, BlobMeta*), (override)); 20 (override)); 22 (override)); 24 (override)); 26 (uint16_t, uint32_t, const std::vector<uint8_t>&), (override)); 28 (override)); 29 MOCK_METHOD(bool, close, (uint16_t), (override)); [all …]
|
/openbmc/phosphor-ipmi-flash/internal/ |
H A D | sys.hpp | 68 int open(const char* pathname, int flags) const override; 69 int read(int fd, void* buf, std::size_t count) const override; 71 off_t offset) const override; 73 off_t offset) const override; 74 int close(int fd) const override; 76 off_t offset) const override; 77 int munmap(void* addr, std::size_t length) const override; 78 int getpagesize() const override; 79 int ioctl(int fd, unsigned long request, void* param) const override; 80 int poll(struct pollfd* fds, nfds_t nfds, int timeout) const override; [all …]
|
/openbmc/gpioplus/src/gpioplus/internal/ |
H A D | sys.hpp | 45 int open(const char* pathname, int flags) const override; 46 int dup(int oldfd) const override; 47 int close(int fd) const override; 48 int read(int fd, void* buf, size_t count) const override; 49 int fcntl_setfl(int fd, int flags) const override; 50 int fcntl_getfl(int fd) const override; 53 struct gpiohandle_data* data) const override; 55 struct gpiohandle_data* data) const override; 56 int gpio_get_chipinfo(int fd, struct gpiochip_info* info) const override; 57 int gpio_get_lineinfo(int fd, struct gpioline_info* info) const override; [all …]
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/ |
H A D | handler.hpp | 37 bool canHandleBlob(const std::string& path) override; 38 std::vector<std::string> getBlobIds() override; 39 bool deleteBlob(const std::string& path) override; 40 bool stat(const std::string& path, BlobMeta* meta) override; 42 const std::string& path) override; 44 uint32_t requestedSize) override; 46 const std::vector<uint8_t>& data) override; 48 const std::vector<uint8_t>& data) override; 49 bool commit(uint16_t session, const std::vector<uint8_t>& data) override; 50 bool close(uint16_t session) override; [all …]
|
/openbmc/phosphor-ipmi-flash/cleanup/ |
H A D | cleanup.hpp | 33 bool canHandleBlob(const std::string& path) override; 34 std::vector<std::string> getBlobIds() override; 35 bool commit(uint16_t session, const std::vector<uint8_t>& data) override; 38 bool open(uint16_t, uint16_t, const std::string&) override in open() 42 bool close(uint16_t) override in close() 46 bool expire(uint16_t) override in expire() 52 bool deleteBlob(const std::string&) override in deleteBlob() 56 bool stat(const std::string&, blobs::BlobMeta*) override in stat() 60 std::vector<uint8_t> read(uint16_t, uint32_t, uint32_t) override in read() 64 bool write(uint16_t, uint32_t, const std::vector<uint8_t>&) override in write() [all …]
|
/openbmc/phosphor-power/tools/i2c/ |
H A D | i2c.hpp | 173 void open() override; 176 bool isOpen() const override in isOpen() 182 void close() override; 185 void read(uint8_t& data) override; 188 void read(uint8_t addr, uint8_t& data) override; 191 void read(uint8_t addr, uint16_t& data) override; 195 Mode mode = Mode::SMBUS) override; 198 void write(uint8_t data) override; 201 void write(uint8_t addr, uint8_t data) override; 204 void write(uint8_t addr, uint16_t data) override; [all …]
|
/openbmc/phosphor-ipmi-blobs/example/ |
H A D | example.hpp | 67 bool canHandleBlob(const std::string& path) override; 68 std::vector<std::string> getBlobIds() override; 69 bool deleteBlob(const std::string& path) override; 70 bool stat(const std::string& path, BlobMeta* meta) override; 72 const std::string& path) override; 74 uint32_t requestedSize) override; 76 const std::vector<uint8_t>& data) override; 78 const std::vector<uint8_t>& data) override; 79 bool commit(uint16_t session, const std::vector<uint8_t>& data) override; 80 bool close(uint16_t session) override; [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/version-handler/ |
H A D | version_handler.hpp | 44 bool canHandleBlob(const std::string& path) override; 45 std::vector<std::string> getBlobIds() override; 46 bool deleteBlob(const std::string& path) override; 47 bool stat(const std::string&, blobs::BlobMeta* meta) override; 49 const std::string& path) override; 51 uint32_t requestedSize) override; 52 bool write(uint16_t, uint32_t, const std::vector<uint8_t>&) override in write() 56 bool writeMeta(uint16_t, uint32_t, const std::vector<uint8_t>&) override in writeMeta() 60 bool commit(uint16_t, const std::vector<uint8_t>&) override in commit() 64 bool close(uint16_t session) override; [all …]
|