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

123456

/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dt-match.c17 #define try(str, pat, want) \ macro
33 try("foo", "foo", true);
34 try("foo", "bar", false);
35 try("foo[bar", "foo[bar", true);
36 try("foo[bar]", "foo[bar]", false);
37 try("foob", "foo[bar]", true);
38 try("a-b", "a[]-]b", true);
39 try("abcde", "a*e", true);
40 try("[", "[[]", true);
41 try("
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dsnprintf-test.c43 try (const char *format, ...) function
52 errx (1, "increase buf and try again");
72 tot += try ("%d", int_values[i]);
73 tot += try ("%x", int_values[i]);
74 tot += try ("%X", int_values[i]);
75 tot += try ("%o", int_values[i]);
76 tot += try ("%#x", int_values[i]);
77 tot += try ("%#X", int_values[i]);
78 tot += try ("%#o", int_values[i]);
79 tot += try ("
[all...]
/freebsd-9.3-release/contrib/libstdc++/libsupc++/
H A Dexception_defines.h43 # define try if (true) macro
/freebsd-9.3-release/sys/dev/ath/
H A Dif_ath_tx_ht.h37 uint8_t *rix, uint8_t *try);
H A Dif_athrate.h105 * Return the four TX rate index and try counts for the current data packet.
108 uint8_t rix0, uint8_t *rix, uint8_t *try);
H A Dif_ath_tx_ht.c99 uint8_t *try, int flags)
115 if (try[i] == 0)
118 series[i].Tries = try[i];
204 int pktlen, int flags, uint8_t ctsrate, int is_pspoll, uint8_t *rix, uint8_t *try)
214 ath_rateseries_setup(sc, ni, series, pktlen, rix, try, flags);
97 ath_rateseries_setup(struct ath_softc *sc, struct ieee80211_node *ni, HAL_11N_RATE_SERIES *series, unsigned int pktlen, uint8_t *rix, uint8_t *try, int flags) argument
203 ath_buf_set_rate(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, int pktlen, int flags, uint8_t ctsrate, int is_pspoll, uint8_t *rix, uint8_t *try) argument
/freebsd-9.3-release/games/caesar/
H A Dcaesar.c83 int obs[26], try, winner; local
118 for (try = winner = 0; try < 26; ++try) { /* += 13) { */
121 dot += obs[i] * stdf[(i + try) % 26];
123 if (try == 0)
127 winner = try;
/freebsd-9.3-release/usr.sbin/pkg_install/add/
H A Dextract.c57 char try[FILENAME_MAX], bup[FILENAME_MAX]; local
64 snprintf(try, FILENAME_MAX, "%s/%s", dir, q->name);
65 if (make_preserve_name(bup, FILENAME_MAX, name, try) && fexists(bup)) {
66 (void)chflags(try, 0);
67 (void)unlink(try);
68 if (rename(bup, try))
69 warnx("rollback: unable to rename %s back to %s", bup, try);
159 char try[FILENAME_MAX]; local
161 /* first try to rename it into place */
162 snprintf(try, FILENAME_MA
[all...]
/freebsd-9.3-release/sys/boot/i386/libi386/
H A Dtime.c74 int try; local
76 try = 0;
81 } while (now != check && ++try < 1000);
/freebsd-9.3-release/usr.sbin/rpc.umntall/
H A Drpc.umntall.c174 struct timeval try; local
177 try.tv_sec = 3;
178 try.tv_usec = 0;
180 &try);
188 (xdrproc_t)xdr_void, (caddr_t)0, try);
202 struct timeval try; local
205 try.tv_sec = 3;
206 try.tv_usec = 0;
208 &try);
215 (xdrproc_t)xdr_void, (caddr_t)0, try);
[all...]
/freebsd-9.3-release/usr.sbin/pkg_install/lib/
H A Dfile.c211 * Takes a filename and package name, returning (in "try") the
215 make_preserve_name(char *try, int max, const char *name, const char *file) argument
223 strncpy(try, file, max);
224 if (try[i] == '/') /* Catch trailing slash early and save checking in the loop */
227 if (try[i] == '/') {
228 try[i + 1]= '.';
229 strncpy(&try[i + 2], &file[i + 1], max - i - 2);
234 try[0] = '.';
235 strncpy(try + 1, file, max - 1);
238 strncat(try, "
[all...]
/freebsd-9.3-release/sys/boot/common/
H A Dboot.c39 static char *getbootfile(int try);
40 static int loadakernel(int try, int argc, char* argv[]);
42 /* List of kernel names to try (may be overwritten by boot.config) XXX should move from here? */
146 * we haven't tried already, try now.
155 autoboot(-1, NULL); /* try to boot automatically */
173 /* try to get a delay from the environment */
251 * Scrounge for the name of the (try)'th file we will try to boot.
254 getbootfile(int try) argument
267 * Try $bootfile, then try ou
398 loadakernel(int try, int argc, char* argv[]) argument
[all...]
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dftp.c101 try:
146 "please check your URL and try again.", hostname, dir);
154 * Now that we've verified that the path we're given is ok, let's try to
165 * that fails, we skip to the next one. Otherwise, we try to chdir to
167 * the base directory and try again. Lots of chdirs, but oh well. :)
178 else /* reset to "root" dir for a fresh try */
184 * print out the error message and ask the user if they want to try
196 goto try;
219 char *try, buf[PATH_MAX]; local
226 try
[all...]
H A Ddevices.c223 deviceTry(struct _devname dev, char *try, int i) argument
229 snprintf(try, FILENAME_MAX, "/dev/%s", unit);
231 msgDebug("deviceTry: attempting to open %s\n", try);
232 fd = open(try, O_RDONLY);
235 msgDebug("deviceTry: open of %s succeeded on first try.\n", try);
238 msgDebug("deviceTry: open of %s failed.\n", try);
356 /* Next, try to find all the types of devices one might need
361 char try[FILENAME_MAX]; local
365 fd = deviceTry(device_names[i], try,
[all...]
/freebsd-9.3-release/lib/libz/test/
H A Dinfcover.c507 local int try(char *hex, char *id, int err) function
583 try("0 0 0 0 0", "invalid stored block lengths", 1);
584 try("3 0", "fixed", 0);
585 try("6", "invalid block type", 1);
586 try("1 1 0 fe ff 0", "stored", 0);
587 try("fc 0 0", "too many length or distance symbols", 1);
588 try("4 0 fe ff", "invalid code lengths set", 1);
589 try("4 0 24 49 0", "invalid bit length repeat", 1);
590 try("4 0 24 e9 ff ff", "invalid bit length repeat", 1);
591 try("
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dser-e7kpc.c132 int try; local
139 for (try = 0; sigs[try].sw; try++)
142 board_at = sigs[try].addr - dsbase;
154 if (val == (0xaaa0 | sigs[try].sw))
164 sigs[try].addr);
/freebsd-9.3-release/libexec/tftpd/
H A Dtftp-transfer.c56 int size, n_data, n_ack, try; local
75 for (try = 0; ; try++) {
78 if (try == maxtimeouts) {
94 if (try == maxtimeouts) {
97 "giving up", try, *block);
102 try, *block);
/freebsd-9.3-release/contrib/libstdc++/include/bits/
H A Dstl_uninitialized.h84 try
147 try
192 try
236 try
262 try
288 try
331 try
354 try
379 try
/freebsd-9.3-release/contrib/sendmail/src/
H A Dsfsasl.c511 ** We try to get the "raw" file descriptor that TLS uses to
722 int r, rfd, wfd, try, ssl_err; local
727 try = 99;
751 try = tls_retry(so->con, rfd, wfd, tlsstart,
755 if (try > 0)
782 if (errno == EAGAIN && try > 0)
801 if (try == 0 && save_errno == SM_ERR_TIMEOUT)
811 if (save_errno == EAGAIN && try > 0)
818 ERR_error_string(ERR_get_error(), NULL), try,
824 err, r, errno, try, ssl_er
851 int r, rfd, wfd, try, ssl_err; local
[all...]
/freebsd-9.3-release/lib/libradius/
H A Dradlib_private.h53 #define MAXSERVERS 10 /* Maximum number of servers to try */
92 int try; /* How many requests we've sent */
/freebsd-9.3-release/gnu/usr.bin/patch/
H A Dinp.c124 #define try(f,a1,a2) (Sprintf(s + pathlen, f, a1, a2), stat(s, &cstat) == 0) macro
125 if ((try("RCS/%s%s", filebase, RCSSUFFIX) ||
126 try("RCS/%s%s", filebase, "") ||
127 try("%s%s", filebase, RCSSUFFIX)) &&
138 } else if (try("SCCS/%s%s", SCCSPREFIX, filebase) ||
139 try("%s%s", SCCSPREFIX, filebase)) {
H A Dutil.c85 * and try again.
436 #define try(f, a1, a2) \ macro
438 if (try("RCS/%s%s", filebase, RCSSUFFIX) ||
439 try("RCS/%s%s", filebase, "") ||
440 try( "%s%s", filebase, RCSSUFFIX) ||
441 try("SCCS/%s%s", SCCSPREFIX, filebase) ||
442 try( "%s%s", SCCSPREFIX, filebase))
/freebsd-9.3-release/contrib/ntp/
H A Dbuild150 for try in test /bin/test /usr/bin/test ; do
151 case `$try config.status -nt ../configure 2>&1` in
153 TEST="$try"
/freebsd-9.3-release/usr.sbin/sade/
H A Ddevices.c106 deviceTry(struct _devname dev, char *try, int i) argument
112 snprintf(try, FILENAME_MAX, "/dev/%s", unit);
114 msgDebug("deviceTry: attempting to open %s\n", try);
115 fd = open(try, O_RDONLY);
118 msgDebug("deviceTry: open of %s succeeded.\n", try);
177 /* Next, try to find all the types of devices one might need
182 char try[FILENAME_MAX]; local
186 fd = deviceTry(device_names[i], try, j);
/freebsd-9.3-release/contrib/ofed/management/opensm/scripts/
H A Dopensm.init.in115 try-restart | condrestart)

Completed in 158 milliseconds

123456