Searched refs:ptbuf (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-openpty.c | 197 char ptbuf[64], ttbuf[64]; in openpty() 207 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty%c%c", in openpty() 212 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 214 snprintf(ptbuf, sizeof(ptbuf), "/dev/ptyp%d", i); in openpty() 216 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty()
|
/freebsd/usr.bin/pr/ |
H A D | pr.c | 1018 char *ptbuf; in inln() local 1021 ptbuf = buf; in inln() 1035 col = (ptbuf - buf) + *cps; in inln() 1048 *ptbuf++ = ' '; in inln() 1053 *ptbuf++ = ch; in inln() 1062 *ptbuf++ = ch; in inln() 1065 col = ptbuf - buf; in inln()
|
/freebsd/crypto/openssl/test/ |
H A D | threadstest.c | 392 unsigned char ptbuf[256]; in thread_shared_evp_pkey() local 419 ptlen = sizeof(ptbuf); in thread_shared_evp_pkey() 421 || !TEST_int_gt(EVP_PKEY_decrypt(ctx, ptbuf, &ptlen, ctbuf, ctlen), in thread_shared_evp_pkey() 423 || !TEST_mem_eq(msg, strlen(msg), ptbuf, ptlen)) in thread_shared_evp_pkey()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_ioctl.c | 417 ocs_textbuf_t *ptbuf = NULL; in ocs_ioctl() local 422 ptbuf = &ocs->ddump_saved; in ocs_ioctl() 461 ptbuf = &textbuf; in ocs_ioctl() 465 if (ptbuf != NULL) { in ocs_ioctl() 469 n = ocs_textbuf_ext_get_written(ptbuf, idx); in ocs_ioctl() 477 ocs_textbuf_ext_get_buffer(ptbuf, idx), n)) { in ocs_ioctl() 485 if (ptbuf == &textbuf) { in ocs_ioctl()
|