/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | strexpr.c | 43 #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 63 seterror(register Expr_t* ex, char* msg) in seterror() argument 65 if (!ex->errmsg) ex->errmsg = msg; in seterror() 66 ex->errchr = ex->nextchr; in seterror() 67 ex->nextchr = ""; in seterror() 76 expr(register Expr_t* ex, register int precedence) in expr() argument 84 while (c = getchr(ex), isspace(c)); in expr() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | imgact_aout.h | 51 #define N_GETMAGIC(ex) \ argument 52 ( (ex).a_midmag & 0xffff ) 53 #define N_GETMID(ex) \ argument 54 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ 55 ((ex).a_midmag >> 16) & 0x03ff ) 56 #define N_GETFLAG(ex) \ argument 57 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETFLAG_NET(ex) : \ 58 ((ex).a_midmag >> 26) & 0x3f ) 59 #define N_SETMAGIC(ex,mag,mid,flag) \ argument 60 ( (ex).a_midmag = (((flag) & 0x3f) <<26) | (((mid) & 0x03ff) << 16) | \ [all …]
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | imgact_aout.h | 36 #define N_GETMAGIC(ex) \ argument 37 ( le32toh((ex).a_midmag) & 0xffff ) 38 #define N_GETMID(ex) \ argument 39 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ 40 ((ex).a_midmag >> 16) & 0x03ff ) 41 #define N_GETFLAG(ex) \ argument 42 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETFLAG_NET(ex) : \ 43 ((ex).a_midmag >> 26) & 0x3f ) 44 #define N_SETMAGIC(ex,mag,mid,flag) \ argument 45 ( (ex).a_midmag = htole32((((flag) & 0x3f) <<26) | \ [all …]
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | imgact_aout.h | 36 #define N_GETMAGIC(ex) \ argument 37 ( LE_32((ex).a_midmag) & 0xffff ) 38 #define N_GETMID(ex) \ argument 39 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ 40 ((ex).a_midmag >> 16) & 0x03ff ) 41 #define N_GETFLAG(ex) \ argument 42 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETFLAG_NET(ex) : \ 43 ((ex).a_midmag >> 26) & 0x3f ) 44 #define N_SETMAGIC(ex,mag,mid,flag) \ argument 45 ( (ex).a_midmag = LE_32((((flag) & 0x3f) <<26) | \ [all …]
|
H A D | btxld.c | 340 const struct exec *ex; in gethdr() local 360 ex = p; in gethdr() 361 if (hdr->size >= sizeof(struct exec) && !N_BADMAG(*ex)) { in gethdr() 363 x = N_GETMAGIC(*ex); in gethdr() 370 hdr->text = le32toh(ex->a_text); in gethdr() 371 hdr->data = le32toh(ex->a_data); in gethdr() 372 hdr->bss = le32toh(ex->a_bss); in gethdr() 373 hdr->entry = le32toh(ex->a_entry); in gethdr() 374 if (le32toh(ex->a_entry) >= BTX_PGSIZE) in gethdr() 417 struct exec ex; in puthdr() local [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceTable.java | 200 } catch (MalformedURLException ex) { in serializeServiceStore() 205 } catch (UnsupportedEncodingException ex) { in serializeServiceStore() 210 } catch (IOException ex) { in serializeServiceStore() 213 new Object[] {URL, ex}); in serializeServiceStore() 215 } catch (ServiceLocationException ex) { in serializeServiceStore() 218 new Object[] {URL, ex.getMessage()}); in serializeServiceStore() 244 } catch (MalformedURLException ex) { in getStoreFromURL() 249 } catch (UnsupportedEncodingException ex) { in getStoreFromURL() 254 } catch (IOException ex) { in getStoreFromURL() 259 ex.getMessage()}); in getStoreFromURL() [all …]
|
H A D | Transact.java | 159 } catch (InterruptedException ex) { in transactUA() 340 } catch (ServiceLocationException ex) { in transactUnicastMsg() 344 new Short(ex.getErrorCode()), in transactUnicastMsg() 346 ex.getMessage()}); in transactUnicastMsg() 353 short errCode = ex.getErrorCode(); in transactUnicastMsg() 356 exx = ex; in transactUnicastMsg() 382 } catch (SocketException ex) { in transactUnicastMsg() 387 new Object[] {addr, ex.getMessage()}); in transactUnicastMsg() 451 } catch (InterruptedIOException ex) { in transactDatagramMsg() 463 } catch (IOException ex) { in transactDatagramMsg() [all …]
|
H A D | RequestHandler.java | 87 } catch (ServiceLocationException ex) { in RequestHandler() 115 } catch (ServiceLocationException ex) { in RequestHandler() 146 } catch (ServiceLocationException ex) { in RequestHandler() 200 } catch (SocketException ex) { in run() 226 } catch (IOException ex) { in run() 298 } catch (IOException ex) { in run() 307 ex.getMessage()}); in run() 377 } catch (ServiceLocationException ex) { in handleStream() 380 new Short(ex.getErrorCode()), in handleStream() 382 ex.getMessage()}); in handleStream() [all …]
|
H A D | ActiveDiscoverer.java | 114 } 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 D | slpd.java | 143 } catch (MissingResourceException ex) { in handleGetObject() 282 } catch (Exception ex) { in main() 328 } catch (Exception ex) { in main() 345 } catch (ServiceLocationException ex) { in main() 347 errorExit(bundle, ex); in main() 592 } catch (ServiceLocationException ex) { in stopSA() 594 if (ex.getErrorCode() != ServiceLocationException.NETWORK_ERROR) { in stopSA() 596 new Object[] {new Integer(ex.getErrorCode())}); in stopSA() 609 static void errorExit(ResourceBundle bundle, ServiceLocationException ex) { in errorExit() argument 611 switch (ex.getErrorCode()) { in errorExit() [all …]
|
H A D | SLPConfig.java | 152 } catch (ClassNotFoundException ex) { in SLPConfig() 172 } catch (IOException ex) { in SLPConfig() 174 new Object[] {ex.getMessage()}); in SLPConfig() 237 } catch (Throwable ex) { in SLPConfig() 242 ex.toString()}) + "\n"; in SLPConfig() 281 } catch (MalformedURLException ex) { in getConfigURLStream() 285 } catch (IOException ex) { in getConfigURLStream() 289 new Object[] {ex.getMessage()}); in getConfigURLStream() 549 } catch (Exception ex) { in getAttributes() 677 } catch (Exception ex) { in refreshMulticastSocketOnInterface() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/dfshares/ |
H A D | dfshares.c | 100 struct exportnode *ex = NULL; in pr_exports() local 117 (caddr_t)&ex, tout); in pr_exports() 124 if (ex == NULL) { in pr_exports() 135 while (ex) { in pr_exports() 137 host, ex->ex_dir, host, " -", " -"); in pr_exports() 138 ex = ex->ex_next; in pr_exports() 140 free_ex(ex); in pr_exports() 145 free_ex(struct exportnode *ex) in free_ex() argument 150 while (ex) { in free_ex() 151 free(ex->ex_dir); in free_ex() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | strexit.c | 29 sm_strexit(ex) 30 int ex; 35 msg = sm_sysexitmsg(ex); 39 ex); 57 sm_sysexitmsg(ex) in sm_sysexitmsg() argument 58 int ex; in sm_sysexitmsg() 62 msg = sm_sysexmsg(ex); 89 sm_sysexmsg(ex) in sm_sysexmsg() argument 90 int ex; in sm_sysexmsg() 92 switch (ex)
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | __quad_mag.c | 46 unsigned int lx, ly, ex, ey, frac2, frac3, frac4; in __quad_mag_add() local 51 ex = (x->l.msw & 0x7fffffff) >> 16; in __quad_mag_add() 53 if (ex == 0) in __quad_mag_add() 54 ex = 1; in __quad_mag_add() 66 e = (int) ex - (int) ey; in __quad_mag_add() 137 ex++; in __quad_mag_add() 162 ex++; in __quad_mag_add() 168 if (ex >= 0x7fff) { in __quad_mag_add() 181 z->l.msw |= (ex << 16); in __quad_mag_add() 206 unsigned int lx, ly, ex, ey, frac2, frac3, frac4; in __quad_mag_sub() local [all …]
|
H A D | _Q_set_except.c | 40 _Q_set_exception(unsigned int ex) in _Q_set_exception() argument 45 if (ex == 0) in _Q_set_exception() 48 if ((ex & (1 << fp_invalid)) != 0) in _Q_set_exception() 50 if ((ex & (1 << fp_overflow)) != 0) in _Q_set_exception() 52 if ((ex & (1 << fp_underflow)) != 0) { in _Q_set_exception() 53 if ((ex & (1 << fp_inexact)) != 0 || in _Q_set_exception() 59 if ((ex & (1 << fp_division)) != 0) in _Q_set_exception() 61 if ((ex & (1 << fp_inexact)) != 0) in _Q_set_exception()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 154 #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++) { 385 if (pai->ai_family != ex->e_af) 387 if (ex->e_socktype == ANY) 389 if (ex->e_protocol == ANY) 391 if (pai->ai_socktype == ex->e_socktype && 392 pai->ai_protocol != ex->e_protocol) { [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | eval.c | 51 static struct node *eval_dup(struct node *np, struct lut *ex, 64 begins_with(struct node *lhs, struct node *rhs, struct lut *ex) in begins_with() argument 85 iterinfop = lut_lookup(ex, (void *)lhs->u.name.child->u.name.s, in begins_with() 98 iterinfop = lut_lookup(ex, (void *)rhs->u.name.child->u.name.s, in begins_with() 111 return (begins_with(lhs->u.name.next, rhs->u.name.next, ex)); in begins_with() 119 eval_getname(struct node *funcnp, struct lut *ex, struct node *events[], in eval_getname() argument 134 if (eval_expr(np, ex, events, globals, croot, arrowp, try, in eval_getname() 153 if (eval_expr(nodep, ex, events, globals, croot, in eval_getname() 158 nodep = eval_dup(nodep, ex, events); in eval_getname() 166 eval_cat(struct node *np, struct lut *ex, struct node *events[], in eval_cat() argument [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | truncl.c | 82 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 D | lroundl.c | 105 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 D | roundl.c | 128 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 D | llroundl.c | 127 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/lib/libc/port/gen/ |
H A D | select.c | 86 fd_sets_count(int limit, fd_set *in, fd_set *out, fd_set *ex) in fd_sets_count() argument 94 long v = (in->fds_bits[i] | out->fds_bits[i] | ex->fds_bits[i]); in fd_sets_count() 109 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() 289 ex = (long *)&ex0->fds_bits[j]; in pselect() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | log.c | 179 ep->ex.printer->printer->name, in execlog() 180 ep->ex.printer->request->secure->req_id); in execlog() 184 ep->ex.request->secure->req_id); in execlog() 188 ep->ex.printer->printer->name); in execlog() 192 ep->ex.printer->printer->name); in execlog() 196 ep->ex.form->form->name); in execlog() 200 ep->ex.form->form->name); in execlog() 204 ep->ex.pwheel->pwheel->name); in execlog() 208 ep->ex.request->secure->req_id); in execlog()
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | touchwin.c | 48 touchline(WINDOW *win, int y, int sx, int ex) in touchline() argument 51 fprintf(outf, "TOUCHLINE(%0.2o, %d, %d, %d)\n", win, y, sx, ex); in touchline() 56 ex += win->_ch_off; in touchline() 59 win->_lastch[y] = (short)ex; in touchline() 63 if (win->_lastch[y] < ex) in touchline() 64 win->_lastch[y] = (short)ex; in touchline()
|
/illumos-gate/usr/src/test/util-tests/tests/dladm/ |
H A D | show-class-confusion.ksh | 108 typeset ex= 114 ex=0 116 ex=1 121 if (( ret != ex )); then 123 "but expected $ex" 128 "${dl_classes[$c]}" "$dev" $ex 130 if (( ex != 0 )); then
|