Lines Matching +defs:compat +defs:c
9 This avoids creating an unnecessary dependency on localtime.c. */
982 register int c, k;
1011 while ((c = getopt(argc, argv, "Db:d:g:l:L:m:p:r:R:st:u:vy:")) != EOF
1012 && c != -1)
1013 switch (c) {
1247 unsigned char c = *cp;
1248 if (noise && !strchr(benign, c)) {
1249 warning((strchr(printable_and_not_benign, c)
1250 ? _("file name '%s' contains byte '%c'")
1252 name, c);
1254 if (c == '/') {
1580 int c;
1589 while ((c = getc(fp)) != EOF)
1590 putc(c, tp);
1611 char c = '\0';
1612 *cache = readlink(name, &c, 1) < 0 ? 0 : c == '/' ? 1 : -1;
1828 "%"SCNdZIC"%c%d%c%d%c%1d%*[0]%c%*[0123456789]%c",
2063 if (sscanf(cp, "%"SCNdZIC"%c", &year, &xs) != 1) {
2100 if (sscanf(cp, "%d%c", &day, &xs) != 1 ||
2238 } else if (sscanf(cp, "%"SCNdZIC"%c", &rp->r_loyear, &xs) != 1) {
2253 } else if (sscanf(cp, "%"SCNdZIC"%c", &rp->r_hiyear, &xs) != 1) {
2303 if (sscanf(ep, "%d%c", &rp->r_dayofmonth, &xs) != 1 ||
2958 register int compat = 0;
2981 compat = 2013;
2991 compat = 2013;
3011 if (compat < 2013)
3012 compat = 2013;
3014 if (compat < 1994)
3015 compat = 1994;
3018 return compat;
3049 register int compat = 0;
3050 register int c;
3132 return compat;
3145 c = stringrule(result + len, dstrp, dstrp->r_save, stdzp->z_stdoff);
3146 if (c < 0) {
3150 if (compat < c)
3151 compat = c;
3154 c = stringrule(result + len, stdrp, dstrp->r_save, stdzp->z_stdoff);
3155 if (c < 0) {
3159 if (compat < c)
3160 compat = c;
3161 return compat;
3176 register int compat;
3226 compat = stringzone(envvar, zpfirst, zonecount);
3227 version = compat < 2013 ? '2' : '3';
3228 do_extend = compat < 0;
3234 else if (compat != 0) {
3240 zpfirst->z_name, compat);
3653 case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g':
3668 case 'A': return 'a'; case 'B': return 'b'; case 'C': return 'c';
3757 /* Warn about any backward-compatibility issue with pre-2017c zic. */
3762 warning(_("\"%s\" is ambiguous in pre-2017c zic"), word);