Searched refs:malloc (Results 251 - 275 of 1021) sorted by relevance

<<11121314151617181920>>

/haiku/src/system/libnetwork/netresolv/net/
H A Dgetprotoent_r.c123 pd->aliases = malloc(pd->maxaliases * sizeof(char *));
/haiku/src/add-ons/accelerants/virtio/
H A Daccelerant.cpp43 gInfo = (accelerant_info *)malloc(sizeof(accelerant_info));
/haiku/src/add-ons/kernel/drivers/bus/pcmcia/
H A Dds.c9 #include <malloc.h>
379 devices = malloc(sizeof(char *) * (devices_count+1));
/haiku/src/kits/storage/disk_device/
H A DDiskDevice.cpp417 buffer = malloc(neededSize);
431 buffer = malloc(neededSize);
/haiku/src/libs/iconv/
H A Dlocalcharset.c131 file_name = (char *) malloc (dir_len + add_slash + base_len + 1);
182 res_ptr = (char *) malloc (res_size + 1);
/haiku/src/system/kernel/util/
H A DRadixBitmap.cpp167 radix_bitmap *bmp = (radix_bitmap *)malloc(sizeof(radix_bitmap));
176 bmp->root = (radix_node *)malloc(bmp->root_size * sizeof(radix_node));
/haiku/src/tests/kits/media/mpeg2_decoder_test/
H A Dmpeg2_decoder_test.cpp90 void* fileData = malloc(kReadSizeInBytes);
186 = static_cast<media_format*>(malloc(sizeof(media_format)));
/haiku/src/add-ons/translators/jpeg/
H A Dexif_parser.cpp66 char* buffer = (char*)malloc(tag.length);
89 char* buffer = (char*)malloc(tag.length);
/haiku/src/add-ons/accelerants/radeon/
H A DInitAccelerant.c21 #include <malloc.h>
35 ai = malloc( sizeof( *ai ));
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/usb/
H A Dr92eu_attach.c29 #include <sys/malloc.h>
75 rs = malloc(sizeof(struct r92e_softc), M_RTWN_PRIV, M_WAITOK | M_ZERO);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/pci/
H A Dr88ee_attach.c29 #include <sys/malloc.h>
93 rs = malloc(sizeof(struct r92c_softc), M_RTWN_PRIV, M_WAITOK | M_ZERO);
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dbitstring.h69 #include <sys/malloc.h>
123 return ((bitstr_t *)malloc(bitstr_size(_nbits), type, flags | M_ZERO));
/haiku/src/bin/bfs_tools/lib/
H A DHashtable.cpp45 if (!(fTable = (struct Entry **)malloc(capacity * sizeof(void *))))
250 if (!(newtable = (struct Entry **)malloc(newCapacity * sizeof(struct Entry *))))
/haiku/src/system/boot/loader/file_systems/amiga_ffs/
H A DFile.cpp46 void *buffer = malloc(fNode.BlockSize());
164 void *data = malloc(volume.BlockSize());
/haiku/src/tests/kits/media/mp3_decoder_test/
H A Dmp3_decoder_test.cpp88 void* fileData = malloc(kReadSizeInBytes);
223 = static_cast<media_format*>(malloc(sizeof(media_format)));
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixAddress.cpp51 sockaddr_un* newAddress = (sockaddr_un*)malloc(kEmptyAddress.sun_len);
63 *to = (sockaddr*)malloc(from->sa_len);
/haiku/src/kits/locale/
H A DCollator.cpp139 uint8_t* buffer = (uint8_t*)malloc(length * 2);
198 uint8_t* buffer = (uint8_t*)malloc(size);
H A DTimeFormat.cpp140 fieldPositions = (int*) malloc(fieldCount * sizeof(int));
180 fields = (BDateElement*) malloc(fieldCount * sizeof(BDateElement));
/haiku/src/system/runtime_loader/
H A Dheap.cpp24 /*! This is a very simple malloc()/free() implementation - it only
326 malloc(size_t size) function
371 TRACE(("malloc(%lu) -> %p\n", size, allocatedAddress));
401 void* newBuffer = malloc(newSize);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_ahb.c44 #include <sys/malloc.h>
184 malloc(fw->datasize, M_TEMP, M_WAITOK | M_ZERO);
186 device_printf(dev, "%s: can't malloc eepromdata\n",
/haiku/src/libs/compat/freebsd_iflib/
H A Dnv_impl.h55 #define nv_malloc(size) malloc((size), M_NVLIST, M_NOWAIT)
72 #define nv_malloc(size) malloc((size))
/haiku/src/system/boot/platform/efi/
H A Ddevices.cpp137 (gpt_table_header*)malloc(blockSize);
150 gpt_partition_entry *entries = (gpt_partition_entry*)malloc(size);
/haiku/src/kits/network/libnetapi/
H A DNetworkRoute.cpp272 void* buffer = malloc(size);
336 to = (sockaddr*)malloc(sizeof(sockaddr_storage));
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dbusses.cpp20 #include <malloc.h>
94 bus = (scsi_bus_info *)malloc(sizeof(*bus));
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/usb/
H A Dr88eu_attach.c33 #include <sys/malloc.h>
93 rs = malloc(sizeof(struct r92c_softc), M_RTWN_PRIV, M_WAITOK | M_ZERO);

Completed in 303 milliseconds

<<11121314151617181920>>