Lines Matching refs:h

26 #include "timelib.h"
27 #include "timelib_private.h"
29 #include <ctype.h>
30 #include <math.h>
31 #include <assert.h>
78 /* Some compilers like AIX, defines uchar in sys/types.h */
94 …_free(str); return TIMELIB_ERROR; } else { s->time->have_time = 1; s->time->h = 0; s->time->i = 0;…
95 #define TIMELIB_UNHAVE_TIME() { s->time->have_time = 0; s->time->h = 0; s->time->i = 0; s->time->s …
156 #include "timezonemap.h"
161 #include "fallbackmap.h"
374 static timelib_sll timelib_meridian(char **ptr, timelib_sll h)
382 if (h == 12) {
385 } else if (h != 12) {
401 static timelib_sll timelib_meridian_with_check(char **ptr, timelib_sll h)
412 if (h == 12) {
415 } else if (h != 12) {
651 case TIMELIB_HOUR: s->time->relative.h += amount * relunit->multiplier; break;
1045 s->time->h = 12;
1087 s->time->h = s->time->i = s->time->s = 0;
1114 s->time->h = s->time->i = s->time->s = 0;
1152 s->time->h = timelib_get_nr((char **) &ptr, 2);
1155 s->time->h = timelib_get_nr((char **) &ptr, 2) - 1;
1160 s->time->h += timelib_meridian((char **) &ptr, s->time->h);
1194 s->time->h = timelib_get_nr((char **) &ptr, 2);
1201 s->time->h += timelib_meridian((char **) &ptr, s->time->h);
1211 s->time->h = timelib_get_nr((char **) &ptr, 2);
1221 s->time->h += timelib_meridian((char **) &ptr, s->time->h);
1232 s->time->h = timelib_get_nr((char **) &ptr, 2);
1258 s->time->h = timelib_get_nr((char **) &ptr, 2);
1281 s->time->h = timelib_get_nr((char **) &ptr, 2);
1304 s->time->h = timelib_get_nr((char **) &ptr, 2);
1505 s->time->h = timelib_get_nr((char **) &ptr, 2);
1611 s->time->h = timelib_get_nr((char **) &ptr, 2);
1638 s->time->relative.h = 0 - s->time->relative.h;
1744 s->time->h = timelib_get_nr((char **) &ptr, 2);
1754 s->time->h += timelib_meridian((char **) &ptr, s->time->h);
1769 s->time->h = timelib_get_nr((char **) &ptr, 2);
1855 …in.time->y = in.time->d = in.time->m = in.time->h = in.time->i = in.time->s = in.time->us = in.tim…
1870 in.time->h = TIMELIB_UNSET;
1889 if (in.time->have_time && !timelib_valid_time( in.time->h, in.time->i, in.time->s)) {
1924 time->h = time->i = time->s = 0;
1936 if (time->h == TIMELIB_UNSET ) time->h = 0;
1951 {'h', TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX},
2038 in.time->h = TIMELIB_UNSET;
2157 if ((s->time->h = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) {
2160 if (s->time->h > 12) {
2167 if ((s->time->h = timelib_get_nr((char **) &ptr, 2)) == TIMELIB_UNSET) {
2172 if (s->time->h == TIMELIB_UNSET) {
2174 } else if ((tmp = timelib_meridian_with_check((char **) &ptr, s->time->h)) == TIMELIB_UNSET) {
2177 s->time->h += tmp;
2246 s->time->h = s->time->i = s->time->s = 0;
2380 …if (s->time->h != TIMELIB_UNSET || s->time->i != TIMELIB_UNSET || s->time->s != TIMELIB_UNSET || s…
2381 if (s->time->h == TIMELIB_UNSET ) {
2382 s->time->h = 0;
2418 if (s->time->h != TIMELIB_UNSET && s->time->i != TIMELIB_UNSET &&
2420 !timelib_valid_time( s->time->h, s->time->i, s->time->s)) {
2441 parsed->h = 0;
2448 parsed->h != TIMELIB_UNSET || parsed->i != TIMELIB_UNSET || parsed->s != TIMELIB_UNSET
2457 if (parsed->h == TIMELIB_UNSET) parsed->h = now->h != TIMELIB_UNSET ? now->h : 0;
2503 time.y, time.m, time.d, time.h, time.i, time.s, time.f, time.z, time.dst);
2506 …time.relative.y, time.relative.m, time.relative.d, time.relative.h, time.relative.i, time.relative…