Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libofmt/common/
H A Dofmt.c104 split_str(const char *str, uint_t maxfields) in split_str() argument
109 if (*str == '\0' || maxfields == 0) in split_str()
117 sp->s_fields = malloc(sizeof (char *) * maxfields); in split_str()
123 if (sp->s_nfields == maxfields) in split_str()
141 split_fields(const ofmt_field_t *template, uint_t maxfields, uint_t maxcols) in split_fields() argument
150 sp->s_fields = malloc(sizeof (char *) * maxfields); in split_fields()
154 for (i = 0; i < maxfields; i++) { in split_fields()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Djoin.c139 int maxfields; member
206 jp->file[0].maxfields = NFIELD; in init()
207 jp->file[1].maxfields = NFIELD; in init()
300 register Field_t* fieldmax = field + fp->maxfields; in getrec()
330 n = 2 * fp->maxfields; in getrec()
332 field = fp->fields + fp->maxfields; in getrec()
333 fp->maxfields = n; in getrec()
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c866 int maxfields = 4; /* fields in a permissions format */ in get_perm_entry() local
880 if (++nfields == maxfields) in get_perm_entry()