Home
last modified time | relevance | path

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

/PHP-8.3/ext/date/lib/
H A Dparse_tz.c204 buffer = (int64_t*) timelib_malloc(tz->bit64.timecnt * sizeof(int64_t)); in read_64bit_transitions()
218 cbuffer = (unsigned char*) timelib_malloc(tz->bit64.timecnt * sizeof(unsigned char)); in read_64bit_transitions()
248 buffer = (unsigned char*) timelib_malloc(tz->bit64.typecnt * sizeof(unsigned char) * 6); in read_64bit_types()
273 tz->timezone_abbr = (char*) timelib_malloc(tz->bit64.charcnt); in read_64bit_types()
289 tz->leap_times = (tlinfo*) timelib_malloc(tz->bit64.leapcnt * sizeof(tlinfo)); in read_64bit_types()
459 tz->location.comments = timelib_malloc(comments_len + 1); in read_location()
469 tz->location.comments = timelib_malloc(2); in set_default_location_and_comments()
762 tmp->trans = (int64_t *) timelib_malloc(tz->bit64.timecnt * sizeof(int64_t)); in timelib_tzinfo_clone()
768 tmp->type = (ttinfo*) timelib_malloc(tz->bit64.typecnt * sizeof(ttinfo)); in timelib_tzinfo_clone()
771 tmp->timezone_abbr = (char*) timelib_malloc(tz->bit64.charcnt); in timelib_tzinfo_clone()
[all …]
H A Dtimelib.h364 #ifndef timelib_malloc
365 # define timelib_malloc malloc macro
H A Dparse_iso_intervals.re339 in.errors = timelib_malloc(sizeof(timelib_error_container));
365 in.str = timelib_malloc((e - s) + YYMAXFILL);
H A Dparse_iso_intervals.c981 in.errors = timelib_malloc(sizeof(timelib_error_container)); in timelib_strtointerval()
1007 in.str = timelib_malloc((e - s) + YYMAXFILL); in timelib_strtointerval()
H A Dparse_date.re331 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar));
2006 in.errors = timelib_malloc(sizeof(timelib_error_container));
2034 in.str = timelib_malloc((e - s) + YYMAXFILL);
2204 in.errors = timelib_malloc(sizeof(timelib_error_container));
H A Dparse_date.c333 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar));
24856 in.errors = timelib_malloc(sizeof(timelib_error_container)); in timelib_strtotime()
24884 in.str = timelib_malloc((e - s) + YYMAXFILL); in timelib_strtotime()
25054 in.errors = timelib_malloc(sizeof(timelib_error_container)); in timelib_parse_from_format_with_map()
/PHP-8.3/ext/date/
H A Dconfig.w3214 tl_config.WriteLine("#define timelib_malloc emalloc");
H A Dconfig0.m435 #define timelib_malloc emalloc
H A Dphp_date.c703 offset->abbr = timelib_malloc(9); /* GMT±xxxx\0 */ in date_format()
926 offset->abbr = timelib_malloc(9); /* GMT±xxxx\0 */ in php_idate()

Completed in 97 milliseconds