Lines Matching refs:h

26 #include "timelib.h"
27 #include "timelib_private.h"
29 #include <ctype.h>
30 #include <errno.h>
31 #include <math.h>
32 #include <assert.h>
33 #include <limits.h>
80 /* Some compilers like AIX, defines uchar in sys/types.h */
96 …_free(str); return TIMELIB_ERROR; } else { s->time->have_time = 1; s->time->h = 0; s->time->i = 0;…
97 #define TIMELIB_UNHAVE_TIME() { s->time->have_time = 0; s->time->h = 0; s->time->i = 0; s->time->s …
158 #include "timezonemap.h"
163 #include "fallbackmap.h"
404 static timelib_sll timelib_meridian(const char **ptr, timelib_sll h)
412 if (h == 12) {
415 } else if (h != 12) {
431 static timelib_sll timelib_meridian_with_check(const char **ptr, timelib_sll h)
442 if (h == 12) {
445 } else if (h != 12) {
747 …case TIMELIB_HOUR: add_with_overflow(s, &s->time->relative.h, amount, relunit->multiplier); br…
1182 s->time->h = 12;
1224 s->time->h = s->time->i = s->time->s = 0;
1263 s->time->h = s->time->i = s->time->s = 0;
1301 s->time->h = timelib_get_nr(&ptr, 2);
1304 s->time->h = timelib_get_nr(&ptr, 2) - 1;
1309 s->time->h += timelib_meridian(&ptr, s->time->h);
1343 s->time->h = timelib_get_nr(&ptr, 2);
1351 s->time->h += timelib_meridian(&ptr, s->time->h);
1361 s->time->h = timelib_get_nr(&ptr, 2);
1371 s->time->h += timelib_meridian(&ptr, s->time->h);
1382 s->time->h = timelib_get_nr(&ptr, 2);
1410 s->time->h = timelib_get_nr(&ptr, 2);
1433 s->time->h = timelib_get_nr(&ptr, 2);
1456 s->time->h = timelib_get_nr(&ptr, 2);
1669 s->time->h = timelib_get_nr(&ptr, 2);
1775 s->time->h = timelib_get_nr(&ptr, 2);
1805 s->time->relative.h = 0 - s->time->relative.h;
1912 s->time->h = timelib_get_nr(&ptr, 2);
1922 s->time->h += timelib_meridian(&ptr, s->time->h);
1937 s->time->h = timelib_get_nr(&ptr, 2);
2028 …in.time->y = in.time->d = in.time->m = in.time->h = in.time->i = in.time->s = in.time->us = in.tim…
2043 in.time->h = TIMELIB_UNSET;
2062 if (in.time->have_time && !timelib_valid_time( in.time->h, in.time->i, in.time->s)) {
2097 time->h = time->i = time->s = 0;
2109 if (time->h == TIMELIB_UNSET ) time->h = 0;
2124 {'h', TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX},
2214 in.time->h = TIMELIB_UNSET;
2362 if ((s->time->h = timelib_get_nr(&ptr, 2)) == TIMELIB_UNSET) {
2366 if (s->time->h > 12) {
2376 if ((s->time->h = timelib_get_nr(&ptr, 2)) == TIMELIB_UNSET) {
2384 if (s->time->h == TIMELIB_UNSET) {
2387 if ((tmp = timelib_meridian_with_check(&ptr, s->time->h)) == TIMELIB_UNSET) {
2393 if (s->time->h != TIMELIB_UNSET) {
2394 s->time->h += tmp;
2621 …if (s->time->h != TIMELIB_UNSET || s->time->i != TIMELIB_UNSET || s->time->s != TIMELIB_UNSET || s…
2622 if (s->time->h == TIMELIB_UNSET ) {
2623 s->time->h = 0;
2659 if (s->time->h != TIMELIB_UNSET && s->time->i != TIMELIB_UNSET &&
2661 !timelib_valid_time( s->time->h, s->time->i, s->time->s)) {
2682 parsed->h = 0;
2689 parsed->h != TIMELIB_UNSET || parsed->i != TIMELIB_UNSET || parsed->s != TIMELIB_UNSET
2698 if (parsed->h == TIMELIB_UNSET) parsed->h = now->h != TIMELIB_UNSET ? now->h : 0;
2747 time.y, time.m, time.d, time.h, time.i, time.s, time.f, time.z, time.dst);
2750 …time.relative.y, time.relative.m, time.relative.d, time.relative.h, time.relative.i, time.relative…