/PHP-8.1/ext/date/tests/ |
H A D | DateTimeZone_listAbbreviations_basic1.phpt | 10 $abbr = DateTimeZone::listAbbreviations(); 12 var_dump( gettype($abbr) ); 13 var_dump( count($abbr) ); 16 var_dump( $abbr["acst"] );
|
H A D | timezone_abbreviations_list_basic1.phpt | 10 $abbr = timezone_abbreviations_list(); 12 var_dump( gettype($abbr) ); 13 var_dump( count($abbr) ); 16 var_dump( $abbr["acst"] );
|
H A D | bug80963.phpt | 27 ["abbr"]=> 40 ["abbr"]=> 53 ["abbr"]=>
|
H A D | bug81504.phpt | 10 echo "{$tr['time']} {$tr['offset']} {$tr['abbr']}\n";
|
H A D | bug48058.phpt | 26 ["abbr"]=>
|
H A D | DateTimeZone_getTransitions_basic1.phpt | 40 ["abbr"]=>
|
H A D | timezone_transitions_get_basic1.phpt | 43 ["abbr"]=>
|
H A D | DateTimeZone_getTransitions_bug1.phpt | 13 …%12d %s %6d %s %s\n", $t['ts'], $t['time'], $t['offset'], $t['isdst'] ? "DST" : " x ", $t['abbr']);
|
/PHP-8.1/ext/date/lib/ |
H A D | parse_tz.c | 377 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 D | unixtime2tm.c | 150 timelib_time_tz_abbr_update(tm, gmt_offset->abbr); in timelib_unixtime2local() 183 t->tz_abbr = timelib_strdup(abbr_info.abbr); in timelib_set_timezone_from_abbr() 209 t->tz_abbr = timelib_strdup(gmt_offset->abbr); in timelib_set_timezone()
|
H A D | timelib.h | 247 char *abbr; member 275 char *abbr; member 586 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst);
|
H A D | timelib.c | 143 TIMELIB_TIME_FREE(t->abbr); in timelib_time_offset_dtor()
|
H A D | parse_date.re | 2641 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) 2645 tp = abbr_search(abbr, gmtoffset, isdst);
|
H A D | parse_date.c | 26639 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument 26643 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
|
/PHP-8.1/ext/date/ |
H A D | php_date.c | 645 offset->abbr = timelib_strdup(t->tz_abbr); in date_format() 652 snprintf(offset->abbr, 9, "GMT%c%02d%02d", in date_format() 719 …if (!localtime || strcmp(offset->abbr, "UTC") == 0 || strcmp(offset->abbr, "Z") == 0 || strcmp(off… in date_format() 863 offset->abbr = timelib_strdup(t->tz_abbr); in php_idate() 1255 ta.tm_zone = offset->abbr; in php_strftime() 1916 new_obj->tzi.z.abbr = timelib_strdup(old_obj->tzi.z.abbr); in date_object_clone_timezone() 1946 return strcmp(o1->tzi.z.abbr, o2->tzi.z.abbr) ? 1 : 0; in date_object_compare_timezone() 1984 ZVAL_STRING(zv, tzobj->tzi.z.abbr); in php_timezone_to_string() 2171 timelib_free(intern->tzi.z.abbr); in date_object_free_storage_timezone() 3615 zend_string *abbr; in PHP_FUNCTION() local [all …]
|
H A D | php_date.stub.php | 122 function timezone_name_from_abbr(string $abbr, int $utcOffset = -1, int $isDST = -1): string|false … argument
|
H A D | php_date_arginfo.h | 165 ZEND_ARG_TYPE_INFO(0, abbr, IS_STRING, 0)
|
/PHP-8.1/ext/intl/common/ |
H A D | common_date.cpp | 77 : ((php_timezone_obj*)object)->tzi.z.abbr; in timezone_convert_datetimezone()
|