Lines Matching refs:nfields
158 static void inleap(char ** fields, int nfields);
159 static void inlink(char ** fields, int nfields);
160 static void inrule(char ** fields, int nfields);
161 static int inzcont(char ** fields, int nfields);
162 static int inzone(char ** fields, int nfields);
163 static int inzsub(char ** fields, int nfields, int iscont);
979 register int nfields; in infile() local
1006 nfields = 0; in infile()
1007 while (fields[nfields] != NULL) { in infile()
1010 if (strcmp(fields[nfields], "-") == 0) in infile()
1011 fields[nfields] = &nada; in infile()
1012 ++nfields; in infile()
1014 if (nfields == 0) { in infile()
1017 wantcont = inzcont(fields, nfields); in infile()
1024 inrule(fields, nfields); in infile()
1028 wantcont = inzone(fields, nfields); in infile()
1031 inlink(fields, nfields); in infile()
1039 else inleap(fields, nfields); in infile()
1118 inrule(register char **const fields, const int nfields) in inrule() argument
1122 if (nfields != RULE_FIELDS) { in inrule()
1144 inzone(register char **const fields, const int nfields) in inzone() argument
1148 if (nfields < ZONE_MINFIELDS || nfields > ZONE_MAXFIELDS) { in inzone()
1174 return inzsub(fields, nfields, FALSE); in inzone()
1178 inzcont(register char **const fields, const int nfields) in inzcont() argument
1180 if (nfields < ZONEC_MINFIELDS || nfields > ZONEC_MAXFIELDS) { in inzcont()
1184 return inzsub(fields, nfields, TRUE); in inzcont()
1188 inzsub(register char **const fields, const int nfields, const int iscont) in inzsub() argument
1229 hasuntil = nfields > i_untilyear; in inzsub()
1237 (nfields > i_untilmonth) ? in inzsub()
1239 (nfields > i_untilday) ? fields[i_untilday] : "1", in inzsub()
1240 (nfields > i_untiltime) ? fields[i_untiltime] : "0"); in inzsub()
1265 inleap(register char ** const fields, const int nfields) in inleap() argument
1275 if (nfields != LEAP_FIELDS) { in inleap()
1368 inlink(register char **const fields, const int nfields) in inlink() argument
1372 if (nfields != LINK_FIELDS) { in inlink()