Home
last modified time | relevance | path

Searched refs:span (Results 1 – 25 of 272) sorted by relevance

1234567891011

/openbmc/phosphor-ipmi-blobs/
H A Dipmi.hpp143 std::string stringFromBuffer(std::span<const uint8_t> data);
148 Resp getBlobCount(ManagerInterface* mgr, std::span<const uint8_t> data);
158 Resp enumerateBlob(ManagerInterface* mgr, std::span<const uint8_t> data);
163 Resp openBlob(ManagerInterface* mgr, std::span<const uint8_t> data);
168 Resp closeBlob(ManagerInterface* mgr, std::span<const uint8_t> data);
173 Resp deleteBlob(ManagerInterface* mgr, std::span<const uint8_t> data);
178 Resp statBlob(ManagerInterface* mgr, std::span<const uint8_t> data);
183 Resp sessionStatBlob(ManagerInterface* mgr, std::span<const uint8_t> data);
188 Resp commitBlob(ManagerInterface* mgr, std::span<const uint8_t> data);
193 Resp readBlob(ManagerInterface* mgr, std::span<const uint8_t> data);
[all …]
H A Dprocess.cpp54 IpmiBlobHandler validateBlobCommand(uint8_t cmd, std::span<const uint8_t> data) in validateBlobCommand()
63 return [](ManagerInterface*, std::span<const uint8_t>) { in validateBlobCommand()
74 return [](ManagerInterface*, std::span<const uint8_t>) { in validateBlobCommand()
93 return [](ManagerInterface*, std::span<const uint8_t>) { in validateBlobCommand()
108 return [](ManagerInterface*, std::span<const uint8_t>) { in validateBlobCommand()
118 return [](ManagerInterface*, std::span<const uint8_t>) { in validateBlobCommand()
127 std::span<const uint8_t> data, size_t maxSize) in processBlobCommand()
161 std::span<const uint8_t> responseView = response; in processBlobCommand()
H A Dipmi.cpp67 std::string stringFromBuffer(std::span<const uint8_t> data) in stringFromBuffer()
78 Resp getBlobCount(ManagerInterface* mgr, std::span<const uint8_t>) in getBlobCount()
91 Resp enumerateBlob(ManagerInterface* mgr, std::span<const uint8_t> data) in enumerateBlob()
110 Resp openBlob(ManagerInterface* mgr, std::span<const uint8_t> data) in openBlob()
136 Resp closeBlob(ManagerInterface* mgr, std::span<const uint8_t> data) in closeBlob()
154 Resp deleteBlob(ManagerInterface* mgr, std::span<const uint8_t> data) in deleteBlob()
191 Resp statBlob(ManagerInterface* mgr, std::span<const uint8_t> data) in statBlob()
209 Resp sessionStatBlob(ManagerInterface* mgr, std::span<const uint8_t> data) in sessionStatBlob()
229 Resp commitBlob(ManagerInterface* mgr, std::span<const uint8_t> data) in commitBlob()
250 Resp readBlob(ManagerInterface* mgr, std::span<const uint8_t> data) in readBlob()
[all …]
H A Dprocess.hpp19 std::function<Resp(ManagerInterface* mgr, std::span<const uint8_t> data)>;
28 IpmiBlobHandler validateBlobCommand(uint8_t cmd, std::span<const uint8_t> data);
41 std::span<const uint8_t> data, size_t maxSize);
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A DCVE-2019-13232_p2.patch21 contained by a covered span. If so, the zip file is rejected as
60 + bound_t beg; /* start of the span */
61 + bound_t end; /* one past the end of the span */
64 + span_t *span; /* allocated, distinct, and sorted list of spans */
70 + * Return the index of the first span in cover whose beg is greater than val.
71 + * If there is no such span, then cover->num is returned.
80 + if (val < cover->span[mid].beg)
94 + return pos > 0 && val < cover->span[pos - 1].end;
98 + * Add a new span to the list, but only if the new span does not overlap any
99 + * spans already in the list. The new span covers the values beg..end-1. beg
[all …]
/openbmc/google-ipmi-sys/
H A Dgoogle_accel_oob.hpp29 Resp accelOobDeviceCount(std::span<const uint8_t> data,
32 Resp accelOobDeviceName(std::span<const uint8_t> data,
35 Resp accelOobRead(std::span<const uint8_t> data, HandlerInterface* handler);
37 Resp accelOobWrite(std::span<const uint8_t> data, HandlerInterface* handler);
40 Resp accelSetVrSettings(::ipmi::Context::ptr ctx, std::span<const uint8_t> data,
42 Resp accelGetVrSettings(::ipmi::Context::ptr ctx, std::span<const uint8_t> data,
/openbmc/webui-vue/src/views/Settings/Network/
H A DNetworkGlobalSettings.vue38 <span v-if="useDomainNameState">
40 </span>
41 <span v-else>{{ $t('global.status.disabled') }}</span>
52 <span v-if="useDomainNameStateIpv6">
54 </span>
55 <span v-else>{{ $t('global.status.disabled') }}</span>
71 <span v-if="useDnsState">
73 </span>
74 <span v-else>{{ $t('global.status.disabled') }}</span>
85 <span v-if="useDnsStateIpv6">
[all …]
/openbmc/dbus-sensors/src/nvidia-gpu/
H A DNvidiaGpuMctpVdm.hpp195 std::span<uint8_t> buf);
198 std::span<const uint8_t> buf,
203 std::span<uint8_t> buf);
206 std::span<const uint8_t> buf,
211 std::span<uint8_t> buf);
214 std::span<const uint8_t> buf,
220 uint8_t sensorId, uint8_t averagingInterval, std::span<uint8_t> buf);
222 int decodeGetPowerDrawResponse(std::span<const uint8_t> buf,
227 std::span<uint8_t> buf);
230 std::span<const uint8_t> buf,
[all …]
H A DMctpRequester.hpp47 void sendRecvMsg(uint8_t eid, std::span<const uint8_t> reqMsg,
49 std::span<const uint8_t>)>
54 std::span<const uint8_t>)>;
70 explicit RequestContext(std::span<const uint8_t> req, cb_t&& cb) : in RequestContext()
96 std::span<const uint8_t> buffer);
/openbmc/bios-bmc-smm-error-logger/test/
H A Drde_dictionary_manager_test.cpp44 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary1)); in TEST_F()
63 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary1)); in TEST_F()
73 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary1)); in TEST_F()
79 dm.startDictionaryEntry(annotationResourceId, std::span(dummyDictionary2)); in TEST_F()
100 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary2)); in TEST_F()
103 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary1)); in TEST_F()
116 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary2)); in TEST_F()
132 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary1)); in TEST_F()
141 std::span(dummyDictionary2.data(), copySize1)); in TEST_F()
143 resourceId, std::span(dummyDictionary2.data() + copySize1, copySize2)); in TEST_F()
[all …]
/openbmc/phosphor-power/
H A Dformat_utils.hpp44 std::string toString(const std::span<T>& span) in toString() argument
47 for (auto it = span.cbegin(); it != span.cend(); ++it) in toString()
50 if (std::distance(it, span.cend()) > 1) in toString()
/openbmc/webui-vue/src/views/SecurityAndAccess/Policies/
H A DPolicies.vue21 <span class="visually-hidden-focusable">
23 </span>
24 <span v-if="sshProtocolState">
26 </span>
27 <span v-else>{{ $t('global.status.disabled') }}</span>
46 <span class="visually-hidden-focusable">
48 </span>
49 <span v-if="ipmiProtocolState">
51 </span>
52 <span v-else>{{ $t('global.status.disabled') }}</span>
[all …]
/openbmc/bmcweb/test/http/
H A Dzstd_decompressor_test.cpp58 std::span<unsigned char> data = std::span(zeros); in TEST()
62 std::span<unsigned char> chunk = in TEST()
70 std::span(static_cast<const unsigned char*>(out->data()), in TEST()
98 std::span<unsigned char> data = std::span(ones); in TEST()
102 std::span<unsigned char> chunk = in TEST()
110 std::span(static_cast<const unsigned char*>(out->data()), in TEST()
/openbmc/webui-vue/src/components/Global/
H A DTableRowAction.vue2 <span>
14 <span v-if="btnIconOnly" class="visually-hidden">{{ title }}</span>
27 <span class="visually-hidden">
29 </span>
40 <span class="visually-hidden">
42 </span>
55 <span v-if="btnIconOnly" class="visually-hidden">{{ title }}</span>
57 </span>
/openbmc/bios-bmc-smm-error-logger/include/rde/
H A Drde_dictionary_manager.hpp27 DictionaryEntry(bool valid, const std::span<const uint8_t> data) : in DictionaryEntry()
50 const std::span<const uint8_t> data);
70 const std::span<const uint8_t> data);
79 std::optional<std::span<const uint8_t>> getDictionary(uint32_t resourceId);
87 std::optional<std::span<const uint8_t>> getAnnotationDictionary();
H A Drde_handler.hpp138 RdeDecodeStatus decodeRdeCommand(std::span<const uint8_t> rdeCommand,
181 RdeDecodeStatus operationInitRequest(std::span<const uint8_t> rdeCommand);
189 RdeDecodeStatus multiPartReceiveResp(std::span<const uint8_t> rdeCommand);
207 void updateCrc(std::span<const uint8_t> stream);
223 RdeDecodeStatus handleCrc(std::span<const uint8_t> multiReceiveRespCmd);
254 RdeDecodeStatus handleFlagEnd(std::span<const uint8_t> rdeCommand,
268 std::span<const uint8_t> rdeCommand,
/openbmc/libbej/test/include/
H A Dbej_common_test.hpp36 std::span<const uint8_t> encodedStream;
39 std::streamsize readBinaryFile(const char* fileName, std::span<uint8_t> buffer) in readBinaryFile()
74 std::span(schemaDictBuffer, maxBufferSize))) == 0) in loadInputs()
83 std::span(annoDictBuffer, maxBufferSize))) == 0) in loadInputs()
90 std::span(encBuffer, maxBufferSize)); in loadInputs()
102 std::span(errorDict, maxBufferSize))) == 0) in loadInputs()
116 .encodedStream = std::span(encBuffer, encLen), in loadInputs()
/openbmc/estoraged/src/test/erase/
H A Dpattern_test.cpp114 .WillOnce(Invoke([](std::span<const std::byte> x) { in TEST()
120 .WillOnce(Invoke([](std::span<const std::byte> x) { in TEST()
126 .WillOnce(Invoke([](std::span<const std::byte> x) { in TEST()
134 .WillOnce(Invoke([](std::span<std::byte> x) { in TEST()
136 std::span ret(shortData1); in TEST()
142 .WillOnce(Invoke([](std::span<std::byte> x) { in TEST()
144 std::span ret(restOfData); in TEST()
150 .WillOnce(Invoke([](std::span<std::byte> x) { in TEST()
152 std::span ret(shortData2); in TEST()
171 std::span shortDataSpan{shortData}; in TEST()
[all …]
/openbmc/qemu/rust/qemu-api-macros/src/
H A Dbits.rs42 return Err(Error::new(g.span(), "expected parenthesis")); in parse_primary()
46 return Err(Error::new(g.span(), "expected operand, found ')'")); in parse_primary()
52 return Err(Error::new(tok.span(), format!("unexpected token {tok}"))); in parse_primary()
70 return Err(Error::new(p.span(), "expected operand")); in parse_primary()
73 return Err(Error::new(p.span(), "expected operand at end of input")); in parse_primary()
80 return Err(Error::new(tok.span(), "unexpected literal")); in parse_primary()
111 return Err(Error::new(p.span(), "expected operand at end of input")); in parse_binop()
172 pos = t.span(); in parse()
179 pos = t.span(); in parse()
195 tok.span(), in parse()
[all …]
/openbmc/webui-vue/docs/guide/components/buttons/
H A Dindex.md25 <span>Primary with icon</span>
32 <span>Link Button</span>
48 <span>Primary with icon</span>
55 <span>Link Button</span>
/openbmc/webui-vue/src/views/Overview/
H A DOverviewCard.vue14 <span v-if="downloadButton">{{ $t('global.action.download') }}</span>
15 <span v-if="exportButton">{{ $t('global.action.exportAll') }}</span>
17 <span v-if="exportButton || downloadButton" class="ps-2 pe-2">|</span>
/openbmc/bios-bmc-smm-error-logger/src/rde/
H A Drde_handler.cpp30 std::span<const uint8_t> rdeCommand, RdeCommandType type) in decodeRdeCommand()
51 std::span<const uint8_t> rdeCommand) in operationInitRequest()
134 if (decoder.decode(dictionaries, std::span(encodedPldmBlock, in operationInitRequest()
152 std::span<const uint8_t> rdeCommand) in multiPartReceiveResp()
225 void RdeCommandHandler::updateCrc(std::span<const uint8_t> stream) in updateCrc()
239 std::span<const uint8_t> multiReceiveRespCmd) in handleCrc()
279 std::span dataS(data, header->dataLengthBytes); in handleFlagStart()
298 std::span dataS(data, header->dataLengthBytes); in handleFlagMiddle()
324 std::span<const uint8_t> rdeCommand, in handleFlagEnd()
337 std::span dataS(data, header->dataLengthBytes); in handleFlagEnd()
[all …]
/openbmc/phosphor-power/test/
H A Dformat_utils_tests.cpp33 std::span<int> spn{vec}; in TEST()
44 std::span<double> spn{vec}; in TEST()
51 std::span<int> spn{vec}; in TEST()
58 std::span<std::string> spn{ary}; in TEST()
/openbmc/phosphor-webui/app/common/directives/
H A Dserial-console.js18 var span = document.createElement('span');
23 span.textContent = 'W';
30 span.style.fontFamily = fontFamily;
31 span.style.fontSize = fontSize + 'px';
32 document.body.appendChild(span);
33 rect = span.getBoundingClientRect();
34 document.body.removeChild(span);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl/
H A D0002-Fix-gcc-build-problem.patch12 include/gsl/span | 12 ++++++++----
16 diff --git a/include/gsl/span b/include/gsl/span
18 --- a/include/gsl/span
19 +++ b/include/gsl/span
35 @@ -824,8 +826,10 @@ as_writable_bytes(span<ElementType, Extent> s) noexcept
67 @@ -163,8 +165,10 @@ constexpr auto at(std::span<T, extent> sp, const index i) -> decltype(sp[sp.si…

1234567891011