Searched refs:try (Results 1 - 25 of 91) sorted by relevance

1234

/src/tests/lib/libc/regex/
H A Dtest_regex.h34 void try(char *, char *, char *, char *, char *, int);
/src/regress/sys/arch/i386/iopl/
H A Diopl.c73 try(const char *msg, bool success) function in typeref:typename:void
98 try("1", false);
107 try("2", true);
116 try("3", false);
/src/games/caesar/
H A Dcaesar.c133 unsigned int try, winner; local in function:guess_and_rotate
158 for (try = 0; try < LETTERS; try++) {
162 * stdf[(i + try) % LETTERS];
164 if (try == 0 || dot > winnerdot) {
166 winner = try;
/src/sys/arch/alpha/stand/standtest/
H A Dtest.c176 const struct cmdtab *try, *winner; local in function:dispatch_cmd
199 for (nmatches = 0, try = cmds;
200 try != NULL && try->cmd != NULL;
201 try++) {
202 if (strncmp(buf, try->cmd, nonwhitespace) == 0) {
203 winner = try;
233 const struct cmdtab *try; local in function:print_cmds
236 for (try = cmds; try !
[all...]
/src/regress/sys/arch/i386/ioperm/
H A Dioperm.c72 try(const char *msg, bool success) function in typeref:typename:void
110 try("1", false);
130 try("2", true);
141 try("3", false);
/src/distrib/utils/embedded/files/
H A Dec2_init61 try=0
62 while [ $((try++)) -lt 20 ]
71 echo "${CLOUD_TYPE} hostname not available yet (try $try)"
/src/sys/arch/ia64/stand/common/
H A Dboot.c43 static char *getbootfile(int try);
44 static int loadakernel(int try, int argc, char* argv[]);
46 /* List of kernel names to try */
149 * we haven't tried already, try now.
158 autoboot(-1, NULL); /* try to boot automatically */
172 /* try to get a delay from the environment */
231 * Scrounge for the name of the (try)'th file we will try to boot.
234 getbootfile(int try) argument
247 * Try $bootfile, then try ou
349 loadakernel(int try,int argc,char * argv[]) argument
[all...]
/src/lib/libc/net/
H A Dethers.c86 struct ether_addr try; local in function:ether_ntohost
109 /* A + in the file means try YP now. */
119 ypbuflen = ether_line(ypbuf, &try, hostname);
126 if (ether_line(p, &try, hostname) == 0 &&
127 memcmp(&try, e, sizeof try) == 0)
145 char try[MAXHOSTNAMELEN + 1]; local in function:ether_hostton
163 /* A + in the file means try YP now. */
173 ypbuflen = ether_line(ypbuf, e, try);
180 if (ether_line(p, e, try)
[all...]
/src/common/dist/zlib/test/
H A Dinfcover.c508 local int try(char *hex, char *id, int err) function in typeref:typename:local int
584 try("0 0 0 0 0", "invalid stored block lengths", 1);
585 try("3 0", "fixed", 0);
586 try("6", "invalid block type", 1);
587 try("1 1 0 fe ff 0", "stored", 0);
588 try("fc 0 0", "too many length or distance symbols", 1);
589 try("4 0 fe ff", "invalid code lengths set", 1);
590 try("4 0 24 49 0", "invalid bit length repeat", 1);
591 try("4 0 24 e9 ff ff", "invalid bit length repeat", 1);
592 try("
[all...]
/src/usr.bin/error/
H A Dmain.c84 static void try(const char *, int, char **);
222 try("vi", argc, argv);
223 try("ex", argc, argv);
224 try("ed", argc-1, argv+1);
229 try(const char *name, int argc, char **argv) function in typeref:typename:void
/src/lib/libradius/
H A Dradlib_private.h54 #define MAXSERVERS 10 /* Maximum number of servers to try */
93 size_t try; /* How many requests we've sent */
/src/sys/dev/ic/
H A Dmsm6242b.c144 int try; local in function:msm6242b_hold
147 for (try = 0; try < TRY_MAX; try++) {
165 if (try == TRY_MAX) {
/src/common/dist/zlib/
H A Dconfigure13 # If you have problems, try without defining CC and CFLAGS before reporting
243 echo "If this doesn't work for you, try win32/Makefile.gcc." | tee -a configure.log
387 try() function
394 try() function
428 if try $CC -c $CFLAGS $test.c; then
445 if try $CC -c $SFLAGS $test.c &&
446 try $LDSHARED $SFLAGS -o $test$shared_ext $test.o; then
452 echo 'No shared library support; try without defining CC and CFLAGS' | tee -a configure.log
477 if try $CC -c $CFLAGS $test.c; then
486 if try
[all...]
/src/games/sail/
H A Ddr_2.c54 static void try(struct ship *f, struct ship *t,
171 try(from, to, command, commandmax, temp, sizeof(temp),
249 try(struct ship *f, struct ship *t, function in typeref:typename:void
267 try(f, t, command, commandmax, temp, tempmax,
281 try(f, t, command, commandmax, temp, tempmax,
296 try(f, t, command, commandmax, temp, tempmax,
/src/usr.bin/patch/
H A Dutil.c142 * sufficient, chop off the first char and try again.
404 #define try(f, a1, a2, a3) \ macro
407 if (try("%s/RCS/%s%s", filedir, filebase, RCSSUFFIX) ||
408 try("%s/RCS/%s%s", filedir, filebase, "") ||
409 try("%s/%s%s", filedir, filebase, RCSSUFFIX) ||
410 try("%s/SCCS/%s%s", filedir, SCCSPREFIX, filebase) ||
411 try("%s/%s%s", filedir, SCCSPREFIX, filebase))
/src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/
H A Drandombytes.c96 try {
107 try {
/src/usr.bin/make/unit-tests/
H A Ddirective-unexport.mk23 # XXX: Now try to unexport all of them. The variables are still exported
H A Dsuff-transform-endless.mk8 # exist, make would try to make .f from .e and then infinitely try
H A Dvarname-dot-newline.mk23 .if make(try-to-modify)
40 @${MAKE} -f ${MAKEFILE} try-to-modify || true
H A Dexport.mk20 ${:U!}= exclamation # A direct != would try to run "exclamation"
/src/tests/usr.bin/c++/
H A Dt_call_once2.sh117 try {
149 try {
193 try {
230 try {
284 try {
327 try {
382 try {
423 try {
466 try {
506 try {
[all...]
/src/sbin/mount_nfs/
H A Dgetnfsargs.c111 struct timeval pertry, try; local in function:getnfsargs
215 try.tv_sec = 30;
216 try.tv_usec = 0;
220 xdr_dir, spec, xdr_fh, &nfhret, try);
/src/common/lib/libc/arch/sparc/string/
H A Dffs.S69 be,a 1f ! try again if 0
/src/common/lib/libc/arch/sparc64/string/
H A Dffs.S90 be,a 1f ! try again if 0
/src/sys/dev/usb/
H A Duchcom.c647 uint32_t score, try; local in function:calc_divider_settings
648 try = rates4x[i] * 2 / rate4x;
649 try = (try / 2) + (try & 1);
650 if (try < 2)
652 if (try > 255)
653 try = 255;
654 score = abs((int)rate4x - rates4x[i] / try);
658 div = try;
[all...]

Completed in 21 milliseconds

1234