Lines Matching refs:nfields
165 static void inleap(char ** fields, int nfields);
166 static void inlink(char ** fields, int nfields);
167 static void inrule(char ** fields, int nfields);
168 static bool inzcont(char ** fields, int nfields);
169 static bool inzone(char ** fields, int nfields);
1185 register int nfields; in infile() local
1212 nfields = 0; in infile()
1213 while (fields[nfields] != NULL) { in infile()
1216 if (strcmp(fields[nfields], "-") == 0) in infile()
1217 fields[nfields] = &nada; in infile()
1218 ++nfields; in infile()
1220 if (nfields == 0) { in infile()
1224 wantcont = inzcont(fields, nfields); in infile()
1233 inrule(fields, nfields); in infile()
1237 wantcont = inzone(fields, nfields); in infile()
1240 inlink(fields, nfields); in infile()
1244 inleap(fields, nfields); in infile()
1248 inexpires(fields, nfields); in infile()
1346 inrule(char **fields, int nfields) in inrule() argument
1350 if (nfields != RULE_FIELDS) { in inrule()
1377 inzone(char **fields, int nfields) in inzone() argument
1381 if (nfields < ZONE_MINFIELDS || nfields > ZONE_MAXFIELDS) { in inzone()
1407 return inzsub(fields, nfields, false); in inzone()
1411 inzcont(char **fields, int nfields) in inzcont() argument
1413 if (nfields < ZONEC_MINFIELDS || nfields > ZONEC_MAXFIELDS) { in inzcont()
1417 return inzsub(fields, nfields, true); in inzcont()
1421 inzsub(char **fields, int nfields, bool iscont) in inzsub() argument
1473 hasuntil = nfields > i_untilyear; in inzsub()
1481 (nfields > i_untilmonth) ? in inzsub()
1483 (nfields > i_untilday) ? fields[i_untilday] : "1", in inzsub()
1484 (nfields > i_untiltime) ? fields[i_untiltime] : "0"); in inzsub()
1509 getleapdatetime(char **fields, int nfields, bool expire_line) in getleapdatetime() argument
1582 inleap(char **fields, int nfields) in inleap() argument
1584 if (nfields != LEAP_FIELDS) in inleap()
1587 zic_t t = getleapdatetime(fields, nfields, false); in inleap()
1608 inexpires(char **fields, int nfields) in inexpires() argument
1610 if (nfields != EXPIRES_FIELDS) in inexpires()
1615 leapexpires = getleapdatetime(fields, nfields, true); in inexpires()
1619 inlink(char **fields, int nfields) in inlink() argument
1623 if (nfields != LINK_FIELDS) { in inlink()