Lines Matching refs:res_size
148 size_t res_size = 0; in get_charset_aliases() local
173 if (res_size == 0) in get_charset_aliases()
175 res_size = l1 + 1 + l2 + 1; in get_charset_aliases()
176 res_ptr = (char *) malloc (res_size + 1); in get_charset_aliases()
180 res_size += l1 + 1 + l2 + 1; in get_charset_aliases()
181 res_ptr = (char *) realloc (res_ptr, res_size + 1); in get_charset_aliases()
186 res_size = 0; in get_charset_aliases()
189 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); in get_charset_aliases()
190 strcpy (res_ptr + res_size - (l2 + 1), buf2); in get_charset_aliases()
193 if (res_size == 0) in get_charset_aliases()
197 *(res_ptr + res_size) = '\0'; in get_charset_aliases()