Lines Matching refs:parsed

22751 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options)  in timelib_fill_holes()  argument
22753 if (!(options & TIMELIB_OVERRIDE_TIME) && parsed->have_date && !parsed->have_time) { in timelib_fill_holes()
22754 parsed->h = 0; in timelib_fill_holes()
22755 parsed->i = 0; in timelib_fill_holes()
22756 parsed->s = 0; in timelib_fill_holes()
22757 parsed->us = 0; in timelib_fill_holes()
22760 parsed->y != TIMELIB_UNSET || parsed->m != TIMELIB_UNSET || parsed->d != TIMELIB_UNSET || in timelib_fill_holes()
22761 parsed->h != TIMELIB_UNSET || parsed->i != TIMELIB_UNSET || parsed->s != TIMELIB_UNSET in timelib_fill_holes()
22763 if (parsed->us == TIMELIB_UNSET) parsed->us = 0; in timelib_fill_holes()
22765 if (parsed->us == TIMELIB_UNSET) parsed->us = now->us != TIMELIB_UNSET ? now->us : 0; in timelib_fill_holes()
22767 if (parsed->y == TIMELIB_UNSET) parsed->y = now->y != TIMELIB_UNSET ? now->y : 0; in timelib_fill_holes()
22768 if (parsed->m == TIMELIB_UNSET) parsed->m = now->m != TIMELIB_UNSET ? now->m : 0; in timelib_fill_holes()
22769 if (parsed->d == TIMELIB_UNSET) parsed->d = now->d != TIMELIB_UNSET ? now->d : 0; in timelib_fill_holes()
22770 if (parsed->h == TIMELIB_UNSET) parsed->h = now->h != TIMELIB_UNSET ? now->h : 0; in timelib_fill_holes()
22771 if (parsed->i == TIMELIB_UNSET) parsed->i = now->i != TIMELIB_UNSET ? now->i : 0; in timelib_fill_holes()
22772 if (parsed->s == TIMELIB_UNSET) parsed->s = now->s != TIMELIB_UNSET ? now->s : 0; in timelib_fill_holes()
22773 if (parsed->z == TIMELIB_UNSET) parsed->z = now->z != TIMELIB_UNSET ? now->z : 0; in timelib_fill_holes()
22774 if (parsed->dst == TIMELIB_UNSET) parsed->dst = now->dst != TIMELIB_UNSET ? now->dst : 0; in timelib_fill_holes()
22776 if (!parsed->tz_abbr) { in timelib_fill_holes()
22777 parsed->tz_abbr = now->tz_abbr ? timelib_strdup(now->tz_abbr) : NULL; in timelib_fill_holes()
22779 if (!parsed->tz_info) { in timelib_fill_holes()
22780parsed->tz_info = now->tz_info ? (!(options & TIMELIB_NO_CLONE) ? timelib_tzinfo_clone(now->tz_inf… in timelib_fill_holes()
22782 if (parsed->zone_type == 0 && now->zone_type != 0) { in timelib_fill_holes()
22783 parsed->zone_type = now->zone_type; in timelib_fill_holes()
22786 */ parsed->is_localtime = 1; in timelib_fill_holes()