Lines Matching defs:res_size
153 size_t res_size = 0;
184 if (res_size == 0)
186 res_size = l1 + 1 + l2 + 1;
187 res_ptr = (char *) malloc (res_size + 1);
191 res_size += l1 + 1 + l2 + 1;
192 res_ptr = (char *) realloc (res_ptr, res_size + 1);
197 res_size = 0;
202 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
203 strcpy (res_ptr + res_size - (l2 + 1), buf2);
206 if (res_size == 0)
210 *(res_ptr + res_size) = '\0';