/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | duckduckgo_request.cpp | 13 #include <malloc.h> 60 url = (char*)malloc(strlen(BASEURL)+strlen(FMT_NUM)+10+strlen(FMT_Q)+strlen(p)+2); 97 cnx->data = malloc(cnx->datalen); 152 r = (duckduckgo_request*)malloc(sizeof(struct duckduckgo_request));
|
H A D | vnidpool.c | 6 #include <malloc.h> 30 p = malloc(sizeof(struct vnidpool) + size / sizeof(BMT));
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | settings_tools.cpp | 12 #include <malloc.h> 38 malloc(ret->parameter_count * sizeof(driver_parameter)); 92 driver_settings *settings = (driver_settings*) malloc(sizeof(driver_settings)); 102 driver_parameter *parameter = (driver_parameter*) malloc(sizeof(driver_parameter)); 126 to->values = (char**) malloc(from->value_count * sizeof(char*)); 137 (driver_parameter*) malloc(to->parameter_count * sizeof(driver_parameter)); 175 to->values = (char**) malloc((oldCount + 1) * sizeof(char*)); 200 (driver_parameter*) malloc((oldCount + 1) * sizeof(driver_parameter));
|
/haiku/headers/private/media/ |
H A D | TList.h | 13 items((value **)malloc(sizeof(value *) * INIT_COUNT)) 35 items = (value **)malloc(sizeof(value *) * item_max);
|
/haiku/src/kits/interface/textview_support/ |
H A D | UndoBuffer.cpp | 40 fTextData = (char*)malloc(fTextLength); 134 fPasteText = (char*)malloc(fPasteTextLength); 205 fDropText = (char*)malloc(fDropTextLength); 274 fTypedText = (char*)malloc(len); 317 fTextData = (char*)malloc(fTextLength); 343 char* buffer = (char*)malloc(fTextLength + charLen); 374 fTextData = (char*)malloc(fTextLength); 384 // copy (malloc + memcpy vs realloc + memmove). 387 char* buffer = (char*)malloc(newLength);
|
/haiku/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | driver.cpp | 19 #include <malloc.h> 70 gDeviceInfo[0] = (vesa_info*)malloc(sizeof(vesa_info));
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | malloc.h | 10 #include <malloc.h> 20 * flags to malloc. 57 # define malloc(size, tag, flags) kernel_malloc(size, tag, flags) macro
|
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | firewire_module.cpp | 16 #include <malloc.h> 149 pci_info *info = (pci_info*)malloc(sizeof(pci_info)); 177 fwohci_sc = (fwohci_softc_t*)malloc(sizeof(fwohci_softc_t)); 185 fw_sc = (firewire_softc*)malloc(sizeof(struct firewire_softc)); 197 info = (pci_info*)malloc(sizeof(pci_info));
|
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | accelerant.cpp | 64 gInfo = (accelerant_info*)malloc(sizeof(accelerant_info)); 72 // malloc memory for active display information 74 gDisplay[id] = (display_info*)malloc(sizeof(display_info)); 79 gDisplay[id]->regs = (register_info*)malloc(sizeof(register_info)); 85 // malloc for possible physical card connectors 87 gConnector[id] = (connector_info*)malloc(sizeof(connector_info)); 99 // malloc for card gpio pin information 101 gGPIOInfo[id] = (gpio_info*)malloc(sizeof(gpio_info));
|
/haiku/src/bin/unzip/ |
H A D | envargs.c | 72 bufptr = malloc(1 + strlen(envptr)); 95 argv = (char **)malloc((argc + *Pargc + 1) * sizeof(char *)); 303 newargv = (char **) malloc(sizeof(char **) * (newargc+1)); 305 return; /* malloc failed */
|
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/ |
H A D | AdaptiveBuffering.cpp | 65 fReadBytes = (size_t*)malloc(fBufferCount * sizeof(size_t)); 69 fBuffers = (uint8**)malloc(fBufferCount * sizeof(uint8*)); 74 fBuffers[i] = (uint8*)malloc(fMaxBufferSize);
|
/haiku/src/system/runtime_loader/ |
H A D | elf_symbol_lookup.h | 67 fValues = (addr_t*)malloc(sizeof(addr_t) * fTableSize); 68 fDSOs = (image_t**)malloc(sizeof(image_t*) * fTableSize); 71 fValuesResolved = (uint32*)malloc(4 * elementCount);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_dfs/null/ |
H A D | dfs_null.c | 48 #include <sys/malloc.h> 235 indata = malloc(insize, M_TEMP, M_NOWAIT); 252 outdata = malloc(outsize, M_TEMP, M_NOWAIT);
|
/haiku/src/add-ons/kernel/bus_managers/usb/ |
H A D | PhysicalMemoryAllocator.cpp | 9 #include <malloc.h> 46 fArray = (uint8 **)malloc(size); 50 fBlockSize = (size_t *)malloc(size); 51 fArrayLength = (size_t *)malloc(size); 52 fArrayOffset = (size_t *)malloc(size); 62 fArray[i] = (uint8 *)malloc(size);
|
/haiku/headers/cpp/ |
H A D | stl_tempbuf.h | 45 _Tp* __tmp = (_Tp*) malloc((size_t)__len * sizeof(_Tp)); 93 _M_buffer = (_Tp*) malloc(_M_len * sizeof(_Tp));
|
/haiku/src/apps/resedit/ |
H A D | ResourceData.cpp | 106 fData = (char *)malloc(fLength); 160 fData = (char *)malloc(size);
|
/haiku/src/system/kernel/util/ |
H A D | queue.cpp | 10 #include <malloc.h> 116 q->table = (void**)malloc(size * sizeof(void *));
|
/haiku/src/tests/system/libroot/posix/ |
H A D | memalign_test.cpp | 4 #include <malloc.h> 51 allocations[i] = malloc(sizes[i]);
|
/haiku/src/system/libnetwork/ |
H A D | interfaces.cpp | 96 ifreq* interfaces = (ifreq*)malloc(count * sizeof(struct ifreq)); 107 struct if_nameindex* interfaceArray = (struct if_nameindex*)malloc(
|
/haiku/src/tests/add-ons/accelerants/intel_extreme/ |
H A D | PllTest.cpp | 69 gInfo = (accelerant_info*)malloc(sizeof(accelerant_info)); 71 fprintf(stderr, "Unable to malloc artificial gInfo!\n"); 75 gInfo->shared_info = (intel_shared_info*)malloc(sizeof(intel_shared_info)); 77 fprintf(stderr, "Unable to malloc shared_info!\n");
|
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | cache.cpp | 16 #include <malloc.h> 83 void* buffer = malloc(sBlockSize);
|
/haiku/headers/private/debugger/types/ |
H A D | ValueLocation.h | 77 void* tempValue = malloc(size); 130 char* valueData = (char*)malloc(size);
|
/haiku/src/add-ons/kernel/drivers/network/ether/wb840/ |
H A D | driver.c | 63 item = (pci_info*)malloc(sizeof(pci_info)); 79 item = (pci_info *)malloc(sizeof(pci_info));
|
/haiku/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | Request.cpp | 47 void* buffer = malloc(sizeof(RequestBuffer) + dataSize);
|
/haiku/src/add-ons/kernel/file_systems/nfs/ |
H A D | RPCPendingCalls.h | 5 #include <malloc.h>
|