Searched defs:try (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-match.c19 #define try(str, pat, want) \ macro
35 try("foo", "foo", true);
36 try("foo", "bar", false);
37 try("foo[bar", "foo[bar", true);
38 try("foo[bar]", "foo[bar]", false);
39 try("foob", "foo[bar]", true);
40 try("a-b", "a[]-]b", true);
41 try("abcde", "a*e", true);
42 try("[", "[[]", true);
43 try("
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/cifs/
H A Dcifs_attr_002_pos.ksh59 function try function
195 try $mntpt/file $attr $user $priv $add
196 try $mntpt/file $attr $user $priv $del
197 try $mntpt/dir $attr $user $priv $add
198 try $mntpt/dir $attr $user $priv $del
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_fault.c47 int debug_self_confirm = 0, try; local
54 try = 1;
56 if (++try == 2) {
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_alloc.c45 uint_t try, lim, msecs; local
53 for (try = 0; data == NULL && try < lim; try++) {
H A Dfmd_rpc_adm.c723 int try = 1, trylimit = 1; local
759 * one else can discover the current log pointer. Then try to rotate
763 if (try > 1)
776 } while (new == NULL && errno == EFMD_LOG_ROTBUSY && try++ < trylimit);
/illumos-gate/usr/src/cmd/factor/
H A Dfactor.c52 void try(double);
90 try(2.0);
91 try(3.0);
92 try(5.0);
93 try(7.0);
117 try(double arg) function
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dtime.c74 int same, try; local
76 same = try = 0;
83 } while (++same < 8 && ++try < 1000);
/illumos-gate/usr/src/cmd/syslogd/
H A Dqueue.c83 dataq_dequeue(dataq_t *dataq, void **outptr, int try) argument
92 if (try) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmktemp.c108 int try; local
191 /* we can try sequence numbers in the range 0 <= try < max_try */
196 try = previous_try;
199 uint64_t num = ((uint64_t)pid << tryshift) + (uint64_t)try;
212 previous_try = try + 1;
218 if (++try == max_try)
219 try = 0;
220 if (try == previous_try)
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrormain.c56 static void try(char *name, int argc, char **argv);
261 try("vi", argc, argv);
262 try("ex", argc, argv);
263 try("ed", argc-1, argv+1);
268 try(char *name, int argc, char **argv) function
/illumos-gate/usr/src/cmd/tcpd/
H A DMakefile8 PROG= safe_finger tcpd tcpdchk tcpdmatch try-from
19 tcpd tcpdmatch try-from := \
40 try-from := LDFLAGS +=$(MAPFILE.INT.F:%=-M%)
59 try-from: try-from.o fakelog.o $(LIB) $(MAPFILE.INTF.F)
60 $(LINK.c) -o $@ try-from.o fakelog.o $(LDLIBS)
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_resv.c577 int try; local
586 if ((try = mutex_tryenter(&newdev->nsc_lock)) != 0)
594 if (try != 0)
602 if (try == 0)
H A Dnsc_dev.c492 int try, run; local
494 for (run = 1, try = (NSC_TRY | NSC_DEFER); run--; try = 0) {
499 if (!(rc = _nsc_reopen_dev(dev, flag | try)))
509 if (try && !(flag & NSC_TRY))
543 int try, run; local
548 for (run = 1, try = (NSC_TRY | NSC_DEFER); run--; try = 0)
551 if (!(rc = _nsc_reopen_fd(fd, flag | try)))
560 if (try
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c95 int try; local
179 * We'll try the following twice, first with the page list
181 * no filter to convert the content, we'll try again without
190 try = 0;
191 Again: try++;
263 if (try == 1) {
303 if (try == 1) {
/illumos-gate/usr/src/lib/libresolv/
H A Dres_send.c109 /* Lastly, we try to connect to the TCP port of the
141 int try, v_circuit, resplen, ns; local
177 for (try = 0; try < _res.retry; try++) {
192 try = _res.retry;
357 (try == 0 && ns == 0)) {
411 timeout.tv_sec = (_res.retrans << try);
412 if (try > 0)
/illumos-gate/usr/src/boot/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? */
148 * we haven't tried already, try now.
161 autoboot(-1, NULL); /* try to boot automatically */
177 /* try to get a delay from the environment */
241 * Scrounge for the name of the (try)'th file we will try to boot.
244 getbootfile(int try) argument
257 * Try $bootfile, then try ou
388 loadakernel(int try, int argc, char* argv[]) argument
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvcur.c130 struct Sequence* try = &seqB; local
146 /* try out direct row addressing */
150 /* try out paramaterized up or down motion */
151 zero_seq(try);
152 add_op(try, parm_cursor, dist, 0);
153 Make_seq_best(best, try);
155 /* try getting there one step at a time... */
156 zero_seq(try);
157 add_op(try, one_step, dist, 0);
158 Make_seq_best(best, try);
186 struct Sequence seqA, seqB, *best, *try; local
291 struct Sequence* try = &seqB; local
382 struct Sequence* try = &seqB; /* next try */ local
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c129 struct Sequence *try = &seqB; local
145 /* try out direct row addressing */
149 /* try out paramaterized up or down motion */
150 zero_seq(try);
151 add_op(try, parm_cursor, dist, 0);
152 Make_seq_best(best, try);
154 /* try getting there one step at a time... */
155 zero_seq(try);
156 add_op(try, one_step, dist, 0);
157 Make_seq_best(best, try);
183 struct Sequence seqA, seqB, *best, *try; local
289 struct Sequence *try = &seqB; local
372 struct Sequence *try = &seqB; /* next try */ local
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsfsasl.c511 ** We try to get the "raw" file descriptor that TLS uses to
718 int r, rfd, wfd, try, ssl_err; local
723 try = 99;
747 try = tls_retry(so->con, rfd, wfd, tlsstart,
751 if (try > 0)
788 if (try == 0 && save_errno == SM_ERR_TIMEOUT)
798 ERR_error_string(ERR_get_error(), NULL), try,
803 err, r, errno, try, ssl_err);
830 int r, rfd, wfd, try, ssl_err; local
835 try
[all...]
/illumos-gate/usr/src/boot/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...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dccp.c779 ccp_options try; /* options to ask for next time */ local
782 try = *go;
795 try.deflate_correct = 0;
797 try.deflate_size = DEFLATE_SIZE(p[2]);
816 try.deflate_draft = 0;
818 try.deflate_size = DEFLATE_SIZE(p[2]);
823 if (!try.deflate_correct && !try.deflate_draft)
824 try.deflate = 0;
835 try
863 ccp_options try; /* options to request next time */ local
[all...]
H A Dipv6cp.c622 ipv6cp_options try; /* options to request next time */ local
625 try = *go;
665 try.ourid = ifaceid;
674 try.vj_protocol = cishort;
676 try.neg_vj = 0;
683 try.neg_vj = 0;
711 try.neg_ifaceid = 1;
717 try.ourid = ifaceid;
733 *go = try;
756 ipv6cp_options try; /* option local
[all...]
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c374 int i, try, size; local
384 for (try = 0; try < size; try++) {
397 if (try == size)
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c120 struct config *croot, struct arrow *arrowp, int try, int *dupedp)
133 if (eval_expr(np, ex, events, globals, croot, arrowp, try,
151 if (try) {
153 arrowp, try, &val) && val.t == NODEPTR)
167 int try, struct evalue *valuep)
176 arrowp, try, &lval))
179 arrowp, try, &rval))
195 arrowp, try, valuep))
212 struct config *croot, struct arrow *arrowp, int try, struct evalue *valuep)
230 croot, arrowp, try,
118 eval_getname(struct node *funcnp, struct lut *ex, struct node *events[], struct node *np, struct lut **globals, struct config *croot, struct arrow *arrowp, int try, int *dupedp) argument
165 eval_cat(struct node *np, struct lut *ex, struct node *events[], struct lut **globals, struct config *croot, struct arrow *arrowp, int try, struct evalue *valuep) argument
210 eval_func(struct node *funcnp, struct lut *ex, struct node *events[], struct node *np, struct lut **globals, struct config *croot, struct arrow *arrowp, int try, struct evalue *valuep) argument
1385 eval_expr(struct node *np, struct lut *ex, struct node *events[], struct lut **globals, struct config *croot, struct arrow *arrowp, int try, struct evalue *valuep) argument
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_raw.c174 int try = maxtry; local
196 umaj, (maxtry - try));
714 /* try the in-kernel way */

Completed in 110 milliseconds

12