Home
last modified time | relevance | path

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

/PHP-7.4/ext/date/lib/
H A Dparse_tz.c178 buffer = (int64_t*) timelib_malloc(tz->bit64.timecnt * sizeof(int64_t)); in read_64bit_transitions()
192 cbuffer = (unsigned char*) timelib_malloc(tz->bit64.timecnt * sizeof(unsigned char)); in read_64bit_transitions()
229 tz->type = (ttinfo*) timelib_malloc(tz->bit64.typecnt * sizeof(ttinfo)); in read_64bit_types()
245 tz->timezone_abbr = (char*) timelib_malloc(tz->bit64.charcnt); in read_64bit_types()
261 tz->leap_times = (tlinfo*) timelib_malloc(tz->bit64.leapcnt * sizeof(tlinfo)); in read_64bit_types()
355 tz->location.comments = timelib_malloc(comments_len + 1); in read_location()
365 tz->location.comments = timelib_malloc(2); in set_default_location_and_comments()
580 tmp->trans = (int64_t *) timelib_malloc(tz->bit64.timecnt * sizeof(int64_t)); in timelib_tzinfo_clone()
586 tmp->type = (ttinfo*) timelib_malloc(tz->bit64.typecnt * sizeof(ttinfo)); in timelib_tzinfo_clone()
589 tmp->timezone_abbr = (char*) timelib_malloc(tz->bit64.charcnt); in timelib_tzinfo_clone()
[all …]
H A Dtimelib.h317 #ifndef timelib_malloc
318 # define timelib_malloc malloc macro
H A Dparse_iso_intervals.re337 in.errors = timelib_malloc(sizeof(timelib_error_container));
363 in.str = timelib_malloc((e - s) + YYMAXFILL);
H A Dparse_iso_intervals.c942 in.errors = timelib_malloc(sizeof(timelib_error_container)); in timelib_strtointerval()
968 in.str = timelib_malloc((e - s) + YYMAXFILL); in timelib_strtointerval()
H A Dparse_date.re314 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar));
1833 in.errors = timelib_malloc(sizeof(timelib_error_container));
1861 in.str = timelib_malloc((e - s) + YYMAXFILL);
2028 in.errors = timelib_malloc(sizeof(timelib_error_container));
H A Dparse_date.c316 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar));
24941 in.errors = timelib_malloc(sizeof(timelib_error_container)); in timelib_strtotime()
24969 in.str = timelib_malloc((e - s) + YYMAXFILL); in timelib_strtotime()
25136 in.errors = timelib_malloc(sizeof(timelib_error_container)); in timelib_parse_from_format_with_map()
/PHP-7.4/ext/date/
H A Dconfig.w3213 tl_config.WriteLine("#define timelib_malloc emalloc");
H A Dconfig0.m430 #define timelib_malloc emalloc
H A Dphp_date.c1145 offset->abbr = timelib_malloc(9); /* GMT±xxxx\0 */ in date_format()
1357 offset->abbr = timelib_malloc(9); /* GMT±xxxx\0 */ in php_idate()

Completed in 58 milliseconds