Searched refs:encode_buf (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/lib/libdscfg/common/ |
H A D | cfg.c | 1207 char encode_buf[CFG_MAX_BUF]; in cfg_put_options() local 1230 *encode_buf = ';'; in cfg_put_options() 1231 enclen = cfg_encode_string(tag, &encode_buf[1], CFG_MAX_BUF - 1) + 1; in cfg_put_options() 1237 encode_buf[enclen] = '='; in cfg_put_options() 1238 encode_buf[enclen + 1] = '\0'; in cfg_put_options() 1241 if (strncmp(buf, &encode_buf[1], enclen) == 0) { in cfg_put_options() 1247 strcat(p, &encode_buf[1]); in cfg_put_options() 1251 strcpy(p, &encode_buf[1]); in cfg_put_options() 1253 if (cfg_encode_string(val, encode_buf, CFG_MAX_BUF) < 0) { in cfg_put_options() 1258 strcat(p, encode_buf); in cfg_put_options() [all …]
|
/titanic_44/usr/src/lib/sasl_plugins/gssapi/ |
H A D | gssapi.c | 157 char *encode_buf; /* For encoding/decoding mem management */ member 413 ret = _plug_buf_alloc(text->utils, &(text->encode_buf), in sasl_gss_encode() 425 memcpy(text->encode_buf, &len, 4); in sasl_gss_encode() 426 memcpy(text->encode_buf + 4, output_token->value, output_token->length); in sasl_gss_encode() 433 *output = text->encode_buf; in sasl_gss_encode() 688 if (text->encode_buf) { 689 text->utils->free(text->encode_buf); 690 text->encode_buf = NULL;
|
/titanic_44/usr/src/lib/libsasl/lib/ |
H A D | common.c | 339 result = _iovec_to_buf(conn->gctx, invec, numiov, &conn->encode_buf); in sasl_encodev() 341 result = _iovec_to_buf(invec, numiov, &conn->encode_buf); in sasl_encodev() 345 *output = conn->encode_buf->data; in sasl_encodev() 346 *outputlen = conn->encode_buf->curlen; in sasl_encodev() 535 conn->encode_buf = NULL; in _sasl_conn_init() 695 if(conn->encode_buf) { in _sasl_conn_dispose() 696 if(conn->encode_buf->data) sasl_FREE(conn->encode_buf->data); in _sasl_conn_dispose() 697 sasl_FREE(conn->encode_buf); in _sasl_conn_dispose()
|
H A D | saslint.h | 200 buffer_info_t *encode_buf; member
|
/titanic_44/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 242 char *encode_buf, *decode_buf, *decode_once_buf; member 1756 ret = _plug_buf_alloc(text->utils, &(text->encode_buf), 1767 out = (text->encode_buf)+4; 1772 memcpy(text->encode_buf, &tmpnum, 4); 1773 memcpy(text->encode_buf + 4, inblob->data, inblob->curlen); 1776 text->utils->hmac_md5((const unsigned char *) text->encode_buf, 1800 memcpy(text->encode_buf, &tmp, 4); 1804 *output = text->encode_buf; 2035 ret = _plug_buf_alloc(text->utils, &(text->encode_buf), 2042 memcpy(text->encode_buf, &tmpnum, 4); [all …]
|