Home
last modified time | relevance | path

Searched refs:rep (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/phosphor-ipmi-blobs/test/
H A Dipmi_getcount_unittest.cpp24 struct BmcBlobCountRx rep; in TEST() local
26 rep.crc = 0; in TEST()
27 rep.blobCount = 0; in TEST()
33 EXPECT_EQ(sizeof(rep), result.size()); in TEST()
34 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST()
43 struct BmcBlobCountRx rep; in TEST() local
45 rep.crc = 0; in TEST()
46 rep.blobCount = 2; in TEST()
52 EXPECT_EQ(sizeof(rep), result.size()); in TEST()
53 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST()
H A Dipmi_sessionstat_unittest.cpp55 struct BmcBlobStatRx rep; in TEST() local
56 rep.crc = 0x00; in TEST()
57 rep.blobState = 0x01; in TEST()
58 rep.size = 0x100; in TEST()
59 rep.metadataLen = 0x00; in TEST()
61 uint16_t blobState = rep.blobState; in TEST()
62 uint32_t size = rep.size; in TEST()
74 EXPECT_EQ(sizeof(rep), result.size()); in TEST()
75 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST()
99 struct BmcBlobStatRx rep; in TEST() local
[all …]
H A Dipmi_stat_unittest.cpp79 struct BmcBlobStatRx rep; in TEST() local
80 rep.crc = 0x00; in TEST()
81 rep.blobState = 0x01; in TEST()
82 rep.size = 0x100; in TEST()
83 rep.metadataLen = 0x00; in TEST()
85 uint16_t blobState = rep.blobState; in TEST()
86 uint32_t size = rep.size; in TEST()
98 EXPECT_EQ(sizeof(rep), result.size()); in TEST()
99 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST()
125 struct BmcBlobStatRx rep; in TEST() local
[all …]
H A Dipmi_open_unittest.cpp66 struct BmcBlobOpenRx rep; in TEST() local
86 rep.crc = 0; in TEST()
87 rep.sessionId = returnedSession; in TEST()
89 EXPECT_EQ(sizeof(rep), result.size()); in TEST()
90 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST()
/openbmc/qemu/contrib/plugins/
H A Dcache.c608 g_autoptr(GString) rep = g_string_new("core #, data accesses, data misses," in log_stats()
613 g_string_append(rep, ", l2 accesses, l2 misses, l2 miss rate"); in log_stats()
616 g_string_append(rep, "\n"); in log_stats()
619 g_string_append_printf(rep, "%-8d", i); in log_stats()
623 append_stats_line(rep, dcache->accesses, dcache->misses, in log_stats()
631 g_string_append_printf(rep, "%-8s", "sum"); in log_stats()
632 append_stats_line(rep, l1_dmem_accesses, l1_dmisses, in log_stats()
637 g_string_append(rep, "\n"); in log_stats()
638 qemu_plugin_outs(rep->str); in log_stats()
649 g_autoptr(GString) rep = g_string_new(""); in log_top_insns()
[all …]
/openbmc/qemu/util/
H A Dqsp.c701 static void pr_report(const QSPReport *rep) in pr_report() argument
711 for (i = 0; i < rep->n_entries; i++) { in pr_report()
712 const QSPReportEntry *e = &rep->entries[i]; in pr_report()
734 for (i = 0; i < rep->n_entries; i++) { in pr_report()
735 const QSPReportEntry *e = &rep->entries[i]; in pr_report()
756 static void report_destroy(QSPReport *rep) in report_destroy() argument
760 for (i = 0; i < rep->n_entries; i++) { in report_destroy()
761 QSPReportEntry *e = &rep->entries[i]; in report_destroy()
765 g_free(rep->entries); in report_destroy()
772 QSPReport rep; in qsp_report() local
[all …]
/openbmc/sdeventplus/src/sdeventplus/
H A Dclock.hpp35 using rep = SdEventDuration::rep; typedef in sdeventplus::Clock
/openbmc/u-boot/drivers/video/
H A Dihs_video_out.c137 uint k, rep; in ihs_video_out_set_mem() local
141 for (rep = 0; rep < count; ++rep) { in ihs_video_out_set_mem()
142 offset = row * priv->base_width + col + rep * (buflen / 2); in ihs_video_out_set_mem()
/openbmc/qemu/nbd/
H A Dcommon.c82 const char *nbd_rep_lookup(uint32_t rep) in nbd_rep_lookup() argument
84 switch (rep) { in nbd_rep_lookup()
H A Dserver.c189 static inline void set_be_option_rep(NBDOptionReply *rep, uint32_t option, in set_be_option_rep() argument
192 stq_be_p(&rep->magic, NBD_REP_MAGIC); in set_be_option_rep()
193 stl_be_p(&rep->option, option); in set_be_option_rep()
194 stl_be_p(&rep->type, type); in set_be_option_rep()
195 stl_be_p(&rep->length, length); in set_be_option_rep()
204 NBDOptionReply rep; in nbd_negotiate_send_rep_len() local
211 set_be_option_rep(&rep, client->opt, type, len); in nbd_negotiate_send_rep_len()
212 return nbd_write(client->ioc, &rep, sizeof(rep), errp); in nbd_negotiate_send_rep_len()
/openbmc/pldm/oem/ibm/host-bmc/
H A Dhost_lamp_test.cpp99 for (const auto& rep : stateEffecterPDRs) in getEffecterID() local
101 auto pdr = reinterpret_cast<const pldm_state_effecter_pdr*>(rep.data()); in getEffecterID()
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dddr3_training_hw_algo.c162 u32 pup = 0, if_id = 0, num_pup = 0, rep = 0; in ddr3_tip_vref() local
225 for (rep = 1; rep < 4; rep++) { in ddr3_tip_vref()
248 [if_id] * (rep - 1) + in ddr3_tip_vref()
249 1000 * res[pup]) / rep; in ddr3_tip_vref()
H A Dddr3_debug.c947 u32 adll = 0, rep = 0, pattern_idx = 0; in ddr3_tip_run_sweep_test() local
999 for (rep = 0; rep < repeat_num; rep++) { in ddr3_tip_run_sweep_test()
1093 u32 adll = 0, rep = 0, pattern_idx = 0; in ddr3_tip_run_leveling_sweep_test() local
1144 for (rep = 0; rep < repeat_num; rep++) { in ddr3_tip_run_leveling_sweep_test()
/openbmc/pldm/softoff/
H A Dsoftoff.cpp191 for (auto& rep : response) in getEffecterID() local
193 auto softoffPdr = new (rep.data()) pldm_state_effecter_pdr; in getEffecterID()
233 for (auto& rep : Response) in getSensorInfo() local
235 pdr = new (rep.data()) pldm_state_sensor_pdr; in getSensorInfo()
/openbmc/qemu/target/i386/emulate/
H A Dx86_emu.c471 struct x86_decode *ins), int rep) in string_rep() argument
477 if ((PREFIX_REP == rep) && !env->cc_dst) { in string_rep()
480 if ((PREFIX_REPN == rep) && env->cc_dst) { in string_rep()
501 if (decode->rep) { in exec_ins()
524 if (decode->rep) { in exec_outs()
552 if (decode->rep) { in exec_movs()
583 if (decode->rep) { in exec_cmps()
584 string_rep(env, decode, exec_cmps_single, decode->rep); in exec_cmps()
608 if (decode->rep) { in exec_stos()
634 if (decode->rep) { in exec_scas()
[all...]
H A Dx86_decode.h288 int rep;
283 int rep; global() member
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/sharutils/sharutils/
H A DCVE-2018-1000097.patch16 $ valgrind -- ./unshar /tmp/id\:000000\,sig\:06\,src\:000005+000030\,op\:splice\,rep\:4
20 ==30582== Command: ./unshar /tmp/id:000000,sig:06,src:000005+000030,op:splice,rep:4
/openbmc/bmcweb/redfish-core/lib/
H A Dmanager_diagnostic_data.hpp200 std::chrono::duration<steady_clock::rep, std::micro> usReset{ in afterGetManagerStartTime()
216 using Milli = std::chrono::duration<steady_clock::rep, std::milli>; in afterGetManagerStartTime()
/openbmc/qemu/pc-bios/optionrom/
H A Dkvmvapic.S16 # clear vapic area: firmware load using rep insb may cause
25 rep stosw
/openbmc/qemu/block/
H A Dfile-posix.c1400 g_autofree struct blk_zone_report *rep = NULL; in get_zones_wp()
1402 rep = g_malloc(rep_size); in get_zones_wp()
1403 blkz = (struct blk_zone *)(rep + 1); in get_zones_wp()
1405 memset(rep, 0, rep_size); in get_zones_wp()
1406 rep->sector = sector; in get_zones_wp()
1407 rep->nr_zones = nrz - n; in get_zones_wp()
1410 ret = ioctl(fd, BLKREPORTZONE, rep); in get_zones_wp()
1418 if (!rep->nr_zones) { in get_zones_wp()
1422 for (i = 0; i < rep->nr_zones; ++i, ++n, ++j) { in get_zones_wp()
2214 g_autofree struct blk_zone_report *rep in handle_aiocb_zone_report()
1391 g_autofree struct blk_zone_report *rep = NULL; get_zones_wp() local
2205 g_autofree struct blk_zone_report *rep = NULL; handle_aiocb_zone_report() local
[all...]
/openbmc/u-boot/lib/
H A Dbch.c746 const struct gf_poly *a, int *rep) in gf_poly_logrep() argument
752 rep[i] = a->c[i] ? mod_s(bch, a_log(bch, a->c[i])+l) : -1; in gf_poly_logrep()
759 const struct gf_poly *b, int *rep) in gf_poly_mod() argument
769 if (!rep) { in gf_poly_mod()
770 rep = bch->cache; in gf_poly_mod()
771 gf_poly_logrep(bch, b, rep); in gf_poly_mod()
779 m = rep[i]; in gf_poly_mod()
/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dcar.S119 rep stosl
/openbmc/openbmc/poky/meta/classes/
H A Duseradd.bbclass265 for rep in ["GROUPADD_PARAM", "USERADD_PARAM", "GROUPMEMS_PARAM"]:
266 val = d.getVar(rep + ":" + pkg) or ""
267 preinst = preinst.replace("${" + rep + "}", val)
/openbmc/u-boot/arch/arm/dts/
H A Dat91sam9261ek.dts139 ti,debounce-rep = /bits/ 16 <0>;
/openbmc/qemu/tcg/
H A Doptimize.c1054 int rep; in fold_masks_zosa_int() local
1093 rep = clz64(~s_mask); in fold_masks_zosa_int()
1094 rep = MAX(rep, clz64(z_mask)); in fold_masks_zosa_int()
1095 rep = MAX(rep, clz64(~o_mask)); in fold_masks_zosa_int()
1096 rep = MAX(rep - 1, 0); in fold_masks_zosa_int()
1097 ti->s_mask = INT64_MIN >> rep; in fold_masks_zosa_int()

12