Lines Matching defs:fieldlen
782 int fieldlen, i;
790 field = get_field(line, len, &fieldlen);
793 if (fieldlen == 0) {
800 && fieldlen >= 1) {
805 if (fieldlen == 1)
811 if (fieldlen == 1)
815 if (fieldlen != 1) {
827 if (fieldlen == 1) {
842 for (; i < fieldlen; i++) {
871 int fieldlen;
874 ptr = get_field(line, len, &fieldlen);
877 if (fieldlen < minlen) {
881 if ((*v = malloc(fieldlen + 1)) == NULL) {
885 memcpy(*v, ptr, fieldlen);
886 (*v)[fieldlen] = '\0';
981 get_field(char **line, size_t *len, int *fieldlen)
992 *fieldlen = 0;
995 (*fieldlen)++;
1002 while (*fieldlen && isspace(ret[*fieldlen - 1]))
1003 (*fieldlen)--;