Searched refs:malloc (Results 1326 - 1350 of 2509) sorted by relevance
<<51525354555657585960>>
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_door.c | 117 if ((cl = malloc(sizeof (CLIENT))) == NULL || 118 (cu = malloc(sizeof (*cu))) == NULL) {
|
H A D | svc_generic.c | 49 #include <malloc.h> 530 if ((xprt->xp_rtaddr.buf = malloc(xprt->xp_rtaddr.maxlen)) == NULL) {
|
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | setproject.c | 228 (rctlblk_t *)malloc(rctlblk_size() * count)) == NULL)) { 360 if ((rnext = (rctlblk_t *)malloc(rctlblk_size())) == NULL) {
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 502 pval = malloc(pinfo.size); 530 pval = malloc(pinfo.size);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 547 pval = malloc(pinfo.size); 575 pval = malloc(pinfo.size);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | huron.c | 402 pval = malloc(pinfo.size); 430 pval = malloc(pinfo.size);
|
H A D | pelton.c | 412 pval = malloc(pinfo.size); 440 pval = malloc(pinfo.size);
|
/illumos-gate/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 121 buf = (char *)malloc(numifs * sizeof (struct ifreq)); 124 fprintf(stderr, "getmyaddrs(): malloc failed\n"); 157 ifc = malloc(sizeof (struct ifconf));
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 1081 hohaddrlist = malloc(hoaddrsize); 1096 alist[t] = malloc(hoaddrtype == AF_INET ? 4 : 16); 1450 ne->n_addr = malloc(sizeof nnet); 1688 aptr = arr = malloc(count * sizeof (char *)); 1705 arr = malloc(sizeof (char *)); 1851 char *p = malloc(len + 1); 2070 buff = malloc(size); 2102 buff = malloc(size);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _open.c | 378 fullPath = (char *)malloc(strlen(PRINTER_DIR) + strlen(printerName) + 390 (str = (char *)malloc(buf.st_size + 2)) == NULL) {
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 554 if ((str = malloc(sz)) == NULL) 585 if ((new_env = malloc(sizeof (char *) * size)) == NULL)
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | line64.c | 510 * return malloc'd, zero-terminated LDIF line 520 if (( buf = (char *)malloc( LDIF_SIZE_NEEDED( tlen, vlen ) + 1 )) != 544 * by fp. return a pointer to a malloc'd, null-terminated buffer. also 590 buf = (char *) malloc( max );
|
/illumos-gate/usr/src/cmd/users/ |
H A D | users.c | 66 * malloc Allocate memory from main memory 257 * malloc() 313 if ((rtnval = malloc(ALLOCBLKSZ)) == NULL) { 348 if ((nextblkaddr = malloc(ALLOCBLKSZ)) == NULL) {
|
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | boot_http.c | 303 if ((c_id = malloc(sizeof (*c_id))) == NULL) { 934 if ((lresp = malloc(sizeof (http_respinfo_t))) == NULL) { 998 c_id->resp.statusmsg = malloc(strlen(ptr) + 1); 1190 if ((*resp = malloc(sizeof (http_respinfo_t))) == NULL) { 1420 info = malloc(sizeof (*info)); 1596 if ((request = malloc(requestlen)) == NULL) { 1664 if ((authstr = malloc(authlen + 1)) == NULL) { 1673 if ((authencstr = malloc((authlen + 2) / 3 * 4 + 1)) == NULL) {
|
/illumos-gate/usr/src/grub/grub-0.97/lib/ |
H A D | getopt.c | 278 that we can compare them later. But we must not use malloc(3). */ 332 char *new_str = malloc (top + 1); 444 (char *) malloc (nonoption_flags_max_len);
|
/illumos-gate/usr/src/cmd/pools/poold/ |
H A D | poold.c | 528 vm_opts[nopts].optionString = malloc(len = strlen(classpath) + 535 vm_opts[nopts].optionString = malloc(len = strlen(libpath) +
|
/illumos-gate/usr/src/cmd/ptools/ptree/ |
H A D | ptree.c | 224 if ((p = malloc(sizeof (ps_t))) == NULL) { 225 perror("malloc()"); 532 if ((p0 = malloc(sizeof (ps_t))) == NULL) { 533 perror("malloc()");
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/p12split/ |
H A D | p12split.c | 181 nkeystr = malloc(nkeystrlen); 182 k_matchval = malloc(k_len);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | usb_link.c | 267 l_path = (char *)malloc(PATH_MAX); 270 devfsadm_print(debug_mid, "usb_process: malloc() failed\n"); 274 p_path = (char *)malloc(PATH_MAX); 276 devfsadm_print(debug_mid, "usb_process: malloc() failed\n");
|
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 165 temp = (mib_item_t *)malloc(sizeof (mib_item_t)); 167 perror("mibget malloc failed"); 179 last_item->valp = (char *)malloc(req->len);
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | ncform | 93 yytext = (char *) malloc(yytextsz);
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | bucket.c | 30 #include <malloc.h> 180 uncle = malloc(sizeof (struct bucketlist));
|
/illumos-gate/usr/src/cmd/audio/audiotest/ |
H A D | audiotest.c | 179 if ((sample_buf = malloc(2000000)) == NULL) { 180 perror("malloc"); 199 ccfg->data = malloc(ccfg->len); 201 perror("malloc");
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | demand.c | 84 frame = malloc(framemax); 286 pkt = (struct packet *) malloc(sizeof(struct packet) + len);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid_test.c | 345 if ((mapargp = malloc(MAPID_ARG_LEN(u8s->utf8string_len))) == NULL) { 346 (void) fprintf(stderr, "Unable to malloc %d bytes\n", 519 if ((mapargp = malloc(MAPID_ARG_LEN(u8s->utf8string_len))) == NULL) { 520 (void) fprintf(stderr, "Unable to malloc %d bytes\n",
|
Completed in 264 milliseconds
<<51525354555657585960>>