Lines Matching refs:nfields
159 static void inleap(char ** fields, int nfields);
160 static void inlink(char ** fields, int nfields);
161 static void inrule(char ** fields, int nfields);
162 static int inzcont(char ** fields, int nfields);
163 static int inzone(char ** fields, int nfields);
164 static int inzsub(char ** fields, int nfields, int iscont);
980 register int nfields; in infile() local
1007 nfields = 0; in infile()
1008 while (fields[nfields] != NULL) { in infile()
1011 if (strcmp(fields[nfields], "-") == 0) in infile()
1012 fields[nfields] = &nada; in infile()
1013 ++nfields; in infile()
1015 if (nfields == 0) { in infile()
1018 wantcont = inzcont(fields, nfields); in infile()
1025 inrule(fields, nfields); in infile()
1029 wantcont = inzone(fields, nfields); in infile()
1032 inlink(fields, nfields); in infile()
1040 else inleap(fields, nfields); in infile()
1119 inrule(register char **const fields, const int nfields) in inrule() argument
1123 if (nfields != RULE_FIELDS) { in inrule()
1145 inzone(register char **const fields, const int nfields) in inzone() argument
1149 if (nfields < ZONE_MINFIELDS || nfields > ZONE_MAXFIELDS) { in inzone()
1175 return inzsub(fields, nfields, false); in inzone()
1179 inzcont(register char **const fields, const int nfields) in inzcont() argument
1181 if (nfields < ZONEC_MINFIELDS || nfields > ZONEC_MAXFIELDS) { in inzcont()
1185 return inzsub(fields, nfields, true); in inzcont()
1189 inzsub(register char **const fields, const int nfields, const int iscont) in inzsub() argument
1230 hasuntil = nfields > i_untilyear; in inzsub()
1238 (nfields > i_untilmonth) ? in inzsub()
1240 (nfields > i_untilday) ? fields[i_untilday] : "1", in inzsub()
1241 (nfields > i_untiltime) ? fields[i_untiltime] : "0"); in inzsub()
1266 inleap(register char ** const fields, const int nfields) in inleap() argument
1276 if (nfields != LEAP_FIELDS) { in inleap()
1369 inlink(register char **const fields, const int nfields) in inlink() argument
1373 if (nfields != LINK_FIELDS) { in inlink()