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

12345678

/fuchsia/zircon/system/dev/misc/cpu-trace/
H A Dintel-pm.c337 cpuperf_device_t* ipm = calloc(1, sizeof(*dev->cpuperf));
341 ipm_per_trace_state_t* per_trace = calloc(1, sizeof(ipm->per_trace_state[0]));
347 per_trace->buffers = calloc(num_cpus, sizeof(per_trace->buffers[0]));
/fuchsia/zircon/system/dev/usb/xhci/
H A Dxhci-device-manager.c87 ep->transfer_state = calloc(1, sizeof(xhci_transfer_state_t));
532 xhci_device_command_t* device_command = calloc(1, sizeof(xhci_device_command_t));
694 ep->transfer_state = calloc(1, sizeof(xhci_transfer_state_t));
H A Dxhci.c184 xhci->slots = (xhci_slot_t*)calloc(xhci->max_slots + 1, sizeof(xhci_slot_t));
190 xhci->rh_map = (uint8_t *)calloc(xhci->rh_num_ports, sizeof(uint8_t));
195 xhci->rh_port_map = (uint8_t *)calloc(xhci->rh_num_ports, sizeof(uint8_t));
/fuchsia/zircon/system/dev/usb/dwc2/
H A Ddwc2.c485 result = calloc(1, sizeof(*result));
601 dwc_usb_endpoint_t* ep = calloc(1, sizeof(*ep));
737 dwc_usb_endpoint_t* ctrl_endpoint = calloc(1, sizeof(*ctrl_endpoint));
1698 dwc_usb_endpoint_t* ep0 = calloc(1, sizeof(*ep0));
1747 usb_dwc = calloc(1, sizeof(*usb_dwc));
/fuchsia/zircon/system/dev/block/block/
H A Dblock.c379 if ((bdev = calloc(1, sizeof(blkdev_t))) == NULL) {
/fuchsia/zircon/system/dev/bus/acpi/
H A Ddev-ec.c472 acpi_ec_device_t* dev = calloc(1, sizeof(acpi_ec_device_t));
H A Ddev-battery.c328 acpi_battery_device_t* dev = calloc(1, sizeof(acpi_battery_device_t));
H A Dpci.c369 res = calloc(1, obj_size);
/fuchsia/zircon/system/dev/bus/pci/
H A Dkpci.c299 kpci_device_t* device = calloc(1, sizeof(kpci_device_t));
H A Dproxy.c377 kpci_device_t* device = calloc(1, sizeof(kpci_device_t));
/fuchsia/zircon/system/dev/ethernet/intel-ethernet/
H A Dethernet.c229 if ((edev = calloc(1, sizeof(ethernet_device_t))) == NULL) {
/fuchsia/zircon/system/dev/i2c/intel-i2c/
H A Dintel-i2c-slave.c341 calloc(segment_count, sizeof(*segments));
H A Dintel-i2c-controller.c163 slave = calloc(1, sizeof(*slave));
824 intel_serialio_i2c_device_t* device = calloc(1, sizeof(*device));
/fuchsia/zircon/system/dev/input/usb-hid/
H A Dusb-hid.c243 usb_hid_device_t* usbhid = calloc(1, sizeof(usb_hid_device_t));
/fuchsia/zircon/system/dev/misc/pty/
H A Dpty-core.c284 if ((pc = calloc(1, sizeof(pty_client_t))) == NULL) {
/fuchsia/zircon/system/dev/serial/ftdi/
H A Dftdi.c384 ftdi_t* ftdi = calloc(1, sizeof(ftdi_t));
/fuchsia/zircon/system/dev/serial/serial/
H A Dserial.c353 serial_port_t* port = calloc(1, sizeof(serial_port_t));
/fuchsia/zircon/system/ulib/fdio/
H A Dprivate.h269 void* ptr = calloc(1, sz);
/fuchsia/zircon/system/ulib/test-utils/
H A Dtest-utils.c33 void* result = calloc(nmemb, size);
36 unittest_printf_critical("out of memory trying to calloc(%zu, %zu)\n", nmemb, size);
/fuchsia/zircon/third_party/lib/acpica/source/os_specific/service_layers/
H A Dosunixxf.c658 Mem = (void *) calloc (1, (size_t) size);
H A Doswinxf.c656 Mem = (void *) calloc (1, (size_t) Size);
/fuchsia/zircon/kernel/lib/gfx/
H A Dgfx.cpp496 gfx_surface* surface = static_cast<gfx_surface*>(calloc(1, sizeof(*surface)));
588 gfx_surface* surface = static_cast<gfx_surface*>(calloc(1, sizeof(*surface)));
/fuchsia/zircon/system/dev/input/hid/
H A Dhid.c682 hid_instance_t* inst = calloc(1, sizeof(hid_instance_t));
834 if ((hiddev = calloc(1, sizeof(hid_device_t))) == NULL) {
/fuchsia/zircon/system/dev/input/pc-ps2/
H A Di8042.c802 i8042_device_t* kbd_device = calloc(1, sizeof(i8042_device_t));
816 mouse_device = calloc(1, sizeof(i8042_device_t));
/fuchsia/zircon/system/dev/usb/usb-bus/
H A Dusb-device.c592 usb_device_t* dev = calloc(1, sizeof(usb_device_t));
617 usb_configuration_descriptor_t** configs = calloc(num_configurations,

Completed in 271 milliseconds

12345678