Home
last modified time | relevance | path

Searched refs:ptbuf (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c197 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 Dpr.c1018 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/krb5/src/windows/kfwlogon/
H A Dkfwlogon.c380 char *ptbuf[1]; in NPLogonNotify() local
385 ptbuf[0] = msg; in NPLogonNotify()
386 ReportEvent(h, EVENTLOG_WARNING_TYPE, 0, 1008, NULL, 1, 0, ptbuf, NULL); in NPLogonNotify()
H A Dkfwcommon.c319 HANDLE h; char *ptbuf[1]; in DebugEvent0() local
324 ptbuf[0] = a; in DebugEvent0()
325 ReportEvent(h, EVENTLOG_INFORMATION_TYPE, 0, 0, NULL, 1, 0, (const char **)ptbuf, NULL); in DebugEvent0()
334 HANDLE h; char *ptbuf[1],buf[MAXBUF_+1]; in DebugEvent() local
343 ptbuf[0] = buf; in DebugEvent()
344 ReportEvent(h, EVENTLOG_INFORMATION_TYPE, 0, 0, NULL, 1, 0, (const char **)ptbuf, NULL); in DebugEvent()
/freebsd/sys/dev/ocs_fc/
H A Docs_ioctl.c417 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()
/freebsd/crypto/openssl/test/
H A Dthreadstest.c929 unsigned char ptbuf[256]; in thread_shared_evp_pkey() local
956 ptlen = sizeof(ptbuf); in thread_shared_evp_pkey()
958 || !TEST_int_gt(EVP_PKEY_decrypt(ctx, ptbuf, &ptlen, ctbuf, ctlen), in thread_shared_evp_pkey()
960 || !TEST_mem_eq(msg, strlen(msg), ptbuf, ptlen)) in thread_shared_evp_pkey()