Lines Matching refs:parsed

25529 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options)  in timelib_fill_holes()  argument
25531 if (!(options & TIMELIB_OVERRIDE_TIME) && parsed->have_date && !parsed->have_time) { in timelib_fill_holes()
25532 parsed->h = 0; in timelib_fill_holes()
25533 parsed->i = 0; in timelib_fill_holes()
25534 parsed->s = 0; in timelib_fill_holes()
25535 parsed->us = 0; in timelib_fill_holes()
25538 parsed->y != TIMELIB_UNSET || parsed->m != TIMELIB_UNSET || parsed->d != TIMELIB_UNSET || in timelib_fill_holes()
25539 parsed->h != TIMELIB_UNSET || parsed->i != TIMELIB_UNSET || parsed->s != TIMELIB_UNSET in timelib_fill_holes()
25541 if (parsed->us == TIMELIB_UNSET) parsed->us = 0; in timelib_fill_holes()
25543 if (parsed->us == TIMELIB_UNSET) parsed->us = now->us != TIMELIB_UNSET ? now->us : 0; in timelib_fill_holes()
25545 if (parsed->y == TIMELIB_UNSET) parsed->y = now->y != TIMELIB_UNSET ? now->y : 0; in timelib_fill_holes()
25546 if (parsed->m == TIMELIB_UNSET) parsed->m = now->m != TIMELIB_UNSET ? now->m : 0; in timelib_fill_holes()
25547 if (parsed->d == TIMELIB_UNSET) parsed->d = now->d != TIMELIB_UNSET ? now->d : 0; in timelib_fill_holes()
25548 if (parsed->h == TIMELIB_UNSET) parsed->h = now->h != TIMELIB_UNSET ? now->h : 0; in timelib_fill_holes()
25549 if (parsed->i == TIMELIB_UNSET) parsed->i = now->i != TIMELIB_UNSET ? now->i : 0; in timelib_fill_holes()
25550 if (parsed->s == TIMELIB_UNSET) parsed->s = now->s != TIMELIB_UNSET ? now->s : 0; in timelib_fill_holes()
25552 if (!parsed->tz_info) { in timelib_fill_holes()
25553parsed->tz_info = now->tz_info ? (!(options & TIMELIB_NO_CLONE) ? timelib_tzinfo_clone(now->tz_inf… in timelib_fill_holes()
25555 if (parsed->z == TIMELIB_UNSET) parsed->z = now->z != TIMELIB_UNSET ? now->z : 0; in timelib_fill_holes()
25556 if (parsed->dst == TIMELIB_UNSET) parsed->dst = now->dst != TIMELIB_UNSET ? now->dst : 0; in timelib_fill_holes()
25558 if (!parsed->tz_abbr) { in timelib_fill_holes()
25559 parsed->tz_abbr = now->tz_abbr ? timelib_strdup(now->tz_abbr) : NULL; in timelib_fill_holes()
25563 if (parsed->zone_type == 0 && now->zone_type != 0) { in timelib_fill_holes()
25564 parsed->zone_type = now->zone_type; in timelib_fill_holes()
25567 */ parsed->is_localtime = 1; in timelib_fill_holes()