/fuchsia/zircon/system/dev/misc/cpu-trace/ |
H A D | intel-pm.c | 337 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 D | xhci-device-manager.c | 87 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 D | xhci.c | 184 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 D | dwc2.c | 485 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 D | block.c | 379 if ((bdev = calloc(1, sizeof(blkdev_t))) == NULL) {
|
/fuchsia/zircon/system/dev/bus/acpi/ |
H A D | dev-ec.c | 472 acpi_ec_device_t* dev = calloc(1, sizeof(acpi_ec_device_t));
|
H A D | dev-battery.c | 328 acpi_battery_device_t* dev = calloc(1, sizeof(acpi_battery_device_t));
|
H A D | pci.c | 369 res = calloc(1, obj_size);
|
/fuchsia/zircon/system/dev/bus/pci/ |
H A D | kpci.c | 299 kpci_device_t* device = calloc(1, sizeof(kpci_device_t));
|
H A D | proxy.c | 377 kpci_device_t* device = calloc(1, sizeof(kpci_device_t));
|
/fuchsia/zircon/system/dev/ethernet/intel-ethernet/ |
H A D | ethernet.c | 229 if ((edev = calloc(1, sizeof(ethernet_device_t))) == NULL) {
|
/fuchsia/zircon/system/dev/i2c/intel-i2c/ |
H A D | intel-i2c-slave.c | 341 calloc(segment_count, sizeof(*segments));
|
H A D | intel-i2c-controller.c | 163 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 D | usb-hid.c | 243 usb_hid_device_t* usbhid = calloc(1, sizeof(usb_hid_device_t));
|
/fuchsia/zircon/system/dev/misc/pty/ |
H A D | pty-core.c | 284 if ((pc = calloc(1, sizeof(pty_client_t))) == NULL) {
|
/fuchsia/zircon/system/dev/serial/ftdi/ |
H A D | ftdi.c | 384 ftdi_t* ftdi = calloc(1, sizeof(ftdi_t));
|
/fuchsia/zircon/system/dev/serial/serial/ |
H A D | serial.c | 353 serial_port_t* port = calloc(1, sizeof(serial_port_t));
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | private.h | 269 void* ptr = calloc(1, sz);
|
/fuchsia/zircon/system/ulib/test-utils/ |
H A D | test-utils.c | 33 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 D | osunixxf.c | 658 Mem = (void *) calloc (1, (size_t) size);
|
H A D | oswinxf.c | 656 Mem = (void *) calloc (1, (size_t) Size);
|
/fuchsia/zircon/kernel/lib/gfx/ |
H A D | gfx.cpp | 496 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 D | hid.c | 682 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 D | i8042.c | 802 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 D | usb-device.c | 592 usb_device_t* dev = calloc(1, sizeof(usb_device_t)); 617 usb_configuration_descriptor_t** configs = calloc(num_configurations,
|