Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 161) sorted by relevance

1234567

/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrexpr.c43 #define getchr(ex) (*(ex)->nextchr++) argument
44 #define peekchr(ex) (*(ex)->nextchr) argument
45 #define ungetchr(ex) ((ex)->nextchr--) argument
47 #define error(ex,msg) return(seterror(ex,msg)) argument
65 if (!ex->errmsg) ex->errmsg = msg; in seterror()
66 ex->errchr = ex->nextchr; in seterror()
194 getchr(ex); in expr()
248 else if (ex->convert) n = (*ex->convert)(ex->nextchr, &ex->nextchr, ex->handle); in expr()
249 if (ex->nextchr == pos) error(ex, "syntax error"); in expr()
277 Expr_t ex; in strexpr() local
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dimgact_aout.h54 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \
57 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETFLAG_NET(ex) : \
74 (N_GETMAGIC(ex) == ZMAGIC || N_GETMAGIC(ex) == QMAGIC || \
80 (N_GETMAGIC(ex) != OMAGIC && N_GETMAGIC(ex) != NMAGIC && \
81 N_GETMAGIC(ex) != ZMAGIC && N_GETMAGIC(ex) != QMAGIC && \
88 ((N_GETMAGIC(ex) == OMAGIC || N_GETMAGIC(ex) == NMAGIC || \
93 N_ALIGN(ex, N_TXTADDR(ex) + (ex).a_text)
102 N_ALIGN(ex, N_TXTOFF(ex) + (ex).a_text)
106 N_ALIGN(ex, N_DATOFF(ex) + (ex).a_data)
110 (N_RELOFF(ex) + (ex).a_trsize + (ex).a_drsize)
[all …]
/illumos-gate/usr/src/tools/btxld/
H A Dimgact_aout.h39 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \
42 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETFLAG_NET(ex) : \
60 (N_GETMAGIC(ex) == ZMAGIC || N_GETMAGIC(ex) == QMAGIC || \
66 (N_GETMAGIC(ex) != OMAGIC && N_GETMAGIC(ex) != NMAGIC && \
67 N_GETMAGIC(ex) != ZMAGIC && N_GETMAGIC(ex) != QMAGIC && \
79 (le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \
84 N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text))
93 N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text))
97 N_ALIGN(ex, N_DATOFF(ex) + le32toh((ex).a_data))
101 (N_RELOFF(ex) + le32toh((ex).a_trsize) + le32toh((ex).a_drsize))
[all …]
H A Dbtxld.c340 const struct exec *ex; in gethdr() local
360 ex = p; in gethdr()
363 x = N_GETMAGIC(*ex); in gethdr()
370 hdr->text = le32toh(ex->a_text); in gethdr()
372 hdr->bss = le32toh(ex->a_bss); in gethdr()
417 struct exec ex; in puthdr() local
422 memset(&ex, 0, sizeof(ex)); in puthdr()
425 ex.a_text = htole32(hdr->text); in puthdr()
427 ex.a_data = htole32(hdr->data); in puthdr()
429 writex(fd, &ex, sizeof(ex)); in puthdr()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dimgact_aout.h39 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \
42 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETFLAG_NET(ex) : \
60 (N_GETMAGIC(ex) == ZMAGIC || N_GETMAGIC(ex) == QMAGIC || \
66 (N_GETMAGIC(ex) != OMAGIC && N_GETMAGIC(ex) != NMAGIC && \
67 N_GETMAGIC(ex) != ZMAGIC && N_GETMAGIC(ex) != QMAGIC && \
79 (le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \
84 N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text))
93 N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text))
97 N_ALIGN(ex, N_DATOFF(ex) + le32toh((ex).a_data))
101 (N_RELOFF(ex) + le32toh((ex).a_trsize) + le32toh((ex).a_drsize))
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/dfshares/
H A Ddfshares.c140 if (ex == NULL) {
151 while (ex) {
154 ex = ex->ex_next;
156 free_ex(ex);
161 free_ex(ex) in free_ex() argument
162 struct exportnode *ex; in free_ex()
167 while (ex) {
168 free(ex->ex_dir);
169 gr = ex->ex_groups;
175 tmpex = ex;
[all …]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceTable.java210 } catch (IOException ex) { in serializeServiceStore()
213 new Object[] {URL, ex}); in serializeServiceStore()
254 } catch (IOException ex) { in getStoreFromURL()
259 ex.getMessage()}); in getStoreFromURL()
266 ex.getMessage()}); in getStoreFromURL()
370 } catch (Exception ex) { in registerStore()
696 ex.getMessage()+"("+ex.getErrorCode()+")", in register()
836 ex.getMessage()+"("+ex.getErrorCode()+")", in deregister()
914 ex.getMessage()+"("+ex.getErrorCode()+")", in findServiceTypes()
1023 ex.getMessage()+"("+ex.getErrorCode()+")", in findServices()
[all …]
H A DTransact.java346 ex.getMessage()}); in transactUnicastMsg()
356 exx = ex; in transactUnicastMsg()
665 throw ex; in transactMsg()
843 ex, fcode, addr, ex.getMessage()}); in internalize()
944 throw ex; in transactActiveAdvertRequest()
1068 exErr = ex; in run()
1069 xes = ex; in run()
1073 } catch (Exception ex) { in run()
1077 xes = ex; in run()
1296 throw ex; in transactConvergeMsg()
[all …]
H A DRequestHandler.java226 } catch (IOException ex) { in run()
382 ex.getMessage()}); in handleStream()
412 } catch (IOException ex) { in handleStream()
421 ex.getMessage()}); in handleStream()
461 ex.getMessage()}); in sendDatagramReply()
474 ex.getMessage()}); in sendDatagramReply()
486 ex.getMessage()}); in sendDatagramReply()
600 ex = sle; in handleRequest()
612 if (ex != null) { in handleRequest()
695 throw ex; in internalize()
[all …]
H A DActiveDiscoverer.java114 } catch (ServiceLocationException ex) { in start()
118 new Integer(ex.getErrorCode()), in start()
119 ex.getMessage()}); in start()
135 } catch (InterruptedException ex) { in start()
224 } catch (InterruptedException ex) { in run()
252 } catch (ServiceLocationException ex) { in activeDiscovery()
255 new Object[] { new Integer(ex.getErrorCode()), in activeDiscovery()
256 ex.getMessage() }); in activeDiscovery()
283 } catch (ServiceLocationException ex) { in addPreconfiguredDAs()
287 new Integer(ex.getErrorCode()), in addPreconfiguredDAs()
[all …]
H A Dslpd.java282 } catch (Exception ex) { in main()
328 } catch (Exception ex) { in main()
347 errorExit(bundle, ex); in main()
611 switch (ex.getErrorCode()) { in errorExit()
616 ex.getMessage()}, in errorExit()
623 ex.getMessage()}, in errorExit()
630 ex.getMessage()}, in errorExit()
637 new Integer(ex.getErrorCode()), in errorExit()
638 ex.getMessage()}, in errorExit()
643 ex.printStackTrace(); in errorExit()
[all …]
H A DSLPConfig.java172 } catch (IOException ex) { in SLPConfig()
237 } catch (Throwable ex) { in SLPConfig()
242 ex.toString()}) + "\n"; in SLPConfig()
285 } catch (IOException ex) { in getConfigURLStream()
549 } catch (Exception ex) { in getAttributes()
677 } catch (Exception ex) { in refreshMulticastSocketOnInterface()
683 new Object[] {ex, ex.getMessage()}); in refreshMulticastSocketOnInterface()
758 } catch (IOException ex) { in getMulticastSocketOnInterface()
775 } catch (IOException ex) { in getMulticastSocketOnInterface()
1694 } catch (IOException ex) {} in writeLog()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrexit.c31 sm_strexit(ex)
32 int ex;
37 msg = sm_sysexitmsg(ex);
41 ex);
59 sm_sysexitmsg(ex) in sm_sysexitmsg() argument
60 int ex; in sm_sysexitmsg()
64 msg = sm_sysexmsg(ex);
91 sm_sysexmsg(ex) in sm_sysexmsg() argument
92 int ex; in sm_sysexmsg()
94 switch (ex)
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_set_except.c42 _Q_set_exception(unsigned int ex) in _Q_set_exception() argument
47 if (ex == 0) in _Q_set_exception()
50 if ((ex & (1 << fp_invalid)) != 0) in _Q_set_exception()
52 if ((ex & (1 << fp_overflow)) != 0) in _Q_set_exception()
54 if ((ex & (1 << fp_underflow)) != 0) { in _Q_set_exception()
55 if ((ex & (1 << fp_inexact)) != 0 || in _Q_set_exception()
61 if ((ex & (1 << fp_division)) != 0) in _Q_set_exception()
63 if ((ex & (1 << fp_inexact)) != 0) in _Q_set_exception()
H A D__quad_mag.c55 if (ex == 0) in __quad_mag_add()
56 ex = 1; in __quad_mag_add()
139 ex++; in __quad_mag_add()
164 ex++; in __quad_mag_add()
170 if (ex >= 0x7fff) { in __quad_mag_add()
215 if (ex == 0) in __quad_mag_sub()
216 ex = 1; in __quad_mag_sub()
338 ex -= 32; in __quad_mag_sub()
349 ex--; in __quad_mag_sub()
372 ex--; in __quad_mag_sub()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c154 #define WILD_AF(ex) ((ex)->e_wild & 0x01) argument
155 #define WILD_SOCKTYPE(ex) ((ex)->e_wild & 0x02) argument
156 #define WILD_PROTOCOL(ex) ((ex)->e_wild & 0x04) argument
330 const struct explore *ex; local
384 for (ex = explore; ex->e_af >= 0; ex++) {
449 for (ex = explore; ex->e_af >= 0; ex++) {
452 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex)))
454 if (!MATCH(pai->ai_socktype, ex->e_socktype, WILD_SOCKTYPE(ex)))
456 if (!MATCH(pai->ai_protocol, ex->e_protocol, WILD_PROTOCOL(ex)))
532 for (ex = explore; ex->e_af >= 0; ex++) {
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dtruncl.c82 int ex, sx, i; in truncl() local
85 ex = xx.i[2] & 0x7fff; in truncl()
87 if (ex < 0x403e) { /* |x| < 2^63 */ in truncl()
88 if (ex < 0x3fff) /* |x| < 1 */ in truncl()
92 if (ex < 0x401e) { in truncl()
93 i = 1 << (0x401d - ex); in truncl()
97 i = 1 << (0x403d - ex); in truncl()
101 } else if (ex < 0x7fff) /* x is integral */ in truncl()
H A Dlroundl.c105 int ex, sx, i; in lroundl() local
108 ex = xx.i[2] & 0x7fff; in lroundl()
110 if (ex < 0x403e) { /* |x| < 2^63 */ in lroundl()
111 if (ex < 0x3fff) { /* |x| < 1 */ in lroundl()
112 if (ex >= 0x3ffe) in lroundl()
118 if (ex < 0x401e) { in lroundl()
119 i = 1 << (0x401d - ex); in lroundl()
123 i = 1 << (0x403d - ex); in lroundl()
130 xx.i[2] = sx | ++ex; in lroundl()
H A Droundl.c128 int ex, sx, i; in roundl() local
131 ex = xx.i[2] & 0x7fff; in roundl()
133 if (ex < 0x403e) { /* |x| < 2^63 */ in roundl()
134 if (ex < 0x3fff) { /* |x| < 1 */ in roundl()
135 if (ex >= 0x3ffe) in roundl()
141 if (ex < 0x401e) { in roundl()
142 i = 1 << (0x401d - ex); in roundl()
146 i = 1 << (0x403d - ex); in roundl()
153 xx.i[2] = sx | ++ex; in roundl()
157 } else if (ex < 0x7fff) /* x is integral */ in roundl()
H A Dllroundl.c127 int ex, sx, i; in llroundl() local
130 ex = xx.i[2] & 0x7fff; in llroundl()
133 if (ex < 0x403e) { /* |x| < 2^63 */ in llroundl()
135 if (ex < 0x3fff) { in llroundl()
136 if (ex >= 0x3ffe) in llroundl()
142 if (ex < 0x401e) { in llroundl()
143 i = 1 << (0x401d - ex); in llroundl()
147 i = 1 << (0x403d - ex); in llroundl()
154 xx.i[2] = sx | ++ex; in llroundl()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c153 if (eval_expr(nodep, ex, events, globals, croot, in eval_getname()
158 nodep = eval_dup(nodep, ex, events); in eval_getname()
195 if (!eval_expr(np, ex, events, globals, croot, in eval_cat()
242 valuep->v = begins_with(lhs, rhs, ex); in eval_func()
554 if (eval_expr(nodep, ex, events, globals, in eval_func()
559 nodep = eval_dup(nodep, ex, events); in eval_func()
983 eval_dup(np->u.expr.left, ex, events), in eval_dup()
984 eval_dup(np->u.expr.right, ex, events))); in eval_dup()
994 eval_dup(np->u.expr.left, ex, events), in eval_dup()
1006 eval_dup(np->u.expr.left, ex, events), in eval_dup()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dselect.c109 long *in, *out, *ex; in pselect() local
175 ex = (long *)ex0->fds_bits; in pselect()
177 b = (ulong_t)(*in | *out | *ex); in pselect()
188 if (*ex & m) in pselect()
195 ex++; in pselect()
226 ex = (long *)ex0->fds_bits; in pselect()
228 *ex++ = 0; in pselect()
299 *ex = 0; in pselect()
313 *ex |= m; in pselect()
342 if ((*ex & m) == 0) in pselect()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlog.c182 ep->ex.printer->printer->name, in execlog()
183 ep->ex.printer->request->secure->req_id); in execlog()
187 ep->ex.request->secure->req_id); in execlog()
191 ep->ex.printer->printer->name); in execlog()
195 ep->ex.printer->printer->name); in execlog()
199 ep->ex.form->form->name); in execlog()
203 ep->ex.form->form->name); in execlog()
207 ep->ex.pwheel->pwheel->name); in execlog()
211 ep->ex.request->secure->req_id); in execlog()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dtouchwin.c50 touchline(WINDOW *win, int y, int sx, int ex) in touchline() argument
53 fprintf(outf, "TOUCHLINE(%0.2o, %d, %d, %d)\n", win, y, sx, ex); in touchline()
58 ex += win->_ch_off; in touchline()
61 win->_lastch[y] = (short)ex; in touchline()
65 if (win->_lastch[y] < ex) in touchline()
66 win->_lastch[y] = (short)ex; in touchline()
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/
H A Dshowmount.c263 struct exportnode *ex = NULL; local
274 xdr_void, 0, xdr_exports, (caddr_t)&ex, tout)) {
279 if (ex == NULL) {
285 for (e = ex; e != NULL; e = e->ex_next) {
290 while (ex) {
291 printf("%-*s ", max, ex->ex_dir);
292 gr = ex->ex_groups;
304 ex = ex->ex_next;

1234567