Lines Matching defs:res_size
148 size_t res_size = 0;
179 if (res_size == 0)
181 res_size = l1 + 1 + l2 + 1;
182 res_ptr = (char *) malloc (res_size + 1);
186 res_size += l1 + 1 + l2 + 1;
187 res_ptr = (char *) realloc (res_ptr, res_size + 1);
192 res_size = 0;
197 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
198 strcpy (res_ptr + res_size - (l2 + 1), buf2);
201 if (res_size == 0)
205 *(res_ptr + res_size) = '\0';