Searched refs:a_old (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/lib/libinstzones/common/ |
H A D | zones_str.c | 124 _z_strAddToken(char **a_old, char *a_new, char a_separator) in _z_strAddToken() argument 128 assert(a_old != NULL); in _z_strAddToken() 143 if ((*a_old != NULL) && ((*a_old)[0] == '\0')) { in _z_strAddToken() 145 free(*a_old); in _z_strAddToken() 146 *a_old = NULL; in _z_strAddToken() 151 if (*a_old != NULL) { in _z_strAddToken() 153 p = _z_strPrintf("%s%c%s", *a_old, a_separator, a_new); in _z_strAddToken() 154 free(*a_old); in _z_strAddToken() 155 *a_old = p; in _z_strAddToken() 161 assert(*a_old == NULL); in _z_strAddToken() [all …]
|
H A D | instzones_lib.h | 351 void _z_strAddToken(char **a_old, char *a_new,
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | pkgstr.c | 332 pkgstrExpandTokens(char **a_old, char *a_string, char a_separator, in pkgstrExpandTokens() argument 366 if (pkgstrContainsToken(*a_old, p, sep) == B_FALSE) { in pkgstrExpandTokens() 367 pkgstrAddToken(a_old, p, *sep); in pkgstrExpandTokens() 611 pkgstrAddToken(char **a_old, char *a_new, char a_separator) in pkgstrAddToken() argument 615 assert(a_old != (char **)NULL); in pkgstrAddToken() 636 if ((*a_old != (char *)NULL) && ((*a_old)[0] == '\0')) { in pkgstrAddToken() 638 free(*a_old); in pkgstrAddToken() 639 *a_old = (char *)NULL; in pkgstrAddToken() 644 if (*a_old != (char *)NULL) { in pkgstrAddToken() 646 p = pkgstrPrintf("%s%c%s", *a_old, a_separator, a_new); in pkgstrAddToken() [all …]
|
H A D | pkglib.h | 531 void pkgstrAddToken(char **a_old, char *a_new, char a_separator); 534 void pkgstrExpandTokens(char **a_old, char *a_string,
|