Home
last modified time | relevance | path

Searched +full:data +full:- +full:size (Results 1 – 25 of 1109) sorted by relevance

12345678910>>...45

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/bonnie/bonnie++/
H A Dfix-csv2html-data.patch5 csv2html: Explicitly reference data in top level
7 With g++ 11 *data* became ambiguous with [std::data][1]. Therefore it's
10 [1] https://en.cppreference.com/w/cpp/iterator/data
12 Upstream-Status: Submitted [https://salsa.debian.org/etbe/bonnie/-/merge_requests/3/diffs?commit_id…
14 diff --git a/bon_csv2html.cpp b/bon_csv2html.cpp
16 --- a/bon_csv2html.cpp
18 @@ -87,8 +87,8 @@ int main(int argc, char **argv)
22 - props = new PPCCHAR[data.size()];
23 - for(i = 0; i < data.size(); i++)
24 + props = new PPCCHAR[::data.size()];
[all …]
/openbmc/qemu/hw/misc/
H A Dtrace-events3 # allwinner-cpucfg.c
5 …nner_cpucfg_read(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PR…
6 …ner_cpucfg_write(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PR…
8 # allwinner-h3-dramc.c
11 …_dramcom_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%"…
12 …dramcom_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%…
13 …_dramctl_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%"…
14 …dramctl_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%…
15 …_dramphy_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%"…
16 …dramphy_write(uint64_t offset, uint64_t data, unsigned size) "write: offset 0x%" PRIx64 " data 0x%…
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D261.out5 Formatting 'TEST_DIR/t.IMGFMT.v2.orig', fmt=IMGFMT size=67108864
11 Extra data size: 0
15 Extra data size: 50
16 VM state size: 0
17 Disk size: 67108864
19 Unknown extra data: very important data
23 Extra data size: 8
24 VM state size: 0
33 Extra data size: 24
34 VM state size: 0
[all …]
/openbmc/u-boot/include/
H A Daxi.h1 /* SPDX-License-Identifier: GPL-2.0+ */
11 * enum axi_size_t - Determine size of AXI transfer
12 * @AXI_SIZE_8: AXI sransfer is 8-bit wide
13 * @AXI_SIZE_16: AXI sransfer is 16-bit wide
14 * @AXI_SIZE_32: AXI sransfer is 32-bit wide
24 * read() - Read a single value from a specified address on a AXI bus
27 * @data: Pointer to a variable that takes the data value read
29 * @size: The size of the data to be read.
31 * Return: 0 if OK, -ve on error.
33 int (*read)(struct udevice *dev, ulong address, void *data,
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-hbitmap.c2 * Hierarchical bitmap unit-tests.
9 * See the COPYING file in the top-level directory.
26 size_t size; member
32 /* Check that the HBitmap and the shadow bitmap contain the same data,
35 static void hbitmap_test_check(TestHBitmapData *data, in hbitmap_test_check() argument
44 hbitmap_iter_init(&hbi, data->hb, first); in hbitmap_test_check()
50 next = data->size; in hbitmap_test_check()
55 bit = i & (BITS_PER_LONG - 1); in hbitmap_test_check()
57 g_assert_cmpint(data->bits[pos] & (1UL << bit), ==, 0); in hbitmap_test_check()
60 if (next == data->size) { in hbitmap_test_check()
[all …]
/openbmc/qemu/hw/uefi/
H A Dvar-service-siglist.c2 * SPDX-License-Identifier: GPL-2.0-or-later
4 * uefi vars device - parse and generate efi signature databases
8 #include "qemu/error-report.h"
11 #include "hw/uefi/var-service.h"
18 void *data, uint64_t size) in uefi_vars_siglist_add_x509() argument
22 QTAILQ_FOREACH(c, &siglist->x509, next) { in uefi_vars_siglist_add_x509()
23 if (c->size != size) { in uefi_vars_siglist_add_x509()
26 if (memcmp(c->data, data, size) != 0) { in uefi_vars_siglist_add_x509()
32 c = g_malloc(sizeof(*c) + size); in uefi_vars_siglist_add_x509()
33 c->owner = *owner; in uefi_vars_siglist_add_x509()
[all …]
/openbmc/qemu/hw/timer/
H A Dtrace-events39 …read(uint64_t addr, uint32_t value, unsigned size) "systick read addr 0x%" PRIx64 " data 0x%" PRIx…
40 …rite(uint64_t addr, uint32_t value, unsigned size) "systick write addr 0x%" PRIx64 " data 0x%" PRI…
42 # cmsdk-apb-timer.c
43 …_read(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB timer read: offset 0x%" PRIx64 " d…
44 …write(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB timer write: offset 0x%" PRIx64 "
47 # cmsdk-apb-dualtimer.c
48 …ead(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB dualtimer read: offset 0x%" PRIx64 "…
49 …ite(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB dualtimer write: offset 0x%" PRIx64 …
54 imx_gpt_read(const char *name, uint64_t value) "%s -> 0x%08" PRIx64
55 imx_gpt_write(const char *name, uint64_t value) "%s <- 0x%08" PRIx64
[all …]
/openbmc/qemu/hw/watchdog/
H A Dtrace-events3 # allwinner-wdt.c
4 …read(uint64_t offset, uint64_t data, unsigned size) "Allwinner watchdog read: offset 0x%" PRIx64 "…
5 …ite(uint64_t offset, uint64_t data, unsigned size) "Allwinner watchdog write: offset 0x%" PRIx64 "…
10 # cmsdk-apb-watchdog.c
11 …read(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB watchdog read: offset 0x%" PRIx64 "…
12 …ite(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB watchdog write: offset 0x%" PRIx64 "…
16 # wdt-aspeed.c
17 aspeed_wdt_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d"
18 aspeed_wdt_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d value=0x%"PRI…
21 imx2_wdt_read(uint32_t addr, uint16_t data) "[0x%" PRIx32 "] -> 0x%" PRIx16
[all …]
/openbmc/openpower-hw-diags/attn/pel/
H A Dstream.hpp21 * @brief A host-to-network implementation for uint64_t
23 * @param[in] value - the value to convert to
24 * @return uint64_t - the byteswapped value
32 * @brief A network-to-host implementation for uint64_t
34 * @param[in] value - the value to convert to
35 * @return uint64_t - the byteswapped value
46 * This class is used for getting data types into and out of a vector<uint8_t>
47 * that contains data in network byte (big endian) ordering.
62 * @param[in] data - the vector of data
64 explicit Stream(std::vector<uint8_t>& data) : _data(data), _offset(0) {} in Stream() argument
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dstream.hpp20 * @brief A host-to-network implementation for uint64_t
22 * @param[in] value - the value to convert to
23 * @return uint64_t - the byteswapped value
31 * @brief A network-to-host implementation for uint64_t
33 * @param[in] value - the value to convert to
34 * @return uint64_t - the byteswapped value
45 * This class is used for getting data types into and out of a vector<uint8_t>
46 * that contains data in network byte (big endian) ordering.
61 * @param[in] data - the vector of data
63 explicit Stream(std::vector<uint8_t>& data) : _data(data), _offset(0) {} in Stream() argument
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dpel_utils.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2019 IBM Corporation
6 #include "extensions/openpower-pels/private_header.hpp"
7 #include "extensions/openpower-pels/user_header.hpp"
24 0x00, 0x30, // Size
42 0x00, 0x18, // Size
61 0x00, 0x48, // SRC structure size
63 // Hex words 2 - 9
76 'T', 'T', 'T', 'T', '-', 'M', 'M', 'M', '1', '2',
90 'T', 'T', 'T', 'T', '-', 'M', 'M', 'M', '1', '2', '3', '4', '5', '6', '7',
[all …]
H A Duser_data_test.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2019 IBM Corporation
4 #include "extensions/openpower-pels/user_data.hpp"
13 0x00, 0x10, // Size
17 // Data
27 EXPECT_EQ(ud.header().size, udSectionData.size()); in TEST()
32 const auto& data = ud.data(); in TEST() local
34 // The data itself starts after the header in TEST()
35 EXPECT_EQ(data.size(), udSectionData.size() - 8); in TEST()
37 for (size_t i = 0; i < data.size(); i++) in TEST()
[all …]
H A Dsrc_callout_test.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2019 IBM Corporation
4 #include "extensions/openpower-pels/callout.hpp"
15 // The base data. in TEST()
16 std::vector<uint8_t> data{ in TEST() local
17 0xFF, 0x2F, 'H', 8, // size, flags, priority, LC length in TEST()
18 'U', '1', '2', '-', 'P', '1', 0x00, 0x00 // LC in TEST()
26 data.insert(data.end(), fruIdentity.begin(), fruIdentity.end()); in TEST()
27 data.insert(data.end(), pceIdentity.begin(), pceIdentity.end()); in TEST()
28 data.insert(data.end(), mrus.begin(), mrus.end()); in TEST()
[all …]
H A Dextended_user_data_test.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2019 IBM Corporation
4 #include "extensions/openpower-pels/extended_user_data.hpp"
19 EXPECT_EQ(eud.header().size, eudSectionData.size()); in TEST()
25 const auto& data = eud.data(); in TEST() local
28 EXPECT_EQ(data.size(), eudSectionData.size() - 12); in TEST()
30 for (size_t i = 0; i < data.size(); i++) in TEST()
32 EXPECT_EQ(data[i], eudSectionData[i + 12]); in TEST()
45 auto data = pelDataFactory(TestPELType::extendedUserDataSection); in TEST() local
46 data.resize(8); // Too small in TEST()
[all …]
/openbmc/libpldm/tests/dsp/
H A Dbios_table.cpp23 auto padSize = ((table.size() % 4) ? (4 - table.size() % 4) : 0); in buildTable()
25 uint32_t checksum = pldm_edac_crc32(table.data(), table.size()); in buildTable()
52 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast) in TEST()
53 reinterpret_cast<struct pldm_bios_attr_table_entry*>(enumEntry.data()); in TEST()
76 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast) in TEST()
77 reinterpret_cast<struct pldm_bios_attr_table_entry*>(enumEntry.data()); in TEST()
89 entry, pvHandles.data(), pvHandles.size()), in TEST()
96 entry, pvHandles.data(), pvHandles.size()), in TEST()
101 rc = pldm_bios_table_attr_entry_enum_decode_pv_hdls(entry, pvHandles.data(), in TEST()
102 pvHandles.size()); in TEST()
[all …]
H A Dpdr.cpp105 std::array<uint8_t, 10> data{}; in TEST() local
107 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
111 EXPECT_EQ(pldm_pdr_get_repo_size(repo), data.size()); in TEST()
114 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
119 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
124 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
128 EXPECT_EQ(pldm_pdr_get_repo_size(repo), data.size() * 4u); in TEST()
135 std::array<uint8_t, 10> data{}; in TEST() local
139 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, NULL), 0); in TEST()
145 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), true, 2, NULL), 0); in TEST()
[all …]
/openbmc/qemu/tests/qtest/fuzz/
H A Dqtest_wrappers.c10 * See the COPYING file in the top-level directory.
41 void *data, size_t size)) in WRAP()
42 WRAP(void , qtest_bufread(QTestState *s, uint64_t addr, void *data, in WRAP()
43 size_t size)) in WRAP()
44 WRAP(void , qtest_memwrite(QTestState *s, uint64_t addr, const void *data, in WRAP()
45 size_t size)) in WRAP()
47 const void *data, size_t size)) in WRAP()
49 uint8_t patt, size_t size)) in WRAP()
110 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readb()
122 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readw()
[all …]
/openbmc/phosphor-net-ipmid/sol/
H A Dconsole_buffer.hpp16 * The console data is the buffer that holds the data that comes from the host
24 /** @brief Get the current size of the host console buffer.
26 * @return size of the host console buffer.
28 auto size() const noexcept in size() function in sol::ConsoleData
30 return data.size(); in size()
33 /** @brief Read host console data.
35 * This API would return the iterator to the read data from the
36 * console data buffer.
38 * @return iterator to read data from the buffer
42 return data.cbegin(); in read()
[all …]
/openbmc/u-boot/lib/
H A Dcircbuf.c1 // SPDX-License-Identifier: GPL-2.0+
13 int buf_init (circbuf_t * buf, unsigned int size) in buf_init() argument
17 buf->size = 0; in buf_init()
18 buf->totalsize = size; in buf_init()
19 buf->data = (char *) malloc (sizeof (char) * size); in buf_init()
20 assert (buf->data != NULL); in buf_init()
22 buf->top = buf->data; in buf_init()
23 buf->tail = buf->data; in buf_init()
24 buf->end = &(buf->data[size]); in buf_init()
32 assert (buf->data != NULL); in buf_free()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_bootmgr.c1 // SPDX-License-Identifier: GPL-2.0+
30 /* Parse serialized data and transform it into efi_load_option structure */
31 void efi_deserialize_load_option(struct efi_load_option *lo, u8 *data) in efi_deserialize_load_option() argument
33 lo->attributes = get_unaligned_le32(data); in efi_deserialize_load_option()
34 data += sizeof(u32); in efi_deserialize_load_option()
36 lo->file_path_length = get_unaligned_le16(data); in efi_deserialize_load_option()
37 data += sizeof(u16); in efi_deserialize_load_option()
40 lo->label = (u16 *)data; in efi_deserialize_load_option()
41 data += (u16_strlen(lo->label) + 1) * sizeof(u16); in efi_deserialize_load_option()
44 lo->file_path = (struct efi_device_path *)data; in efi_deserialize_load_option()
[all …]
/openbmc/u-boot/board/ge/common/
H A Dvpd_reader.c1 // SPDX-License-Identifier: GPL-2.0+
37 ((((1 << gfo) - 1) - ((int)source_length * 8)) < 0); in calculate_galois_field_order()
42 return -1; in calculate_galois_field_order()
47 static int verify_bch(int ecc_bits, unsigned int prim_poly, u8 *data, in verify_bch() argument
53 return -1; in verify_bch()
58 return -1; in verify_bch()
60 if (bch->ecc_bytes != ecc_length) { in verify_bch()
62 return -1; in verify_bch()
67 int errors = decode_bch(bch, data, data_length, ecc, NULL, NULL, in verify_bch()
73 return -1; in verify_bch()
[all …]
/openbmc/phosphor-power/tools/i2c/
H A Di2c_interface.hpp83 * The interface can later be re-opened by calling open().
94 /** @brief Read byte data from i2c
96 * @param[out] data - The data read from the i2c device
100 virtual void read(uint8_t& data) = 0;
102 /** @brief Read byte data from i2c
104 * @param[in] addr - The register address of the i2c device
105 * @param[out] data - The data read from the i2c device
109 virtual void read(uint8_t addr, uint8_t& data) = 0;
111 /** @brief Read word data from i2c
114 * the first byte read is the low-order byte.
[all …]
/openbmc/qemu/hw/xen/
H A Dtrace-events16 # xen-bus.c
28 xen_device_backend_state(const char *type, char *name, const char *state) "type: %s name: %s -> %s"
29 xen_device_backend_online(const char *type, char *name, bool online) "type: %s name: %s -> %u"
31 xen_device_frontend_state(const char *type, char *name, const char *state) "type: %s name: %s -> %s"
37 # xen-bus-helper.c
45 # xen-hvm-common.c
46 xen_ram_alloc(unsigned long ram_addr, unsigned long size) "requested: 0x%lx, size 0x%lx"
47 xen_client_set_memory(uint64_t start_addr, unsigned long size, bool log_dirty) "0x%"PRIx64" size 0x…
48 … addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p type=%d dir=%d df=%d ptr=%d port=0x%"…
49 …t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p read type=%d df=%d ptr=%d port=0x%"P…
[all …]
/openbmc/u-boot/board/alliedtelesis/SBx81LIFXCAT/
H A Dkwbimage.cfg1 # SPDX-License-Identifier: GPL-2.0+
5 # Refer docs/README.kwimage for more details about how-to configure
14 DATA 0xffd100e0 0x1b1b1b1b
15 DATA 0xffd20134 0xffffffff
16 DATA 0xffd20138 0x009fffff
17 DATA 0xffd20154 0x00000000
18 DATA 0xffd2014c 0x00000000
19 DATA 0xffd20148 0x00000001
22 # DDR II Micron part number MT47H64M16HR-3
23 # MClk 333MHz, Size 128MB, ECC disable
[all …]
/openbmc/u-boot/board/alliedtelesis/SBx81LIFKW/
H A Dkwbimage.cfg1 # SPDX-License-Identifier: GPL-2.0+
5 # Refer docs/README.kwimage for more details about how-to configure
14 DATA 0xffd100e0 0x1b1b1b1b
15 DATA 0xffd20134 0xffffffff
16 DATA 0xffd20138 0x009fffff
17 DATA 0xffd20154 0x00000000
18 DATA 0xffd2014c 0x00000000
19 DATA 0xffd20148 0x00000001
22 # DDR II Micron part number MT47H64M16HR-3
23 # MClk 333MHz, Size 128MB, ECC disable
[all …]

12345678910>>...45