Lines Matching defs:str
90 * Split `str' into at most `maxfields' fields, Return a pointer to a
94 split_str(const char *str, uint_t maxfields)
99 if (*str == '\0' || maxfields == 0)
106 sp->s_buf = strdup(str);
178 ofmt_open(const char *str, const ofmt_field_t *template, uint_t flags,
201 if (str == NULL || str[0] == '\0')
203 if (strcmp(str, "all") == 0)
213 * split str into the columns selected, or construct the
216 if (str != NULL && strcmp(str, "all") != 0) {
217 sp = split_str(str, nfields);
219 if (parsable || (str != NULL && strcmp(str, "all") == 0))
276 if (of_index == 0) /* all values in str are bogus */