Home
last modified time | relevance | path

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

/PHP-7.0/ext/date/lib/
H A Dparse_tz.c110 buffer = (int32_t*) timelib_malloc(tz->bit32.timecnt * sizeof(int32_t)); in read_transistions()
120 cbuffer = (unsigned char*) timelib_malloc(tz->bit32.timecnt * sizeof(unsigned char)); in read_transistions()
154 buffer = (unsigned char*) timelib_malloc(tz->bit32.typecnt * sizeof(unsigned char) * 6); in read_types()
161 tz->type = (ttinfo*) timelib_malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); in read_types()
175 tz->timezone_abbr = (char*) timelib_malloc(tz->bit32.charcnt); in read_types()
183 leap_buffer = (int32_t *) timelib_malloc(tz->bit32.leapcnt * 2 * sizeof(int32_t)); in read_types()
190 tz->leap_times = (tlinfo*) timelib_malloc(tz->bit32.leapcnt * sizeof(tlinfo)); in read_types()
203 buffer = (unsigned char*) timelib_malloc(tz->bit32.ttisstdcnt * sizeof(unsigned char)); in read_types()
217 buffer = (unsigned char*) timelib_malloc(tz->bit32.ttisgmtcnt * sizeof(unsigned char)); in read_types()
256 tz->location.comments = timelib_malloc(comments_len + 1); in read_location()
H A Dtimelib.c148 tmp->trans = (int32_t *) timelib_malloc(tz->bit32.timecnt * sizeof(int32_t)); in timelib_tzinfo_clone()
149 tmp->trans_idx = (unsigned char*) timelib_malloc(tz->bit32.timecnt * sizeof(unsigned char)); in timelib_tzinfo_clone()
153 tmp->type = (ttinfo*) timelib_malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); in timelib_tzinfo_clone()
156 tmp->timezone_abbr = (char*) timelib_malloc(tz->bit32.charcnt); in timelib_tzinfo_clone()
159 tmp->leap_times = (tlinfo*) timelib_malloc(tz->bit32.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
H A Dtimelib.h33 #ifndef timelib_malloc
34 # define timelib_malloc malloc macro
H A Dparse_iso_intervals.re417 in.errors = timelib_malloc(sizeof(struct timelib_error_container));
443 in.str = timelib_malloc((e - s) + YYMAXFILL);
H A Dparse_iso_intervals.c923 in.errors = timelib_malloc(sizeof(struct timelib_error_container)); in timelib_strtointerval()
949 in.str = timelib_malloc((e - s) + YYMAXFILL); in timelib_strtointerval()
H A Dparse_date.re325 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar));
1741 in.errors = timelib_malloc(sizeof(struct timelib_error_container));
1769 in.str = timelib_malloc((e - s) + YYMAXFILL);
1861 in.errors = timelib_malloc(sizeof(struct timelib_error_container));
H A Dparse_date.c327 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar));
23852 in.errors = timelib_malloc(sizeof(struct timelib_error_container)); in timelib_strtotime()
23880 in.str = timelib_malloc((e - s) + YYMAXFILL); in timelib_strtotime()
23972 in.errors = timelib_malloc(sizeof(struct timelib_error_container)); in timelib_parse_from_format()
/PHP-7.0/ext/date/
H A Dconfig.w3215 tl_config.WriteLine("#define timelib_malloc emalloc");
H A Dconfig0.m431 #define timelib_malloc emalloc
H A Dphp_date.c1105 offset->abbr = timelib_malloc(9); /* GMT±xxxx\0 */ in date_format()
1315 offset->abbr = timelib_malloc(9); /* GMT±xxxx\0 */ in php_idate()

Completed in 56 milliseconds