Searched refs:convert_bufsize (Results 1 – 1 of 1) sorted by relevance
555 static size_t convert_bufsize = 1024; in wxwrite() local562 convert_buffer = safe_realloc(NULL, convert_bufsize); in wxwrite()569 req_bufsize = wcstombs(NULL, ptr, convert_bufsize); in wxwrite()570 if (req_bufsize > convert_bufsize) { in wxwrite()571 convert_bufsize = req_bufsize + 1; in wxwrite()572 convert_buffer = safe_realloc(convert_buffer, convert_bufsize); in wxwrite()575 (void) wcstombs(convert_buffer, ptr, convert_bufsize); in wxwrite()