Home
last modified time | relevance | path

Searched refs:rwbuf (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c283 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 Dsaslint.h609 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 Dcommon.c2178 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 Dplugin_common.h156 int _plug_buf_alloc(const sasl_utils_t *utils, char **rwbuf,
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dparseaddr.c1862 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;