Home
last modified time | relevance | path

Searched refs:abbr (Results 1 – 18 of 18) sorted by relevance

/php-src/ext/date/tests/
H A DDateTimeZone_listAbbreviations_basic1.phpt10 $abbr = DateTimeZone::listAbbreviations();
12 var_dump( gettype($abbr) );
13 var_dump( count($abbr) );
16 var_dump( $abbr["acst"] );
H A Dtimezone_abbreviations_list_basic1.phpt10 $abbr = timezone_abbreviations_list();
12 var_dump( gettype($abbr) );
13 var_dump( count($abbr) );
16 var_dump( $abbr["acst"] );
H A Dbug80963.phpt27 ["abbr"]=>
40 ["abbr"]=>
53 ["abbr"]=>
H A Dbug81504.phpt10 echo "{$tr['time']} {$tr['offset']} {$tr['abbr']}\n";
H A Dbug48058.phpt26 ["abbr"]=>
H A DDateTimeZone_getTransitions_basic1.phpt40 ["abbr"]=>
H A Dtimezone_transitions_get_basic1.phpt43 ["abbr"]=>
H A DDateTimeZone_getTransitions_bug1.phpt13 …%12d %s %6d %s %s\n", $t['ts'], $t['time'], $t['offset'], $t['isdst'] ? "DST" : " x ", $t['abbr']);
/php-src/ext/date/lib/
H A Dparse_tz.c377 static signed int find_ttinfo_index(timelib_tzinfo *tz, int32_t offset, int isdst, char *abbr) in find_ttinfo_index() argument
385 (strcmp(abbr, &tz->timezone_abbr[tz->type[i].abbr_idx]) == 0) in find_ttinfo_index()
394 static unsigned int add_abbr(timelib_tzinfo *tz, char *abbr) in add_abbr() argument
397 size_t new_length = old_length + strlen(abbr) + 1; in add_abbr()
399 memcpy(tz->timezone_abbr + old_length, abbr, strlen(abbr)); in add_abbr()
406 static signed int add_new_ttinfo_index(timelib_tzinfo *tz, int32_t offset, int isdst, char *abbr) in add_new_ttinfo_index() argument
410 tz->type[tz->bit64.typecnt].abbr_idx = add_abbr(tz, abbr); in add_new_ttinfo_index()
886 char *abbr; in timelib_get_time_zone_info() local
892 abbr = &(tz->timezone_abbr[to->abbr_idx]); in timelib_get_time_zone_info()
897 abbr = tz->timezone_abbr; in timelib_get_time_zone_info()
[all …]
H A Dunixtime2tm.c149 timelib_time_tz_abbr_update(tm, gmt_offset->abbr); in timelib_unixtime2local()
182 t->tz_abbr = timelib_strdup(abbr_info.abbr); in timelib_set_timezone_from_abbr()
208 t->tz_abbr = timelib_strdup(gmt_offset->abbr); in timelib_set_timezone()
H A Dtimelib.h247 char *abbr; member
275 char *abbr; member
588 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst);
H A Dtimelib.c143 TIMELIB_TIME_FREE(t->abbr); in timelib_time_offset_dtor()
H A Dparse_date.re2724 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst)
2728 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c25574 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
25578 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/php-src/ext/date/
H A Dphp_date.c697 offset->abbr = timelib_strdup(t->tz_abbr); in date_format()
704 snprintf(offset->abbr, 9, "GMT%c%02d%02d", in date_format()
776 …if (!localtime || strcmp(offset->abbr, "UTC") == 0 || strcmp(offset->abbr, "Z") == 0 || strcmp(off… in date_format()
1323 ta.tm_zone = offset->abbr; in php_strftime()
1990 new_obj->tzi.z.abbr = timelib_strdup(old_obj->tzi.z.abbr); in date_object_clone_timezone()
2020 return strcmp(o1->tzi.z.abbr, o2->tzi.z.abbr) ? 1 : 0; in date_object_compare_timezone()
2058 ZVAL_STRING(zv, tzobj->tzi.z.abbr); in php_timezone_to_string()
2266 timelib_free(intern->tzi.z.abbr); in date_object_free_storage_timezone()
3510 timelib_free(tzobj->tzi.z.abbr); in set_timezone_from_timelib_time()
4219 zend_string *abbr; in PHP_FUNCTION() local
[all …]
H A Dphp_date.stub.php221 function timezone_name_from_abbr(string $abbr, int $utcOffset = -1, int $isDST = -1): string|false … argument
H A Dphp_date_arginfo.h165 ZEND_ARG_TYPE_INFO(0, abbr, IS_STRING, 0)
/php-src/ext/intl/common/
H A Dcommon_date.cpp77 : ((php_timezone_obj*)object)->tzi.z.abbr; in timezone_convert_datetimezone()

Completed in 110 milliseconds