/illumos-gate/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_net_ntop.c | 178 char outbuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255/128")]; in inet_net_ntop_ipv6() local 188 cp = outbuf; in inet_net_ntop_ipv6() 260 if (cp != outbuf) in inet_net_ntop_ipv6() 269 if (strlen(outbuf) + 1 > size) in inet_net_ntop_ipv6() 271 strcpy(dst, outbuf); in inet_net_ntop_ipv6()
|
/illumos-gate/usr/src/cmd/krb5/slave/ |
H A D | kprop.c | 640 krb5_data inbuf, outbuf; local 656 &outbuf, NULL); 665 krb5_free_data_contents(context, &outbuf); 669 krb5_free_data_contents(context, &outbuf); 689 &outbuf, NULL); 701 krb5_free_data_contents(context, &outbuf); 707 krb5_free_data_contents(context, &outbuf); 774 free(outbuf.data); 788 krb5_data outbuf; local 805 if (!krb5_mk_error(context, &error, &outbuf)) { [all …]
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 2955 char outbuf[BUFSIZ]; in console() local 2976 setbuf(f, &outbuf[0]); in console()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/ |
H A D | labelit.c | 293 uint8_t outbuf[BUF_LEN]; in print_info() local 305 bzero(outbuf, BUF_LEN); in print_info() 311 name, outbuf); in print_info() 317 (int8_t *)outbuf, in print_info() 321 name, outbuf); in print_info() 338 (int8_t *)outbuf, in print_info() 342 name, outbuf); in print_info() 348 (int8_t *)outbuf, in print_info() 352 name, outbuf); in print_info() 358 (int8_t *)outbuf, in print_info() [all …]
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 9993 (void) snprintf(outbuf, bufsize, "?"); in print_overlay_value() 9999 (void) snprintf(outbuf, bufsize, "%d", in print_overlay_value() 10002 (void) snprintf(outbuf, bufsize, "%d", in print_overlay_value() 10005 (void) snprintf(outbuf, bufsize, "%d", in print_overlay_value() 10010 (void) snprintf(outbuf, bufsize, "?"); in print_overlay_value() 10014 (void) snprintf(outbuf, bufsize, "%d", in print_overlay_value() 10017 (void) snprintf(outbuf, bufsize, "%d", in print_overlay_value() 10020 (void) snprintf(outbuf, bufsize, "%d", in print_overlay_value() 10023 (void) snprintf(outbuf, bufsize, "%d", in print_overlay_value() 10030 (void) snprintf(outbuf, bufsize, "--"); in print_overlay_value() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.telnetd.c | 537 krb5_data outbuf; in kerberos5_is() local 707 &outbuf))) { in kerberos5_is() 715 reply_to_client(ap, KRB_RESPONSE, outbuf.data, in kerberos5_is() 716 outbuf.length); in kerberos5_is()
|
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/ |
H A D | decrypt.c | 1056 CK_BYTE outbuf[BUFFERSIZE+BLOCKSIZE]; in crypt_multipart() local 1065 resultbuflen = sizeof (outbuf); in crypt_multipart() 1066 resultbuf = outbuf; in crypt_multipart() 1083 if (resultbuf != NULL && resultbuf != outbuf) { in crypt_multipart() 1197 if (resultbuf != NULL && resultbuf != outbuf) { in crypt_multipart()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfs.c | 352 char *outbuf, *bouncebuf; in vdev_read() local 355 outbuf = (char *)buf; in vdev_read() 426 outbuf += min(secsz - head, bytes); in vdev_read() 437 memcpy(outbuf, bouncebuf, bytes); in vdev_read() 439 res = read(fd, outbuf, full_sec_size); in vdev_read() 444 outbuf += full_sec_size; in vdev_read() 472 char *outbuf, *bouncebuf; in vdev_write() local 475 outbuf = (char *)buf; in vdev_write() 521 outbuf += min(secsz - head, bytes); in vdev_write() 537 memcpy(bouncebuf, outbuf, bytes); in vdev_write() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uustat.c | 91 static char outbuf[BUFSIZ+1]; variable 486 outbuf[0] = NULLCHAR; 515 (void) strcat(outbuf, format_tmp); 538 (void) strcat(outbuf, format_tmp); 549 outbuf[0] = NULLCHAR; 555 (void) strcat(outbuf, "queued"); 565 (void) strcat(outbuf, format_tmp); 572 (void) strcat(outbuf, format_tmp); 627 strcat(outbuf, "\n"); 628 fputs(outbuf, stdout); [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 2397 caddr_t outbuf; in zfs_readdir() local 2469 outbuf = kmem_alloc(bufsize, KM_SLEEP); in zfs_readdir() 2470 odp = (struct dirent64 *)outbuf; in zfs_readdir() 2473 outbuf = NULL; in zfs_readdir() 2631 } else if (error = uiomove(outbuf, (long)outcount, UIO_READ, uio)) { in zfs_readdir() 2641 kmem_free(outbuf, bufsize); in zfs_readdir()
|
/illumos-gate/usr/src/lib/fm/libfmd_agent/common/ |
H A D | fmd_agent.c | 96 char *inbuf = NULL, *outbuf = NULL; in fmd_agent_nvl_ioctl() local 119 outbuf = umem_alloc(outsz, UMEM_DEFAULT); in fmd_agent_nvl_ioctl() 120 if (outbuf == NULL) { in fmd_agent_nvl_ioctl() 130 fid.fid_outbuf = outbuf; in fmd_agent_nvl_ioctl() 135 umem_free(outbuf, outsz); in fmd_agent_nvl_ioctl() 136 outbuf = NULL; in fmd_agent_nvl_ioctl() 153 if (outbuf != NULL) in fmd_agent_nvl_ioctl() 154 umem_free(outbuf, outsz); in fmd_agent_nvl_ioctl()
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioTypeSampleRate.cc | 78 AudioBuffer* outbuf; in Convert() local 126 if (outbuf == 0) in Convert() 129 delete outbuf; in Convert() 142 outbuf->GetHeader().Time_to_Samples(outbuf->GetSize()); in Convert() 148 if (nsamps > outbuf->GetHeader().Time_to_Samples(outbuf->GetSize())) { in Convert() 154 outbuf->SetLength(outbuf->GetHeader().Samples_to_Time(nsamps)); in Convert() 160 inbuf = outbuf; in Convert() 166 AudioBuffer*& outbuf) in Flush() argument 175 if (outbuf == NULL) in Flush() 177 h = outbuf->GetHeader(); in Flush() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5sealv3.c | 177 outbuf = MALLOC(bufsize); in gss_krb5int_make_seal_token_v3() 178 if (outbuf == NULL) { in gss_krb5int_make_seal_token_v3() 186 outbuf[2] = (acceptor_flag in gss_krb5int_make_seal_token_v3() 190 outbuf[3] = 0xff; in gss_krb5int_make_seal_token_v3() 192 store_16_be(ec, outbuf+4); in gss_krb5int_make_seal_token_v3() 194 store_16_be(0, outbuf+6); in gss_krb5int_make_seal_token_v3() 243 outbuf = MALLOC(bufsize); in gss_krb5int_make_seal_token_v3() 244 if (outbuf == NULL) { in gss_krb5int_make_seal_token_v3() 257 outbuf[3] = 0xff; in gss_krb5int_make_seal_token_v3() 333 token->value = outbuf; in gss_krb5int_make_seal_token_v3() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/ |
H A D | k_hmac_md5.c | 57 char t[4], outbuf[MD5_CKSUM_LENGTH]; in k5_hmac_md5_hash() local 124 md5tmp.data = (void *)outbuf; in k5_hmac_md5_hash() 125 md5tmp.length = sizeof(outbuf); in k5_hmac_md5_hash()
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | Transact.java | 417 byte[] outbuf = getBytes(msg, false, false); in transactDatagramMsg() 425 new DatagramPacket(outbuf, outbuf.length, addr, Defaults.iSLPPort); in transactDatagramMsg() 627 byte outbuf[] = getBytes(msg, false, true); in transactMsg() 647 dos.write(outbuf, 0, outbuf.length); in transactMsg() 697 byte[] outbuf = baos.toByteArray(); in getBytes() 707 new Integer(outbuf.length), in getBytes() 711 return outbuf; in getBytes() 866 byte[] outbuf = getBytes(msg, true, false); in send() 868 new DatagramPacket(outbuf, outbuf.length, addr, Defaults.iSLPPort); in send()
|
H A D | SLPV1Manager.java | 164 byte[] outbuf = baos.toByteArray(); in getOutbuf() 168 return outbuf; in getOutbuf()
|
H A D | RequestHandler.java | 287 byte[] outbuf = baos.toByteArray(); in run() 293 if (outbuf != null && outbuf.length > 0) { in run() 294 sendDatagramReply(outbuf); in run() 429 private void sendDatagramReply(byte[] outbuf) { in sendDatagramReply() argument 442 new DatagramPacket(outbuf, outbuf.length, clientAddr, port); in sendDatagramReply()
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | logger.c | 380 syslogp = &outbuf[strlen(outbuf)]; in klog_com_err_proc() 386 outbuf[sizeof(outbuf) - 1] = '\0'; in klog_com_err_proc() 389 strncat(outbuf, emsg, sizeof(outbuf) - 1 - strlen(outbuf)); in klog_com_err_proc() 390 strncat(outbuf, " - ", sizeof(outbuf) - 1 - strlen(outbuf)); in klog_com_err_proc() 393 cp = &outbuf[strlen(outbuf)]; in klog_com_err_proc() 453 vsnprintf(cp, sizeof(outbuf) - (cp - outbuf), actual_format, ap); in klog_com_err_proc() 477 outbuf) < 0) { in klog_com_err_proc() 492 outbuf) < 0) { in klog_com_err_proc() 1051 cp = outbuf; in klog_vsyslog() 1079 syslogp = &outbuf[strlen(outbuf)]; in klog_vsyslog() [all …]
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | logger.c | 380 syslogp = &outbuf[strlen(outbuf)]; in klog_com_err_proc() 385 outbuf[sizeof(outbuf) - 1] = '\0'; in klog_com_err_proc() 388 strncat(outbuf, emsg, sizeof(outbuf) - 1 - strlen(outbuf)); in klog_com_err_proc() 389 strncat(outbuf, " - ", sizeof(outbuf) - 1 - strlen(outbuf)); in klog_com_err_proc() 392 cp = &outbuf[strlen(outbuf)]; in klog_com_err_proc() 452 vsnprintf(cp, sizeof(outbuf) - (cp - outbuf), actual_format, ap); in klog_com_err_proc() 476 outbuf) < 0) { in klog_com_err_proc() 491 outbuf) < 0) { in klog_com_err_proc() 1053 cp = outbuf; in klog_vsyslog() 1081 syslogp = &outbuf[strlen(outbuf)]; in klog_vsyslog() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | write_msg.c | 34 krb5_write_message(krb5_context context, krb5_pointer fdp, krb5_data *outbuf) in krb5_write_message() argument 39 len = htonl(outbuf->length); in krb5_write_message() 43 if (outbuf->length && (krb5_net_write(context, fd, outbuf->data, outbuf->length) < 0)) { in krb5_write_message()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | rd_safe.c | 52 krb5_replay_data *replaydata, krb5_data *outbuf) in krb5_rd_safe_basic() argument 152 *outbuf = message->user_data; in krb5_rd_safe_basic() 163 const krb5_data *inbuf, krb5_data *outbuf, in krb5_rd_safe() argument 225 &replaydata, outbuf))) { in krb5_rd_safe() 275 free(outbuf->data); in krb5_rd_safe()
|
H A D | recvauth.c | 62 krb5_data outbuf; in recvauth_common() local 208 if ((retval = krb5_mk_error(context, &error, &outbuf)) != 0) { in recvauth_common() 217 outbuf.length = 0; in recvauth_common() 218 outbuf.data = 0; in recvauth_common() 221 retval = krb5_write_message(context, fd, &outbuf); in recvauth_common() 222 if (outbuf.data) { in recvauth_common() 223 krb5_xfree(outbuf.data); in recvauth_common() 233 if ((retval = krb5_mk_rep(context, *auth_context, &outbuf))) { in recvauth_common() 236 retval = krb5_write_message(context, fd, &outbuf); in recvauth_common() 237 krb5_xfree(outbuf.data); in recvauth_common()
|
H A D | send_tgs.c | 56 …b5_send_tgs_basic(krb5_context context, krb5_data *in_data, krb5_creds *in_cred, krb5_data *outbuf) in krb5_send_tgs_basic() argument 112 *outbuf = *toutbuf; in krb5_send_tgs_basic()
|
H A D | rd_priv.c | 60 … krb5_address *remote_addr, krb5_pointer i_vector, krb5_replay_data *replaydata, krb5_data *outbuf) in krb5_rd_priv_basic() argument 134 *outbuf = privmsg_enc_part->user_data; in krb5_rd_priv_basic() 155 …text, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_data *outbuf, krb5_replay_data … in krb5_rd_priv() argument 217 &replaydata, outbuf))) { in krb5_rd_priv() 265 krb5_xfree(outbuf->data); in krb5_rd_priv()
|
H A D | mk_req_ext.c | 132 krb5_creds *in_creds, krb5_data *outbuf) in krb5_mk_req_extended() argument 255 *outbuf = *toutbuf; in krb5_mk_req_extended()
|