/titanic_41/usr/src/cmd/audio/utilities/ |
H A D | AudioTypeSampleRate.cc | 78 AudioBuffer* outbuf; in Convert() local 123 outbuf = new AudioBuffer(length, "(SampleRate conversion buffer)"); in Convert() 124 if (outbuf == 0) in Convert() 126 if (err = outbuf->SetHeader(outhdr)) { in Convert() 127 delete outbuf; in Convert() 134 (short *)outbuf->GetAddress()); in Convert() 139 outbuf->GetHeader().Time_to_Samples(outbuf->GetSize()); in Convert() 144 if (nsamps > outbuf->GetHeader().Time_to_Samples(outbuf->GetSize())) { in Convert() 145 AudioStderrMsg(outbuf, AUDIO_NOERROR, Fatal, in Convert() 150 outbuf->SetLength(outbuf->GetHeader().Samples_to_Time(nsamps)); in Convert() [all …]
|
H A D | AudioTypeG72X.cc | 100 AudioBuffer* outbuf; in Convert() local 139 outbuf = new AudioBuffer(length + pad, "(G72x conversion buffer)"); in Convert() 140 if (outbuf == 0) in Convert() 142 if (err = outbuf->SetHeader(outhdr)) { in Convert() 143 delete outbuf; in Convert() 149 outptr = (unsigned char *)outbuf->GetAddress(); in Convert() 223 if (outbuf != inbuf) in Convert() 224 delete outbuf; in Convert() 233 outbuf->SetLength(length); in Convert() 234 inbuf = outbuf; in Convert() [all …]
|
H A D | AudioTypeChannel.cc | 71 AudioBuffer* outbuf; in Convert() local 119 outbuf = new AudioBuffer(length, "(Channel conversion buffer)"); in Convert() 120 if (outbuf == 0) in Convert() 122 if (err = outbuf->SetHeader(newhdr)) { in Convert() 123 delete outbuf; in Convert() 137 cout = (char *)outbuf->GetAddress(); in Convert() 154 sout = (short *)outbuf->GetAddress(); in Convert() 177 cout = (char *)outbuf->GetAddress(); in Convert() 190 if (outbuf != inbuf) in Convert() 191 delete outbuf; in Convert() [all …]
|
H A D | AudioTypeMux.cc | 70 AudioBuffer* outbuf; in Convert() local 170 outbuf = new AudioBuffer(length, in Convert() 172 if (outbuf == 0) in Convert() 174 if (err = outbuf->SetHeader(outhdr)) { in Convert() 175 delete outbuf; in Convert() 199 out = (unsigned char *)outbuf->GetAddress(); in Convert() 212 outbuf->SetLength(length); in Convert() 224 outbuf->SetLength(length); in Convert() 225 inbuf = outbuf; in Convert()
|
H A D | AudioTypePcm.cc | 214 AudioBuffer* outbuf; in Convert() local 243 outbuf = inbuf; in Convert() 246 outbuf = new AudioBuffer(length, "(PCM conversion buffer)"); in Convert() 247 if (outbuf == 0) in Convert() 249 if (err = outbuf->SetHeader(outhdr)) { in Convert() 250 delete outbuf; in Convert() 257 outptr = outbuf->GetAddress(); in Convert() 474 if (outbuf != inbuf) in Convert() 475 delete outbuf; in Convert() 480 if (outbuf == inbuf) { in Convert() [all …]
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | rsa.c | 74 u_char *inbuf, *outbuf; in rsa_public_encrypt() local 81 outbuf = xmalloc(olen); in rsa_public_encrypt() 87 if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key, in rsa_public_encrypt() 91 BN_bin2bn(outbuf, len, out); in rsa_public_encrypt() 93 memset(outbuf, 0, olen); in rsa_public_encrypt() 95 xfree(outbuf); in rsa_public_encrypt() 102 u_char *inbuf, *outbuf; in rsa_private_decrypt() local 106 outbuf = xmalloc(olen); in rsa_private_decrypt() 112 if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, key, in rsa_private_decrypt() 116 BN_bin2bn(outbuf, len, out); in rsa_private_decrypt() [all …]
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5sealv3.c | 93 unsigned char *outbuf = 0; in gss_krb5int_make_seal_token_v3() local 177 outbuf = MALLOC(bufsize); in gss_krb5int_make_seal_token_v3() 178 if (outbuf == NULL) { in gss_krb5int_make_seal_token_v3() 184 store_16_be(0x0504, outbuf); 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() 195 store_64_be(ctx->seq_send, outbuf+8); in gss_krb5int_make_seal_token_v3() 199 (void) memcpy(plain.data + message->length + ec, outbuf, 16); in gss_krb5int_make_seal_token_v3() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | iscsiboot_prop.c | 69 char outbuf[ISCSI_BOOTPROP_BUFLEN] = {0}; in iscsi_print_initiator_property() local 76 (void) sprintf(outbuf, in iscsi_print_initiator_property() 79 iscsi_bootprop_print(CE_CONT, outbuf); in iscsi_print_initiator_property() 83 (void) memset(outbuf, 0, ISCSI_BOOTPROP_BUFLEN); in iscsi_print_initiator_property() 84 (void) sprintf(outbuf, in iscsi_print_initiator_property() 88 iscsi_bootprop_print(CE_CONT, outbuf); in iscsi_print_initiator_property() 95 char outbuf[ISCSI_BOOTPROP_BUFLEN] = {0}; in iscsi_print_nic_property() local 104 n = snprintf(outbuf, ISCSI_BOOTPROP_BUFLEN, in iscsi_print_nic_property() 109 n = n + snprintf(outbuf + n, ISCSI_BOOTPROP_BUFLEN - n, in iscsi_print_nic_property() 114 n = n + snprintf(outbuf + n, ISCSI_BOOTPROP_BUFLEN - n, in iscsi_print_nic_property() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/ |
H A D | hash_ef_generic.c | 68 char *outbuf = NULL; in k5_ef_mac() local 88 outbuf = (char *)malloc(outlen); in k5_ef_mac() 89 if (outbuf == NULL) in k5_ef_mac() 91 (void) memset(outbuf, 0, outlen); in k5_ef_mac() 92 if (outbuf != NULL && inbuf != NULL) { in k5_ef_mac() 99 (mit_des_cblock *)outbuf, in k5_ef_mac() 104 (void) memcpy(output->data, &outbuf[outlen-8], 8); in k5_ef_mac() 110 if (outbuf != NULL) in k5_ef_mac() 111 free(outbuf); in k5_ef_mac()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | auth.c | 332 radix_encode(uchar_t *inbuf, uchar_t *outbuf, size_t buflen, in radix_encode() argument 348 outbuf[j] = D<<2; in radix_encode() 351 outbuf[j++] |= D>>4; in radix_encode() 352 outbuf[j] = (D&15)<<4; in radix_encode() 355 outbuf[j++] |= D>>2; in radix_encode() 356 outbuf[j] = (D&3)<<6; in radix_encode() 359 outbuf[j++] |= D; in radix_encode() 382 outbuf[j++] = radixN[inbuf[i]>>2]; in radix_encode() 386 outbuf[j++] = radixN[c|inbuf[i]>>4]; in radix_encode() 390 outbuf[j++] = radixN[c|inbuf[i]>>6]; in radix_encode() [all …]
|
/titanic_41/usr/src/uts/common/kiconv/kiconv_ja/ |
H A D | kiconv_ja.c | 326 char **outbuf, size_t *outbytesleft, int *errno) in _do_kiconv_fr_eucjp() argument 345 op = *outbuf; in _do_kiconv_fr_eucjp() 418 *outbuf = op; in _do_kiconv_fr_eucjp() 428 char **outbuf, size_t *outbytesleft, int *errno) in _do_kiconv_to_eucjp() argument 449 op = *outbuf; in _do_kiconv_to_eucjp() 505 *outbuf = op; in _do_kiconv_to_eucjp() 514 _do_kiconvstr_fr_eucjp(char *inbuf, size_t *inbytesleft, char *outbuf, in _do_kiconvstr_fr_eucjp() argument 535 op = outbuf; in _do_kiconvstr_fr_eucjp() 663 _do_kiconvstr_to_eucjp(char *inbuf, size_t *inbytesleft, char *outbuf, in _do_kiconvstr_to_eucjp() argument 685 op = outbuf; in _do_kiconvstr_to_eucjp() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | sendauth.c | 54 krb5_data inbuf, outbuf; in krb5_sendauth() local 67 outbuf.length = strlen(sendauth_version) + 1; in krb5_sendauth() 68 outbuf.data = (char *) sendauth_version; in krb5_sendauth() 69 if ((retval = krb5_write_message(context, fd, &outbuf))) in krb5_sendauth() 71 outbuf.length = strlen(appl_version) + 1; in krb5_sendauth() 72 outbuf.data = appl_version; in krb5_sendauth() 73 if ((retval = krb5_write_message(context, fd, &outbuf))) in krb5_sendauth() 168 &outbuf)) != 0) in krb5_sendauth() 175 retval = krb5_write_message(context, fd, &outbuf); in krb5_sendauth() 176 free(outbuf.data); in krb5_sendauth()
|
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()
|
/titanic_41/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()
|
/titanic_41/usr/src/lib/krb5/kadm5/clnt/ |
H A D | logger.c | 365 char outbuf[KRB5_KLOG_MAX_ERRMSG_SIZE]; in klog_com_err_proc() local 375 sprintf(outbuf, "%s: ", whoami); in klog_com_err_proc() 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() [all …]
|
/titanic_41/usr/src/cmd/fs.d/udfs/labelit/ |
H A D | labelit.c | 295 uint8_t outbuf[BUF_LEN]; in print_info() local 307 bzero(outbuf, BUF_LEN); in print_info() 310 (int8_t *)outbuf, strlen(pvd->pvd_vsi)); in print_info() 313 name, outbuf); in print_info() 315 bzero(outbuf, BUF_LEN); in print_info() 319 (int8_t *)outbuf, in print_info() 323 name, outbuf); in print_info() 336 bzero(outbuf, BUF_LEN); in print_info() 340 (int8_t *)outbuf, in print_info() 344 name, outbuf); in print_info() [all …]
|
/titanic_41/usr/src/lib/libpp/common/ |
H A D | ppdata.c | 63 static char outbuf[2*(PPBUFSIZ+MAXTOKEN)];/* output buffer */ variable 101 &outbuf[0], /* outb */ 102 &outbuf[0], /* outbuf */ 103 &outbuf[0], /* outp */ 104 &outbuf[PPBUFSIZ], /* oute */
|
H A D | pp.h | 71 …RITE(n) do{if(write(1,pp.outbuf,n)!=(n))pperror(ERROR_SYSTEM|3,"%s: write error",pp.outfile);pp.of… 73 #define pplastout() ((pp.outp>pp.outbuf)?*(pp.outp-1):pp.lastout) 75 #define pppendout() (pp.outp-pp.outbuf) 77 #define ppflushout() do{if(pp.outp>pp.outbuf){PPWRITE(pp.outp-pp.outbuf);pp.outp=pp.outbuf;}}while(… 78 …te){PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;pp.oute+=PPBUFSIZ;}else{pp.outbuf… 409 char* outbuf; /* output buffer */ member
|
/titanic_41/usr/src/lib/libcmd/common/ |
H A D | fmt.c | 58 char* outbuf; member 81 register char* cp = fp->outbuf; in outline() 96 cp = &fp->outbuf[TABSZ*n]; in outline() 101 cp = fp->outbuf; in outline() 159 strcpy(fp->outbuf, buf); in split() 160 fp->outp = fp->outbuf+prefix; in split() 205 memset(fp->outbuf, ' ', fp->prefix); in split() 206 fp->outp = &fp->outbuf[fp->prefix]; in split() 225 …if (!splice && !fp->retain && (!fp->quote || (fp->outp - fp->outbuf) < 2 || fp->outp[-2] != '\\' |… in split() 453 if (fp->endbuf > (fp->outbuf + fp->indent + 2*INDENT)) in dofmt() [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/installf/ |
H A D | main.c | 139 char outbuf[PATH_MAX]; in main() local 436 (void) snprintf(outbuf, in main() 437 sizeof (outbuf), "%s/%s\n", in main() 441 (void) snprintf(outbuf, in main() 442 sizeof (outbuf), in main() 446 (void) snprintf(outbuf, sizeof (outbuf), in main() 450 (void) snprintf(outbuf, sizeof (outbuf), in main() 453 canonize(outbuf); in main() 454 (void) printf("%s", outbuf); in main()
|
/titanic_41/usr/src/lib/krb5/kadm5/srv/ |
H A D | logger.c | 365 char outbuf[KRB5_KLOG_MAX_ERRMSG_SIZE]; in klog_com_err_proc() local 375 sprintf(outbuf, "%s: ", whoami); in klog_com_err_proc() 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() [all …]
|
/titanic_41/usr/src/lib/fm/libfmd_agent/common/ |
H A D | fmd_agent.c | 94 char *inbuf = NULL, *outbuf = NULL; in fmd_agent_nvl_ioctl() local 117 outbuf = umem_alloc(outsz, UMEM_DEFAULT); in fmd_agent_nvl_ioctl() 118 if (outbuf == NULL) { in fmd_agent_nvl_ioctl() 128 fid.fid_outbuf = outbuf; in fmd_agent_nvl_ioctl() 133 umem_free(outbuf, outsz); in fmd_agent_nvl_ioctl() 135 outbuf = umem_alloc(outsz, UMEM_DEFAULT); in fmd_agent_nvl_ioctl() 136 if (outbuf == NULL) { in fmd_agent_nvl_ioctl() 155 if (outbuf != NULL) in fmd_agent_nvl_ioctl() 156 umem_free(outbuf, outsz); in fmd_agent_nvl_ioctl()
|
/titanic_41/usr/src/cmd/sendmail/src/ |
H A D | sfsasl.c | 194 static const char *outbuf = NULL; local 196 static char *outbuf = NULL; local 217 while (outbuf == NULL && outlen == 0) 224 (unsigned int) len, &outbuf, &outlen); 230 outbuf = NULL; 237 if (outbuf == NULL) 246 (void) memcpy(buf, outbuf + offset, size); 254 (void) memcpy(buf, outbuf + offset, (size_t) len); 256 SASL_DEALLOC(outbuf); 258 outbuf = NULL; [all …]
|
/titanic_41/usr/src/cmd/exstr/ |
H A D | exstr.c | 254 char outbuf[BUFSIZ]; local 263 outp = outbuf; 344 if (outp != outbuf) { 348 (void) fputs(outbuf, stdout); 351 outp = outbuf; 402 outp += snprintf(outp, BUFSIZ - (outp - outbuf), 406 outp += snprintf(outp, BUFSIZ - (outp - outbuf), 415 if (outp != outbuf) { 419 (void) fputs(outbuf, stdout);
|
/titanic_41/usr/src/cmd/filesync/ |
H A D | debug.c | 170 static char outbuf[MAX_NAME]; in showflags() local 172 outbuf[0] = 0; in showflags() 175 if (outbuf[0]) in showflags() 176 strcat(outbuf, "|"); in showflags() 177 strcat(outbuf, map[i].fl_name); in showflags() 180 return (outbuf); in showflags()
|