/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_subr.c | 151 static struct local_names *ln = NULL; variable 171 if (ln != NULL) { in __get_local_names1() 173 return (ln); in __get_local_names1() 176 ln = calloc(1, sizeof (*ln)); in __get_local_names1() 177 if (ln == NULL) { in __get_local_names1() 181 ln->principal_map = NULL; in __get_local_names1() 183 if (sysinfo(SI_SRPC_DOMAIN, ln->domain, LN_BUFSIZE) < 0) in __get_local_names1() 184 return (ln); in __get_local_names1() 186 if (ln->domain[strlen(ln->domain)-1] != '.') in __get_local_names1() 187 (void) strcat(ln->domain, "."); in __get_local_names1() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | preconv.c | 114 const char *ln, *eoln, *eoph; in preconv_cue() local 117 ln = b->buf + offset; in preconv_cue() 122 if (NULL == (eoln = memchr(ln, '\n', sz))) in preconv_cue() 123 eoln = ln + sz; in preconv_cue() 127 if ((sz = (size_t)(eoln - ln)) < 10 || in preconv_cue() 128 memcmp(ln, ".\\\" -*-", 7) || memcmp(eoln - 3, "-*-", 3)) in preconv_cue() 133 ln += 7; in preconv_cue() 137 while (sz > 0 && ' ' == *ln) { in preconv_cue() 138 ln++; in preconv_cue() 146 if (NULL == (eoph = memchr(ln, ';', sz))) in preconv_cue() [all …]
|
H A D | chars.c | 36 struct ln { struct 46 static struct ln lines[] = { argument 445 mandoc_ohash_init(&mchars, 9, offsetof(struct ln, roffcode)); in mchars_alloc() 456 const struct ln *ln; in mchars_spec2cp() local 460 ln = ohash_find(&mchars, ohash_qlookupi(&mchars, p, &end)); in mchars_spec2cp() 461 return ln != NULL ? ln->unicode : -1; in mchars_spec2cp() 486 const struct ln *ln; in mchars_spec2str() local 490 ln = ohash_find(&mchars, ohash_qlookupi(&mchars, p, &end)); in mchars_spec2str() 491 if (ln == NULL) in mchars_spec2str() 494 *rsz = strlen(ln->ascii); in mchars_spec2str() [all …]
|
H A D | read.c | 153 struct buf ln; in mparse_buf_r() local 165 ln.sz = 256; in mparse_buf_r() 166 ln.buf = mandoc_malloc(ln.sz); in mparse_buf_r() 167 ln.next = NULL; in mparse_buf_r() 208 if (pos + 12 > ln.sz) in mparse_buf_r() 209 resize_buf(&ln, 256); in mparse_buf_r() 218 &blk, &i, &ln, &pos, &curp->filenc))) { in mparse_buf_r() 221 ln.buf[pos++] = '?'; in mparse_buf_r() 238 ln.buf[pos++] = '?'; in mparse_buf_r() 242 ln.buf[pos++] = blk.buf[i++]; in mparse_buf_r() [all …]
|
H A D | tbl_layout.c | 66 int ln, const char *p, int *pos) in mods() argument 93 mandoc_msg(MANDOCERR_TBLLAYOUT_PAR, ln, *pos, NULL); in mods() 101 mandoc_msg(MANDOCERR_TBLLAYOUT_SPC, ln, *pos, in mods() 125 mandoc_msg(MANDOCERR_TBLLAYOUT_MOD, ln, *pos, "m"); in mods() 168 ln, *pos - 1, NULL); in mods() 172 ln, *pos - 1, "%c", p[*pos - 1]); in mods() 196 ln, *pos, "TS %s", p + *pos - 1); in mods() 208 int ln, const char *p, int *pos) in cell() argument 221 ln, *pos, NULL); in cell() 241 ln, *pos, "%c", p[*pos]); in cell() [all …]
|
H A D | tbl_opts.c | 66 arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key) in arg() argument 85 ln, *pos, "%.*s", len, p + *pos); in arg() 106 mandoc_msg(MANDOCERR_TBLOPT_NOARG, ln, *pos, in arg() 109 mandoc_msg(MANDOCERR_TBLOPT_ARGSZ, ln, *pos, in arg() 123 tbl_option(struct tbl_node *tbl, int ln, const char *p, int *offs) in tbl_option() argument 145 ln, pos, "%c", p[pos]); in tbl_option() 160 ln, pos, "%.*s", len, p + pos); in tbl_option() 171 arg(tbl, ln, p, &pos, i); in tbl_option()
|
H A D | roff.c | 155 int ln, /* parse line */ \ 1237 roff_expand(struct roff *r, struct buf *buf, int ln, int pos, char newesc) in roff_expand() argument 1291 mandoc_msg(MANDOCERR_RCS_REP, ln, in roff_expand() 1306 ln, (int)(ep - buf->buf), NULL); in roff_expand() 1318 ln, stesc + 1 - buf->buf, in roff_expand() 1441 mandoc_msg(err, ln, (int)(stesc - buf->buf), in roff_expand() 1449 ln, (int)(stesc - buf->buf), NULL); in roff_expand() 1489 mandoc_msg(MANDOCERR_ESC_BAD, ln, in roff_expand() 1542 mandoc_msg(MANDOCERR_ARG_UNDEF, ln, in roff_expand() 1558 mandoc_msg(MANDOCERR_ARG_NONUM, ln, in roff_expand() [all …]
|
H A D | tbl_data.c | 44 int ln, const char *p, int *pos) in getdata() argument 88 ln, startpos, "%s", p + startpos); in getdata() 193 ln, startpos, "%s", dat->string); in getdata() 197 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, int pos) in tbl_cdata() argument 213 getdata(tbl, tbl->last_span, ln, p, &pos); in tbl_cdata() 236 ln, pos, "%s", dat->string); in tbl_cdata() 261 tbl_data(struct tbl_node *tbl, int ln, const char *p, int pos) in tbl_data() argument 285 sp = newspan(tbl, ln, rp); in tbl_data() 289 sp = newspan(tbl, ln, rp); in tbl_data() 312 sp = newspan(tbl, ln, rp); in tbl_data() [all …]
|
H A D | mdoc.c | 62 mdoc_parseln(struct roff_man *mdoc, int ln, char *buf, int offs) in mdoc_parseln() argument 65 if (mdoc->last->type != ROFFT_EQN || ln > mdoc->last->line) in mdoc_parseln() 80 mdoc_pmacro(mdoc, ln, buf, offs) : in mdoc_parseln() 81 mdoc_ptext(mdoc, ln, buf, offs); in mdoc_parseln() 307 mdoc_pmacro(struct roff_man *mdoc, int ln, char *buf, int offs) in mdoc_pmacro() argument 324 mandoc_msg(MANDOCERR_MACRO, ln, sv, "%s", buf + sv - 1); in mdoc_pmacro() 354 mandoc_msg(MANDOCERR_SPACE_EOL, ln, offs - 1, NULL); in mdoc_pmacro() 364 (*mdoc_macro(tok)->fp)(mdoc, tok, ln, sv, &offs, buf); in mdoc_pmacro() 380 (*mdoc_macro(MDOC_It)->fp)(mdoc, MDOC_It, ln, sv, &sv, buf); in mdoc_pmacro() 386 (*mdoc_macro(tok)->fp)(mdoc, tok, ln, sv, &offs, buf); in mdoc_pmacro()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/dtraceUtil/ |
H A D | man.ListProbesWithNames | 37 * /usr/sbin/dtrace -ln profile 41 * /usr/sbin/dtrace -ln genunix 45 * /usr/sbin/dtrace -ln read 49 * /usr/sbin/dtrace -ln BEGIN 53 * /usr/sbin/dtrace -ln begin 57 * /usr/sbin/dtrace -ln genunix:read 61 * /usr/sbin/dtrace -ln genunix:read: 66 * /usr/sbin/dtrace -ln sysinfo:genunix:read 70 * /usr/sbin/dtrace -ln sysinfo:genunix:read: 74 * 10) /usr/sbin/dtrace -ln :genunix:: [all …]
|
/illumos-gate/usr/src/cmd/tcopy/ |
H A D | tcopy.c | 56 int ln; variable 95 ln = -2; in main() 131 if (n != ln) { in main() 132 if (ln > 0) in main() 136 filen, lcount, count-1, ln); in main() 140 filen, lcount, ln); in main() 141 ln = n; in main() 145 if (ln <= 0 && ln != -2) { in main() 149 if (ln > 0) in main() 153 filen, lcount, count-1, ln); in main() [all …]
|
/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/ |
H A D | Makefile | 43 %.ln: ../../kmdb/%.c 46 %.ln: ../../mdb/%.c 49 %.ln: $(SRC)/common/dis/i386/%.c 80 $(LINT) $(ALLLINTFLAGS) $(KMDBOBJS:%.o=%.ln) $(PROMOBJS:%.o=%.ln) 82 lintkmdb: $(KMDBOBJS:%.o=%.ln) 83 $(LINT) $(LINTFLAGS) $(KMDBOBJS:%.o=%.ln) 85 lintprom: $(PROMOBJS:%.o=%.ln) 86 $(LINT) $(LINTFLAGS) $(PROMOBJS:%.o=%.ln) 88 lintkctl: $(KCTLOBJS:%.o=%.ln) 89 $(LINT) $(ALLLINTFLAGS) $(KCTLOBJS:%.o=%.ln)
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | gethead.c | 72 int ln; in gethead() local 110 for (ln = start; ln != stop; ln = flgr ? ln + 1 : ln - 1) { in gethead() 111 size = let[ln+1].adr - let[ln].adr; in gethead() 112 if ((rc = fseek(file, let[ln].adr, 0)) != 0) { in gethead() 183 if (!flgh && current == ln) mark = '>'; in gethead() 191 if (let[ln].change == ' ') continue; in gethead() 194 printf("%c %3d %c %-5d %-10s %s\n", mark, ln + 1, in gethead() 195 let[ln].change, size, userval, wline); in gethead()
|
/illumos-gate/usr/src/lib/libm/amd64/src/ |
H A D | expm1l.S | 43 cmpl $0x3ffe,%ecx / Is |x| < ln(2)? 45 je .check_tail / |x| may be only slightly < ln(2) 46 .general_case: / Here, |x| > ln(2) or x is NaN 60 .finite_non_special: / -128 < x < -ln(2) || ln(2) < x < 2^14 74 fsubrp %st,%st(1) / r := x-[z]*ln(2), [z] 88 cmpl $0xb17217f7,%ecx / Is |x| < ln(2)? 92 cmpl $0xd1cf79ab,%edx / Is |x| slightly < ln(2)? 93 ja .finite_non_special / branch if |x| slightly > ln(2) 95 / Here, |x| < ln(2), so |z| = |x/ln(2)| < 1,
|
H A D | expl.S | 53 .finite_non_special: / Here, ln(2) < |x| < 2^15 67 fsubrp %st,%st(1) / r := x-[z]*ln(2), [z] 88 cmpl $0xb17217f7,%ecx / Is |x| < ln(2)? 92 cmpl $0xd1cf79ab,%edx / Is |x| slightly < ln(2)? 93 ja .finite_non_special / branch if |x| slightly > ln(2) 95 / Here, |x| < ln(2), so |z| = |x/ln(2)| < 1,
|
/illumos-gate/usr/src/cmd/lp/ |
H A D | Makefile.lp | 76 LINTACC = $(LPLIB)/access/llib-llpacc.ln 77 LINTCLS = $(LPLIB)/class/llib-llpcls.ln 78 LINTFLT = $(LPLIB)/filters/llib-llpflt.ln 79 LINTFRM = $(LPLIB)/forms/llib-llpfrm.ln 80 LINTLP = $(LPLIB)/lp/llib-llp.ln 81 LINTMSG = $(LPLIB)/msgs/llib-llpmsg.ln 82 LINTOAM = $(LPLIB)/oam/llib-llpoam.ln 83 LINTPRT = $(LPLIB)/printers/llib-llpprt.ln 84 LINTREQ = $(LPLIB)/requests/llib-llpreq.ln 85 LINTSEC = $(LPLIB)/secure/llib-llpsec.ln [all …]
|
/illumos-gate/usr/src/lib/libm/i386/src/ |
H A D | expm1l.S | 43 cmpl $0x00003ffe,%ecx / Is |x| < ln(2)? 45 je .check_tail / |x| may be only slightly < ln(2) 59 .finite_non_special: / -128 < x < -ln(2) || ln(2) < x < 2^14 73 fsubrp %st,%st(1) / r := x-[z]*ln(2), [z] 87 cmpl $0xb17217f7,%ecx / Is |x| < ln(2)? 91 cmpl $0xd1cf79ab,%edx / Is |x| slightly < ln(2)? 92 ja .finite_non_special / branch if |x| slightly > ln(2) 94 / Here, |x| < ln(2), so |z| = |x/ln(2)| < 1,
|
H A D | expl.S | 52 .finite_non_special: / Here, ln(2) < |x| < 2^15 66 fsubrp %st,%st(1) / r := x-[z]*ln(2), [z] 87 cmpl $0xb17217f7,%ecx / Is |x| < ln(2)? 91 cmpl $0xd1cf79ab,%edx / Is |x| slightly < ln(2)? 92 ja .finite_non_special / branch if |x| slightly > ln(2) 94 / Here, |x| < ln(2), so |z| = |x/ln(2)| < 1,
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | tv.c | 22 int tp=0, sl, ln, pos, epb, ept, vm; in drawvert() local 27 for(ln=0; ln<lwid; ln++) in drawvert() 30 pos = 2*ln-lwid+1; in drawvert() 51 case RIGHT: epb += (ln==0 ? 1 : -1); break; in drawvert() 52 case LEFT: epb += (ln==1 ? 1 : -1); break; in drawvert() 89 case LEFT: ept += (ln==0 ? 1 : -1); break; in drawvert() 90 case RIGHT: ept += (ln==1 ? 1 : -1); break; in drawvert()
|
H A D | tu.c | 63 int lcount, ln, linpos, oldpos, nodata; in drawline() local 76 for(ln=oldpos=0; ln<lcount; ln++) in drawline() 78 linpos = 2*ln - lcount +1; in drawline() 89 case TOP: exhl = ln==0 ? "1p" : "-1p"; break; in drawline() 90 case BOT: exhl = ln==1 ? "1p" : "-1p"; break; in drawline() 110 case TOP: exhr = ln==0 ? "-1p" : "+1p"; break; in drawline() 111 case BOT: exhr = ln==1 ? "-1p" : "+1p"; break; in drawline()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.macroglob.ksh | 34 $dtrace -ln 'syscall::*$1:entry' read | awk '{print $(NF-1),$NF}' | sort 35 $dtrace -ln 'syscall::$1*:entry' read | awk '{print $(NF-1),$NF}' | sort 36 $dtrace -ln 'syscall::re$1*:entry' ad | awk '{print $(NF-1),$NF}' | sort 37 $dtrace -ln 'syscall::$1l*:entry' read | awk '{print $(NF-1),$NF}' | sort 38 $dtrace -ln 'syscall::p$1[0-9][0-9]:entry' read | awk '{print $(NF-1),$NF}' | \
|
/illumos-gate/usr/src/cmd/vtfontcvt/ |
H A D | vtfontcvt.c | 383 char ln[BUFSIZ]; in parse_bdf() local 390 while (fgets(ln, sizeof (ln), fp) != NULL) { in parse_bdf() 391 if (sscanf(ln, "ENCODING %u", &curchar) == 1) in parse_bdf() 394 if (sscanf(ln, "DWIDTH %u", &dwidth) == 1) in parse_bdf() 397 if (strncmp(ln, "BITMAP", 6) == 0) { in parse_bdf() 399 if (fgets(ln, sizeof (ln), fp) == NULL) in parse_bdf() 401 if (sscanf(ln, "%x", &line) <= 0) in parse_bdf() 402 err(1, "sscanf failed at %s", ln); in parse_bdf() 432 char ln[BUFSIZ], *p; in parse_hex() local 438 while (fgets(ln, sizeof (ln), fp) != NULL) { in parse_hex() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmstat/ |
H A D | Makefile.com | 33 LINTFILES = $(SRCS:%.c=%.ln) 41 STAT_LINTFILES = $(STAT_COMMON_OBJS:%.o=%.ln) 81 %.ln: $(STATCOMMONDIR)/%.c 84 %.ln: ../common/%.c 87 %.ln: %.c
|
/illumos-gate/usr/src/psm/stand/boot/sparcv9/ |
H A D | Makefile.com | 56 NFSBOOT_L_OBJS = $(NFSBOOT_OBJS:%.o=%.ln) 59 CONF_L_OBJS = $(CONF_OBJS:%.o=%.ln) 62 MISC_L_OBJS = $(MISC_OBJS:%.o=%.ln) 65 SRT0_L_OBJ = $(SRT0_OBJ:%.o=%.ln) 72 L_OBJS = $(OBJS:%.o=%.ln) 149 L_LIBDEPS= $(LIBPROM_DIR)/llib-lprom.ln $(LIBPLAT_DEP_L) \ 150 $(LIBNAME_DIR)/llib-lnames.ln
|
/illumos-gate/usr/src/psm/stand/lib/promif/sparcv9/ieee1275/sun4/ |
H A D | Makefile | 42 LINTLIBPLAT = llib-lplat.ln 70 L_OBJS = $(OBJS:%.o=%.ln) 127 $(OBJSDIR)/%.ln: $(PLATDIR)/%.c 131 $(OBJSDIR)/%.ln: $(PLATDIR)/%.s 135 $(OBJSDIR)/%.ln: $(PLATSUN4DIR)/%.c 139 $(OBJSDIR)/%.ln: $(PLATSUN4DIR)/%.s
|