Home
last modified time | relevance | path

Searched refs:ln (Results 1 – 25 of 253) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/mandoc/
H A Dpreconv.c114 const char *ln, *eoln, *eoph; in preconv_cue() local
117 ln = b->buf + offset; in preconv_cue()
123 eoln = ln + sz; in preconv_cue()
133 ln += 7; in preconv_cue()
137 while (sz > 0 && ' ' == *ln) { in preconv_cue()
138 ln++; in preconv_cue()
153 if ((phsz = eoph - ln) < 7 || in preconv_cue()
156 ln += phsz; in preconv_cue()
161 ln += 7; in preconv_cue()
163 while (sz > 0 && ' ' == *ln) { in preconv_cue()
[all …]
H A Dchars.c36 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 Dread.c153 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()
244 ln.buf[pos] = '\0'; in mparse_buf_r()
392 ln.buf + of); in mparse_buf_r()
393 free(ln.buf); in mparse_buf_r()
394 ln.buf = cp; in mparse_buf_r()
411 *ln.buf = '\0'; in mparse_buf_r()
414 (void)strlcat(ln.buf, loop->buf, ln.sz); in mparse_buf_r()
[all …]
H A Dtbl_layout.c66 int ln, const char *p, int *pos) in mods() argument
101 mandoc_msg(MANDOCERR_TBLLAYOUT_SPC, ln, *pos, 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()
262 mods(tbl, cell_alloc(tbl, rp, c), ln, p, pos); in cell()
299 ln, pos, NULL); in tbl_layout()
[all …]
H A Dtbl_opts.c66 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 Droff.c155 int ln, /* parse line */ \
1318 ln, stesc + 1 - buf->buf, in roff_expand()
1887 roff_addtbl(r->man, ln, r->tbl); in roff_parseln()
1933 roff_addtbl(r->man, ln, r->tbl); in roff_parseln()
2183 ln, (int)(iname - buf->buf), in roff_block()
2252 ln, (int)(iname - buf->buf), in roff_block()
2978 ln, *pos, "%s", v); in roff_evalnum()
2987 ln, *pos, "%s", v); in roff_evalnum()
3345 tbl_restart(ln, ppos, r->tbl); in roff_T_()
3424 if (ln > r->man->last->line) in roff_EQ()
[all …]
H A Dtbl_data.c44 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()
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()
319 sp = newspan(tbl, ln, rp); in tbl_data()
[all …]
H A Dmdoc.c62 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/lib/libnsl/nis/gen/
H A Dnis_subr.c173 return (ln); in __get_local_names1()
176 ln = calloc(1, sizeof (*ln)); in __get_local_names1()
184 return (ln); in __get_local_names1()
186 if (ln->domain[strlen(ln->domain)-1] != '.') in __get_local_names1()
189 return (ln); in __get_local_names1()
201 ln->rpcdomain = strdup(ln->domain); in __get_local_names1()
202 (void) strcat(ln->host, ln->domain); in __get_local_names1()
230 ln->group[maxlen - (strlen(ln->domain)+1)] = '\0'; in __get_local_names1()
236 (void) strcat(ln->group, ln->domain); in __get_local_names1()
239 return (ln); in __get_local_names1()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dman.ListProbesWithNames37 * /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
78 * /usr/sbin/dtrace -ln :genunix:
82 * /usr/sbin/dtrace -ln ::read:
91 * /usr/sbin/dtrace -ln read: -ln write:
95 * /usr/sbin/dtrace -ln read: -ln fight:
99 * /usr/sbin/dtrace -ln fight: -ln write:
[all …]
/illumos-gate/usr/src/cmd/tcopy/
H A Dtcopy.c56 int ln; variable
95 ln = -2; in main()
131 if (n != ln) { in main()
132 if (ln > 0) 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()
174 ln = n; in main()
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/
H A DMakefile43 %.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 Dgethead.c72 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/cmd/lp/
H A DMakefile.lp76 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/amd64/src/
H A Dexpm1l.S43 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 Dexpl.S53 .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/lib/libm/i386/src/
H A Dexpm1l.S43 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 Dexpl.S52 .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 Dtv.c22 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 Dtu.c63 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/dlutil/
H A DMakefile17 LINTPROGS= $(PROG:%=%.ln)
29 dltraninfo.ln := LDLIBS += -ldladm -lsff -lnvpair
30 dlled.ln := LDLIBS += -ldladm
31 dlsend.ln := LDLIBS += -ldlpi -lsocket
32 dlrecv.ln := LDLIBS += -ldlpi
44 %.ln: %.c
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh34 $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 Dvtfontcvt.c383 char ln[BUFSIZ]; in parse_bdf() local
390 while (fgets(ln, sizeof (ln), fp) != NULL) { in parse_bdf()
399 if (fgets(ln, sizeof (ln), fp) == NULL) in parse_bdf()
401 if (sscanf(ln, "%x", &line) <= 0) in parse_bdf()
432 char ln[BUFSIZ], *p; in parse_hex() local
438 while (fgets(ln, sizeof (ln), fp) != NULL) { in parse_hex()
444 height = atoi(ln + 10); in parse_hex()
450 set_width(atoi(ln + 9)); in parse_hex()
457 p = strchr(ln, ':') + 1; in parse_hex()
492 char ln[BUFSIZ]; in parse_bdf_header() local
[all …]
/illumos-gate/usr/src/cmd/fm/fmstat/
H A DMakefile.com33 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 DMakefile.com56 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

1234567891011