Home
last modified time | relevance | path

Searched refs:nullptr (Results 1 – 25 of 794) sorted by relevance

12345678910>>...32

/openbmc/bmcweb/redfish-core/lib/
H A Dmemory.hpp160 if (value == nullptr) in dimmPropToHex()
255 if (pmSizeInKiB != nullptr) in getPersistentMemoryProperties()
465 if (partNumber != nullptr) in assembleDimmProperties()
497 if (ecc != nullptr) in assembleDimmProperties()
512 if (formFactor != nullptr) in assembleDimmProperties()
551 if (memoryType != nullptr) in assembleDimmProperties()
574 if (channel != nullptr) in assembleDimmProperties()
587 if (slot != nullptr) in assembleDimmProperties()
592 if (socket != nullptr) in assembleDimmProperties()
602 if (model != nullptr) in assembleDimmProperties()
[all …]
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__intrusive_queue.hpp63 while (__list != nullptr) in make_reversed()
82 if (__list == nullptr) in make()
100 __head_ = nullptr; in clear()
101 __tail_ = nullptr; in clear()
113 __tail_ = nullptr; in pop_front()
123 if (__tail_ == nullptr) in push_front()
132 __item->*_Next = nullptr; in push_back()
133 if (__tail_ == nullptr) in push_back()
167 if (__tail_ == nullptr) in prepend()
282 _Item* __head_ = nullptr;
[all …]
H A D__intrusive_slist.hpp57 return __head_ == nullptr; in empty()
67 __head_ = nullptr; in clear()
78 STDEXEC_ASSERT(__item != nullptr); in push_front()
84 STDEXEC_ASSERT(__item != nullptr); in remove()
99 return nullptr; in remove()
110 _Item* __item_ = nullptr;
118 STDEXEC_ASSERT(__item_ != nullptr); in operator *()
124 STDEXEC_ASSERT(__item_ != nullptr); in operator ->()
130 STDEXEC_ASSERT(__item_ != nullptr); in operator ++()
152 return iterator(nullptr); in end()
[all …]
/openbmc/libpldm/tests/
H A Dresponder.cpp16 .next = nullptr, in TEST()
20 ASSERT_NE(jar.next, nullptr); in TEST()
22 ASSERT_EQ(jar.next, nullptr); in TEST()
31 ASSERT_EQ(jar.next, nullptr); in TEST()
33 ASSERT_EQ(jar.next, nullptr); in TEST()
46 .next = nullptr, in TEST()
50 ASSERT_NE(jar.next, nullptr); in TEST()
55 ASSERT_NE(jar.next, nullptr); in TEST()
57 ASSERT_EQ(jar.next, nullptr); in TEST()
71 .next = nullptr, in TEST()
[all …]
/openbmc/bmcweb/src/
H A Dssl_key_handler.cpp158 EVP_PKEY* pkey = PEM_read_bio_PrivateKey(bufio, nullptr, nullptr, nullptr); in verifyOpensslKeyCert()
163 EVP_PKEY_CTX_new_from_pkey(nullptr, pkey, nullptr); in verifyOpensslKeyCert()
183 X509* x509 = PEM_read_bio_X509(bufio2, nullptr, nullptr, nullptr); in verifyOpensslKeyCert()
213 return nullptr; in loadCert()
222 return nullptr; in loadCert()
225 if (PEM_read_bio_X509(certFileBio, &cert, nullptr, nullptr) == nullptr) in loadCert()
232 return nullptr; in loadCert()
242 X509V3_set_ctx(&ctx, cert, cert, nullptr, nullptr, 0); in addExt()
246 if (ex == nullptr) in addExt()
338 bufio, pPrivKey, nullptr, nullptr, 0, nullptr, nullptr); in generateSslCertificate()
[all …]
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_platform_test.cpp46 pdrRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
85 pdrRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
118 pdrRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
149 pdrRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
182 pdrRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
243 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
291 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
336 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
380 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
417 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
[all …]
H A Dlibpldmresponder_pdr_effecter_test.cpp33 Handler handler(&mockedUtils, 0, nullptr, "./pdr_jsons/state_effecter/good", in TEST()
34 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
45 ASSERT_NE(record2, nullptr); in TEST()
78 ASSERT_NE(record3, nullptr); in TEST()
134 Handler handler(&mockedUtils, 0, nullptr, "./pdr_jsons/state_effecter/good", in TEST()
135 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
146 ASSERT_NE(record, nullptr); in TEST()
182 Handler handler(&mockedUtils, 0, nullptr, "./pdr_jsons/state_effecter/good", in TEST()
183 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
205 Handler handler(&mockedUtils, 0, nullptr, "./pdr_jsons/state_effecter/good", in TEST()
[all …]
H A Dlibpldmresponder_pdr_sensor_test.cpp37 Handler handler(&mockedUtils, 0, nullptr, "./pdr_jsons/state_sensor/good", in TEST()
38 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
50 ASSERT_NE(record, nullptr); in TEST()
89 Handler handler(&mockedUtils, 0, nullptr, "./pdr_jsons/state_sensor/good", in TEST()
90 inPDRRepo, nullptr, nullptr, nullptr, nullptr, nullptr, in TEST()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/upm/upm/
H A D0001-Use-stdint-types.patch26 - u_int8_t bits = (u_int8_t)std::stoul(tok.substr(20), nullptr, 0);
27 + uint8_t bits = (uint8_t)std::stoul(tok.substr(20), nullptr, 0);
31 - u_int8_t bits = (u_int8_t)std::stoul(tok.substr(20), nullptr, 0);
32 + uint8_t bits = (uint8_t)std::stoul(tok.substr(20), nullptr, 0);
36 - u_int8_t bits = (u_int8_t)std::stoul(tok.substr(20), nullptr, 0);
37 + uint8_t bits = (uint8_t)std::stoul(tok.substr(20), nullptr, 0);
42 + uint8_t bits = (uint8_t)std::stoul(tok.substr(17), nullptr, 0);
47 + uint8_t bits = (uint8_t)std::stoul(tok.substr(17), nullptr, 0);
52 + uint8_t bits = (uint8_t)std::stoul(tok.substr(17), nullptr, 0);
57 + uint8_t bits = (uint8_t)std::stoul(tok.substr(16), nullptr, 0);
[all …]
/openbmc/libbej/test/
H A Dbej_tree_test.cpp23 EXPECT_THAT(node.firstChild, nullptr); in TEST()
24 EXPECT_THAT(node.lastChild, nullptr); in TEST()
67 bejTreeInitSet(&parent, nullptr); in TEST()
92 bejTreeInitSet(&parent, nullptr); in TEST()
110 bejTreeInitSet(&parent, nullptr); in TEST()
125 bejTreeInitSet(&parent, nullptr); in TEST()
144 bejTreeInitSet(&parent, nullptr); in TEST()
163 bejTreeInitSet(&parent, nullptr); in TEST()
182 bejTreeInitSet(&parent, nullptr); in TEST()
197 bejTreeInitSet(&parent, nullptr); in TEST()
[all …]
/openbmc/libpldm/tests/dsp/
H A Dpdr.cpp289 outData = nullptr; in TEST()
297 outData = nullptr; in TEST()
305 outData = nullptr; in TEST()
331 outData = nullptr; in TEST()
338 outData = nullptr; in TEST()
344 outData = nullptr; in TEST()
351 outData = nullptr; in TEST()
358 outData = nullptr; in TEST()
383 outData = nullptr; in TEST()
409 outData = nullptr; in TEST()
[all …]
/openbmc/bmcweb/include/
H A Devent_service_store.hpp45 if (value == nullptr) in fromJson()
55 if (value == nullptr) in fromJson()
71 if (value == nullptr) in fromJson()
80 if (value == nullptr) in fromJson()
90 if (value == nullptr) in fromJson()
130 if (obj == nullptr) in fromJson()
149 if (obj == nullptr) in fromJson()
168 if (obj == nullptr) in fromJson()
187 if (obj == nullptr) in fromJson()
208 if (obj == nullptr) in fromJson()
[all …]
H A Dauthentication.hpp29 return nullptr; in performBasicAuth()
37 return nullptr; in performBasicAuth()
42 return nullptr; in performBasicAuth()
49 return nullptr; in performBasicAuth()
61 return nullptr; in performBasicAuth()
95 return nullptr; in performTokenAuth()
111 return nullptr; in performXtokenAuth()
152 return nullptr; in performCookieAuth()
182 return nullptr; in performCookieAuth()
188 if (session != nullptr) in performTLSAuth()
[all …]
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/
H A Dlog_mock.hpp27 auto createMockLogConfig(const std::string& id, ImageHandlerMock** im = nullptr, in createMockLogConfig()
28 TriggerMock** tm = nullptr) in createMockLogConfig()
33 if (im != nullptr) in createMockLogConfig()
40 if (tm != nullptr) in createMockLogConfig()
50 auto createMockLogConfigs(const C& ids, Im* im = nullptr, Tm* tm = nullptr) in createMockLogConfigs()
56 createMockLogConfig(id, im == nullptr ? nullptr : &(*im)[id], in createMockLogConfigs()
57 tm == nullptr ? nullptr : &(*tm)[id])); in createMockLogConfigs()
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/
H A Dversion_mock.hpp13 const std::string& id, ImageHandlerMock** im = nullptr, in createMockVersionConfig()
14 TriggerMock** tm = nullptr) in createMockVersionConfig()
19 if (im != nullptr) in createMockVersionConfig()
26 if (tm != nullptr) in createMockVersionConfig()
37 createMockVersionConfigs(const C& ids, Im* im = nullptr, Tm* tm = nullptr) in createMockVersionConfigs()
43 createMockVersionConfig(id, im == nullptr ? nullptr : &(*im)[id], in createMockVersionConfigs()
44 tm == nullptr ? nullptr : &(*tm)[id])); in createMockVersionConfigs()
/openbmc/openpower-hw-diags/util/
H A Dpdbg.cpp115 if (nullptr == parentChip) in getParentChip()
121 if (nullptr == parentChip) in getParentChip()
134 assert(nullptr != i_target); in getParentProcessor()
146 if (nullptr == parentChip) in getParentProcessor()
219 if (nullptr == unitTarget) in getChipUnit()
377 assert(nullptr != pibTrgt); in getPibTrgt()
395 assert(nullptr != fsiTrgt); in getFsiTrgt()
491 if (nullptr == mcc) in __isMaskedOcmb()
604 if (nullptr == trgt) in getLocationCode()
633 if (nullptr == trgt) in getPhysDevPath()
[all …]
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Dstop_token.hpp61 bool* __removed_during_callback_ = nullptr;
192 return __source_ != nullptr; in stop_possible()
239 if (__source_ != nullptr) in ~inplace_stop_callback()
258 if (__source_ != nullptr) in __register_callback_()
262 __source_ = nullptr; in __register_callback_()
286 while (__callbacks_ != nullptr) in request_stop()
289 __callbk->__prev_ptr_ = nullptr; in request_stop()
291 if (__callbacks_ != nullptr) in request_stop()
382 if (__callbacks_ != nullptr) in __try_add_callback_()
398 if (__callbk->__prev_ptr_ != nullptr) in __remove_callback_()
[all …]
/openbmc/bmcweb/http/
H A Dmutual_tls.cpp73 return nullptr; in verifyMtlsUser()
77 if (cts == nullptr) in verifyMtlsUser()
80 return nullptr; in verifyMtlsUser()
85 if (peerCert == nullptr) in verifyMtlsUser()
88 return nullptr; in verifyMtlsUser()
96 return nullptr; in verifyMtlsUser()
106 return nullptr; in verifyMtlsUser()
115 return nullptr; in verifyMtlsUser()
128 return nullptr; in verifyMtlsUser()
137 return nullptr; in verifyMtlsUser()
/openbmc/pldm/common/
H A Dtransport.cpp37 impl.mctp_demux = nullptr; in pldm_transport_impl_mctp_demux_init()
41 return nullptr; in pldm_transport_impl_mctp_demux_init()
51 return nullptr; in pldm_transport_impl_mctp_demux_init()
58 if (pldmTransport != nullptr) in pldm_transport_impl_mctp_demux_init()
69 impl.af_mctp = nullptr; in pldm_transport_impl_af_mctp_init()
73 return nullptr; in pldm_transport_impl_af_mctp_init()
83 return nullptr; in pldm_transport_impl_af_mctp_init()
88 if (pldm_transport_af_mctp_bind(impl.af_mctp, nullptr, 0)) in pldm_transport_impl_af_mctp_init()
90 return nullptr; in pldm_transport_impl_af_mctp_init()
95 if (pldmTransport != nullptr) in pldm_transport_impl_af_mctp_init()
[all …]
/openbmc/openpower-hw-diags/test/
H A Dtest-attention.cpp23 if (attention != nullptr) in handleAttention()
54 pdbg_targets_init(nullptr); in SetUp()
57 EXPECT_NE(nullptr, target); in SetUp()
72 Config* config = nullptr;
73 pdbg_target* target = nullptr;
82 EXPECT_NE(nullptr, target); in TEST_F()
90 EXPECT_NE(nullptr, target_tmp); in TEST_F()
116 pdbg_targets_init(nullptr); in SetUp()
119 EXPECT_NE(nullptr, target); in SetUp()
141 Config* config = nullptr;
[all …]
/openbmc/sdeventplus/test/source/
H A Devent.cpp45 .WillOnce(Return(nullptr)); in make_event()
54 .WillOnce(Return(nullptr)); in expect_destruct()
56 .WillOnce(Return(nullptr)); in expect_destruct()
79 nullptr)) in TEST_F()
91 EXPECT_EQ(0, handler(nullptr, userdata)); in TEST_F()
95 EXPECT_EQ(0, handler(nullptr, userdata)); in TEST_F()
121 nullptr)) in TEST_F()
133 EXPECT_EQ(0, handler(nullptr, userdata)); in TEST_F()
159 nullptr)) in TEST_F()
171 EXPECT_EQ(0, handler(nullptr, userdata)); in TEST_F()
[all …]
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_handler_unittest.cpp23 data.emplace_back(FirmwareFlags::UpdateFlags::ipmi, nullptr); in TEST()
27 EXPECT_EQ(handler, nullptr); in TEST()
40 EXPECT_EQ(handler, nullptr); in TEST()
48 data.emplace_back(FirmwareFlags::UpdateFlags::ipmi, nullptr); in TEST()
58 EXPECT_EQ(handler, nullptr); in TEST()
66 data.emplace_back(FirmwareFlags::UpdateFlags::ipmi, nullptr); in TEST()
76 EXPECT_EQ(handler, nullptr); in TEST()
84 data2.emplace_back(FirmwareFlags::UpdateFlags::ipmi, nullptr); in TEST()
96 data.emplace_back(FirmwareFlags::UpdateFlags::ipmi, nullptr); in TEST()
104 EXPECT_EQ(handler, nullptr); in TEST()
[all …]
/openbmc/bmcweb/redfish-core/src/
H A Dfilter_expr_executor.cpp140 if (dValue != nullptr) in operator ()()
145 if (iValue != nullptr) in operator ()()
150 if (strValue != nullptr) in operator ()()
289 if (lDoubleValue != nullptr) in operator ()()
303 if (lIntValue != nullptr) in operator ()()
328 if (lDateValue != nullptr && rStrValue != nullptr) in operator ()()
332 if (lStrValue != nullptr && rDateValue != nullptr) in operator ()()
337 if (lDateValue != nullptr && rDateValue != nullptr) in operator ()()
343 if (lStrValue != nullptr && rStrValue != nullptr) in operator ()()
400 if (obj == nullptr) in applyFilterToCollection()
[all …]
/openbmc/smbios-mdr/include/
H A Dsmbios_mdrv2.hpp198 if (smbiosDataIn == nullptr) in smbiosNextPtr()
200 return nullptr; in smbiosNextPtr()
210 return nullptr; in smbiosNextPtr()
221 if (smbiosDataIn == nullptr) in getSMBIOSTypePtr()
223 return nullptr; in getSMBIOSTypePtr()
238 return nullptr; in getSMBIOSTypePtr()
248 return nullptr; in getSMBIOSTypePtr()
252 return nullptr; in getSMBIOSTypePtr()
258 if (dataIn == nullptr || positionNum == 0) in positionToString()
265 if (target == nullptr) in positionToString()
[all …]
/openbmc/openpower-hw-diags/attn/
H A Dattn_common.cpp24 pdbg_target* pibTarget = pdbg_target_from_path(nullptr, "/proc0/pib"); in addHbStatusRegs()
25 pdbg_target* fsiTarget = pdbg_target_from_path(nullptr, "/proc0/fsi"); in addHbStatusRegs()
34 if ((nullptr != fsiTarget) && (nullptr != pibTarget)) in addHbStatusRegs()
78 pdbg_target* fsiTarget = pdbg_target_from_path(nullptr, "/proc0/fsi"); in addPrdScratchRegs()
80 if (nullptr == fsiTarget) in addPrdScratchRegs()
158 pdbg_target* pibTarget = pdbg_target_from_path(nullptr, path); in recoverableErrors()
161 if (nullptr == pibTarget) in recoverableErrors()
172 pdbg_target* fsiTarget = pdbg_target_from_path(nullptr, path); in recoverableErrors()
175 if (nullptr == fsiTarget) in recoverableErrors()

12345678910>>...32