Lines Matching refs:desc
45 Isa_desc * desc; in conv_isalist() local
50 if ((desc = calloc(1, sizeof (Isa_desc))) == 0) in conv_isalist()
58 return (desc); in conv_isalist()
59 desc->isa_listsz = (size_t)size; in conv_isalist()
65 return (desc); in conv_isalist()
66 desc->isa_list = list; in conv_isalist()
77 return (desc); in conv_isalist()
78 desc->isa_opt = opt; in conv_isalist()
79 desc->isa_optno = no; in conv_isalist()
98 return (desc); in conv_isalist()
111 Uts_desc * desc; in conv_uts() local
114 if ((desc = calloc(1, sizeof (Uts_desc))) == 0) in conv_uts()
121 return (desc); in conv_uts()
127 if ((desc->uts_osname = malloc(size + 1)) == 0) in conv_uts()
128 return (desc); in conv_uts()
129 desc->uts_osnamesz = size; in conv_uts()
130 (void) strncpy(desc->uts_osname, utsname.sysname, size); in conv_uts()
133 if ((desc->uts_osrel = malloc(size + 1)) == 0) in conv_uts()
135 desc->uts_osrelsz = size; in conv_uts()
136 (void) strncpy(desc->uts_osrel, utsname.release, size); in conv_uts()
138 return (desc); in conv_uts()