Searched refs:calloc (Results 176 - 194 of 194) sorted by relevance

12345678

/fuchsia/zircon/system/dev/block/usb-mass-storage/
H A Dusb-mass-storage.c726 ums_t* ums = calloc(1, sizeof(ums_t) + (max_lun + 1) * sizeof(ums_block_t));
/fuchsia/zircon/system/dev/bluetooth/bt-transport-usb/
H A Dbt-transport-usb.c610 hci_t* hci = calloc(1, sizeof(hci_t));
/fuchsia/zircon/system/dev/display/vim-display/
H A Dvim-display.cpp618 vim2_display_t* display = static_cast<vim2_display_t*>(calloc(1, sizeof(vim2_display_t)));
/fuchsia/zircon/system/dev/ethernet/asix-88772b/
H A Dasix-88772b.c642 ax88772b_t* eth = calloc(1, sizeof(ax88772b_t));
/fuchsia/zircon/system/dev/ethernet/usb-cdc-ecm/
H A Dusb-cdc-ecm.c527 ecm_ctx_t* ecm_ctx = calloc(1, sizeof(ecm_ctx_t));
/fuchsia/zircon/system/dev/ethernet/usb-cdc-function/
H A Dcdc-eth-function.c546 usb_cdc_t* cdc = calloc(1, sizeof(usb_cdc_t));
/fuchsia/zircon/system/dev/nand/aml-rawnand/
H A Daml-rawnand.c1021 aml_raw_nand_t* raw_nand = calloc(1, sizeof(aml_raw_nand_t));
/fuchsia/zircon/system/ulib/fdio/
H A Dsocket.c837 zxsio_t* sio = calloc(1, sizeof(*sio));
H A Dunistd.c1811 DIR* dir = calloc(1, sizeof(*dir));
/fuchsia/zircon/system/ulib/gfx/
H A Dgfx.c618 gfx_surface* surface = calloc(1, sizeof(*surface));
/fuchsia/zircon/system/dev/block/aml-sd-emmc/
H A Daml-sd-emmc.c965 aml_sd_emmc_t* dev = calloc(1, sizeof(aml_sd_emmc_t));
/fuchsia/zircon/system/dev/block/imx-sdhci/
H A Dimx-sdhci.c1118 imx_sdhci_device_t* dev = calloc(1, sizeof(imx_sdhci_device_t));
/fuchsia/zircon/system/dev/block/nvme/
H A Dnvme.c1081 if ((nvme = calloc(1, sizeof(nvme_device_t))) == NULL) {
/fuchsia/zircon/system/dev/ethernet/asix-88179/
H A Dasix-88179.c932 ax88179_t* eth = calloc(1, sizeof(ax88179_t));
/fuchsia/zircon/system/ulib/launchpad/
H A Dlaunchpad.c71 // Returned when calloc() fails on create, so callers
122 launchpad_t* lp = calloc(1, sizeof(*lp));
/fuchsia/zircon/system/utest/core/channel/
H A Dchannel.c373 bool* received_flags = calloc(multithread_read_num_messages, sizeof(bool));
/fuchsia/zircon/system/utest/core/socket/
H A Dsocket.c772 void* buffer = calloc(buffer_size, 1u);
/fuchsia/zircon/third_party/ulib/lz4/
H A Dlz4frame.c52 #include <stdlib.h> /* malloc, calloc, free */
53 #define ALLOCATOR(s) calloc(1,s)
H A Dlz4.c107 #include <stdlib.h> /* malloc, calloc, free */
108 #define ALLOCATOR(n,s) calloc(n,s)
684 void* ctxPtr = ALLOCATOR(1, sizeof(LZ4_stream_t)); /* malloc-calloc always properly aligned */
919 void* ctx = ALLOCATOR(1, sizeof(LZ4_stream_t)); /* malloc-calloc always properly aligned */

Completed in 109 milliseconds

12345678