Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 3348) sorted by relevance

12345678910>>...134

/openbmc/bios-settings-mgr/src/
H A Dmanager.cpp82 std::get<2>(value) = std::get<1>(pendingIter->second); in getAttribute()
245 std::get<std::string>(std::get<1>(pair.second)); in pendingAttributes()
265 std::get<std::string>(std::get<1>(pair.second)); in pendingAttributes()
334 std::get<0>(baseTuple), std::get<1>(baseTuple), in convertBiosDataToVersion1()
335 std::get<2>(baseTuple), std::get<3>(baseTuple), in convertBiosDataToVersion1()
337 std::get<int64_t>(std::get<5>(baseTuple)), in convertBiosDataToVersion1()
343 std::get<0>(baseTuple), std::get<1>(baseTuple), in convertBiosDataToVersion1()
344 std::get<2>(baseTuple), std::get<3>(baseTuple), in convertBiosDataToVersion1()
346 std::get<std::string>(std::get<5>(baseTuple)), in convertBiosDataToVersion1()
373 std::get<int64_t>(std::get<5>(baseTuple)), in convertBiosDataToVersion0()
[all …]
/openbmc/phosphor-dbus-monitor/src/templates/
H A Dgenerated.mako.hpp36 static auto& get() in get() function
52 static auto& get() in get() function
68 static auto& get() in get() function
84 static auto& get() in get() function
100 static auto& get() in get() function
116 static auto& get() in get() function
127 static auto& get() in get() function
151 static auto& get() in get() function
185 static auto& get() in get() function
263 ConfigPropertyFilters::get()[${w.filters}].get()), in get()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_dma.c105 if (get != prev_get) { in nv50_dma_push_wait()
106 prev_get = get; in nv50_dma_push_wait()
136 if (unlikely(get < 0)) { in nv50_dma_wait()
137 if (get == -EINVAL) in nv50_dma_wait()
140 return get; in nv50_dma_wait()
151 if (unlikely(get < 0)) { in nv50_dma_wait()
152 if (get == -EINVAL) in nv50_dma_wait()
154 return get; in nv50_dma_wait()
156 } while (get == 0); in nv50_dma_wait()
171 int cnt = 0, get; in nouveau_dma_wait() local
[all …]
/openbmc/phosphor-hwmon/test/
H A Dsensor_unittest.cpp18 const char* EnvImpl::get(const char* key) const in get() function in env::EnvImpl
20 return mockEnv.get(key); in get()
55 EXPECT_CALL(env::mockEnv, get(StrEq("GPIOCHIP_temp5"))) in TEST_F()
57 EXPECT_CALL(env::mockEnv, get(StrEq("GPIO_temp5"))).WillOnce(Return("")); in TEST_F()
60 EXPECT_CALL(env::mockEnv, get(StrEq("GAIN_temp5"))).WillOnce(Return("")); in TEST_F()
62 EXPECT_CALL(env::mockEnv, get(StrEq("REMOVERCS_temp5"))) in TEST_F()
87 EXPECT_CALL(env::mockEnv, get(StrEq("GPIOCHIP_temp5"))) in TEST_F()
99 EXPECT_CALL(env::mockEnv, get(StrEq("REMOVERCS_temp5"))) in TEST_F()
119 EXPECT_CALL(env::mockEnv, get(StrEq("GPIOCHIP_temp5"))) in TEST_F()
124 EXPECT_CALL(env::mockEnv, get(StrEq("OFFSET_temp5"))) in TEST_F()
[all …]
/openbmc/qemu/tests/avocado/
H A Dx86_cpu_model_versions.py140 self.assertEqual(cpus["Haswell"].get('alias-of'),
143 self.assertEqual(cpus["Haswell-noTSX"].get('alias-of'),
146 self.assertEqual(cpus["Haswell-IBRS"].get('alias-of'),
153 self.assertEqual(cpus["Broadwell"].get('alias-of'),
166 self.assertEqual(cpus["Nehalem"].get('alias-of'),
169 self.assertEqual(cpus["Nehalem-IBRS"].get('alias-of'),
173 self.assertEqual(cpus["Westmere"].get('alias-of'),
180 self.assertEqual(cpus["SandyBridge"].get('alias-of'),
187 self.assertEqual(cpus["IvyBridge"].get('alias-of'),
208 self.assertEqual(cpus["EPYC"].get('alias-of'),
[all …]
/openbmc/phosphor-net-ipmid/sol/
H A Dsol_manager.cpp48 readSize = cmd.get(); in consoleInputHandler()
156 enable = std::get<bool>(properties["Enable"]); in updateSOLParameter()
163 std::get<uint8_t>(properties["Privilege"])); in updateSOLParameter()
304 sol::Manager::get().progress = std::get<uint8_t>(prop.second); in procSolConfChange()
308 sol::Manager::get().enable = std::get<bool>(prop.second); in procSolConfChange()
312 sol::Manager::get().forceEncrypt = std::get<bool>(prop.second); in procSolConfChange()
316 sol::Manager::get().forceAuth = std::get<bool>(prop.second); in procSolConfChange()
320 sol::Manager::get().solMinPrivilege = in procSolConfChange()
330 sol::Manager::get().sendThreshold = std::get<uint8_t>(prop.second); in procSolConfChange()
334 sol::Manager::get().retryCount = std::get<uint8_t>(prop.second); in procSolConfChange()
[all …]
/openbmc/openpower-hw-diags/analyzer/ras-data/
H A Dras-data-parser.cpp61 auto type = a.at("type").get<std::string>(); in __checkActionForFlag()
66 auto name = a.at("name").get<std::string>(); in __checkActionForFlag()
76 auto name = a.at("name").get<std::string>(); in __checkActionForFlag()
371 auto type = a.at("type").get<std::string>(); in parseAction()
382 auto guard = a.at("guard").get<bool>(); in parseAction()
393 auto guard = a.at("guard").get<bool>(); in parseAction()
404 auto guard = a.at("guard").get<bool>(); in parseAction()
409 std::get<0>(busData), std::get<1>(busData), in parseAction()
416 auto guard = a.at("guard").get<bool>(); in parseAction()
421 std::get<0>(busData), std::get<1>(busData), in parseAction()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-raspberrypi-exp.c57 struct gpio_get_config get; in rpi_exp_gpio_get_polarity() local
65 &get, sizeof(get)); in rpi_exp_gpio_get_polarity()
66 if (ret || get.gpio != 0) { in rpi_exp_gpio_get_polarity()
68 off, ret, get.gpio); in rpi_exp_gpio_get_polarity()
71 return get.polarity; in rpi_exp_gpio_get_polarity()
143 &get, sizeof(get)); in rpi_exp_gpio_get_direction()
147 get.gpio); in rpi_exp_gpio_get_direction()
150 if (get.direction) in rpi_exp_gpio_get_direction()
168 &get, sizeof(get)); in rpi_exp_gpio_get()
172 get.gpio); in rpi_exp_gpio_get()
[all …]
/openbmc/ibm-logging/test/
H A Dtest_policy.cpp243 ASSERT_EQ((*details).get().ceid, "XYZ222"); in TEST_F()
244 ASSERT_EQ((*details).get().msg, "Error XYZ222"); in TEST_F()
262 ASSERT_EQ((*details).get().ceid, "CCCCCC"); in TEST_F()
263 ASSERT_EQ((*details).get().msg, "Error CCCCCC"); in TEST_F()
284 ASSERT_EQ(std::get<policy::EIDField>(values), "ABCD1234"); in TEST_F()
296 ASSERT_EQ(std::get<policy::EIDField>(values), "BBBBBB"); in TEST_F()
309 ASSERT_EQ(std::get<policy::EIDField>(values), "DDDDDDDD"); in TEST_F()
322 ASSERT_EQ(std::get<policy::EIDField>(values), "EEEEEEEE"); in TEST_F()
334 ASSERT_EQ(std::get<policy::EIDField>(values), "FFFFFFFF"); in TEST_F()
346 ASSERT_EQ(std::get<policy::EIDField>(values), "GGGGGGGG"); in TEST_F()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dipmi_utils.robot19 #### raw cmd for get device ID.
31 #### raw cmd for get device GUID.
34 #### raw cmd for get IP addr.
37 #### raw cmd for get IP addr src.
43 #### raw cmd for get SDR Info.
49 #### raw cmd for get SEL INFO.
58 #### raw cmd for get device ID.
70 #### raw cmd for get device GUID.
73 #### raw cmd for get IP addr.
83 #### raw cmd for get SDR Info.
[all …]
/openbmc/phosphor-networkd/src/
H A Ddhcp_configuration.cpp26 parent.get().manager.get().getConfDir(), parent.get().interfaceName())); in Configuration()
45 parent.get().writeConfigurationFile(); in sendHostNameEnabled()
46 parent.get().reloadConfigs(); in sendHostNameEnabled()
58 parent.get().writeConfigurationFile(); in hostNameEnabled()
59 parent.get().reloadConfigs(); in hostNameEnabled()
72 parent.get().writeConfigurationFile(); in ntpEnabled()
73 parent.get().reloadConfigs(); in ntpEnabled()
86 parent.get().writeConfigurationFile(); in dnsEnabled()
87 parent.get().reloadConfigs(); in dnsEnabled()
100 parent.get().writeConfigurationFile(); in domainEnabled()
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Danyof.cpp51 std::get<1>(fan) + "-anyOf", in AnyOf()
67 return std::get<sensorPos>(s).get() == sensor; in stateChanged()
73 [](const auto& s) { return std::get<presentPos>(s); }); in stateChanged()
76 std::get<presentPos>(*sit) = present; in stateChanged()
101 std::get<conflictPos>(s) = false; in stateChanged()
116 auto& sensor = std::get<sensorPos>(s); in monitor()
117 std::get<presentPos>(s) = sensor.get().start(); in monitor()
121 return std::get<presentPos>(s); in monitor()
144 return std::get<presentPos>(s); in checkSensorConflicts()
153 sensor.get().logConflict(invNamespace + std::get<1>(fan)); in checkSensorConflicts()
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dzone.cpp55 _fullSpeed(std::get<fullSpeedPos>(def)),
56 _zoneNum(std::get<zoneNumPos>(def)),
57 _defFloorSpeed(std::get<floorSpeedPos>(def)),
58 _defCeilingSpeed(std::get<fullSpeedPos>(def)),
59 _incDelay(std::get<incDelayPos>(def)),
60 _decInterval(std::get<decIntervalPos>(def)),
64 auto& fanDefs = std::get<fanListPos>(def);
75 for (auto& hand : std::get<handlerPos>(def))
173 std::get<hasOwnerPos>(*it) = hasOwner; in setServiceOwner()
196 name = getService(std::get<pathPos>(*it), std::get<intfPos>(*it)); in setServices()
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_net.py69 init_usb = u_boot_console.config.env.get('env__net_uses_usb', False)
73 init_pci = u_boot_console.config.env.get('env__net_uses_pci', False)
85 test_dhcp = u_boot_console.config.env.get('env__net_dhcp_server', False)
143 f = u_boot_console.config.env.get('env__net_tftp_readable_file', None)
147 addr = f.get('addr', None)
155 sz = f.get('size', None)
160 expected_crc = f.get('crc32', None)
184 f = u_boot_console.config.env.get('env__net_nfs_readable_file', None)
188 addr = f.get('addr', None)
195 sz = f.get('size', None)
[all …]
/openbmc/sdbusplus/include/sdbusplus/
H A Dmessage.hpp119 _msg.reset(sd_bus_message_ref(other._msg.get())); in operator =()
144 sdbusplus::message::append(_intf, _msg.get(), in append()
156 sdbusplus::message::read(_intf, _msg.get(), in read()
213 return _intf->sd_bus_message_get_path(_msg.get()); in get_path()
231 return _intf->sd_bus_message_get_member(_msg.get()); in get_member()
249 return _intf->sd_bus_message_get_sender(_msg.get()); in get_sender()
267 return _intf->sd_bus_message_get_errno(_msg.get()); in get_errno()
276 return _intf->sd_bus_message_get_error(_msg.get()); in get_error()
406 auto b = _intf->sd_bus_message_get_bus(this->get()); in method_return()
498 msgp_t get() in get() function in sdbusplus::message::message
[all …]
H A Dbus.hpp178 int r = _intf->sd_bus_flush(_bus.get()); in flush()
188 _intf->sd_bus_close(_bus.get()); in close()
194 int r = _intf->sd_bus_is_open(_bus.get()); in is_open()
275 _bus.get(), service, in request_name()
343 _intf->sd_bus_call(_bus.get(), m.get(), timeout_us, &error, &reply); in call()
364 int r = _intf->sd_bus_call(_bus.get(), m.get(), timeout_us, &error, in call_noreply()
413 return _intf->sd_bus_get_fd(_bus.get()); in get_fd()
429 _intf->sd_bus_detach_event(_bus.get()); in detach_event()
527 busp_t get() noexcept in get() function
529 return _bus.get(); in get()
[all …]
/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dhandlers.hpp33 if (intf != std::get<Intf>(obj)) in propertiesChanged()
41 auto itProp = props.find(std::get<Prop>(obj)); in propertiesChanged()
48 mgr.setProperty(std::get<Path>(obj), std::get<Intf>(obj), in propertiesChanged()
49 std::get<Prop>(obj), itProp->second); in propertiesChanged()
66 if (static_cast<const std::string&>(op) != std::get<Path>(obj)) in interfacesAdded()
75 auto itIntf = intfProps.find(std::get<Intf>(obj)); in interfacesAdded()
82 auto itProp = itIntf->second.find(std::get<Prop>(obj)); in interfacesAdded()
89 mgr.setProperty(std::get<Path>(obj), std::get<Intf>(obj), in interfacesAdded()
90 std::get<Prop>(obj), itProp->second); in interfacesAdded()
107 if (static_cast<const std::string&>(op) != std::get<Path>(obj)) in interfacesRemoved()
[all …]
/openbmc/sdeventplus/src/sdeventplus/source/
H A Dbase.cpp14 sd_event_source* Base::get() const in get() function in sdeventplus::source::Base
29 get(), &description)); in get_description()
37 get(), description)); in set_description()
60 event.getSdEvent()->sd_event_source_get_pending(get())); in get_pending()
84 event.getSdEvent()->sd_event_source_get_enabled(get(), &enabled)); in get_enabled()
92 get(), static_cast<int>(enabled))); in set_enabled()
99 event.getSdEvent()->sd_event_source_get_floating(get())); in get_floating()
106 get(), static_cast<int>(b))); in set_floating()
115 source(other.get(), event.getSdEvent(), false) in Base()
122 get(), &Base::destroy_userdata)); in set_userdata()
[all …]
/openbmc/bmcweb/test/redfish-core/include/
H A Dprivileges_test.cpp33 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
39 OperationMap entityPrivileges{{boost::beast::http::verb::get, {}}}; in TEST()
42 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
49 {boost::beast::http::verb::get, {{"ConfigureManager"}}}}; in TEST()
52 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
60 {boost::beast::http::verb::get, in TEST()
64 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
71 {boost::beast::http::verb::get, in TEST()
75 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
85 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
[all …]
/openbmc/google-ipmi-sys/test/
H A Dgoogle_accel_oob_unittest.cpp49 const auto response = std::get<0>(r); in TEST()
52 const auto payload = std::get<1>(r); in TEST()
91 const auto response = std::get<0>(r); in TEST()
94 const auto payload = std::get<1>(r); in TEST()
152 const auto response = std::get<0>(r); in TEST()
155 const auto payload = std::get<1>(r); in TEST()
221 const auto payload = std::get<1>(r); in TEST()
256 const auto payload = std::get<1>(r); in TEST()
280 const auto payload = std::get<1>(r); in TEST()
300 const auto payload = std::get<1>(r); in TEST()
[all …]
/openbmc/pldm/pldmd/
H A Dpldmd.cpp259 EVENTS_JSONS_DIR, entityTree.get(), bmcEntityTree.get(), in main()
271 FRU_JSONS_DIR, FRU_MASTER_JSON, pdrRepo.get(), entityTree.get(), in main()
272 bmcEntityTree.get()); in main()
306 hostPDRHandler.get(), dbusToPLDMEventHandler.get(), fruHandler.get(), in main()
319 instanceIdDb, event, invoker, hostPDRHandler.get(), in main()
320 platformHandler.get(), fruHandler.get(), baseHandler.get(), in main()
321 biosHandler.get(), platformManager.get(), &reqHandler); in main()
327 instanceIdDb, event, invoker, hostPDRHandler.get(), in main()
328 platformHandler.get(), fruHandler.get(), baseHandler.get(), in main()
348 fwManager.get(), platformManager.get()}); in main()
[all …]
/openbmc/phosphor-fan-presence/monitor/
H A Djson_parser.cpp80 auto tgClass = stg["class"].get<std::string>(); in getTrustGrps()
97 in_trust = member["in_trust"].get<bool>(); in getTrustGrps()
158 factor = sensor["factor"].get<double>(); in getSensorDefs()
164 offset = sensor["offset"].get<int64_t>(); in getSensorDefs()
170 threshold = sensor["threshold"].get<size_t>(); in getSensorDefs()
180 .name = sensor["name"].get<std::string>(), in getSensorDefs()
181 .hasTarget = sensor["has_target"].get<bool>(), in getSensorDefs()
213 auto deviation = fan["deviation"].get<size_t>(); in getFanDefs()
249 funcDelay = fan["functional_delay"].get<size_t>(); in getFanDefs()
378 .name = fan["inventory"].get<std::string>(), in getFanDefs()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/read-edid/read-edid/
H A D0001-get-edid-define-quiet-once.patch4 Subject: [PATCH] get-edid: define quiet once
12 get-edid/classic.c | 2 +-
13 get-edid/i2c.c | 2 +-
16 diff --git a/get-edid/classic.c b/get-edid/classic.c
18 --- a/get-edid/classic.c
19 +++ b/get-edid/classic.c
29 diff --git a/get-edid/i2c.c b/get-edid/i2c.c
31 --- a/get-edid/i2c.c
32 +++ b/get-edid/i2c.c
/openbmc/openbmc-test-automation/tools/
H A Dgithub_issues_to_csv32 close_date = issue.get("closed_at")
34 close_date = issue.get("closed_at").split("T")[0]
36 assignee_resp = issue.get("assignees", "Not Assigned")
47 milestone_resp = issue.get("milestone", "Not Assigned")
55 issue.get("title").encode("utf-8"),
56 issue.get("state").encode("utf-8"),
57 issue.get("created_at").split("T")[0],
59 issue.get("html_url").encode("utf-8"),
60 issue.get("user").get("login").encode("utf-8"),
93 response = requests.get(pages["next"], auth=auth)
[all …]
/openbmc/phosphor-host-postd/test/
H A Dpost_reporter_test.cpp59 EXPECT_TRUE(std::get<0>(testReporter.value()).empty()); in TEST_F()
68 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F()
69 EXPECT_EQ(secondaryCode, std::get<1>(testReporter.value())); in TEST_F()
78 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F()
79 EXPECT_EQ(secondaryCode, std::get<1>(testReporter.value())); in TEST_F()
84 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F()
85 EXPECT_EQ(secondaryCode, std::get<1>(testReporter.value())); in TEST_F()
90 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F()
91 EXPECT_EQ(secondaryCode, std::get<1>(testReporter.value())); in TEST_F()
96 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F()
[all …]

12345678910>>...134