/freebsd/contrib/sendmail/libsm/ |
H A D | vasprintf.c | 62 SM_FILE_T fake; variable 65 fake.sm_magic = SmFileMagic; 66 fake.f_timeout = SM_TIME_FOREVER; 67 fake.f_timeoutstate = SM_TIME_BLOCK; 68 fake.f_file = -1; 69 fake.f_flags = SMWR | SMSTR | SMALC; 70 fake.f_bf.smb_base = fake.f_p = (unsigned char *)sm_malloc(SM_VA_BUFSIZE); 71 if (fake.f_bf.smb_base == NULL) 73 fake.f_close = NULL; 74 fake.f_open = NULL; [all …]
|
H A D | snprintf.c | 59 SM_FILE_T fake; local 67 fake.sm_magic = SmFileMagic; 68 fake.f_file = -1; 69 fake.f_flags = SMWR | SMSTR; 70 fake.f_cookie = &fake; 71 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str; 72 fake.f_bf.smb_size = fake.f_w = n ? n - 1 : 0; 73 fake.f_timeout = SM_TIME_FOREVER; 74 fake.f_timeoutstate = SM_TIME_BLOCK; 75 fake.f_close = NULL; [all …]
|
H A D | sscanf.c | 79 SM_FILE_T fake; local 82 fake.sm_magic = SmFileMagic; 83 fake.f_flags = SMRD; 84 fake.f_bf.smb_base = fake.f_p = (unsigned char *) str; 85 fake.f_bf.smb_size = fake.f_r = strlen(str); 86 fake.f_file = -1; 87 fake.f_read = sm_eofread; 88 fake.f_write = NULL; 89 fake.f_close = NULL; 90 fake.f_open = NULL; [all …]
|
H A D | vsnprintf.c | 49 SM_FILE_T fake; variable 61 fake.sm_magic = SmFileMagic; 62 fake.f_timeout = SM_TIME_FOREVER; 63 fake.f_timeoutstate = SM_TIME_BLOCK; 64 fake.f_file = -1; 65 fake.f_flags = SMWR | SMSTR; 66 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str; 67 fake.f_bf.smb_size = fake.f_w = n - 1; 68 fake.f_close = NULL; 69 fake.f_open = NULL; [all …]
|
H A D | vfprintf.c | 104 SM_FILE_T fake; local 109 fake.sm_magic = SmFileMagic; 110 fake.f_timeout = SM_TIME_FOREVER; 111 fake.f_timeoutstate = SM_TIME_BLOCK; 112 fake.f_flags = fp->f_flags & ~SMNBF; 113 fake.f_file = fp->f_file; 114 fake.f_cookie = fp->f_cookie; 115 fake.f_write = fp->f_write; 116 fake.f_close = NULL; 117 fake.f_open = NULL; [all …]
|
/freebsd/contrib/kyua/utils/process/ |
H A D | status_test.cpp | 99 const status fake = status::fake_exited(123); in ATF_TEST_CASE_BODY() local 100 ATF_REQUIRE_EQ(-1, fake.dead_pid()); in ATF_TEST_CASE_BODY() 101 ATF_REQUIRE(fake.exited()); in ATF_TEST_CASE_BODY() 102 ATF_REQUIRE_EQ(123, fake.exitstatus()); in ATF_TEST_CASE_BODY() 103 ATF_REQUIRE(!fake.signaled()); in ATF_TEST_CASE_BODY() 110 const status fake = status::fake_signaled(567, true); in ATF_TEST_CASE_BODY() local 111 ATF_REQUIRE_EQ(-1, fake.dead_pid()); in ATF_TEST_CASE_BODY() 112 ATF_REQUIRE(!fake.exited()); in ATF_TEST_CASE_BODY() 113 ATF_REQUIRE(fake.signaled()); in ATF_TEST_CASE_BODY() 114 ATF_REQUIRE_EQ(567, fake.termsig()); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/lib/libc/stdio/ |
H A D | xprintf.c | 579 FILE fake = FAKE_FILE; in __v3printf() local 583 fake._flags = fp->_flags & ~__SNBF; in __v3printf() 584 fake._file = fp->_file; in __v3printf() 585 fake._cookie = fp->_cookie; in __v3printf() 586 fake._write = fp->_write; in __v3printf() 587 fake._orientation = fp->_orientation; in __v3printf() 588 fake._mbstate = fp->_mbstate; in __v3printf() 591 fake._bf._base = fake._p = buf; in __v3printf() 592 fake._bf._size = fake._w = sizeof(buf); in __v3printf() 593 fake._lbfsize = 0; /* not actually used, but Just In Case */ in __v3printf() [all …]
|
H A D | vfprintf.c | 176 FILE fake = FAKE_FILE; in __sbprintf() local 184 fake._flags = fp->_flags & ~__SNBF; in __sbprintf() 185 fake._file = fp->_file; in __sbprintf() 186 fake._cookie = fp->_cookie; in __sbprintf() 187 fake._write = fp->_write; in __sbprintf() 188 fake._orientation = fp->_orientation; in __sbprintf() 189 fake._mbstate = fp->_mbstate; in __sbprintf() 192 fake._bf._base = fake._p = buf; in __sbprintf() 193 fake._bf._size = fake._w = sizeof(buf); in __sbprintf() 194 fake._lbfsize = 0; /* not actually used, but Just In Case */ in __sbprintf() [all …]
|
H A D | vfwprintf.c | 212 FILE fake; in __sbprintf() local 220 fake._flags = fp->_flags & ~__SNBF; in __sbprintf() 221 fake._file = fp->_file; in __sbprintf() 222 fake._cookie = fp->_cookie; in __sbprintf() 223 fake._write = fp->_write; in __sbprintf() 224 fake._orientation = fp->_orientation; in __sbprintf() 225 fake._mbstate = fp->_mbstate; in __sbprintf() 228 fake._bf._base = fake._p = buf; in __sbprintf() 229 fake._bf._size = fake._w = sizeof(buf); in __sbprintf() 230 fake._lbfsize = 0; /* not actually used, but Just In Case */ in __sbprintf() [all …]
|
/freebsd/crypto/heimdal/admin/ |
H A D | ktutil.c | 122 char *fake[3]; in help() local 123 fake[0] = argv[0]; in help() 124 fake[1] = shelp; in help() 125 fake[2] = NULL; in help() 126 (*c->func)(2, fake); in help()
|
/freebsd/crypto/openssh/ |
H A D | auth.c | 634 static struct passwd fake; in fakepw() local 640 return (&fake); in fakepw() 642 memset(&fake, 0, sizeof(fake)); in fakepw() 643 fake.pw_name = "NOUSER"; in fakepw() 644 fake.pw_passwd = xstrdup("$2a$10$" in fakepw() 646 for (cp = fake.pw_passwd + 7; *cp != '\0'; cp++) in fakepw() 649 fake.pw_gecos = "NOUSER"; in fakepw() 651 fake.pw_uid = privsep_pw == NULL ? (uid_t)-1 : privsep_pw->pw_uid; in fakepw() 652 fake.pw_gid = privsep_pw == NULL ? (gid_t)-1 : privsep_pw->pw_gid; in fakepw() 654 fake.pw_class = ""; in fakepw() [all …]
|
H A D | .depend | 5 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… 6 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… 7 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… 8 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… 9 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… 10 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… 11 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… 12 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… 13 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… 14 …s.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fake-rfc2553.h openbsd-c… [all …]
|
/freebsd/tools/tools/shlib-compat/test/libtestsys/ |
H A D | Makefile | 8 test.c: ../../makesyscalls-fake.sh 9 sh ${.CURDIR}/../../makesyscalls-fake.sh /usr/src/sys/kern/syscalls.master > ${.TARGET}
|
/freebsd/crypto/openssh/regress/misc/fuzz-harness/testdata/ |
H A D | create-agent-corpus.sh | 38 ssh-add -s /fake || : 41 ssh-add -e /fake || :
|
/freebsd/crypto/heimdal/lib/sl/ |
H A D | sl.c | 375 char *fake[3]; in sl_slc_help() local 376 fake[0] = argv[0]; in sl_slc_help() 377 fake[1] = help; in sl_slc_help() 378 fake[2] = NULL; in sl_slc_help() 379 (*c->func)(2, fake); in sl_slc_help()
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | varname-dot-parsefile.mk | 37 .PARSEFILE= fake-parsefile 43 .info The location is no longer fake.
|
H A D | varname-dot-parsedir.mk | 42 .PARSEDIR= /fake-absolute-path 48 .info The location is no longer fake.
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | mount_zfs.c | 160 int sloppy = 0, fake = 0, verbose = 0, nomtab = 0, zfsutil = 0; in main() local 176 fake = 1; in main() 319 if (!zfsutil && !(remount || fake) && in main() 338 if (!fake) { in main()
|
/freebsd/contrib/netbsd-tests/share/mk/ |
H A D | t_test.sh | 46 TESTSDIR = \${TESTSBASE}/fake 52 mkdir -p root/usr/tests/fake
|
/freebsd/contrib/googletest/ |
H A D | fake_fuchsia_sdk.bzl | 1 """Provides a fake @fuchsia_sdk implementation that's used when the real one isn't available. 21 doc = "Used to create a fake @fuchsia_sdk repository with stub build targets.",
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | iprop-log.c | 442 char *fake[3]; in help() local 443 fake[0] = argv[0]; in help() 444 fake[1] = shelp; in help() 445 fake[2] = NULL; in help() 446 (*c->func)(2, fake); in help()
|
/freebsd/sbin/adjkerntz/ |
H A D | adjkerntz.c | 59 static void fake(int); 63 fake(int unused __unused) in fake() function 134 (void) signal(SIGTERM, fake); in main()
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_freeall.c | 159 static va_list fake; in NCURSES_SP_NAME() local 160 free(_nc_varargs("?", fake)); in NCURSES_SP_NAME()
|
/freebsd/sys/kern/ |
H A D | kern_clocksource.c | 69 static int handleevents(sbintime_t now, int fake); 155 handleevents(sbintime_t now, int fake) in handleevents() argument 166 if (fake) { in handleevents() 184 if (fake < 2) { in handleevents() 194 if (runs && fake < 2) { in handleevents() 204 if (runs && !fake) { in handleevents() 220 loadtimer(now, (fake == 2) && in handleevents()
|
/freebsd/libexec/getty/ |
H A D | gettytab | 21 # fake parity. login will use even parity (cs7 parenb -parodd). 23 # getty will fake odd parity as well. 26 # np: 1. don't fake parity in getty. The fake parity garbles 29 # try to fake parity. It could just use cbreak mode so as
|