/PHP-8.2/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.2/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 | 149 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 D | timelib.h | 247 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 D | timelib.c | 143 TIMELIB_TIME_FREE(t->abbr); in timelib_time_offset_dtor()
|
H A D | parse_date.re | 2724 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) 2728 tp = abbr_search(abbr, gmtoffset, isdst);
|
H A D | parse_date.c | 25574 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-8.2/ext/date/ |
H A D | php_date.c | 679 offset->abbr = timelib_strdup(t->tz_abbr); in date_format() 686 snprintf(offset->abbr, 9, "GMT%c%02d%02d", in date_format() 758 …if (!localtime || strcmp(offset->abbr, "UTC") == 0 || strcmp(offset->abbr, "Z") == 0 || strcmp(off… in date_format() 1296 ta.tm_zone = offset->abbr; in php_strftime() 1986 new_obj->tzi.z.abbr = timelib_strdup(old_obj->tzi.z.abbr); in date_object_clone_timezone() 2016 return strcmp(o1->tzi.z.abbr, o2->tzi.z.abbr) ? 1 : 0; in date_object_compare_timezone() 2054 ZVAL_STRING(zv, tzobj->tzi.z.abbr); in php_timezone_to_string() 2265 timelib_free(intern->tzi.z.abbr); in date_object_free_storage_timezone() 3331 timelib_free(tzobj->tzi.z.abbr); in set_timezone_from_timelib_time() 3936 zend_string *abbr; in PHP_FUNCTION() local [all …]
|
H A D | php_date.stub.php | 218 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.2/ext/intl/common/ |
H A D | common_date.cpp | 77 : ((php_timezone_obj*)object)->tzi.z.abbr; in timezone_convert_datetimezone()
|