| /onnv-gate/usr/src/lib/libtnfprobe/ |
| H A D | trace_funcs.c | 115 char tmp_buf[512]; in tnf_trace_alloc() local 127 sprintf(tmp_buf, "tnf_trace_alloc: begin\n"); in tnf_trace_alloc() 128 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc() 142 sprintf(tmp_buf, "tnf_trace_alloc: (1) probe_index=%p\n", probe_index); in tnf_trace_alloc() 143 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc() 148 sprintf(tmp_buf, "tnf_trace_alloc: (2) probe_index=%p\n", in tnf_trace_alloc() 150 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc() 151 sprintf(tmp_buf, "tnf_trace_alloc: goto null_ret\n"); in tnf_trace_alloc() 152 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc() 159 sprintf(tmp_buf, "tnf_trace_alloc: (3) probe_index=%p\n", in tnf_trace_alloc() [all …]
|
| H A D | probe_cntl.c | 188 char tmp_buf[512]; in __tnf_probe_notify() local 189 (void) sprintf(tmp_buf, "__tnf_probe_notify: \n"); in __tnf_probe_notify() 190 (void) write(2, tmp_buf, strlen(tmp_buf)); in __tnf_probe_notify() 230 char tmp_buf[512]; in _tnf_fork_thread_setup() local 231 (void) sprintf(tmp_buf, "in _tnf_fork_thread_setup: \n"); in _tnf_fork_thread_setup() 232 (void) write(2, tmp_buf, strlen(tmp_buf)); in _tnf_fork_thread_setup() 521 char tmp_buf[512]; in tnf_probe_getfunc() local 522 (void) sprintf(tmp_buf, "tnf_probe_getfunc: \n"); in tnf_probe_getfunc() 523 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_probe_getfunc() 685 char tmp_buf[512]; in common_fork() local [all …]
|
| H A D | tnf_buf.c | 700 char tmp_buf[512]; in tnfw_b_fw_alloc() local 704 sprintf(tmp_buf, "tnfw_b_vw_alloc: begin\n"); in tnfw_b_fw_alloc() 705 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnfw_b_fw_alloc() 709 sprintf(tmp_buf, "tnfw_b_vw_alloc: (1)hint=%p\n", hint); in tnfw_b_fw_alloc() 710 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnfw_b_fw_alloc() 715 sprintf(tmp_buf, "tnfw_b_vw_alloc: (2)hint=%p,zone_end=%p\n", in tnfw_b_fw_alloc() 717 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnfw_b_fw_alloc() 721 sprintf(tmp_buf, "tnfw_b_fw_alloc: fh = %p, next->alloc = %d\n", in tnfw_b_fw_alloc() 723 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnfw_b_fw_alloc() 725 sprintf(tmp_buf, "tnfw_b_vw_alloc: about to deref hint\n"); in tnfw_b_fw_alloc() [all …]
|
| H A D | debug_funcs.c | 63 char tmp_buf[BUF_LIMIT]; in tnf_probe_debug() local 73 buf_p = tmp_buf; in tnf_probe_debug() 98 (void) write(STDERR_FILENO, tmp_buf, strlen(tmp_buf)); in tnf_probe_debug() 186 (void) write(STDERR_FILENO, tmp_buf, strlen(tmp_buf)); in tnf_probe_debug()
|
| /onnv-gate/usr/src/lib/libc/port/stdio/ |
| H A D | vwscanf.c | 109 char *tmp_buf; in _vswscanf_c89() local 123 tmp_buf = alloca(sizeof (char) * (clen + 1)); in _vswscanf_c89() 124 if (tmp_buf == NULL) in _vswscanf_c89() 126 wlen = wcstombs(tmp_buf, wstr, clen + 1); in _vswscanf_c89() 133 strbuf._ptr = strbuf._base = (unsigned char *)tmp_buf; in _vswscanf_c89() 134 strbuf._cnt = strlen(tmp_buf); in _vswscanf_c89()
|
| /onnv-gate/usr/src/common/openssl/ssl/ |
| H A D | d1_clnt.c | 722 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; in dtls1_send_client_key_exchange() local 740 tmp_buf[0]=s->client_version>>8; in dtls1_send_client_key_exchange() 741 tmp_buf[1]=s->client_version&0xff; in dtls1_send_client_key_exchange() 742 if (RAND_bytes(&(tmp_buf[2]),sizeof tmp_buf-2) <= 0) in dtls1_send_client_key_exchange() 745 s->session->master_key_length=sizeof tmp_buf; in dtls1_send_client_key_exchange() 751 n=RSA_public_encrypt(sizeof tmp_buf, in dtls1_send_client_key_exchange() 752 tmp_buf,p,rsa,RSA_PKCS1_PADDING); in dtls1_send_client_key_exchange() 755 if (s->options & SSL_OP_PKCS1_CHECK_2) tmp_buf[0]=0x70; in dtls1_send_client_key_exchange() 773 tmp_buf,sizeof tmp_buf); in dtls1_send_client_key_exchange() 774 OPENSSL_cleanse(tmp_buf,sizeof tmp_buf); in dtls1_send_client_key_exchange() [all …]
|
| H A D | s3_clnt.c | 1667 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; in ssl3_send_client_key_exchange() local 1685 tmp_buf[0]=s->client_version>>8; in ssl3_send_client_key_exchange() 1686 tmp_buf[1]=s->client_version&0xff; in ssl3_send_client_key_exchange() 1687 if (RAND_bytes(&(tmp_buf[2]),sizeof tmp_buf-2) <= 0) in ssl3_send_client_key_exchange() 1690 s->session->master_key_length=sizeof tmp_buf; in ssl3_send_client_key_exchange() 1696 n=RSA_public_encrypt(sizeof tmp_buf, in ssl3_send_client_key_exchange() 1697 tmp_buf,p,rsa,RSA_PKCS1_PADDING); in ssl3_send_client_key_exchange() 1700 if (s->options & SSL_OP_PKCS1_CHECK_2) tmp_buf[0]=0x70; in ssl3_send_client_key_exchange() 1718 tmp_buf,sizeof tmp_buf); in ssl3_send_client_key_exchange() 1719 OPENSSL_cleanse(tmp_buf,sizeof tmp_buf); in ssl3_send_client_key_exchange() [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
| H A D | ping_aux.c | 245 char tmp_buf[INET6_ADDRSTRLEN]; in check_reply() local 413 tmp_buf, sizeof (tmp_buf)); in check_reply() 416 Printf("%s is alive\n", tmp_buf); in check_reply() 419 targethost, tmp_buf); in check_reply() 623 tmp_buf, sizeof (tmp_buf)); in check_reply() 627 tmp_buf, sizeof (tmp_buf)); in check_reply() 630 Printf("%s is alive\n", tmp_buf); in check_reply() 633 targethost, tmp_buf); in check_reply() 934 tmp_buf, sizeof (tmp_buf)); in check_reply() 938 tmp_buf, sizeof (tmp_buf)); in check_reply() [all …]
|
| H A D | ping_aux6.c | 286 char tmp_buf[INET6_ADDRSTRLEN]; in check_reply6() local 450 tmp_buf, sizeof (tmp_buf)); in check_reply6() 452 Printf("%s is alive\n", tmp_buf); in check_reply6() 455 targethost, tmp_buf); in check_reply6() 763 tmp_buf, sizeof (tmp_buf)); in check_reply6() 767 tmp_buf, sizeof (tmp_buf)); in check_reply6() 771 Printf("%s is alive\n", tmp_buf); in check_reply6() 774 targethost, tmp_buf); in check_reply6()
|
| H A D | ping.c | 1004 char tmp_buf[INET6_ADDRSTRLEN]; in get_hostinfo() local 1024 (void) inet_ntop(AF_INET, (void *)&addr, tmp_buf, in get_hostinfo() 1025 sizeof (tmp_buf)); in get_hostinfo() 1034 (void) strcpy(host, tmp_buf); in get_hostinfo() 1733 char tmp_buf[INET6_ADDRSTRLEN]; in send_scheduled_probe() local 1752 tmp_buf, sizeof (tmp_buf))); in send_scheduled_probe()
|
| /onnv-gate/usr/src/common/openssl/crypto/engine/ |
| H A D | hw_pk11_err.c | 251 char tmp_buf[20]; in PK11err_add_data() local 254 (void) snprintf(tmp_buf, sizeof (tmp_buf), "%lx", rv); in PK11err_add_data() 255 ERR_add_error_data(2, "PK11 CK_RV=0X", tmp_buf); in PK11err_add_data()
|
| /onnv-gate/usr/src/common/openssl/crypto/evp/ |
| H A D | digest.c | 251 unsigned char *tmp_buf; in EVP_MD_CTX_copy_ex() local 268 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex() 271 else tmp_buf = NULL; in EVP_MD_CTX_copy_ex() 277 if (tmp_buf) out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex()
|
| /onnv-gate/usr/src/common/openssl/crypto/x509/ |
| H A D | x509_obj.c | 77 char tmp_buf[80]; in X509_NAME_oneline() local 109 i2t_ASN1_OBJECT(tmp_buf,sizeof(tmp_buf),ne->object); in X509_NAME_oneline() 110 s=tmp_buf; in X509_NAME_oneline()
|
| /onnv-gate/usr/src/lib/print/libipp-listener/common/ |
| H A D | print-job.c | 124 char tmp_buf[INET6_ADDRSTRLEN]; in ipp_print_job() local 130 &peer.sin_addr, tmp_buf, in ipp_print_job() 131 sizeof (tmp_buf))); in ipp_print_job()
|
| /onnv-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
| H A D | iscsi_ioctl.c | 500 *tmp_buf, in iscsi_create_sendtgts_list() local 535 tmp_buf = kmem_zalloc(tmp_buf_len, KM_SLEEP); in iscsi_create_sendtgts_list() 536 (void) strncpy(tmp_buf, in_str, tmp_buf_len); in iscsi_create_sendtgts_list() 542 if (parse_addr_port_tpgt(tmp_buf, &addr_str, &type, in iscsi_create_sendtgts_list() 545 kmem_free(tmp_buf, tmp_buf_len); in iscsi_create_sendtgts_list() 554 kmem_free(tmp_buf, tmp_buf_len); in iscsi_create_sendtgts_list() 570 kmem_free(tmp_buf, tmp_buf_len); in iscsi_create_sendtgts_list() 597 kmem_free(tmp_buf, tmp_buf_len); in iscsi_create_sendtgts_list() 601 kmem_free(tmp_buf, tmp_buf_len); in iscsi_create_sendtgts_list()
|
| /onnv-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
| H A D | ql_xioctl.c | 3582 caddr_t tmp_buf, bptr; in ql_send_els_rnid() local 3658 tmp_buf = kmem_zalloc(SEND_RNID_RSP_SIZE, KM_SLEEP); in ql_send_els_rnid() 3659 if (tmp_buf == NULL) { in ql_send_els_rnid() 3667 rval = ql_get_rnid_params(ha, SEND_RNID_RSP_SIZE, tmp_buf); in ql_send_els_rnid() 3670 kmem_free(tmp_buf, SEND_RNID_RSP_SIZE); in ql_send_els_rnid() 3677 bcopy(tmp_buf, &rnid_data, sizeof (EXT_RNID_DATA)); in ql_send_els_rnid() 3680 tmp_buf[0] = (char)(EXT_DEF_RNID_DFORMAT_TOPO_DISC); in ql_send_els_rnid() 3681 tmp_buf[1] = (2 * EXT_DEF_WWN_NAME_SIZE); in ql_send_els_rnid() 3682 tmp_buf[2] = 0; in ql_send_els_rnid() 3683 tmp_buf[3] = sizeof (EXT_RNID_DATA); in ql_send_els_rnid() [all …]
|
| /onnv-gate/usr/src/uts/common/rpc/sec_gss/ |
| H A D | rpcsec_gss.c | 1323 char *tmp_buf; local 1359 tmp_buf = kmem_alloc(xdr_buf_len, KM_SLEEP); 1360 xdrmem_create(&xdrs, tmp_buf, xdr_buf_len, XDR_ENCODE); 1362 kmem_free(tmp_buf, xdr_buf_len); 1371 kmem_free(tmp_buf, xdr_buf_len); 1379 if (!marshall_verf(ap, &xdrs, tmp_buf)) { 1380 kmem_free(tmp_buf, xdr_buf_len); 1388 if (!XDR_PUTBYTES(out_xdrs, tmp_buf, XDR_GETPOS(&xdrs))) { 1389 kmem_free(tmp_buf, xdr_buf_len); 1394 kmem_free(tmp_buf, xdr_buf_len);
|
| /onnv-gate/usr/src/lib/libfru/libfrupicl/ |
| H A D | frupicl.c | 109 char *tmp_buf = NULL; in get_strprop_by_name() local 116 tmp_buf = malloc((sizeof (*tmp_buf) * prop_info.size)); in get_strprop_by_name() 117 if (tmp_buf == NULL) { in get_strprop_by_name() 121 if ((picl_err = picl_get_propval(proph, tmp_buf, prop_info.size)) in get_strprop_by_name() 123 free(tmp_buf); in get_strprop_by_name() 127 *string = tmp_buf; in get_strprop_by_name()
|
| /onnv-gate/usr/src/lib/libfru/libfrupicltree/ |
| H A D | frupicltree.c | 114 char *tmp_buf = NULL; in get_strprop_by_name() local 128 tmp_buf = malloc((sizeof (*tmp_buf) * buf_size)); in get_strprop_by_name() 129 if (tmp_buf == NULL) { in get_strprop_by_name() 133 if ((picl_err = ptree_get_propval(proph, tmp_buf, buf_size)) in get_strprop_by_name() 135 free(tmp_buf); in get_strprop_by_name() 139 *string = tmp_buf; in get_strprop_by_name()
|
| /onnv-gate/usr/src/lib/rpcsec_gss/ |
| H A D | rpcsec_gss.c | 796 char tmp_buf[512]; local 815 xdrmem_create(&xdrs, tmp_buf, sizeof (tmp_buf), XDR_ENCODE); 828 if (!marshall_verf(ap, &xdrs, tmp_buf)) 834 if (!XDR_PUTBYTES(out_xdrs, tmp_buf, XDR_GETPOS(&xdrs)))
|
| /onnv-gate/usr/src/cmd/print/bsd-sysv-commands/ |
| H A D | in.lpd.c | 70 char tmp_buf[INET6_ADDRSTRLEN]; in remote_host_name() local 86 &peer.sin6_addr, tmp_buf, sizeof (tmp_buf)))); in remote_host_name()
|
| /onnv-gate/usr/src/stand/lib/sock/ |
| H A D | socket.c | 801 char *tmp_buf; in recvfrom() local 917 tmp_buf = (char *)buf; in recvfrom() 921 bcopy(mp->b_rptr, tmp_buf, len); in recvfrom() 926 bcopy(mp->b_rptr, tmp_buf, datalen); in recvfrom() 929 tmp_buf += datalen; in recvfrom()
|
| /onnv-gate/usr/src/cmd/ldapcachemgr/ |
| H A D | cachemgr_getldap.c | 2745 char *tmp_buf = NULL, *ptr = NULL, *status = NULL; in test_server_change() local 2767 if ((tmp_buf = malloc(tlen)) == NULL) in test_server_change() 2770 cout = (ldap_get_change_out_t *)tmp_buf; in test_server_change() 2794 free(tmp_buf); in test_server_change() 2809 (void) chg_notify_statusChange(tmp_buf); in test_server_change() 2820 char *tmp_buf, *ptr, *status; in create_buf_and_notify() local 2830 if ((tmp_buf = malloc(tlen)) == NULL) in create_buf_and_notify() 2833 cout = (ldap_get_change_out_t *)tmp_buf; in create_buf_and_notify() 2849 (void) chg_notify_statusChange(tmp_buf); in create_buf_and_notify()
|
| /onnv-gate/usr/src/lib/libdladm/common/ |
| H A D | linkprop.c | 2463 char tmp_buf[DLADM_STRSIZE]; in dladm_cid2str() local 2505 hexlen = sizeof (tmp_buf); in dladm_cid2str() 2507 cid->dc_len - sizeof (en), tmp_buf, &hexlen) != 0) in dladm_cid2str() 2511 duidtype, ennum, tmp_buf); in dladm_cid2str() 2533 hexlen = sizeof (tmp_buf); in dladm_cid2str() 2536 tmp_buf, &hexlen) != 0) in dladm_cid2str() 2540 duidtype, tmp_buf); in dladm_cid2str() 2546 hexlen = sizeof (tmp_buf); in dladm_cid2str() 2548 tmp_buf, &hexlen) != 0) in dladm_cid2str() 2551 (void) snprintf(buf, DLADM_STRSIZE, "0x%s", tmp_buf); in dladm_cid2str() [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
| H A D | ipsecconf.c | 3725 char *tmp_buf; in parse_action() local 3772 tmp_buf = buf; in parse_action() 3780 if (tmp_buf == buf) /* No action token */ in parse_action() 3785 if ((*action = malloc(strlen(tmp_buf) + 1)) == in parse_action() 3790 (void) strcpy(*action, tmp_buf); in parse_action() 3796 if ((*action = malloc(strlen(tmp_buf) + 1)) == in parse_action() 3801 (void) strcpy(*action, tmp_buf); in parse_action() 3815 if ((*action = malloc(strlen(tmp_buf) + 1)) == in parse_action() 3820 (void) strcpy(*action, tmp_buf); in parse_action() 3851 char *tmp_buf; in parse_pattern_or_prop() local [all …]
|