Searched refs:decimalpoint_cache (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
H A Dgethex.c57 static unsigned char *decimalpoint_cache; local
58 if (!(s0 = decimalpoint_cache)) {
60 if ((decimalpoint_cache = (char*)MALLOC(strlen(s0) + 1))) {
61 strlcpy(decimalpoint_cache, s0, strlen(s0) + 1);
62 s0 = decimalpoint_cache;
H A Dstrtod.c113 static char *decimalpoint_cache; local
115 if (!(s0 = decimalpoint_cache)) {
117 if ((decimalpoint_cache = (char*)MALLOC(strlen(s0) + 1))) {
118 strlcpy(decimalpoint_cache, s0, strlen(s0) + 1);
119 s0 = decimalpoint_cache;
H A Dstrtodg.c362 static char *decimalpoint_cache; local
364 if (!(s0 = decimalpoint_cache)) {
366 if ((decimalpoint_cache = (char*)MALLOC(strlen(s0) + 1))) {
367 strlcpy(decimalpoint_cache, s0, strlen(s0) + 1);
368 s0 = decimalpoint_cache;

Completed in 394 milliseconds