Home
last modified time | relevance | path

Searched refs:of_index (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libofmt/common/
H A Dofmt.c192 uint_t i, j, of_index; in ofmt_open() local
246 of_index = 0; in ofmt_open()
273 of[of_index].of_name = strdup(template[j].of_name); in ofmt_open()
274 if (of[of_index].of_name == NULL) in ofmt_open()
277 int n = strlen(of[of_index].of_name); in ofmt_open()
281 of[of_index].of_width = template[j].of_width; in ofmt_open()
282 of[of_index].of_id = template[j].of_id; in ofmt_open()
283 of[of_index].of_cb = template[j].of_cb; in ofmt_open()
284 of_index++; in ofmt_open()
287 if (of_index == 0) /* all values in str are bogus */ in ofmt_open()
[all …]