Lines Matching refs:s_fields
44 const char **s_fields; /* array of pointers to the fields in s_buf */
107 sp->s_fields = malloc(sizeof (char *) * maxfields);
108 if (sp->s_buf == NULL || sp->s_fields == NULL)
116 sp->s_fields[sp->s_nfields++] = field;
140 sp->s_fields = malloc(sizeof (char *) * maxfields);
141 if (sp->s_fields == NULL)
153 sp->s_fields[sp->s_nfields++] = template[i].of_name;
170 free(sp->s_fields);
242 if (strcasecmp(sp->s_fields[i],
257 os->os_badfields[nbad] = strdup(sp->s_fields[i]);
398 ptr += snprintf(ptr, lim - ptr, "%s,", sp->s_fields[i]);
404 nextlen = strlen(sp->s_fields[i + 1]);