Searched refs:rwbuf (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libsasl/plugin/ |
H A D | plugin_common.c | 283 int _plug_buf_alloc(const sasl_utils_t *utils, char **rwbuf, argument 286 if(!utils || !rwbuf || !curlen) { 291 if(!(*rwbuf)) { 292 *rwbuf = utils->malloc(newlen); 293 if (*rwbuf == NULL) { 299 } else if(*rwbuf && *curlen < newlen) { 309 *rwbuf = utils->realloc(*rwbuf, needed); 310 if (*rwbuf == NULL) {
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | saslint.h | 609 int __buf_alloc(const _sasl_global_context_t *gctx, char **rwbuf, 611 #define _buf_alloc(rwbuf, curlen, newlen) \ argument 612 __buf_alloc(gctx, rwbuf, curlen, newlen) 621 int _buf_alloc(char **rwbuf, size_t *curlen, size_t newlen);
|
H A D | common.c | 2178 int __buf_alloc(const _sasl_global_context_t *gctx, char **rwbuf, in __buf_alloc() argument 2181 int _buf_alloc(char **rwbuf, size_t *curlen, size_t newlen) in __buf_alloc() 2184 if(!(*rwbuf)) { in __buf_alloc() 2185 *rwbuf = sasl_ALLOC(newlen); in __buf_alloc() 2186 if (*rwbuf == NULL) { in __buf_alloc() 2191 } else if(*rwbuf && *curlen < newlen) { in __buf_alloc() 2197 *rwbuf = sasl_REALLOC(*rwbuf, needed); in __buf_alloc() 2199 if (*rwbuf == NULL) { in __buf_alloc()
|
/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | plugin_common.h | 156 int _plug_buf_alloc(const sasl_utils_t *utils, char **rwbuf,
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | parseaddr.c | 1862 static char *rwbuf = NULL; local 1867 if (rwbuf != NULL) 1868 sm_free(rwbuf); 1870 rwbuf = (char *) sm_pmalloc_x(rwbuflen); 1872 (void) sm_strlcpyn(rwbuf, rwbuflen, 2, key, map->map_tapp); 1875 rwbuf); 1876 return rwbuf;
|