Lines Matching refs:a_old
100 * Arguments: a_old - [RO, *RW] - (char **)
105 * to the end of the "a_old" string
118 * NOTE: Any string returned in 'a_old' is placed in new storage for the
124 _z_strAddToken(char **a_old, char *a_new, char a_separator)
128 assert(a_old != NULL);
143 if ((*a_old != NULL) && ((*a_old)[0] == '\0')) {
144 /* *a_old is set to NULL by free */
145 free(*a_old);
146 *a_old = NULL;
151 if (*a_old != NULL) {
153 p = _z_strPrintf("%s%c%s", *a_old, a_separator, a_new);
154 free(*a_old);
155 *a_old = p;
161 assert(*a_old == NULL);
162 *a_old = _z_strdup(a_new);