Home
last modified time | relevance | path

Searched refs:tz_abbr (Results 1 – 11 of 11) sorted by relevance

/PHP-5.5/ext/date/tests/
H A Dbug41964.phpt10 var_dump($res['zone'], $res['tz_abbr']);
14 var_dump($res['zone'], $res['tz_abbr']);
18 var_dump($res['zone'], $res['tz_abbr']);
22 var_dump($res['zone'], $res['tz_abbr']);
26 var_dump($res['zone'], $res['tz_abbr']);
30 var_dump($res['zone'], $res['tz_abbr']);
34 var_dump($res['zone'], $res['tz_abbr']);
H A Dbug35499.phpt48 ["tz_abbr"]=>
/PHP-5.5/ext/date/lib/
H A Dtimelib.c55 if (orig->tz_abbr) { in timelib_time_clone()
56 tmp->tz_abbr = strdup(orig->tz_abbr); in timelib_time_clone()
75 TIMELIB_TIME_FREE(tm->tz_abbr); in timelib_time_tz_abbr_update()
76 tm->tz_abbr = strdup(tz_abbr); in timelib_time_tz_abbr_update()
77 for (i = 0; i < strlen(tz_abbr); i++) { in timelib_time_tz_abbr_update()
78 tm->tz_abbr[i] = toupper(tz_abbr[i]); in timelib_time_tz_abbr_update()
84 TIMELIB_TIME_FREE(t->tz_abbr); in timelib_time_dtor()
161 return t->tz_abbr; in timelib_get_tz_abbr_ptr()
222 if (d->tz_abbr) { in timelib_dump_date()
223 printf(" %s", d->tz_abbr); in timelib_dump_date()
[all …]
H A Dunixtime2tm.c219 if (t->tz_abbr) { in timelib_set_timezone_from_offset()
220 free(t->tz_abbr); in timelib_set_timezone_from_offset()
222 t->tz_abbr = NULL; in timelib_set_timezone_from_offset()
233 if (t->tz_abbr) { in timelib_set_timezone_from_abbr()
234 free(t->tz_abbr); in timelib_set_timezone_from_abbr()
236 t->tz_abbr = strdup(abbr_info.abbr); in timelib_set_timezone_from_abbr()
259 if (t->tz_abbr) { in timelib_set_timezone()
260 free(t->tz_abbr); in timelib_set_timezone()
262 t->tz_abbr = strdup(gmt_offset->abbr); in timelib_set_timezone()
H A Dtm2unixtime.c425 if (tz->tz_abbr) { in do_adjust_timezone()
426 free(tz->tz_abbr); in do_adjust_timezone()
428 tz->tz_abbr = strdup(gmt_offset->abbr); in do_adjust_timezone()
H A Dtimelib_structs.h168 char *tz_abbr; /* Timezone abbreviation (display only) */ member
H A Dparse_date.re709 static long timelib_lookup_abbr(char **ptr, int *dst, char **tz_abbr, int *found)
732 *tz_abbr = word;
768 char *tz_abbr;
773 offset = timelib_lookup_abbr(ptr, dst, &tz_abbr, &found);
776 timelib_time_tz_abbr_update(t, tz_abbr);
780 if (!found || strcmp("UTC", tz_abbr) == 0) {
781 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) {
787 free(tz_abbr);
2188 if (!parsed->tz_abbr) {
2189 parsed->tz_abbr = now->tz_abbr ? strdup(now->tz_abbr) : NULL;
[all …]
H A Dtimelib.h115 void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr);
H A Dparse_date.c711 static long timelib_lookup_abbr(char **ptr, int *dst, char **tz_abbr, int *found) in timelib_lookup_abbr() argument
734 *tz_abbr = word; in timelib_lookup_abbr()
770 char *tz_abbr; in timelib_parse_zone() local
775 offset = timelib_lookup_abbr(ptr, dst, &tz_abbr, &found); in timelib_parse_zone()
778 timelib_time_tz_abbr_update(t, tz_abbr); in timelib_parse_zone()
782 if (!found || strcmp("UTC", tz_abbr) == 0) { in timelib_parse_zone()
783 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { in timelib_parse_zone()
789 free(tz_abbr); in timelib_parse_zone()
25179 if (!parsed->tz_abbr) { in timelib_fill_holes()
25180 parsed->tz_abbr = now->tz_abbr ? strdup(now->tz_abbr) : NULL; in timelib_fill_holes()
/PHP-5.5/ext/date/
H A Dphp_date.c1079 offset->abbr = strdup(t->tz_abbr); in date_format()
1290 offset->abbr = strdup(t->tz_abbr); in php_idate()
1923 if (it_time->tz_abbr) { in date_period_it_current_data()
1924 newdateobj->time->tz_abbr = strdup(it_time->tz_abbr); in date_period_it_current_data()
2152 if (old_obj->time->tz_abbr) { in date_object_clone_date()
2153 new_obj->time->tz_abbr = strdup(old_obj->time->tz_abbr); in date_object_clone_date()
2627 now->tz_abbr = new_abbr; in php_date_initialize()
2966 if (parsed_time->tz_abbr) { in php_date_do_return_parsed_time()
3670 free(dummy_t->tz_abbr); in timezone_initialize()
4432 if (dateobj->time->tz_abbr) { in PHP_METHOD()
[all …]
/PHP-5.5/ext/intl/common/
H A Dcommon_date.cpp81 ? ((php_date_obj*)object)->time->tz_abbr

Completed in 57 milliseconds