Lines Matching refs:malloc
283 if ((*buf = (char *)malloc((size_t)datalen + 1)) == NULL)
306 if ((oid->bv_val = (char *)malloc((size_t)len + 1)) == NULL) {
324 if ((*bv = (struct berval *)malloc(sizeof (struct berval)))
335 if (((*bv)->bv_val = (char *)malloc((size_t)len + 1))
372 if ((*bv = (struct berval *)malloc(sizeof (struct berval)))
381 if (((*bv)->bv_val = (char *)malloc((size_t)len + 1))
407 if ((*buf = (char *)malloc((size_t)datalen - 1)) == NULL)
606 *sss = (char **)malloc(16 * sizeof (char *));
636 *bv = (struct berval **)malloc(
778 if ((new = (struct berval *)malloc(sizeof (struct berval)))
786 if ((new->bv_val = (char *)malloc(bv->bv_len + 1))