Home
last modified time | relevance | path

Searched refs:outbuf (Results 1 – 25 of 401) sorted by path

12345678910>>...17

/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfs.c352 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/audio/audioplay/
H A Daudioplay.c269 char *outbuf; in main() local
549 outbuf = (char *)buf; in main()
553 outbuf = (char *)adpcm_buf; in main()
558 outbuf = (char *)adpcm_buf; in main()
593 outbuf = (char *)swap_buf; in main()
642 mux(outbuf); in main()
663 mux(outbuf); in main()
727 mux(outbuf); in main()
754 mux(outbuf); in main()
756 swab((char *)inbuf, outbuf, in main()
[all …]
/illumos-gate/usr/src/cmd/audio/audiotest/
H A Daudiotest.c154 extern int uncompress_wave(short *outbuf);
H A Dwavedata.c52 uncompress_wave(short *outbuf) in uncompress_wave() argument
119 outbuf[outp++] = s; \ in uncompress_wave()
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioTypeChannel.cc69 AudioBuffer* outbuf; in Convert() local
118 if (outbuf == 0) in Convert()
120 if (err = outbuf->SetHeader(newhdr)) { in Convert()
121 delete outbuf; in Convert()
135 cout = (char *)outbuf->GetAddress(); in Convert()
152 sout = (short *)outbuf->GetAddress(); in Convert()
175 cout = (char *)outbuf->GetAddress(); in Convert()
188 if (outbuf != inbuf) in Convert()
189 delete outbuf; in Convert()
198 outbuf->SetLength(length); in Convert()
[all …]
H A DAudioTypeG72X.cc98 AudioBuffer* outbuf; in Convert() local
138 if (outbuf == 0) in Convert()
141 delete outbuf; in Convert()
221 if (outbuf != inbuf) in Convert()
222 delete outbuf; in Convert()
231 outbuf->SetLength(length); in Convert()
232 inbuf = outbuf; in Convert()
240 AudioBuffer*& outbuf) in Flush() argument
251 if (outbuf == NULL) in Flush()
254 h = outbuf->GetHeader(); in Flush()
[all …]
H A DAudioTypeMux.cc68 AudioBuffer* outbuf; in Convert() local
168 outbuf = new AudioBuffer(length, in Convert()
170 if (outbuf == 0) in Convert()
172 if (err = outbuf->SetHeader(outhdr)) { in Convert()
173 delete outbuf; in Convert()
197 out = (unsigned char *)outbuf->GetAddress(); in Convert()
210 outbuf->SetLength(length); in Convert()
222 outbuf->SetLength(length); in Convert()
223 inbuf = outbuf; in Convert()
H A DAudioTypePcm.cc212 AudioBuffer* outbuf; in Convert() local
241 outbuf = inbuf; in Convert()
245 if (outbuf == 0) in Convert()
247 if (err = outbuf->SetHeader(outhdr)) { in Convert()
248 delete outbuf; in Convert()
255 outptr = outbuf->GetAddress(); in Convert()
472 if (outbuf != inbuf) in Convert()
473 delete outbuf; in Convert()
478 if (outbuf == inbuf) { in Convert()
487 outbuf->SetLength(length); in Convert()
[all …]
H A DAudioTypeSampleRate.cc78 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/cmd/bnu/
H A Duudecode.c289 unsigned char outbuf[BUFSIZE], *obp, *optr; in decode() local
353 optr = outbuf; in decode()
370 if (optr - outbuf > BUFSIZE - 3) { in decode()
371 (void) fwrite(outbuf, in decode()
373 (size_t)(optr - outbuf), in decode()
379 optr = outbuf; in decode()
399 if (optr != outbuf) { in decode()
401 (void) fwrite(outbuf, (size_t)(optr - outbuf), in decode()
H A Duustat.c91 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/cmd/boot/installboot/i386/
H A Dinstallboot.c1803 goto outbuf; in read_bootblock_from_file()
1838 outbuf: in read_bootblock_from_file()
/illumos-gate/usr/src/cmd/boot/installboot/sparc/
H A Dinstallboot.c141 goto outbuf; in read_bootblock_from_file()
170 outbuf: in read_bootblock_from_file()
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c1056 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/cmd/cmd-inet/common/
H A Dkcmd.c108 krb5_data outbuf; in kcmd() local
379 &outbuf)) { in kcmd()
387 &outbuf)) in kcmd()
390 outbuf.length = 0; in kcmd()
392 (krb5_pointer)&s, &outbuf)) in kcmd()
472 krb5_data *inbuf, krb5_data *outbuf, in init_encrypt() argument
484 desoutbuf.data = outbuf->data + 4; in init_encrypt()
486 desoutbuf.length = outbuf->length + 4; in init_encrypt()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dauth.c346 outbuf[j] = D<<2; in radix_encode()
349 outbuf[j++] |= D>>4; in radix_encode()
350 outbuf[j] = (D&15)<<4; in radix_encode()
353 outbuf[j++] |= D>>2; in radix_encode()
354 outbuf[j] = (D&3)<<6; in radix_encode()
357 outbuf[j++] |= D; in radix_encode()
380 outbuf[j++] = radixN[inbuf[i]>>2]; in radix_encode()
396 outbuf[j++] = radixN[c]; in radix_encode()
399 outbuf[j++] = radix_pad; in radix_encode()
402 outbuf[j++] = radix_pad; in radix_encode()
[all …]
H A Dsecure.c230 static char *outbuf; /* output ciphertext */ in secure_putbuf() local
260 outbuf = outbuf ? in secure_putbuf()
261 realloc(outbuf, (size_t)out_buf.length) : in secure_putbuf()
263 if (outbuf) in secure_putbuf()
273 memcpy(outbuf, out_buf.value, length = out_buf.length); in secure_putbuf()
279 if (looping_write(fd, outbuf, length) != length) in secure_putbuf()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c537 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-inet/usr.sbin/snoop/
H A Dsnoop_slp.c357 static int make_utf8(char *outbuf, size_t outlen, in make_utf8() argument
412 memcpy(outbuf, inbuf, converted); in make_utf8()
413 outbuf[converted] = 0; in make_utf8()
421 if ((converted = iconv(cd, &inbuf, &inlen, &outbuf, &outlen)) in make_utf8()
426 outbuf[converted] = 0; in make_utf8()
/illumos-gate/usr/src/cmd/cxgbetool/
H A Dcudbg_view.c3614 u32 *buff = up_cim_indr->outbuf; in view_up_cim_indirect()
3786 u32 *buff = ma_indr->outbuf; in view_ma_indirect()
3818 u32 *buff = hma_indr->outbuf; in view_hma_indirect()
3854 u32 *buff = ch_pm->outbuf; in view_pm_indirect()
3870 u32 *buff = ch_pm->outbuf; in view_pm_indirect()
4394 u32 *buff = ch_pcie->outbuf; in view_pcie_indirect()
4409 u32 *buff = ch_pcie->outbuf; in view_pcie_indirect()
4451 u32 *buff = ch_tp_pio->outbuf; in view_tp_indirect()
4479 u32 *buff = ch_tp_pio->outbuf; in view_tp_indirect()
4505 u32 *buff = ch_tp_pio->outbuf; in view_tp_indirect()
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c9993 (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/exstr/
H A Dexstr.c242 char outbuf[BUFSIZ]; in replace() local
251 outp = outbuf; in replace()
332 if (outp != outbuf) { in replace()
336 (void) fputs(outbuf, stdout); in replace()
339 outp = outbuf; in replace()
390 outp += snprintf(outp, BUFSIZ - (outp - outbuf), in replace()
394 outp += snprintf(outp, BUFSIZ - (outp - outbuf), in replace()
403 if (outp != outbuf) { in replace()
407 (void) fputs(outbuf, stdout); in replace()
/illumos-gate/usr/src/cmd/filesync/
H A Ddebug.c169 static char outbuf[MAX_NAME]; in showflags() local
171 outbuf[0] = 0; in showflags()
174 if (outbuf[0]) in showflags()
175 strcat(outbuf, "|"); in showflags()
176 strcat(outbuf, map[i].fl_name); in showflags()
179 return (outbuf); in showflags()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c992 char *outbuf, size_t outbuflen, char *errbuf, size_t errbuflen) in forkandexecve() argument
1063 if (read(outpipe[0], outbuf, outbuflen) <= 0) { in forkandexecve()
1079 if (outbuf[count - 1] != '\0' && in forkandexecve()
1080 outbuf[count - 1] != '\n') in forkandexecve()
1081 outbuf[count] = '\0'; in forkandexecve()
1312 char outbuf[256], errbuf[512]; in platform_call() local
1357 outbuf[0] = '\0'; in platform_call()
1361 (char *const *) envp, outbuf, sizeof (outbuf), in platform_call()
1376 for (ptr = outbuf; *ptr; ptr++) in platform_call()
1382 valuep->v = (uintptr_t)stable(outbuf); in platform_call()
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c51 wchar_t outbuf[BUFSIZ]; /* Sandbagged output line image */ variable
355 wscpy(s, &outbuf[crown_head]); in prefix()
499 s = wscol(outbuf); in pack()
525 tabulate(outbuf); in oflush()
598 for (b = 0, cp = outbuf; b < l; b++) in leadin()

12345678910>>...17