Lines Matching refs:malloc
99 if ((cpc = malloc(sizeof (cpc_t))) == NULL) {
118 if ((cpc->cpc_evlist = malloc(cpc->cpc_npic * sizeof (char *))) ==
194 if ((set = malloc(sizeof (*set))) == NULL) {
291 if ((req = malloc(sizeof (*req))) == NULL) {
332 if ((req->cr_attr = malloc(nattrs * sizeof (kcpc_attr_t)))
369 if ((buf = malloc(sizeof (*buf))) == NULL)
373 if ((buf->cb_data = malloc(buf->cb_size)) == NULL) {
768 if ((list = malloc(size)) == NULL)
794 if ((attrs = malloc(rp->cr_nattrs *
822 if ((list = malloc(ncounters * sizeof (char *))) == NULL)