Searched refs:fake (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-current/contrib/sendmail/libsm/
H A Dvasprintf.c62 SM_FILE_T fake; local
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
[all...]
H A Dsnprintf.c59 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
[all...]
H A Dsscanf.c79 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
[all...]
H A Dvsnprintf.c24 ** Assigned 'str' to a "fake" file pointer. This allows common
49 SM_FILE_T fake; local
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
[all...]
H A Dvfprintf.c80 ** temporary buffer (via a "fake" file pointer).
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
[all...]
/freebsd-current/tools/tools/shlib-compat/test/libtestsys/
H A DMakefile9 test.c: ../../makesyscalls-fake.sh
10 sh ${.CURDIR}/../../makesyscalls-fake.sh /usr/src/sys/kern/syscalls.master > ${.TARGET}
/freebsd-current/contrib/kyua/utils/process/
H A Dstatus_test.cpp99 const status fake = status::fake_exited(123); local
100 ATF_REQUIRE_EQ(-1, fake.dead_pid());
101 ATF_REQUIRE(fake.exited());
102 ATF_REQUIRE_EQ(123, fake.exitstatus());
103 ATF_REQUIRE(!fake.signaled());
110 const status fake = status::fake_signaled(567, true); local
111 ATF_REQUIRE_EQ(-1, fake.dead_pid());
112 ATF_REQUIRE(!fake.exited());
113 ATF_REQUIRE(fake.signaled());
114 ATF_REQUIRE_EQ(567, fake
122 const status fake = status::fake_exited(123); local
124 str << fake; local
132 const status fake = status::fake_signaled(8, false); local
134 str << fake; local
142 const status fake = status::fake_signaled(9, true); local
144 str << fake; local
[all...]
/freebsd-current/tools/tools/shlib-compat/
H A DMakefile.sysfake6 sh ${.CURDIR}/../../tools/tools/shlib-compat/makesyscalls-fake.sh \
/freebsd-current/crypto/openssh/regress/misc/fuzz-harness/testdata/
H A Dcreate-agent-corpus.sh38 ssh-add -s /fake || :
41 ssh-add -e /fake || :
/freebsd-current/crypto/openssh/regress/
H A Dlogin-timeout.sh13 (echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 &
/freebsd-current/contrib/bmake/unit-tests/
H A Dvarname-dot-parsefile.exp3 make: "varname-dot-parsefile.mk" line 43: The location is no longer fake.
H A Dvarname-dot-parsedir.exp3 make: "varname-dot-parsedir.mk" line 48: The location is no longer fake.
H A Dvarname-dot-parsedir.mk42 .PARSEDIR= /fake-absolute-path
47 # expect+1: The location is no longer fake.
48 .info The location is no longer fake.
H A Dvarname-dot-parsefile.mk37 .PARSEFILE= fake-parsefile
42 # expect+1: The location is no longer fake.
43 .info The location is no longer fake.
/freebsd-current/crypto/heimdal/admin/
H A Dktutil.c122 char *fake[3]; local
123 fake[0] = argv[0];
124 fake[1] = shelp;
125 fake[2] = NULL;
126 (*c->func)(2, fake);
/freebsd-current/sbin/dhclient/tests/
H A DMakefile11 tables.c parse.c conflex.c tree.c fake.c \
/freebsd-current/lib/libc/stdio/
H A Dxprintf.c579 FILE fake = FAKE_FILE; local
583 fake._flags = fp->_flags & ~__SNBF;
584 fake._file = fp->_file;
585 fake._cookie = fp->_cookie;
586 fake._write = fp->_write;
587 fake._orientation = fp->_orientation;
588 fake._mbstate = fp->_mbstate;
591 fake._bf._base = fake._p = buf;
592 fake
[all...]
H A Dvfwprintf.c212 FILE fake; local
220 fake._flags = fp->_flags & ~__SNBF;
221 fake._file = fp->_file;
222 fake._cookie = fp->_cookie;
223 fake._write = fp->_write;
224 fake._orientation = fp->_orientation;
225 fake._mbstate = fp->_mbstate;
228 fake._bf._base = fake._p = buf;
229 fake
[all...]
H A Dvfprintf.c175 FILE fake = FAKE_FILE; local
183 fake._flags = fp->_flags & ~__SNBF;
184 fake._file = fp->_file;
185 fake._cookie = fp->_cookie;
186 fake._write = fp->_write;
187 fake._orientation = fp->_orientation;
188 fake._mbstate = fp->_mbstate;
191 fake._bf._base = fake._p = buf;
192 fake
[all...]
/freebsd-current/contrib/netbsd-tests/share/mk/
H A Dt_test.sh46 TESTSDIR = \${TESTSBASE}/fake
52 mkdir -p root/usr/tests/fake
56 atf_check -o match:'ident: one_tc' "./root/usr/tests/fake/${name}" -l
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mount/
H A Dumountall_001.ksh59 mounts=$(umount --fake -av -t zfs 2>&1 | awk '/successfully umounted/ {print $1}')
/freebsd-current/crypto/openssh/
H A Dauth.c634 static struct passwd fake; local
640 return (&fake);
642 memset(&fake, 0, sizeof(fake));
643 fake.pw_name = "NOUSER";
644 fake.pw_passwd = xstrdup("$2a$10$"
646 for (cp = fake.pw_passwd + 7; *cp != '\0'; cp++)
649 fake.pw_gecos = "NOUSER";
651 fake.pw_uid = privsep_pw == NULL ? (uid_t)-1 : privsep_pw->pw_uid;
652 fake
[all...]
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dlib_freeall.c156 static va_list fake; local
157 free(_nc_varargs("?", fake));
/freebsd-current/sys/contrib/openzfs/cmd/
H A Dmount_zfs.c160 int sloppy = 0, fake = 0, verbose = 0, nomtab = 0, zfsutil = 0; local
176 fake = 1;
320 if (!zfsutil && !(remount || fake) &&
339 if (!fake) {
/freebsd-current/usr.bin/getconf/
H A DMakefile18 FAKE_GPERF= ${.CURDIR}/fake-gperf.awk

Completed in 167 milliseconds

123