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