/titanic_50/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()
|
/titanic_50/usr/src/lib/iconv_modules/utf-8/common/binarytables/test/ |
H A D | sb_to_utf8_test.c | 75 uchar_t tmp_buf[1024]; in validate() local 91 for( j = sizeof (tmp_buf) - tmp_len -1; \ in validate() 93 l = (l << 8) + ((uint_t)tmp_buf[j]); \ in validate() 101 for(; j < sizeof (tmp_buf) - tmp_len ; j++) \ in validate() 102 l = (l << 8) + ((uint_t)tmp_buf[j]); \ in validate() 108 tmp = tmp_buf; \ in validate() 109 tmp_len = sizeof (tmp_buf); \ in validate() 119 for( j = 0; j < sizeof (tmp_buf) - tmp_len ; j++) \ in validate() 120 printf("%02x", (uchar_t)tmp_buf[j]); \ in validate() 124 tmp = tmp_buf; \ in validate() [all …]
|
H A D | utf8_to_ebcdic_test.c | 80 char tmp_buf[1024]; in validate() local 140 tmp = tmp_buf; \ in validate() 142 intp = (uint_t*)&tmp_buf[0]; \ in validate() 162 for (j = 0; j < sizeof (tmp_buf) - tmp_len; j++) { \ in validate() 163 chkprint("%02x", (uchar_t)tmp_buf[j]);\ in validate() 170 tmp = tmp_buf; \ in validate() 171 tmp_len = sizeof (tmp_buf); \ in validate() 186 if (sizeof (tmp_buf) - tmp_len != source_len) { \ in validate() 190 if ((uchar_t)tmp_buf[j] != (uchar_t)source_buf[j]) { \ in validate()
|
/titanic_50/usr/src/lib/libc/port/stdio/ |
H A D | vwscanf.c | 103 char *tmp_buf; in _vswscanf_c89() local 117 tmp_buf = alloca(sizeof (char) * (clen + 1)); in _vswscanf_c89() 118 if (tmp_buf == NULL) in _vswscanf_c89() 120 wlen = wcstombs(tmp_buf, wstr, clen + 1); in _vswscanf_c89() 127 strbuf._ptr = strbuf._base = (unsigned char *)tmp_buf; in _vswscanf_c89() 128 strbuf._cnt = strlen(tmp_buf); in _vswscanf_c89()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux.c | 248 char tmp_buf[INET6_ADDRSTRLEN]; in check_reply() local 416 tmp_buf, sizeof (tmp_buf)); in check_reply() 419 Printf("%s is alive\n", tmp_buf); in check_reply() 422 targethost, tmp_buf); in check_reply() 626 tmp_buf, sizeof (tmp_buf)); in check_reply() 630 tmp_buf, sizeof (tmp_buf)); in check_reply() 633 Printf("%s is alive\n", tmp_buf); in check_reply() 636 targethost, tmp_buf); in check_reply() 937 tmp_buf, sizeof (tmp_buf)); in check_reply() 941 tmp_buf, sizeof (tmp_buf)); in check_reply() [all …]
|
H A D | ping_aux6.c | 289 char tmp_buf[INET6_ADDRSTRLEN]; in check_reply6() local 452 tmp_buf, sizeof (tmp_buf)); in check_reply6() 454 Printf("%s is alive\n", tmp_buf); in check_reply6() 457 targethost, tmp_buf); in check_reply6() 765 tmp_buf, sizeof (tmp_buf)); in check_reply6() 769 tmp_buf, sizeof (tmp_buf)); in check_reply6() 773 Printf("%s is alive\n", tmp_buf); in check_reply6() 776 targethost, tmp_buf); in check_reply6()
|
H A D | ping.c | 1049 char tmp_buf[INET6_ADDRSTRLEN]; in get_hostinfo() local 1069 (void) inet_ntop(AF_INET, (void *)&addr, tmp_buf, in get_hostinfo() 1070 sizeof (tmp_buf)); in get_hostinfo() 1079 (void) strcpy(host, tmp_buf); in get_hostinfo() 1803 char tmp_buf[INET6_ADDRSTRLEN]; in send_scheduled_probe() local 1822 tmp_buf, sizeof (tmp_buf))); in send_scheduled_probe()
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 3586 caddr_t tmp_buf, bptr; in ql_send_els_rnid() local 3662 tmp_buf = kmem_zalloc(SEND_RNID_RSP_SIZE, KM_SLEEP); in ql_send_els_rnid() 3663 if (tmp_buf == NULL) { in ql_send_els_rnid() 3671 rval = ql_get_rnid_params(ha, SEND_RNID_RSP_SIZE, tmp_buf); in ql_send_els_rnid() 3674 kmem_free(tmp_buf, SEND_RNID_RSP_SIZE); in ql_send_els_rnid() 3681 bcopy(tmp_buf, &rnid_data, sizeof (EXT_RNID_DATA)); in ql_send_els_rnid() 3684 tmp_buf[0] = (char)(EXT_DEF_RNID_DFORMAT_TOPO_DISC); in ql_send_els_rnid() 3685 tmp_buf[1] = (2 * EXT_DEF_WWN_NAME_SIZE); in ql_send_els_rnid() 3686 tmp_buf[2] = 0; in ql_send_els_rnid() 3687 tmp_buf[3] = sizeof (EXT_RNID_DATA); in ql_send_els_rnid() [all …]
|
/titanic_50/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()
|
/titanic_50/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);
|
/titanic_50/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()
|
/titanic_50/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()
|
/titanic_50/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)))
|
/titanic_50/usr/src/cmd/make/lib/mksh/ |
H A D | dosys.cc | 443 char tmp_buf[MAXPATHLEN]; in await() local 481 tmp_buf[0] = (int) nul_char; in await()
|
/titanic_50/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()
|
/titanic_50/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()
|
/titanic_50/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()
|
/titanic_50/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 …]
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 2670 char tmp_buf[DLADM_STRSIZE]; in dladm_cid2str() local 2712 hexlen = sizeof (tmp_buf); in dladm_cid2str() 2714 cid->dc_len - sizeof (en), tmp_buf, &hexlen) != 0) in dladm_cid2str() 2718 duidtype, ennum, tmp_buf); in dladm_cid2str() 2740 hexlen = sizeof (tmp_buf); in dladm_cid2str() 2743 tmp_buf, &hexlen) != 0) in dladm_cid2str() 2747 duidtype, tmp_buf); in dladm_cid2str() 2753 hexlen = sizeof (tmp_buf); in dladm_cid2str() 2755 tmp_buf, &hexlen) != 0) in dladm_cid2str() 2758 (void) snprintf(buf, DLADM_STRSIZE, "0x%s", tmp_buf); in dladm_cid2str() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 1561 char *tmp_buf; in search_rtfile() local 1593 tmp_buf = strdup(file_line); in search_rtfile() 1595 if (!args_to_rtcmd(thisrt, NULL, tmp_buf)) { in search_rtfile() 1598 free(tmp_buf); in search_rtfile() 1602 free(tmp_buf); in search_rtfile()
|
/titanic_50/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.c | 1665 unsigned char *tmp_buf = NULL, *tmp_buf2 = NULL, *vfy_buf = NULL; in cms_envelopeddata_verify() local 1704 if ((tmp_buf = realloc(tmp_buf, size + 1024 * 10)) == NULL) in cms_envelopeddata_verify() 1706 i = BIO_read(out, &(tmp_buf[size]), 1024 * 10); in cms_envelopeddata_verify() 1715 print_buffer_bin(tmp_buf, tmp_buf_len, "/tmp/client_enc_keypack"); in cms_envelopeddata_verify() 1746 retval = wrap_signeddata(tmp_buf, tmp_buf_len, in cms_envelopeddata_verify() 1756 vfy_buf = tmp_buf; in cms_envelopeddata_verify() 1761 retval = wrap_signeddata(tmp_buf, tmp_buf_len, in cms_envelopeddata_verify() 1771 vfy_buf = tmp_buf; in cms_envelopeddata_verify() 1801 if (tmp_buf != NULL) in cms_envelopeddata_verify() 1802 free(tmp_buf); in cms_envelopeddata_verify()
|