Searched refs:malloc (Results 1126 - 1150 of 2509) sorted by relevance

<<41424344454647484950>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgic_opt.c304 newpad = malloc(newsize);
396 p = malloc(allocsize);
H A Dwalk_rtree.c167 if ((cap_client = (char *)malloc(client->length + 1)) == NULL)
171 if ((cap_server = (char *)malloc(server->length + 1)) == NULL) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dchangepw.c140 local_kaddr.contents = malloc(addrs[0]->length);
311 result_code_string->data = malloc(result_code_string->length);
/illumos-gate/usr/src/lib/libsctp/common/
H A Dsctp.c135 if ((*addrs = malloc(bufsz)) == NULL) {
196 if ((*addrs = malloc(bufsz)) == NULL) {
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dsecdb.c336 if ((len > 0) && ((newstr = (char *)malloc(len + 1)) != NULL)) {
365 if ((spc = (char **)malloc((ncommas + 2) * sizeof (char *))) == NULL) {
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Drap.c209 rap = malloc(sizeof (*rap));
225 rap->r_pbuf = rap->r_npbuf = malloc(len);
H A Drq.c80 rqp = malloc(sizeof (*rqp));
294 krq = (smbioc_t2rq_t *)malloc(sizeof (smbioc_t2rq_t));
/illumos-gate/usr/src/lib/libeti/form/inc/
H A Dutility.h74 #define Alloc(x, t) ((x = (t *) malloc(sizeof (t))) != (t *)0)
75 #define arrayAlloc(x, n, t) ((x = (t *) malloc((n) * sizeof (t))) != \
/illumos-gate/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c187 nv_elems = (nvlist_t **)malloc(num * sizeof (nvlist_t *));
233 p = malloc(sizeof (fru_regdef_t));
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_format.c341 if ((obuf = (uchar_t *)malloc((size_t)cyl_size)) == 0) {
342 PERROR("car't malloc verify buffer");
370 if ((fbuf = (uchar_t *)malloc((unsigned)(4 * spt))) == 0) {
371 PERROR("Could not malloc format header buffer");
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dprobe_cntl.c277 arg_p = (args_t *)malloc(sizeof (args_t));
309 arg_p = (args_t *)malloc(sizeof (args_t));
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c140 new = (struct mnttab *)malloc(sizeof (*new));
186 mntl = (struct mntlist *)malloc(sizeof (*mntl));
H A Dmisc.c273 * malloc, strlen.
299 if ((*version = malloc(ver_len)) == NULL) {
438 if ((range = malloc(sizeof (m_range_t))) == NULL) {
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dslk.c213 p = (char *)malloc(_LABEL_LENGTH_MALLOC);
406 p = (char *)malloc(_LABEL_LENGTH_MALLOC);
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dgetzoneent.c112 if ((ze = malloc(sizeof (struct zoneent))) == NULL)
304 tmp_file_name = malloc(tlen);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_generic.c54 #include <malloc.h>
268 handle = malloc(sizeof (struct handle));
H A Drpc_prot.c51 #include <malloc.h>
201 oa->oa_base = malloc(oa->oa_length);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Derie.c272 pval = malloc(pinfo.size);
300 pval = malloc(pinfo.size);
/illumos-gate/usr/src/lib/libreparse/common/
H A Dfs_reparse_lib.c106 if ((buf = malloc(buflen)) == NULL)
217 if ((buf = malloc(bufsz)) == NULL)
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetnetent.c284 net_data->nw_data = malloc(sizeof (struct pvt));
313 net_data->nw_data = malloc(sizeof (struct pvt));
H A Dlcl_nw.c247 if ((ndbuf = malloc(bufsiz + GROWBUF)) != NULL)
335 res = (struct __res_state *)malloc(sizeof *res);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A D_times_power.c28 #include <malloc.h>
81 * insufficient to hold the product, and malloc failed to
85 * was allocated by malloc. newbf holds the product.
177 mallocresult = malloc(mallocarg);
179 printf(" malloc arg %X result %X \n", mallocarg, (int) mallocresult);
H A Dstrftime.c49 extern char *malloc();
439 if ((str = malloc((unsigned)buf.st_size + 2)) == NULL) {
506 /* The following is to get space malloc'd for _dtconv */
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_event.c321 malloc(sizeof (au_event_ent_t));
344 malloc(sizeof (au_event_ent_t));
/illumos-gate/usr/src/lib/libc/port/fp/
H A D__x_power.c32 #include <malloc.h>
225 * this routine calls malloc(3M) to allocate storage and sets *pnewbf
231 * If an attempted malloc fails, we set errno to ENOMEM and call
361 if ((*pnewbf = malloc(i)) == NULL) {

Completed in 400 milliseconds

<<41424344454647484950>>