Lines Matching defs:res_size
144 size_t res_size = 0;
169 if (res_size == 0)
171 res_size = l1 + 1 + l2 + 1;
172 res_ptr = (char *) malloc (res_size + 1);
176 res_size += l1 + 1 + l2 + 1;
177 res_ptr = (char *) realloc (res_ptr, res_size + 1);
182 res_size = 0;
185 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
186 strcpy (res_ptr + res_size - (l2 + 1), buf2);
189 if (res_size == 0)
193 *(res_ptr + res_size) = '\0';