Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 782) sorted by relevance

12345678910>>...32

/openbmc/qemu/tests/tcg/hexagon/
H A Dmisc.c241 uint32_t array[10]; variable
413 memcpy(array, init, sizeof(array)); in main()
414 S4_storerhnew_rr(array, 4, 0xffff); in main()
415 check32(array[4], 0xffff); in main()
430 memcpy(array, init, sizeof(array)); in main()
431 S4_storeirbt_io(&array[1], true); in main()
432 check32(array[2], 27); in main()
433 S4_storeirbt_io(&array[2], false); in main()
434 check32(array[3], 3); in main()
436 memcpy(array, init, sizeof(array)); in main()
[all …]
/openbmc/qemu/util/
H A Ddefer-call.c77 GArray *array = thread_state->deferred_call_array; in defer_call() local
78 if (!array) { in defer_call()
79 array = g_array_new(FALSE, FALSE, sizeof(DeferredCall)); in defer_call()
80 thread_state->deferred_call_array = array; in defer_call()
85 DeferredCall *fns = (DeferredCall *)array->data; in defer_call()
96 for (guint i = 0; i < array->len; i++) { in defer_call()
102 g_array_append_val(array, new_fn); in defer_call()
140 GArray *array = thread_state->deferred_call_array; in defer_call_end() local
141 if (!array) { in defer_call_end()
145 DeferredCall *fns = (DeferredCall *)array->data; in defer_call_end()
[all …]
/openbmc/bios-settings-mgr/include/
H A Dpassword.hpp80 const std::array<uint8_t, maxHashSize>& expected,
81 const std::array<uint8_t, maxSeedSize>& seed,
83 bool isMatch(const std::array<uint8_t, maxHashSize>& expected,
84 const std::array<uint8_t, maxSeedSize>& seed,
86 bool getParam(std::array<uint8_t, maxHashSize>& orgUsrPwdHash,
87 std::array<uint8_t, maxHashSize>& orgAdminPwdHash,
88 std::array<uint8_t, maxSeedSize>& seed,
91 std::array<uint8_t, maxSeedSize>& seed,
96 std::array<uint8_t, maxHashSize> mNewPwdHash;
/openbmc/openbmc/poky/meta/recipes-devtools/apt/apt/
H A D0001-aptwebserver.cc-Include-array.patch4 Subject: [PATCH] aptwebserver.cc: Include <array>
6 This helps getting std::array definition
9 … error: constexpr variable cannot have non-literal type 'const std::array<std::array<const char *,…
10 constexpr std::array<std::array<char const *,2>,6> htmlencode = {{
25 #include <array>
27 +#include <array>
/openbmc/phosphor-modbus/tests/
H A Dtest_modbus_commands.cpp22 const std::array<uint8_t, Length>& expectedMessage) in operator =()
39 const std::array<uint8_t, Length>& expectedMessage) in TestReadHoldingRegisterResponseFailure()
55 constexpr std::array<uint8_t, expectedLength> expectedMessage = { in TEST_F()
68 std::array<uint8_t, expectedLength> actualMessage; in TEST_F()
80 constexpr std::array<uint8_t, expectedLength> expectedMessage = { in TEST_F()
108 constexpr std::array<uint8_t, 5> expectedMessage = { in TEST_F()
121 constexpr std::array<uint8_t, failureMessageLength> expectedMessage = { in TEST_F()
136 constexpr std::array<uint8_t, failureMessageLength> expectedMessage = { in TEST_F()
151 constexpr std::array<uint8_t, failureMessageLength> expectedMessage = { in TEST_F()
166 constexpr std::array<uint8_t, failureMessageLength> expectedMessage = { in TEST_F()
/openbmc/bmcweb/test/redfish-core/include/
H A Dredfish_aggregator_test.cpp60 constexpr std::array validRoots{ in TEST()
73 constexpr std::array validIDs{ in TEST()
103 constexpr std::array invalidRoots{ in TEST()
108 constexpr std::array validIDs{ in TEST()
137 constexpr std::array validRoots{ in TEST()
173 nlohmann::json array = nlohmann::json::parse(R"( in TEST() local
189 addPrefixes(array, "5B42"); in TEST()
190 EXPECT_EQ(array["Conditions"][0]["@odata.id"], in TEST()
192 EXPECT_EQ(array["Conditions"][1]["@odata.id"], in TEST()
219 nlohmann::json& array = objWithArray["Status"]["Conditions"]; in TEST() local
[all …]
/openbmc/bmcweb/test/include/
H A Dhttp_utility_test.cpp56 std::array<ContentType, 1> contentType{ContentType::HTML}; in TEST()
61 std::array<ContentType, 2> htmlJson{ContentType::HTML, ContentType::JSON}; in TEST()
77 std::array<ContentType, 2> jsonHtml{ContentType::JSON, ContentType::HTML}; in TEST()
81 std::array<ContentType, 2> cborJson{ContentType::CBOR, ContentType::JSON}; in TEST()
90 std::array<ContentType, 1> eventStream{ContentType::EventStream}; in TEST()
123 std::array<ContentType, 1> contentType{ContentType::CBOR}; in TEST()
131 std::array<Encoding, 1> encodingsGzip{Encoding::GZIP}; in TEST()
134 std::array<Encoding, 2> encodingsGzipZstd{Encoding::GZIP, Encoding::ZSTD}; in TEST()
146 std::array<Encoding, 2> contentType{Encoding::GZIP, in TEST()
151 std::array<Encoding, 1> contentType2{Encoding::GZIP}; in TEST()
/openbmc/phosphor-dbus-monitor/src/templates/
H A Dgenerated.mako.hpp34 using Meta = std::array<std::string, ${len(meta)}>;
50 using Paths = std::array<std::string, ${len(paths)}>;
66 using Interfaces = std::array<std::string, ${len(interfaces)}>;
82 using Paths = std::array<std::string, ${len(pathinstances)}>;
98 using Properties = std::array<std::string, ${len(propertynames)}>;
114 using Storage = std::array<std::tuple<std::any, std::any>, ${len(instances)}>;
125 using PropertyFilters = std::array<std::unique_ptr<Filters>, ${len(filters)}>;
149 using PropertyIndicies = std::array<PropertyIndex, ${len(instancegroups)}>;
184 using CallbackGroups = std::array<std::vector<size_t>, ${len(callbackgroups)}>;
201 using Conditions = std::array<std::unique_ptr<Conditional>, ${len(conditions)}>;
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/slang/slang/
H A Darray_test.patch1 slang: modify array test
3 One array test tries to create an array that is far too large and anticipates an exception.
10 --- a/src/test/array.sl
11 +++ b/src/test/array.sl
/openbmc/phosphor-dbus-monitor/src/test/templates/
H A Dpropertygentest.mako.hpp1 const std::array<std::string, ${len(meta)}> meta = {
7 const std::array<std::string, ${len(interfaces)}> interfaces = {
13 const std::array<std::string, ${len(propertynames)}> properties = {
19 const std::array<GroupOfProperties, ${len(propertygroups)}> groups = {{
30 const std::array<std::string, ${len(propertygroups)}> types = {
H A Dpathgentest.mako.hpp1 const std::array<std::string, ${len(meta)}> meta = {
7 const std::array<std::string, ${len(paths)}> paths = {
13 const std::array<PathMeta, ${len(pathmeta)}> pathMeta = {{
19 const std::array<RefVector<const std::string>, ${len(pathgroups)}> groups = {{
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dmtms.hpp67 const std::array<uint8_t, mtmSize>& machineTypeAndModelRaw() const in machineTypeAndModelRaw()
77 void setMachineTypeAndModel(const std::array<uint8_t, mtmSize>& mtm) in setMachineTypeAndModel()
105 const std::array<uint8_t, snSize>& machineSerialNumberRaw() const in machineSerialNumberRaw()
115 void setMachineSerialNumber(const std::array<uint8_t, snSize>& sn) in setMachineSerialNumber()
155 std::array<uint8_t, mtmSize> _machineTypeAndModel;
160 std::array<uint8_t, snSize> _serialNumber;
/openbmc/qemu/target/s390x/
H A Dcpu_features.h87 static inline void clear_be_bit(unsigned int bit_nr, uint8_t *array) in clear_be_bit() argument
89 array[bit_nr / 8] &= ~(0x80 >> (bit_nr % 8)); in clear_be_bit()
91 static inline void set_be_bit(unsigned int bit_nr, uint8_t *array) in set_be_bit() argument
93 array[bit_nr / 8] |= 0x80 >> (bit_nr % 8); in set_be_bit()
95 static inline bool test_be_bit(unsigned int bit_nr, const uint8_t *array) in test_be_bit() argument
97 return array[bit_nr / 8] & (0x80 >> (bit_nr % 8)); in test_be_bit()
/openbmc/boost-dbus/include/dbus/
H A Delement.hpp180 constexpr std::array<char, N1 + N2 - 1> concat_helper( in concat_helper()
181 const std::array<char, N1>& a1, const std::array<char, N2>& a2, seq<I1...>, in concat_helper()
188 constexpr const std::array<char, N1 + N2 - 1> concat( in concat()
189 const std::array<char, N1>& a1, const std::array<char, N2>& a2) { in concat()
210 static auto constexpr code = std::array<char, 2>{{element<Element>::code, 0}};
225 typedef struct { char array[2]; } no; member
247 concat(std::array<char, 2>{{DBUS_TYPE_ARRAY, 0}},
259 concat(std::array<char, 2>{{'{', 0}},
262 std::array<char, 2>{{'}', 0}})));
/openbmc/bios-settings-mgr/src/
H A Dpassword.cpp37 const std::array<uint8_t, maxHashSize>& expected, in compareDigest()
38 const std::array<uint8_t, maxSeedSize>& seed, in compareDigest()
63 bool Password::isMatch(const std::array<uint8_t, maxHashSize>& expected, in isMatch()
64 const std::array<uint8_t, maxSeedSize>& seed, in isMatch()
84 bool Password::getParam(std::array<uint8_t, maxHashSize>& orgUsrPwdHash, in getParam()
85 std::array<uint8_t, maxHashSize>& orgAdminPwdHash, in getParam()
86 std::array<uint8_t, maxSeedSize>& seed, in getParam()
124 std::string& newPassword, std::array<uint8_t, maxSeedSize>& seed, in verifyIntegrityCheck()
147 std::array<uint8_t, maxHashSize> orgUsrPwdHash; in verifyPassword()
148 std::array<uint8_t, maxHashSize> orgAdminPwdHash; in verifyPassword()
[all …]
/openbmc/estoraged/src/erase/
H A Dpattern.cpp36 std::array<std::byte, blockSize> randArr{}; in writePattern()
41 std::array<uint32_t, blockSizeUsing32>* randArrFill = in writePattern()
42 reinterpret_cast<std::array<uint32_t, blockSizeUsing32>*>(&randArr); in writePattern()
85 std::array<std::byte, blockSize> randArr{}; in verifyPattern()
86 std::array<std::byte, blockSize> readArr{}; in verifyPattern()
95 std::array<uint32_t, blockSizeUsing32>* randArrFill = in verifyPattern()
96 reinterpret_cast<std::array<uint32_t, blockSizeUsing32>*>( in verifyPattern()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dmtms_test.cpp23 const std::array<uint8_t, 8> t{'T', 'T', 'T', 'T', '-', 'M', 'M', 'M'}; in TEST()
27 const std::array<uint8_t, 12> s{'1', '2', '3', '4', '5', '6', in TEST()
40 const std::array<uint8_t, 8> t{'T', 'T', 'T', 'T', '-', 'M', 'M', 'M'}; in TEST()
43 const std::array<uint8_t, 12> s{'1', '2', '3', '4', '5', '6', in TEST()
55 const std::array<uint8_t, 8> t{'T', 'T', 'T', 'T', 0, 0, 0, 0}; in TEST()
59 const std::array<uint8_t, 12> s{'1', '2', '3', '4', 0, 0, in TEST()
/openbmc/docs/architecture/
H A Dobject-mapper.md39 string:"/xyz/openbmc_project/sensors/voltage/ps1_input_voltage" array:string:
41 array [
44 array [
82 string:"/" int32:0 array:string:"xyz.openbmc_project.Sensor.Threshold.Warning"
84 array [
87 array [
90 array [
100 array [
103 array [
147 objpath:"/" int32:0 array:string:"xyz.openbmc_project.Sensor.Threshold.Warning"
[all …]
/openbmc/phosphor-objmgr/libmapper/
H A Dinternal.h7 size_t sarraylen(char* array[]);
8 void sarrayfree(char* array[]);
9 char** sarraydup(char* array[]);
/openbmc/openpower-hw-diags/attn/pel/
H A Dprimary_src.hpp100 void setSrcWords(std::array<uint32_t, numSrcWords> srcWords);
107 void setAsciiString(std::array<char, asciiStringSize> asciiString);
143 std::array<uint32_t, numSrcWords> _srcWords;
148 std::array<char, asciiStringSize> _asciiString;
/openbmc/pldm/platform-mc/test/
H A Dterminus_manager_test.cpp143 std::array<uint8_t, sizeof(pldm_msg_hdr) + getTidRespLen> getTidResp0{ in TEST_F()
148 std::array<uint8_t, sizeof(pldm_msg_hdr) + setTidRespLen> setTidResp0{ in TEST_F()
153 std::array<uint8_t, sizeof(pldm_msg_hdr) + getPldmTypesRespLen> in TEST_F()
169 std::array<uint8_t, sizeof(pldm_msg_hdr) + getTidRespLen> getTidResp1{ in TEST_F()
199 std::array<uint8_t, sizeof(pldm_msg_hdr) + getTidRespLen> getTidResp0{ in TEST_F()
211 std::array<uint8_t, sizeof(pldm_msg_hdr) + getTidRespLen> getTidResp1{ in TEST_F()
213 std::array<uint8_t, sizeof(pldm_msg_hdr) + setTidRespLen> setTidResp1{ in TEST_F()
227 std::array<uint8_t, sizeof(pldm_msg_hdr) + getTidRespLen> getTidResp2{ in TEST_F()
229 std::array<uint8_t, sizeof(pldm_msg_hdr) + setTidRespLen> setTidResp2{ in TEST_F()
231 std::array<uint8_t, sizeof(pldm_msg_hdr) + getPldmTypesRespLen> in TEST_F()
[all …]
/openbmc/u-boot/post/lib_powerpc/fpu/
H A Dacc1.c18 static double func (const double *array) in func() argument
20 double d = *array; in func()
25 return d + func (array + 1); in func()
/openbmc/qemu/tests/qapi-schema/
H A Dreturns-array-bad.err1 returns-array-bad.json: In command 'oops':
2 returns-array-bad.json:2: 'returns': array type must contain single type name
H A Dargs-array-empty.err1 args-array-empty.json: In command 'oops':
2 args-array-empty.json:2: 'data' member 'empty': array type must contain single type name
H A Dargs-member-array-bad.err1 args-member-array-bad.json: In command 'oops':
2 args-member-array-bad.json:2: 'data' member 'member': array type must contain single type name

12345678910>>...32