pc 245 maint/gnulib/lib/parse-datetime.y debugging (parser_control const *pc) pc 248 maint/gnulib/lib/parse-datetime.y return pc->parse_datetime_debug; pc 263 maint/gnulib/lib/parse-datetime.y digits_to_date_time (parser_control *pc, textint text_int) pc 265 maint/gnulib/lib/parse-datetime.y if (pc->dates_seen && ! pc->year.digits pc 266 maint/gnulib/lib/parse-datetime.y && ! pc->rels_seen && (pc->times_seen || 2 < text_int.digits)) pc 268 maint/gnulib/lib/parse-datetime.y pc->year_seen = true; pc 269 maint/gnulib/lib/parse-datetime.y pc->year = text_int; pc 275 maint/gnulib/lib/parse-datetime.y pc->dates_seen++; pc 276 maint/gnulib/lib/parse-datetime.y pc->day = text_int.value % 100; pc 277 maint/gnulib/lib/parse-datetime.y pc->month = (text_int.value / 100) % 100; pc 278 maint/gnulib/lib/parse-datetime.y pc->year.value = text_int.value / 10000; pc 279 maint/gnulib/lib/parse-datetime.y pc->year.digits = text_int.digits - 4; pc 283 maint/gnulib/lib/parse-datetime.y pc->times_seen++; pc 286 maint/gnulib/lib/parse-datetime.y pc->hour = text_int.value; pc 287 maint/gnulib/lib/parse-datetime.y pc->minutes = 0; pc 291 maint/gnulib/lib/parse-datetime.y pc->hour = text_int.value / 100; pc 292 maint/gnulib/lib/parse-datetime.y pc->minutes = text_int.value % 100; pc 294 maint/gnulib/lib/parse-datetime.y pc->seconds.tv_sec = 0; pc 295 maint/gnulib/lib/parse-datetime.y pc->seconds.tv_nsec = 0; pc 296 maint/gnulib/lib/parse-datetime.y pc->meridian = MER24; pc 304 maint/gnulib/lib/parse-datetime.y apply_relative_time (parser_control *pc, relative_time rel, int factor) pc 307 maint/gnulib/lib/parse-datetime.y ? (INT_SUBTRACT_WRAPV (pc->rel.ns, rel.ns, &pc->rel.ns) pc 308 maint/gnulib/lib/parse-datetime.y | INT_SUBTRACT_WRAPV (pc->rel.seconds, rel.seconds, &pc->rel.seconds) pc 309 maint/gnulib/lib/parse-datetime.y | INT_SUBTRACT_WRAPV (pc->rel.minutes, rel.minutes, &pc->rel.minutes) pc 310 maint/gnulib/lib/parse-datetime.y | INT_SUBTRACT_WRAPV (pc->rel.hour, rel.hour, &pc->rel.hour) pc 311 maint/gnulib/lib/parse-datetime.y | INT_SUBTRACT_WRAPV (pc->rel.day, rel.day, &pc->rel.day) pc 312 maint/gnulib/lib/parse-datetime.y | INT_SUBTRACT_WRAPV (pc->rel.month, rel.month, &pc->rel.month) pc 313 maint/gnulib/lib/parse-datetime.y | INT_SUBTRACT_WRAPV (pc->rel.year, rel.year, &pc->rel.year)) pc 314 maint/gnulib/lib/parse-datetime.y : (INT_ADD_WRAPV (pc->rel.ns, rel.ns, &pc->rel.ns) pc 315 maint/gnulib/lib/parse-datetime.y | INT_ADD_WRAPV (pc->rel.seconds, rel.seconds, &pc->rel.seconds) pc 316 maint/gnulib/lib/parse-datetime.y | INT_ADD_WRAPV (pc->rel.minutes, rel.minutes, &pc->rel.minutes) pc 317 maint/gnulib/lib/parse-datetime.y | INT_ADD_WRAPV (pc->rel.hour, rel.hour, &pc->rel.hour) pc 318 maint/gnulib/lib/parse-datetime.y | INT_ADD_WRAPV (pc->rel.day, rel.day, &pc->rel.day) pc 319 maint/gnulib/lib/parse-datetime.y | INT_ADD_WRAPV (pc->rel.month, rel.month, &pc->rel.month) pc 320 maint/gnulib/lib/parse-datetime.y | INT_ADD_WRAPV (pc->rel.year, rel.year, &pc->rel.year))) pc 322 maint/gnulib/lib/parse-datetime.y pc->rels_seen = true; pc 328 maint/gnulib/lib/parse-datetime.y set_hhmmss (parser_control *pc, intmax_t hour, intmax_t minutes, pc 331 maint/gnulib/lib/parse-datetime.y pc->hour = hour; pc 332 maint/gnulib/lib/parse-datetime.y pc->minutes = minutes; pc 333 maint/gnulib/lib/parse-datetime.y pc->seconds.tv_sec = sec; pc 334 maint/gnulib/lib/parse-datetime.y pc->seconds.tv_nsec = nsec; pc 340 maint/gnulib/lib/parse-datetime.y str_days (parser_control *pc, char *buffer, int n) pc 374 maint/gnulib/lib/parse-datetime.y if (pc->debug_ordinal_day_seen) pc 377 maint/gnulib/lib/parse-datetime.y len = (-1 <= pc->day_ordinal && pc->day_ordinal <= 12 pc 378 maint/gnulib/lib/parse-datetime.y ? snprintf (buffer, n, "%s", ordinal_values[pc->day_ordinal + 1]) pc 379 maint/gnulib/lib/parse-datetime.y : snprintf (buffer, n, "%"PRIdMAX, pc->day_ordinal)); pc 388 maint/gnulib/lib/parse-datetime.y if (0 <= pc->day_number && pc->day_number <= 6 && 0 <= len && len < n) pc 390 maint/gnulib/lib/parse-datetime.y days_values[pc->day_number]); pc 432 maint/gnulib/lib/parse-datetime.y debug_print_current_time (char const *item, parser_control *pc) pc 436 maint/gnulib/lib/parse-datetime.y if (!debugging (pc)) pc 442 maint/gnulib/lib/parse-datetime.y if (pc->dates_seen && !pc->debug_dates_seen) pc 446 maint/gnulib/lib/parse-datetime.y pc->year.value, pc->month, pc->day); pc 447 maint/gnulib/lib/parse-datetime.y pc->debug_dates_seen = true; pc 451 maint/gnulib/lib/parse-datetime.y if (pc->year_seen != pc->debug_year_seen) pc 455 maint/gnulib/lib/parse-datetime.y fprintf (stderr, _("year: %04"PRIdMAX), pc->year.value); pc 457 maint/gnulib/lib/parse-datetime.y pc->debug_year_seen = pc->year_seen; pc 461 maint/gnulib/lib/parse-datetime.y if (pc->times_seen && !pc->debug_times_seen) pc 463 maint/gnulib/lib/parse-datetime.y intmax_t sec = pc->seconds.tv_sec; pc 465 maint/gnulib/lib/parse-datetime.y pc->hour, pc->minutes, sec); pc 466 maint/gnulib/lib/parse-datetime.y if (pc->seconds.tv_nsec != 0) pc 468 maint/gnulib/lib/parse-datetime.y int nsec = pc->seconds.tv_nsec; pc 471 maint/gnulib/lib/parse-datetime.y if (pc->meridian == MERpm) pc 474 maint/gnulib/lib/parse-datetime.y pc->debug_times_seen = true; pc 478 maint/gnulib/lib/parse-datetime.y if (pc->days_seen && !pc->debug_days_seen) pc 484 maint/gnulib/lib/parse-datetime.y str_days (pc, tmp, sizeof tmp), pc 485 maint/gnulib/lib/parse-datetime.y pc->day_ordinal, pc->day_number); pc 486 maint/gnulib/lib/parse-datetime.y pc->debug_days_seen = true; pc 492 maint/gnulib/lib/parse-datetime.y if (pc->local_zones_seen && !pc->debug_local_zones_seen) pc 495 maint/gnulib/lib/parse-datetime.y pc->local_isdst, pc->dsts_seen ? " DST" : ""); pc 496 maint/gnulib/lib/parse-datetime.y pc->debug_local_zones_seen = true; pc 500 maint/gnulib/lib/parse-datetime.y if (pc->zones_seen && !pc->debug_zones_seen) pc 504 maint/gnulib/lib/parse-datetime.y time_zone_str (pc->time_zone, time_zone_buf)); pc 505 maint/gnulib/lib/parse-datetime.y pc->debug_zones_seen = true; pc 509 maint/gnulib/lib/parse-datetime.y if (pc->timespec_seen) pc 511 maint/gnulib/lib/parse-datetime.y intmax_t sec = pc->seconds.tv_sec; pc 532 maint/gnulib/lib/parse-datetime.y debug_print_relative_time (char const *item, parser_control const *pc) pc 536 maint/gnulib/lib/parse-datetime.y if (!debugging (pc)) pc 542 maint/gnulib/lib/parse-datetime.y if (pc->rel.year == 0 && pc->rel.month == 0 && pc->rel.day == 0 pc 543 maint/gnulib/lib/parse-datetime.y && pc->rel.hour == 0 && pc->rel.minutes == 0 && pc->rel.seconds == 0 pc 544 maint/gnulib/lib/parse-datetime.y && pc->rel.ns == 0) pc 551 maint/gnulib/lib/parse-datetime.y space = print_rel_part (space, pc->rel.year, "year(s)"); pc 552 maint/gnulib/lib/parse-datetime.y space = print_rel_part (space, pc->rel.month, "month(s)"); pc 553 maint/gnulib/lib/parse-datetime.y space = print_rel_part (space, pc->rel.day, "day(s)"); pc 554 maint/gnulib/lib/parse-datetime.y space = print_rel_part (space, pc->rel.hour, "hour(s)"); pc 555 maint/gnulib/lib/parse-datetime.y space = print_rel_part (space, pc->rel.minutes, "minutes"); pc 556 maint/gnulib/lib/parse-datetime.y space = print_rel_part (space, pc->rel.seconds, "seconds"); pc 557 maint/gnulib/lib/parse-datetime.y print_rel_part (space, pc->rel.ns, "nanoseconds"); pc 569 maint/gnulib/lib/parse-datetime.y %parse-param { parser_control *pc } pc 570 maint/gnulib/lib/parse-datetime.y %lex-param { parser_control *pc } pc 610 maint/gnulib/lib/parse-datetime.y pc->seconds = $2; pc 611 maint/gnulib/lib/parse-datetime.y pc->timespec_seen = true; pc 612 maint/gnulib/lib/parse-datetime.y debug_print_current_time (_("number of seconds"), pc); pc 624 maint/gnulib/lib/parse-datetime.y pc->times_seen++; pc->dates_seen++; pc 625 maint/gnulib/lib/parse-datetime.y debug_print_current_time (_("datetime"), pc); pc 629 maint/gnulib/lib/parse-datetime.y pc->times_seen++; pc 630 maint/gnulib/lib/parse-datetime.y debug_print_current_time (_("time"), pc); pc 634 maint/gnulib/lib/parse-datetime.y pc->local_zones_seen++; pc 635 maint/gnulib/lib/parse-datetime.y debug_print_current_time (_("local_zone"), pc); pc 639 maint/gnulib/lib/parse-datetime.y pc->zones_seen++; pc 640 maint/gnulib/lib/parse-datetime.y debug_print_current_time (_("zone"), pc); pc 644 maint/gnulib/lib/parse-datetime.y pc->dates_seen++; pc 645 maint/gnulib/lib/parse-datetime.y debug_print_current_time (_("date"), pc); pc 649 maint/gnulib/lib/parse-datetime.y pc->days_seen++; pc 650 maint/gnulib/lib/parse-datetime.y debug_print_current_time (_("day"), pc); pc 654 maint/gnulib/lib/parse-datetime.y debug_print_relative_time (_("relative"), pc); pc 658 maint/gnulib/lib/parse-datetime.y debug_print_current_time (_("number"), pc); pc 662 maint/gnulib/lib/parse-datetime.y debug_print_relative_time (_("hybrid"), pc); pc 677 maint/gnulib/lib/parse-datetime.y set_hhmmss (pc, $1.value, 0, 0, 0); pc 678 maint/gnulib/lib/parse-datetime.y pc->meridian = $2; pc 682 maint/gnulib/lib/parse-datetime.y set_hhmmss (pc, $1.value, $3.value, 0, 0); pc 683 maint/gnulib/lib/parse-datetime.y pc->meridian = $4; pc 687 maint/gnulib/lib/parse-datetime.y set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); pc 688 maint/gnulib/lib/parse-datetime.y pc->meridian = $6; pc 696 maint/gnulib/lib/parse-datetime.y set_hhmmss (pc, $1.value, 0, 0, 0); pc 697 maint/gnulib/lib/parse-datetime.y pc->meridian = MER24; pc 701 maint/gnulib/lib/parse-datetime.y set_hhmmss (pc, $1.value, $3.value, 0, 0); pc 702 maint/gnulib/lib/parse-datetime.y pc->meridian = MER24; pc 706 maint/gnulib/lib/parse-datetime.y set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); pc 707 maint/gnulib/lib/parse-datetime.y pc->meridian = MER24; pc 719 maint/gnulib/lib/parse-datetime.y pc->zones_seen++; pc 720 maint/gnulib/lib/parse-datetime.y if (! time_zone_hhmm (pc, $1, $2)) YYABORT; pc 743 maint/gnulib/lib/parse-datetime.y { pc->local_isdst = $1; } pc 746 maint/gnulib/lib/parse-datetime.y pc->local_isdst = 1; pc 747 maint/gnulib/lib/parse-datetime.y pc->dsts_seen++; pc 755 maint/gnulib/lib/parse-datetime.y { pc->time_zone = $1; } pc 757 maint/gnulib/lib/parse-datetime.y { pc->time_zone = -HOUR (7); } pc 759 maint/gnulib/lib/parse-datetime.y { pc->time_zone = $1; pc 760 maint/gnulib/lib/parse-datetime.y if (! apply_relative_time (pc, $2, 1)) YYABORT; pc 761 maint/gnulib/lib/parse-datetime.y debug_print_relative_time (_("relative"), pc); pc 764 maint/gnulib/lib/parse-datetime.y { pc->time_zone = -HOUR (7); pc 765 maint/gnulib/lib/parse-datetime.y if (! apply_relative_time (pc, $2, 1)) YYABORT; pc 766 maint/gnulib/lib/parse-datetime.y debug_print_relative_time (_("relative"), pc); pc 769 maint/gnulib/lib/parse-datetime.y { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; pc 770 maint/gnulib/lib/parse-datetime.y if (INT_ADD_WRAPV (pc->time_zone, $1, &pc->time_zone)) YYABORT; } pc 772 maint/gnulib/lib/parse-datetime.y { pc->time_zone = $1 + 60 * 60; } pc 774 maint/gnulib/lib/parse-datetime.y { pc->time_zone = $1 + 60 * 60; } pc 780 maint/gnulib/lib/parse-datetime.y pc->day_ordinal = 0; pc 781 maint/gnulib/lib/parse-datetime.y pc->day_number = $1; pc 785 maint/gnulib/lib/parse-datetime.y pc->day_ordinal = 0; pc 786 maint/gnulib/lib/parse-datetime.y pc->day_number = $1; pc 790 maint/gnulib/lib/parse-datetime.y pc->day_ordinal = $1; pc 791 maint/gnulib/lib/parse-datetime.y pc->day_number = $2; pc 792 maint/gnulib/lib/parse-datetime.y pc->debug_ordinal_day_seen = true; pc 796 maint/gnulib/lib/parse-datetime.y pc->day_ordinal = $1.value; pc 797 maint/gnulib/lib/parse-datetime.y pc->day_number = $2; pc 798 maint/gnulib/lib/parse-datetime.y pc->debug_ordinal_day_seen = true; pc 805 maint/gnulib/lib/parse-datetime.y pc->month = $1.value; pc 806 maint/gnulib/lib/parse-datetime.y pc->day = $3.value; pc 817 maint/gnulib/lib/parse-datetime.y if (debugging (pc)) pc 825 maint/gnulib/lib/parse-datetime.y pc->year = $1; pc 826 maint/gnulib/lib/parse-datetime.y pc->month = $3.value; pc 827 maint/gnulib/lib/parse-datetime.y pc->day = $5.value; pc 831 maint/gnulib/lib/parse-datetime.y if (debugging (pc)) pc 836 maint/gnulib/lib/parse-datetime.y pc->month = $1.value; pc 837 maint/gnulib/lib/parse-datetime.y pc->day = $3.value; pc 838 maint/gnulib/lib/parse-datetime.y pc->year = $5; pc 844 maint/gnulib/lib/parse-datetime.y pc->day = $1.value; pc 845 maint/gnulib/lib/parse-datetime.y pc->month = $2; pc 846 maint/gnulib/lib/parse-datetime.y if (INT_SUBTRACT_WRAPV (0, $3.value, &pc->year.value)) YYABORT; pc 847 maint/gnulib/lib/parse-datetime.y pc->year.digits = $3.digits; pc 852 maint/gnulib/lib/parse-datetime.y pc->month = $1; pc 853 maint/gnulib/lib/parse-datetime.y if (INT_SUBTRACT_WRAPV (0, $2.value, &pc->day)) YYABORT; pc 854 maint/gnulib/lib/parse-datetime.y if (INT_SUBTRACT_WRAPV (0, $3.value, &pc->year.value)) YYABORT; pc 855 maint/gnulib/lib/parse-datetime.y pc->year.digits = $3.digits; pc 859 maint/gnulib/lib/parse-datetime.y pc->month = $1; pc 860 maint/gnulib/lib/parse-datetime.y pc->day = $2.value; pc 864 maint/gnulib/lib/parse-datetime.y pc->month = $1; pc 865 maint/gnulib/lib/parse-datetime.y pc->day = $2.value; pc 866 maint/gnulib/lib/parse-datetime.y pc->year = $4; pc 870 maint/gnulib/lib/parse-datetime.y pc->day = $1.value; pc 871 maint/gnulib/lib/parse-datetime.y pc->month = $2; pc 875 maint/gnulib/lib/parse-datetime.y pc->day = $1.value; pc 876 maint/gnulib/lib/parse-datetime.y pc->month = $2; pc 877 maint/gnulib/lib/parse-datetime.y pc->year = $3; pc 886 maint/gnulib/lib/parse-datetime.y pc->year = $1; pc 887 maint/gnulib/lib/parse-datetime.y if (INT_SUBTRACT_WRAPV (0, $2.value, &pc->month)) YYABORT; pc 888 maint/gnulib/lib/parse-datetime.y if (INT_SUBTRACT_WRAPV (0, $3.value, &pc->day)) YYABORT; pc 894 maint/gnulib/lib/parse-datetime.y { if (! apply_relative_time (pc, $1, $2)) YYABORT; } pc 896 maint/gnulib/lib/parse-datetime.y { if (! apply_relative_time (pc, $1, 1)) YYABORT; } pc 898 maint/gnulib/lib/parse-datetime.y { if (! apply_relative_time (pc, $1, 1)) YYABORT; } pc 986 maint/gnulib/lib/parse-datetime.y { digits_to_date_time (pc, $1); } pc 994 maint/gnulib/lib/parse-datetime.y digits_to_date_time (pc, $1); pc 995 maint/gnulib/lib/parse-datetime.y if (! apply_relative_time (pc, $2, 1)) YYABORT; pc 1208 maint/gnulib/lib/parse-datetime.y time_zone_hhmm (parser_control *pc, textint s, intmax_t mm) pc 1230 maint/gnulib/lib/parse-datetime.y pc->time_zone = n_minutes * 60; pc 1297 maint/gnulib/lib/parse-datetime.y lookup_zone (parser_control const *pc, char const *name) pc 1307 maint/gnulib/lib/parse-datetime.y for (tp = pc->local_time_zone_table; tp->name; tp++) pc 1346 maint/gnulib/lib/parse-datetime.y lookup_word (parser_control const *pc, char *word) pc 1371 maint/gnulib/lib/parse-datetime.y if ((tp = lookup_zone (pc, word))) pc 1407 maint/gnulib/lib/parse-datetime.y if (period_found && (tp = lookup_zone (pc, word))) pc 1414 maint/gnulib/lib/parse-datetime.y yylex (union YYSTYPE *lvalp, parser_control *pc) pc 1420 maint/gnulib/lib/parse-datetime.y while (c = *pc->input, c_isspace (c)) pc 1421 maint/gnulib/lib/parse-datetime.y pc->input++; pc 1425 maint/gnulib/lib/parse-datetime.y char const *p = pc->input; pc 1430 maint/gnulib/lib/parse-datetime.y while (c = *(pc->input = ++p), c_isspace (c)) pc 1488 maint/gnulib/lib/parse-datetime.y pc->input = p; pc 1495 maint/gnulib/lib/parse-datetime.y lvalp->textintval.digits = p - pc->input; pc 1496 maint/gnulib/lib/parse-datetime.y pc->input = p; pc 1511 maint/gnulib/lib/parse-datetime.y c = *++pc->input; pc 1516 maint/gnulib/lib/parse-datetime.y tp = lookup_word (pc, buff); pc 1519 maint/gnulib/lib/parse-datetime.y if (debugging (pc)) pc 1528 maint/gnulib/lib/parse-datetime.y return to_uchar (*pc->input++); pc 1533 maint/gnulib/lib/parse-datetime.y c = *pc->input++; pc 1547 maint/gnulib/lib/parse-datetime.y yyerror (_GL_UNUSED parser_control const *pc, pc 1576 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (struct tm const *tm, parser_control const *pc, pc 1606 maint/gnulib/lib/parse-datetime.y if (pc && m < n && pc->zones_seen) pc 1608 maint/gnulib/lib/parse-datetime.y int tz = pc->time_zone; pc 1611 maint/gnulib/lib/parse-datetime.y if (pc->local_zones_seen && !pc->zones_seen && 0 < pc->local_isdst) pc 1651 maint/gnulib/lib/parse-datetime.y parser_control const *pc, bool time_zone_seen) pc 1666 maint/gnulib/lib/parse-datetime.y if (!debugging (pc)) pc 1671 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (tm0, pc, tmp, sizeof tmp)); pc 1673 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (tm1, pc, tmp, sizeof tmp)); pc 1802 maint/gnulib/lib/parse-datetime.y parser_control pc; pc 1803 maint/gnulib/lib/parse-datetime.y pc.input = p; pc 1805 maint/gnulib/lib/parse-datetime.y pc.parse_datetime_debug = (flags & PARSE_DATETIME_DEBUG) != 0; pc 1807 maint/gnulib/lib/parse-datetime.y if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) pc 1809 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 1813 maint/gnulib/lib/parse-datetime.y pc.year.digits = 0; pc 1814 maint/gnulib/lib/parse-datetime.y pc.month = tmp.tm_mon + 1; pc 1815 maint/gnulib/lib/parse-datetime.y pc.day = tmp.tm_mday; pc 1816 maint/gnulib/lib/parse-datetime.y pc.hour = tmp.tm_hour; pc 1817 maint/gnulib/lib/parse-datetime.y pc.minutes = tmp.tm_min; pc 1818 maint/gnulib/lib/parse-datetime.y pc.seconds.tv_sec = tmp.tm_sec; pc 1819 maint/gnulib/lib/parse-datetime.y pc.seconds.tv_nsec = Start_ns; pc 1822 maint/gnulib/lib/parse-datetime.y pc.meridian = MER24; pc 1823 maint/gnulib/lib/parse-datetime.y pc.rel = rel_time_0; pc 1824 maint/gnulib/lib/parse-datetime.y pc.timespec_seen = false; pc 1825 maint/gnulib/lib/parse-datetime.y pc.rels_seen = false; pc 1826 maint/gnulib/lib/parse-datetime.y pc.dates_seen = 0; pc 1827 maint/gnulib/lib/parse-datetime.y pc.days_seen = 0; pc 1828 maint/gnulib/lib/parse-datetime.y pc.times_seen = 0; pc 1829 maint/gnulib/lib/parse-datetime.y pc.local_zones_seen = 0; pc 1830 maint/gnulib/lib/parse-datetime.y pc.dsts_seen = 0; pc 1831 maint/gnulib/lib/parse-datetime.y pc.zones_seen = 0; pc 1832 maint/gnulib/lib/parse-datetime.y pc.year_seen = false; pc 1833 maint/gnulib/lib/parse-datetime.y pc.debug_dates_seen = false; pc 1834 maint/gnulib/lib/parse-datetime.y pc.debug_days_seen = false; pc 1835 maint/gnulib/lib/parse-datetime.y pc.debug_times_seen = false; pc 1836 maint/gnulib/lib/parse-datetime.y pc.debug_local_zones_seen = false; pc 1837 maint/gnulib/lib/parse-datetime.y pc.debug_zones_seen = false; pc 1838 maint/gnulib/lib/parse-datetime.y pc.debug_year_seen = false; pc 1839 maint/gnulib/lib/parse-datetime.y pc.debug_ordinal_day_seen = false; pc 1842 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[0].name = tmp.tm_zone; pc 1843 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[0].type = tLOCAL_ZONE; pc 1844 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[0].value = tmp.tm_isdst; pc 1845 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name = NULL; pc 1858 maint/gnulib/lib/parse-datetime.y && probe_tm.tm_isdst != pc.local_time_zone_table[0].value) pc 1861 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name = probe_tm.tm_zone; pc 1862 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].type = tLOCAL_ZONE; pc 1863 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].value = probe_tm.tm_isdst; pc 1864 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[2].name = NULL; pc 1879 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[i].name = tzname[i]; pc 1880 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[i].type = tLOCAL_ZONE; pc 1881 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[i].value = i; pc 1883 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[i].name = NULL; pc 1886 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[0].name = NULL; pc 1890 maint/gnulib/lib/parse-datetime.y if (pc.local_time_zone_table[0].name && pc.local_time_zone_table[1].name pc 1891 maint/gnulib/lib/parse-datetime.y && ! strcmp (pc.local_time_zone_table[0].name, pc 1892 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name)) pc 1897 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[0].value = -1; pc 1898 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name = NULL; pc 1901 maint/gnulib/lib/parse-datetime.y if (yyparse (&pc) != 0) pc 1903 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 1904 maint/gnulib/lib/parse-datetime.y dbg_printf ((input_sentinel <= pc.input pc 1907 maint/gnulib/lib/parse-datetime.y pc.input); pc 1914 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 1918 maint/gnulib/lib/parse-datetime.y if (pc.timespec_seen) pc 1920 maint/gnulib/lib/parse-datetime.y else if (pc.zones_seen) pc 1940 maint/gnulib/lib/parse-datetime.y if (pc.local_zones_seen && !pc.zones_seen && 0 < pc.local_isdst) pc 1943 maint/gnulib/lib/parse-datetime.y if (pc.zones_seen) pc 1944 maint/gnulib/lib/parse-datetime.y fprintf (stderr, " (%s)", time_zone_str (pc.time_zone, time_zone_buf)); pc 1949 maint/gnulib/lib/parse-datetime.y if (pc.timespec_seen) pc 1950 maint/gnulib/lib/parse-datetime.y *result = pc.seconds; pc 1953 maint/gnulib/lib/parse-datetime.y if (1 < (pc.times_seen | pc.dates_seen | pc.days_seen | pc.dsts_seen pc 1954 maint/gnulib/lib/parse-datetime.y | (pc.local_zones_seen + pc.zones_seen))) pc 1956 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 1958 maint/gnulib/lib/parse-datetime.y if (pc.times_seen > 1) pc 1960 maint/gnulib/lib/parse-datetime.y if (pc.dates_seen > 1) pc 1962 maint/gnulib/lib/parse-datetime.y if (pc.days_seen > 1) pc 1964 maint/gnulib/lib/parse-datetime.y if (pc.dsts_seen > 1) pc 1966 maint/gnulib/lib/parse-datetime.y if ((pc.local_zones_seen + pc.zones_seen) > 1) pc 1972 maint/gnulib/lib/parse-datetime.y if (! to_tm_year (pc.year, debugging (&pc), &tm.tm_year) pc 1973 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (pc.month, -1, &tm.tm_mon) pc 1974 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (pc.day, 0, &tm.tm_mday)) pc 1976 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 1980 maint/gnulib/lib/parse-datetime.y if (pc.times_seen || (pc.rels_seen && ! pc.dates_seen && ! pc.days_seen)) pc 1982 maint/gnulib/lib/parse-datetime.y tm.tm_hour = to_hour (pc.hour, pc.meridian); pc 1985 maint/gnulib/lib/parse-datetime.y char const *mrd = (pc.meridian == MERam ? "am" pc 1986 maint/gnulib/lib/parse-datetime.y : pc.meridian == MERpm ?"pm" : ""); pc 1987 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 1989 maint/gnulib/lib/parse-datetime.y pc.hour, mrd); pc 1992 maint/gnulib/lib/parse-datetime.y tm.tm_min = pc.minutes; pc 1993 maint/gnulib/lib/parse-datetime.y tm.tm_sec = pc.seconds.tv_sec; pc 1994 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 1995 maint/gnulib/lib/parse-datetime.y dbg_printf ((pc.times_seen pc 2003 maint/gnulib/lib/parse-datetime.y pc.seconds.tv_nsec = 0; pc 2004 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2009 maint/gnulib/lib/parse-datetime.y if (pc.dates_seen | pc.days_seen | pc.times_seen) pc 2014 maint/gnulib/lib/parse-datetime.y if (pc.local_zones_seen) pc 2015 maint/gnulib/lib/parse-datetime.y tm.tm_isdst = pc.local_isdst; pc 2031 maint/gnulib/lib/parse-datetime.y bool time_zone_seen = pc.zones_seen != 0; pc 2046 maint/gnulib/lib/parse-datetime.y time_zone_str (pc.time_zone, &tz2buf[3]); pc 2050 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2069 maint/gnulib/lib/parse-datetime.y debug_mktime_not_ok (&tm0, &tm, &pc, time_zone_seen); pc 2076 maint/gnulib/lib/parse-datetime.y if (pc.days_seen && ! pc.dates_seen) pc 2079 maint/gnulib/lib/parse-datetime.y if (INT_MULTIPLY_WRAPV ((pc.day_ordinal pc 2080 maint/gnulib/lib/parse-datetime.y - (0 < pc.day_ordinal pc 2081 maint/gnulib/lib/parse-datetime.y && tm.tm_wday != pc.day_number)), pc 2083 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV ((pc.day_number - tm.tm_wday + 7) % 7, pc 2095 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2099 maint/gnulib/lib/parse-datetime.y str_days (&pc, dbg_ord, sizeof dbg_ord), pc 2100 maint/gnulib/lib/parse-datetime.y pc.day_ordinal, pc.day_number, pc 2101 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, pc 2106 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2108 maint/gnulib/lib/parse-datetime.y str_days (&pc, dbg_ord, sizeof dbg_ord), pc 2109 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm)); pc 2113 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2115 maint/gnulib/lib/parse-datetime.y if (!pc.dates_seen && !pc.days_seen) pc 2119 maint/gnulib/lib/parse-datetime.y if (pc.days_seen && pc.dates_seen) pc 2122 maint/gnulib/lib/parse-datetime.y str_days (&pc, dbg_ord, sizeof dbg_ord)); pc 2125 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm)); pc 2129 maint/gnulib/lib/parse-datetime.y if (pc.rel.year | pc.rel.month | pc.rel.day) pc 2131 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2133 maint/gnulib/lib/parse-datetime.y if ((pc.rel.year != 0 || pc.rel.month != 0) && tm.tm_mday != 15) pc 2138 maint/gnulib/lib/parse-datetime.y if (pc.rel.day != 0 && tm.tm_hour != 12) pc 2144 maint/gnulib/lib/parse-datetime.y if (INT_ADD_WRAPV (tm.tm_year, pc.rel.year, &year) pc 2145 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (tm.tm_mon, pc.rel.month, &month) pc 2146 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (tm.tm_mday, pc.rel.day, &day)) pc 2148 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2162 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2165 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, pc 2170 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2175 maint/gnulib/lib/parse-datetime.y pc.rel.year, pc.rel.month, pc.rel.day); pc 2177 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, pc 2210 maint/gnulib/lib/parse-datetime.y if (pc.rel.day == 0 pc 2212 maint/gnulib/lib/parse-datetime.y || (pc.rel.month == 0 && tm.tm_mon != month))) pc 2229 maint/gnulib/lib/parse-datetime.y if (pc.zones_seen) pc 2242 maint/gnulib/lib/parse-datetime.y overflow |= INT_SUBTRACT_WRAPV (pc.time_zone, utcoff, &delta); pc 2247 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2249 maint/gnulib/lib/parse-datetime.y pc.time_zone); pc 2255 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2259 maint/gnulib/lib/parse-datetime.y debug_strfdatetime (&tm, &pc, dbg_tm, sizeof dbg_tm), pc 2272 maint/gnulib/lib/parse-datetime.y intmax_t orig_ns = pc.seconds.tv_nsec; pc 2273 maint/gnulib/lib/parse-datetime.y intmax_t sum_ns = orig_ns + pc.rel.ns; pc 2278 maint/gnulib/lib/parse-datetime.y if (INT_MULTIPLY_WRAPV (pc.rel.hour, 60 * 60, &d1) pc 2280 maint/gnulib/lib/parse-datetime.y || INT_MULTIPLY_WRAPV (pc.rel.minutes, 60, &d2) pc 2282 maint/gnulib/lib/parse-datetime.y || INT_ADD_WRAPV (t2, pc.rel.seconds, &t3) pc 2285 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 2294 maint/gnulib/lib/parse-datetime.y if (debugging (&pc) pc 2295 maint/gnulib/lib/parse-datetime.y && (pc.rel.hour | pc.rel.minutes | pc.rel.seconds | pc.rel.ns)) pc 2300 maint/gnulib/lib/parse-datetime.y pc.rel.hour, pc.rel.minutes, pc.rel.seconds, pc 2301 maint/gnulib/lib/parse-datetime.y pc.rel.ns); pc 2325 maint/gnulib/lib/parse-datetime.y if (debugging (&pc)) pc 237 maint/gnulib/lib/uchar.in.h (char32_t *pc, const char *s, size_t n, mbstate_t *ps)); pc 239 maint/gnulib/lib/uchar.in.h (char32_t *pc, const char *s, size_t n, mbstate_t *ps)); pc 243 maint/gnulib/lib/uchar.in.h (char32_t *pc, const char *s, size_t n, mbstate_t *ps)); pc 246 maint/gnulib/lib/uchar.in.h (char32_t *pc, const char *s, size_t n, mbstate_t *ps));