Home
last modified time | relevance | path

Searched refs:TIMELIB_UNSET (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/date/lib/
H A Dparse_posix.c152 return TIMELIB_UNSET; in read_number()
171 if (hours == TIMELIB_UNSET) { in read_offset()
179 if (minutes == TIMELIB_UNSET) { in read_offset()
188 if (seconds == TIMELIB_UNSET) { in read_offset()
194 return TIMELIB_UNSET; in read_offset()
214 if (tmp->mwd.month == TIMELIB_UNSET) { in read_trans_spec_mwd()
225 if (tmp->mwd.week == TIMELIB_UNSET) { in read_trans_spec_mwd()
236 if (tmp->mwd.dow == TIMELIB_UNSET) { in read_trans_spec_mwd()
266 if (tmp->days == TIMELIB_UNSET) { in read_transition_spec()
275 if (tmp->hour == TIMELIB_UNSET) { in read_transition_spec()
[all …]
H A Dparse_date.re439 return TIMELIB_UNSET;
452 return TIMELIB_UNSET;
456 return TIMELIB_UNSET;
462 return TIMELIB_UNSET;
2617 …if (s->time->h != TIMELIB_UNSET || s->time->i != TIMELIB_UNSET || s->time->s != TIMELIB_UNSET || s…
2633 …if (s->time->y != TIMELIB_UNSET && (iso_week_of_year != TIMELIB_UNSET || iso_year != TIMELIB_UNSET
2636 …if (iso_year != TIMELIB_UNSET && (s->time->y != TIMELIB_UNSET || s->time->m != TIMELIB_UNSET || s-…
2655 if (s->time->h != TIMELIB_UNSET && s->time->i != TIMELIB_UNSET &&
2661 if (s->time->y != TIMELIB_UNSET && s->time->m != TIMELIB_UNSET &&
2684 parsed->y != TIMELIB_UNSET || parsed->m != TIMELIB_UNSET || parsed->d != TIMELIB_UNSET ||
[all …]
H A Dparse_iso_intervals.re115 return TIMELIB_UNSET;
138 return TIMELIB_UNSET;
373 in.begin->y = TIMELIB_UNSET;
374 in.begin->d = TIMELIB_UNSET;
375 in.begin->m = TIMELIB_UNSET;
386 in.end->y = TIMELIB_UNSET;
387 in.end->d = TIMELIB_UNSET;
388 in.end->m = TIMELIB_UNSET;
389 in.end->h = TIMELIB_UNSET;
390 in.end->i = TIMELIB_UNSET;
[all …]
H A Dparse_iso_intervals.c117 return TIMELIB_UNSET; in timelib_get_nr()
140 return TIMELIB_UNSET; in timelib_get_unsigned_nr()
978 in.begin->y = TIMELIB_UNSET; in timelib_strtointerval()
979 in.begin->d = TIMELIB_UNSET; in timelib_strtointerval()
980 in.begin->m = TIMELIB_UNSET; in timelib_strtointerval()
991 in.end->y = TIMELIB_UNSET; in timelib_strtointerval()
992 in.end->d = TIMELIB_UNSET; in timelib_strtointerval()
993 in.end->m = TIMELIB_UNSET; in timelib_strtointerval()
994 in.end->h = TIMELIB_UNSET; in timelib_strtointerval()
995 in.end->i = TIMELIB_UNSET; in timelib_strtointerval()
[all …]
H A Dtm2unixtime.c228 if (time->us != TIMELIB_UNSET) do_range_limit(0, 1000000, 1000000, &time->us, &time->s); in timelib_do_normalize()
229 if (time->s != TIMELIB_UNSET) do_range_limit(0, 60, 60, &time->s, &time->i); in timelib_do_normalize()
230 if (time->s != TIMELIB_UNSET) do_range_limit(0, 60, 60, &time->i, &time->h); in timelib_do_normalize()
231 if (time->s != TIMELIB_UNSET) do_range_limit(0, 24, 24, &time->h, &time->d); in timelib_do_normalize()
H A Dparse_date.c441 return TIMELIB_UNSET; in timelib_meridian_with_check()
454 return TIMELIB_UNSET; in timelib_meridian_with_check()
458 return TIMELIB_UNSET; in timelib_meridian_with_check()
464 return TIMELIB_UNSET; in timelib_meridian_with_check()
25467 …if (s->time->h != TIMELIB_UNSET || s->time->i != TIMELIB_UNSET || s->time->s != TIMELIB_UNSET || s… in timelib_parse_from_format_with_map()
25483 …if (s->time->y != TIMELIB_UNSET && (iso_week_of_year != TIMELIB_UNSET || iso_year != TIMELIB_UNSET in timelib_parse_from_format_with_map()
25486 …if (iso_year != TIMELIB_UNSET && (s->time->y != TIMELIB_UNSET || s->time->m != TIMELIB_UNSET || s-… in timelib_parse_from_format_with_map()
25505 if (s->time->h != TIMELIB_UNSET && s->time->i != TIMELIB_UNSET && in timelib_parse_from_format_with_map()
25511 if (s->time->y != TIMELIB_UNSET && s->time->m != TIMELIB_UNSET && in timelib_parse_from_format_with_map()
25534 parsed->y != TIMELIB_UNSET || parsed->m != TIMELIB_UNSET || parsed->d != TIMELIB_UNSET || in timelib_fill_holes()
[all …]
H A Dparse_tz.c391 return TIMELIB_UNSET; in find_ttinfo_index()
427 if (tz->posix_info->type_index_std_type == TIMELIB_UNSET) { in integrate_posix_string()
438 if (tz->posix_info->type_index_dst_type == TIMELIB_UNSET) { in integrate_posix_string()
H A Dtimelib.h382 #define TIMELIB_UNSET -9999999 macro
/php-src/ext/date/
H A Dphp_date.c3140 if (parsed_time->us == TIMELIB_UNSET) { in php_date_do_return_parsed_time()
3278 if (tmp_time->y != TIMELIB_UNSET) { in php_date_modify()
3281 if (tmp_time->m != TIMELIB_UNSET) { in php_date_modify()
3284 if (tmp_time->d != TIMELIB_UNSET) { in php_date_modify()
3288 if (tmp_time->h != TIMELIB_UNSET) { in php_date_modify()
3290 if (tmp_time->i != TIMELIB_UNSET) { in php_date_modify()
3292 if (tmp_time->s != TIMELIB_UNSET) { in php_date_modify()
3303 if (tmp_time->us != TIMELIB_UNSET) { in php_date_modify()
4533 } else if (value != TIMELIB_UNSET) { in date_interval_read_property()
4691 (*intobj)->diff->member = TIMELIB_UNSET; \ in php_date_interval_initialize_from_hash()
[all …]

Completed in 70 milliseconds