Home
last modified time | relevance | path

Searched refs:old_tz_size (Results 1 – 2 of 2) sorted by relevance

/third_party/musl/src/time/
D__tz.c37 static size_t old_tz_size = sizeof old_tz_buf; variable
150 if (i >= old_tz_size) { in do_tzset()
151 old_tz_size *= 2; in do_tzset()
152 if (i >= old_tz_size) old_tz_size = i+1; in do_tzset()
153 if (old_tz_size > PATH_MAX+2) old_tz_size = PATH_MAX+2; in do_tzset()
154 old_tz = malloc(old_tz_size); in do_tzset()
/third_party/musl/porting/linux/user/src/time/
D__tz.c58 static size_t old_tz_size = sizeof old_tz_buf; variable
202 if (i >= old_tz_size) { in do_tzset()
203 old_tz_size *= 2; in do_tzset()
204 if (i >= old_tz_size) old_tz_size = i+1; in do_tzset()
205 if (old_tz_size > PATH_MAX+2) old_tz_size = PATH_MAX+2; in do_tzset()
206 old_tz = malloc(old_tz_size); in do_tzset()