Home
last modified time | relevance | path

Searched refs:calloc (Results 1 – 25 of 206) sorted by relevance

123456789

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rsyslog/librelp/
H A D0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch5 (`-Werror=calloc-transposed-args`)
8 detected minor infelicity in `calloc()` API usage
12 …relp.c:101:39: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in th…
13 101 | CHKmalloc(epd = calloc(sizeof(epolld_t), 1));
30 - CHKmalloc(epd = calloc(sizeof(epolld_t), 1));
31 + CHKmalloc(epd = calloc(1, sizeof(epolld_t)));
/openbmc/qemu/tests/tcg/multiarch/
H A Dthreadcount.c44 threads = calloc(sizeof(pthread_t), max_threads); in main()
47 ThreadArg *arg = calloc(sizeof(ThreadArg), 1); in main()
H A Dsignals.c77 threads = calloc(sizeof(pthread_t), max_threads); in spawn_threads()
80 ThreadJob *job = calloc(sizeof(ThreadJob), 1); in spawn_threads()
/openbmc/u-boot/lib/zlib/
H A Dzutil.c51 extern voidp calloc OF((uInt items, uInt size));
61 (voidpf)calloc(items, size); in zcalloc()
/openbmc/libcper/sections/
H A Dcper-section-ampere.c20 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_ampere_to_ir()
48 EFI_AMPERE_ERROR_DATA *section_cper = (EFI_AMPERE_ERROR_DATA *)calloc( in ir_section_ampere_to_cper()
H A Dcper-section-firmware.c26 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_firmware_to_ir()
66 (EFI_FIRMWARE_ERROR_DATA *)calloc( in ir_section_firmware_to_cper()
H A Dcper-section-dmar-generic.c27 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_dmar_generic_to_ir()
90 (EFI_DMAR_GENERIC_ERROR_DATA *)calloc( in ir_section_dmar_generic_to_cper()
H A Dcper-section-ccix-per.c28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_ccix_per_to_ir()
85 EFI_CCIX_PER_LOG_DATA *section_cper = (EFI_CCIX_PER_LOG_DATA *)calloc( in ir_section_ccix_per_to_cper()
H A Dcper-section-dmar-iommu.c28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_dmar_iommu_to_ir()
81 (EFI_IOMMU_DMAR_ERROR_DATA *)calloc( in ir_section_dmar_iommu_to_cper()
H A Dcper-section-nvidia.c145 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_nvidia_to_ir()
152 char *property_desc = calloc(1, EFI_ERROR_DESCRIPTION_STRING_LEN); in cper_section_nvidia_to_ir()
241 (EFI_NVIDIA_ERROR_DATA *)calloc(1, section_sz); in ir_section_nvidia_to_cper()
H A Dcper-section-pci-bus.c28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_pci_bus_to_ir()
117 (EFI_PCI_PCIX_BUS_ERROR_DATA *)calloc( in ir_section_pci_bus_to_cper()
H A Dcper-section-cxl-component.c28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_cxl_component_to_ir()
109 (EFI_CXL_COMPONENT_EVENT_HEADER *)calloc( in ir_section_cxl_component_to_cper()
H A Dcper-section-pci-dev.c27 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_pci_dev_to_ir()
123 (EFI_PCI_PCIX_DEVICE_ERROR_DATA *)calloc( in ir_section_pci_dev_to_cper()
H A Dcper-section-generic.c29 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_generic_to_ir()
154 (EFI_PROCESSOR_GENERIC_ERROR_DATA *)calloc( in ir_section_generic_to_cper()
/openbmc/qemu/ebpf/
H A Drss.bpf.skeleton.h56 obj = (struct rss_bpf *)calloc(1, sizeof(*obj)); in rss_bpf__open_opts()
127 s = (struct bpf_object_skeleton *)calloc(1, sizeof(*s)); in rss_bpf__create_skeleton()
140 s->maps = (struct bpf_map_skeleton *)calloc(s->map_cnt, s->map_skel_sz); in rss_bpf__create_skeleton()
158 s->progs = (struct bpf_prog_skeleton *)calloc(s->prog_cnt, s->prog_skel_sz); in rss_bpf__create_skeleton()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/
H A D0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch60 -void* calloc(size_t num, size_t size) noexcept
61 +void* calloc(size_t num, size_t size) NOEXECPT
63 if (!hooks::calloc) {
65 @@ -235,7 +241,7 @@ void* calloc(size_t num, size_t size) noexcept
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/geis/
H A D0001-provide-function-declaration-with-prototypes.patch132 Geis geis = calloc(1, sizeof(struct _Geis));
144 CallbackInfoBag cbib = calloc(1, sizeof(struct CallbackInfoBag));
153 GeisBackendMultiplexor mx = calloc(1, sizeof(struct _GeisBackendMultiplexor));
179 GeisGestureClassBag bag = calloc(1, sizeof(struct _GeisGestureClassBag));
205 GeisDeviceBag bag = calloc(1, sizeof(struct _GeisDeviceBag));
231 GeisEventQueue queue = calloc(1, sizeof(struct _GeisEventQueue));
257 GeisFilterBag bag = calloc(1, sizeof(struct _GeisFilterBag));
283 FilterableAttributeBag bag = calloc(1, sizeof(struct FilterableAttributeBag));
309 GeisFrameSet frameset = calloc(1, sizeof(struct _GeisFrameSet));
335 GeisGroupSet groupset = calloc(1, sizeof(struct _GeisGroupSet));
[all …]
/openbmc/obmc-console/test/
H A Dtest-config-resolve-console-id.c32 ctx = calloc(1, sizeof(*ctx)); in test_independence_cmdline_optarg()
75 ctx = calloc(1, sizeof(*ctx)); in test_independence_default()
/openbmc/libmctp/tests/
H A Dtest_astlpc.c205 ctx->lpc_mem = calloc(1, 1 * 1024 * 1024); in network_init()
449 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_version_host_fails_negotiation()
480 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_version_bmc_fails_negotiation()
518 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_simple_init()
562 ctx.lpc_mem = calloc(1, LPC_WIN_SIZE); in astlpc_test_simple_indirect_message_bmc_to_host()
683 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_poll_not_ready()
709 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_undefined_command()
874 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_buffers_bad_host_proposal()
913 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_buffers_bad_bmc_proposal()
947 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_buffers_bad_bmc_negotiation()
[all …]
/openbmc/phosphor-objmgr/libmapper/test/
H A Dutils.c10 char** ret = calloc(len + 1, sizeof(*ret)); in generate_test_sarray()
/openbmc/u-boot/scripts/coccinelle/null/
H A Dkmerr.cocci40 *x@p1 = \(malloc\|calloc\)(...);
56 x@p1 = \(malloc\|calloc\)(...);
/openbmc/obmc-console/
H A Dconsole-mux.c63 char *word = calloc(length + 1, 1); in extract_mux_gpio_name()
159 server->mux = calloc(1, sizeof(struct console_mux)); in console_server_mux_init()
165 server->mux->mux_gpios = calloc(ngpios, sizeof(struct console_gpio)); in console_server_mux_init()
/openbmc/u-boot/include/
H A Dmalloc.h862 #pragma weak calloc = __libc_calloc macro
880 void *calloc(size_t nmemb, size_t size);
897 # define cALLOc calloc
/openbmc/phosphor-mboxd/
H A Dmboxctl.c197 resp.args = calloc(resp.num_args, sizeof(*resp.args)); in handle_cmd_daemon_state()
230 resp.args = calloc(resp.num_args, sizeof(*resp.args)); in handle_cmd_lpc_state()
328 msg.args = calloc(msg.num_args, sizeof(*msg.args)); in handle_cmd_resume()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/7zip/bit7z/
H A D0001-Fix-reinterpret-cast-compiler-errors.patch34 - auto* bstrBuffer = static_cast< byte_t* >( std::calloc( bufferSize, sizeof( byte_t ) ) );
35 + auto* bstrBuffer = static_cast< bstr_prefix_t* >( std::calloc( bufferSize, sizeof( byte_t ) ) …

123456789