Lines Matching refs:malloc
103 if ((fmri_buf = malloc(fmri_sz)) == NULL) {
145 if ((ret = malloc(sizeof (*ret))) == NULL) {
225 if ((vallist[numvals].pv_str = malloc(valsize+1)) ==
249 if ((vallist[numvals].pv_str = malloc(valsize+1)) ==
267 malloc(valsize)) == NULL) {
1127 if ((pg_name = malloc(namelen)) == NULL) {
1817 if ((sys_fmri = malloc(namelen + 1)) == NULL) {
1859 if ((ret = malloc(sizeof (*ret))) == NULL ||
1860 (thispg = malloc(sizeof (*thispg))) == NULL ||
1861 (propname = malloc(namelen)) == NULL ||
1862 (pgname = malloc(namelen)) == NULL) {
1885 if ((nextpg = malloc(sizeof (*nextpg))) == NULL) {
1899 if ((nextpg->pg_name = malloc(namelen)) == NULL) {
2030 if ((nextpg = malloc(sizeof (*nextpg))) == NULL) {
2569 * For string types, a buffer is allocated using malloc(3C) to hold the
2575 * For opaque types, a buffer is allocated using malloc(3C) to hold the
2685 if ((opaque->so_addr = malloc(size)) == NULL) {
2705 if ((s = malloc(++size)) == NULL) {