Searched refs:xmalloc (Results 1 - 25 of 36) sorted by relevance

12

/vbox/src/libs/xpcom18a4/nsprpub/config/
H A Dpathsub.h67 extern void *xmalloc(size_t size);
H A Dnsinstall.c283 toname = (char*)xmalloc(tdlen + 1 + bnlen + 1);
305 linkname = (char*)xmalloc(len + 1);
309 linkname = (char*)xmalloc(PATH_MAX);
507 xmalloc(size_t size) function
518 return strcpy((char*)xmalloc(strlen(s) + 1), s);
/vbox/src/VBox/RDP/client-1.8.3/
H A Dprintercache.c54 path = (char *) xmalloc(strlen(base) + sizeof("/.rdesktop/rdpdr/") + strlen(printer) + 1);
98 path = (char *) xmalloc(strlen(home) + sizeof("/.rdesktop/rdpdr/") + strlen(printer) +
143 printer_path = (char *) xmalloc(printer_maxlen);
144 new_printer_path = (char *) xmalloc(printer_maxlen);
179 path = (char *) xmalloc(strlen(home) + sizeof("/.rdesktop/rdpdr/") + strlen(printer_name) +
196 *data = (uint8 *) xmalloc(st.st_size);
219 path = (char *) xmalloc(strlen(home) + sizeof("/.rdesktop/rdpdr/") + strlen(printer_name) +
H A Drdpsnd_dsp.c215 tmpdata = (unsigned char *) xmalloc(newsize);
246 tmpdata = (unsigned char *) xmalloc(size * 2);
273 infloat = (float *) xmalloc(sizeof(float) * innum);
274 outfloat = (float *) xmalloc(sizeof(float) * outnum);
292 *out = (unsigned char *) xmalloc(outsize);
308 *out = (unsigned char *) xmalloc(outsize);
424 out.data = (unsigned char *) xmalloc(size);
H A Dprinter.c71 pprinter_data = (PRINTER *) xmalloc(sizeof(PRINTER));
87 pprinter_data->printer = xmalloc(strlen(optarg) + 1);
95 pprinter_data->driver = xmalloc(strlen(pos2) + 1);
H A Dutils.c67 pe = e = xmalloc(es);
95 ns = xmalloc(strlen(str) + 1);
H A Dparallel.c64 ppar_info = (PARALLEL_DEVICE *) xmalloc(sizeof(PARALLEL_DEVICE));
71 g_rdpdr_device[*id].local_path = xmalloc(strlen(pos2) + 1);
H A Dcliprdr.c98 last_formats = xmalloc(formats_data_length);
H A Dlspci.c147 buf = xmalloc(pkglen + 1);
H A Dewmhints.c466 new_set = xmalloc((nitems + width * height + 2) * sizeof(unsigned long));
474 new_set = xmalloc((width * height + 2) * sizeof(unsigned long));
528 new_set = xmalloc((nitems - icon_size) * sizeof(unsigned long));
H A Dtcp.c414 s->data = s->p = xmalloc(s->size);
527 g_in.data = (uint8 *) xmalloc(g_in.size);
532 g_out[i].data = (uint8 *) xmalloc(g_out[i].size);
H A Dpstcache.c78 celldata = (uint8 *) xmalloc(cellhdr.length);
H A Drdesktop.c650 g_username = (char *) xmalloc(strlen(optarg) + 1);
939 g_rdpdr_clientname = xmalloc(strlen(optarg + 11) + 1);
1091 g_username = (char *) xmalloc(pwlen);
1201 g_username = (char *) xmalloc(strlen(g_redirect_username) + 1);
1395 xmalloc(int size) function
1400 error("xmalloc %d\n", size);
1629 buf = (char *) xmalloc(buflen);
1660 *rest = (char *) xmalloc(restlen);
1793 *data = (uint8 *) xmalloc(st.st_size);
H A Dorders.c573 points = (RD_POINT *) xmalloc((os->npoints + 1) * sizeof(RD_POINT));
661 points = (RD_POINT *) xmalloc((os->npoints + 1) * sizeof(RD_POINT));
738 points = (RD_POINT *) xmalloc((os->lines + 1) * sizeof(RD_POINT));
946 inverted = (uint8 *) xmalloc(width * height * Bpp);
999 bmpdata = (uint8 *) xmalloc(width * height * Bpp);
1059 bmpdata = (uint8 *) xmalloc(width * height * Bpp);
1107 map.colours = (COLOURENTRY *) xmalloc(sizeof(COLOURENTRY) * map.ncolours);
1217 brush_data.data = xmalloc(8);
1238 brush_data.data = xmalloc(8 * 8 * Bpp);
H A Drdpdr.c163 g_iorequest = (struct async_iorequest *) xmalloc(sizeof(struct async_iorequest));
178 (struct async_iorequest *) xmalloc(sizeof(struct async_iorequest));
389 buffer = (uint8 *) xmalloc(1024);
514 pst_buf = (uint8 *) xmalloc(length);
560 pst_buf = (uint8 *) xmalloc(length);
H A Drdp.c296 *string = xmalloc(in_len * 2);
1311 bmpdata = (uint8 *) xmalloc(width * height * Bpp);
1334 bmpdata = (uint8 *) xmalloc(width * height * Bpp);
1361 map.colours = (COLOURENTRY *) xmalloc(sizeof(COLOURENTRY) * map.ncolours);
1623 g_redirect_lb_info = xmalloc(g_redirect_lb_info_len);
1659 g_redirect_cookie = xmalloc(g_redirect_cookie_len);
H A Dcssp.c76 out = xmalloc(sizeof(struct stream));
78 out->data = xmalloc(size);
212 out->data = out->p = xmalloc(outbuf.length);
243 out->data = out->p = xmalloc(outbuf.length);
H A Dserial.c538 pser_inf = (SERIAL_DEVICE *) xmalloc(sizeof(SERIAL_DEVICE));
539 pser_inf->ptermios = (struct termios *) xmalloc(sizeof(struct termios));
541 pser_inf->pold_termios = (struct termios *) xmalloc(sizeof(struct termios));
549 g_rdpdr_device[*id].local_path = xmalloc(strlen(pos2) + 1);
H A Dxclip.c190 result = xmalloc((*size * 2) + 2);
225 result = xmalloc(*length * 2);
382 unicode_buffer = xmalloc(unicode_buffer_size);
981 formats_data = xmalloc(length);
H A Dxkeymap.c134 entry = (key_translation_entry *) xmalloc(sizeof(key_translation_entry));
188 entry->tr = (key_translation *) xmalloc(sizeof(key_translation));
252 tr = (key_translation *) xmalloc(sizeof(key_translation));
330 result = xmalloc(PATH_MAX * 2 + 1);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/libWine/
H A Dconfig.c91 static void *xmalloc( size_t size ) function
104 char *res = xmalloc( len );
120 char *ret = xmalloc( len + strlen(name) + 2 );
140 libdir = xmalloc( len + 1 );
180 bindir = xmalloc( len + 1 );
216 server_dir = xmalloc( sizeof(server_root_prefix) + 32 + sizeof(server_dir_prefix) +
286 config_dir = xmalloc( strlen(home) + sizeof(server_config_dir) );
341 path = xmalloc( p - basedir + sizeof("/dlls/ntdll/ntdll.dll.so") );
470 full_name = xmalloc( p - argv[0] + sizeof(preloader) );
476 new_argv = xmalloc( (last_ar
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Delf2efi.c111 static void * xmalloc ( size_t len ) { function
171 pe_rel = xmalloc ( sizeof ( *pe_rel ) );
184 relocs = xmalloc ( pe_rel->total_relocs *
277 symtab = xmalloc ( symtab_size );
310 reltab = xmalloc ( reltab_size );
362 new = xmalloc ( sizeof ( *new ) + section_filesz );
517 reloc = xmalloc ( sizeof ( *reloc ) + section_filesz );
566 debug = xmalloc ( sizeof ( *debug ) + section_filesz );
H A Defirom.c47 static void * xmalloc ( size_t len ) { function
125 buf = xmalloc ( rom_size );
/vbox/src/VBox/Additions/x11/x11include/xproto-7.0.18/X11/
H A DXthreads.h33 # ifndef xmalloc
34 # define xmalloc malloc macro
282 # define xcondition_malloc() (xcondition_t)xmalloc(sizeof(xcondition_rec))
288 # define xmutex_malloc() (xmutex_t)xmalloc(sizeof(xmutex_rec))
/vbox/src/VBox/RDP/client-1.8.3/vrdp/
H A Drdpusb.c269 pBuf = (char *)xmalloc(cbBuf);
493 proxy = (PUSBPROXYDEV )xmalloc (sizeof (USBPROXYDEV));
502 proxy->pvInstanceDataR3 = xmalloc(g_USBProxyDeviceHost.cbBackend);
705 pUrb = (PVUSBURB)xmalloc (sizeof (VUSBURB) +

Completed in 129 milliseconds

12