Lines Matching refs:orig
190 static char *stringFromOptions(char *orig, list_t *newOpts);
693 stringFromOptions(char *orig, list_t *newOpts)
698 if (orig)
699 len = strlen(orig) + 1;
709 if (orig)
711 orig = (char *) realloc(orig, len);
712 OOM(orig);
717 orig = (char *) calloc(len, 1);
718 OOM(orig);
727 strcat(orig, ",");
728 strcat(orig, newOpts->item[i]);
731 strcpy(orig, newOpts->item[i]);
734 return orig;