/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | chg_char.c | 39 #define OffscreenRows(c) ((c)->drows - (c)->rows) argument 40 #define OffscreenCols(c) ((c)->dcols - (c)->cols) argument 115 if (OneRow(c) && c->dcols != c->cols) { in _next_word() 122 if (t - (Buf(c) + B(f)) > c->cols) { in _next_word() 127 B(f) = (int) (t - (Buf(c) + c->cols)); in _next_word() 178 end = _data_end(Buf(c), BufSize(c)); in _end_field() 180 if (end == Buf(c) + BufSize(c)) in _end_field() 295 int n = c -> rows < m ? c -> rows : m; in _scr_fpage() 312 int n = c -> rows < m ? c -> rows : m; in _scr_bpage() 392 int n = c -> cols < m ? c -> cols : m; in _scr_hfline() [all …]
|
H A D | chg_data.c | 56 int c; in room_for_char() local 69 if (c == '"' || c == '\'') in extra_padding() 72 return ((c == '.' || c == '?' || c == '!' || c == ':') ? 2 : 1); in extra_padding() 111 grow = chunks * (c->rows + c->nrow); in _grow_field() 124 new_buf = Buf(c) = malloc(TotalBuf(c)); in _grow_field() 143 W(f) = w = newwin(c->drows, c->dcols, 0, 0); in _grow_field() 148 wbkgdset(w, Pad(c) | Back(c)); in _grow_field() 156 if (c->link != c) { in _grow_field() 360 if (CheckChar(c, ' ') && (room || (OneRow(c) && in _ins_char() 379 if (CheckChar(c, ' ') && !OneRow(c) && (room || Status(c, GROWABLE))) { in _ins_line() [all …]
|
/illumos-gate/usr/src/uts/i86xpv/ |
H A D | Makefile.rules | 51 $(COMPILE.c) -o $@ $< 55 $(COMPILE.c) -o $@ $< 59 $(COMPILE.c) -o $@ $< 63 $(COMPILE.c) -o $@ $< 67 $(COMPILE.c) -o $@ $< 71 $(COMPILE.c) -o $@ $< 75 $(COMPILE.c) -o $@ $< 79 $(COMPILE.c) -o $@ $< 86 $(COMPILE.c) -o $@ $< 90 $(COMPILE.c) -o $@ $< [all …]
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | lex.c | 115 if (!isalnum(c) && c != '.' && c != '_') in gettok() 124 if (isalnum(c) || c == '_') in gettok() 141 if (isdigit(c) || c == 'e' || c == 'E' || in gettok() 142 c == '.' || c == '+' || c == '-') in gettok() 194 if (isalpha(c) || c == '_') in yylex() 213 while ((c = input()) != '\n' && c != 0) in yylex() 353 if (c == '(' || c == '[' || in yylex() 441 if ((c = peek()) >= '0' && c < '8') { in string() 443 if ((c = peek()) >= '0' && c < '8') in string() 454 (c >= 'a' && c <= 'f') || in string() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/dis/risc-v-c/ |
H A D | tst.int.s | 25 c.li ra, 0x15 27 c.lui s1, 0x2 48 c.mv s1, a4 49 c.mv a0, a5 50 c.add a1, a3 51 c.add a2, a2 52 c.and a0, a1 53 c.or a1, a2 54 c.xor a2, a3 57 c.nop [all …]
|
/illumos-gate/usr/src/uts/i86pc/ |
H A D | Makefile.rules | 46 $(COMPILE.c) -o $@ $< 50 $(COMPILE.c) -o $@ $< 54 $(COMPILE.c) -o $@ $< 58 $(COMPILE.c) -o $@ $< 62 $(COMPILE.c) -o $@ $< 66 $(COMPILE.c) -o $@ $< 70 $(COMPILE.c) -o $@ $< 74 $(COMPILE.c) -o $@ $< 78 $(COMPILE.c) -o $@ $< 82 $(COMPILE.c) -o $@ $< [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | wclib.c | 55 #define eol(c) ((c)&WC_NL) argument 56 #define mbc(c) ((c)&WC_MB) argument 57 #define spc(c) ((c)&WC_SP) argument 127 state = ((c==0x80||c==0x81)?6+(c&1):0); in chkstate() 140 if(c==0xa0 || c==0xa1) in chkstate() 146 if(c<=0xb) in chkstate() 214 c = n; in wc_count() 215 if (c) in wc_count() 285 if (c==1) in wc_count() 359 if(c==1) in wc_count() [all …]
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub1.c | 51 if (c == ' ' || c == '\t') { in getl() 88 return (c >= '0' && c <= '9'); in digit() 176 ('A' <= c && c <= 'Z')); in alpha() 182 return (c > 040 && c < 0177); in printable() 309 c = c*16 + dd - '0'; in ctrans() 311 c = c*16 + 10 + dd - 'a'; in ctrans() 313 c = c*16 + 10 + dd - 'A'; in ctrans() 324 c = c*8 + k - '0'; in ctrans() 421 c = c*16 + dd - '0'; in usescape() 441 c = c * 8 + (d-'0'); in usescape() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/ |
H A D | japanese.h | 26 #define GET(c) ((c) = *ip, ip++, ileft--) argument 27 #define PUT(c) (*op = (c), op++, oleft--) argument 33 #define ISASC(c) (((c) >= 0x00) && ((c) <= 0x7f)) argument 36 #define ISCS1(c) (((c) >= 0xa1) && ((c) <= 0xfe)) argument 39 #define ISCS2(c) (((c) >= 0xa1) && ((c) <= 0xdf)) argument 42 #define ISCS3(c) (((c) >= 0xa1) && ((c) <= 0xfe)) argument 45 #define ISSJKANA(c) (((c) >= 0xa1) && ((c) <= 0xdf)) argument 48 #define ISSJKANJI1(c) ((((c) >= 0x81) && ((c) <= 0x9f)) ||\ argument 49 (((c) >= 0xe0) && ((c) <= 0xef))) 52 #define ISSJKANJI2(c) ((((c) >= 0x40) && ((c) <= 0x7e)) ||\ argument [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/ |
H A D | Makefile.fmd | 30 fmd_api.c \ 32 fmd_asru.c \ 33 fmd_buf.c \ 38 fmd_ctl.c \ 40 fmd_dr.c \ 47 fmd_log.c \ 50 fmd_nv.c \ 53 fmd_rpc.c \ 73 fmd_xprt.c 97 CLEANFILES += fmd_svc_adm.c fmd_svc_api.c fmd_xdr_adm.c fmd_xdr_api.c [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | Makefile.inc | 29 chremdir.c cntrl.c conn.c cpmv.c ct.c \ 30 cu.c dial.c dio.c dkbreak.c \ 31 dkdial.c dkerr.c dkminor.c dtnamer.c eio.c \ 32 expfile.c fio.c gename.c getargs.c getopt.c getprm.c \ 33 getpwinfo.c gio.c gnamef.c gnxseq.c grades.c \ 34 gtcfile.c gwd.c imsg.c in.uucpd.c interface.c limits.c \ 36 permission.c pk0.c pk1.c pkdefs.c security.c \ 37 setmode.c shio.c statlog.c stoa.c strpbrk.c \ 38 strsave.c sysfiles.c systat.c ulockf.c unknown.c \ 41 uuglist.c uuname.c uusched.c uustat.c uux.c \ [all …]
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | lex.c | 22 #define putbak(c) *ip++ = c; argument 92 int c; in yylex() local 96 while ((c = gtc()) == ' ' || c == '\n') in yylex() 166 int c; in getstr() local 170 while ((c = gtc()) == ' ' || c == '\n') in getstr() 176 while (c != ' ' && c != '\t' && c != '\n' && c != '{' && c != '}' && in getstr() 177 c != '"' && c != '~' && c != '^' && c != righteq) { in getstr() 186 if (c == '{' || c == '}' || c == '"' || c == '~' || c == '^' || in getstr() 187 c == '\t' || c == righteq) in getstr() 211 for (i = 1; (c = gtc()) != ' ' && c != '\t' && in cstr() [all …]
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | util.c | 167 return (c); in str2chr_wrap_cb() 199 optopt = c; in str2chr() 200 return (c); in str2chr() 246 c = (*cbfunc)(c); in str2chr() 247 optopt = c; in str2chr() 248 return (c); in str2chr() 269 int c; in ld_getopt() local 280 return (c); in ld_getopt() 287 return (c); in ld_getopt() 293 return (c); in ld_getopt() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | Makefile | 53 alerts.c \ 54 cancel.c \ 56 disena.c \ 57 disp1.c \ 58 disp2.c \ 64 exec.c \ 67 flt.c \ 68 fncs.c \ 70 init.c \ 71 log.c \ [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vatpit.c | 171 if (c->mode == TIMER_RATEGEN || c->mode == TIMER_SQWAVE) { in vatpit_callout_handler() 195 callout_reset_hrtime(&c->callout, c->time_target, in vatpit_callout_reset() 208 c->total_target += c->initial; in pit_timer_start_cntr0() 209 c->time_target = c->time_loaded + in pit_timer_start_cntr0() 221 c->total_target += roundup(ticks_behind, c->initial); in pit_timer_start_cntr0() 222 c->time_target = c->time_loaded + in pit_timer_start_cntr0() 253 lval = c->initial - delta_ticks % c->initial; in pit_update_counter() 353 c->mode = mode; in vatpit_update_mode() 415 c->fr_sel = !c->fr_sel; in vatpit_handler() 435 c->initial = c->reg_cr[0] | (uint16_t)c->reg_cr[1] << 8; in vatpit_handler() [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | Makefile | 129 $(LINT.c) mkey1.c mkey2.c mkey3.c deliv2.c $(LDLIBS) 130 $(LINT.c) inv1.c inv2.c inv3.c inv5.c inv6.c deliv2.c $(LDLIBS) 131 $(LINT.c) hunt1.c hunt2.c hunt3.c hunt5.c hunt6.c \ 132 hunt7.c glue5.c refer3.c shell.c \ 133 deliv2.c hunt8.c glue4.c tick.c $(LDLIBS) 134 $(LINT.c) glue1.c refer1.c refer2.c refer4.c refer5.c \ 135 refer6.c mkey3.c refer7.c refer8.c hunt2.c \ 136 hunt3.c deliv2.c hunt5.c hunt6.c hunt8.c \ 137 glue3.c hunt7.c glue2.c glue4.c \ 138 glue5.c refer0.c shell.c $(LDLIBS) [all …]
|
/illumos-gate/exception_lists/ |
H A D | cstyle | 2 usr/src/cmd/acpi/acpidump/apdump.c 3 usr/src/cmd/acpi/acpidump/apfiles.c 4 usr/src/cmd/acpi/acpidump/apmain.c 5 usr/src/cmd/acpi/acpidump/osunixdir.c 12 usr/src/cmd/acpi/common/getopt.c 57 usr/src/cmd/krb5/kinit/kinit.c 58 usr/src/cmd/krb5/klist/klist.c 99 usr/src/common/bzip2/bzlib.c 628 usr/src/lib/krb5/ss/data.c 1234 usr/src/cmd/bhyve/pm.c [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_string.c | 135 c -= '0'; in fmd_stresc2chr() 139 c = c * 8 + *p++ - '0'; in fmd_stresc2chr() 142 c = c * 8 + *p - '0'; in fmd_stresc2chr() 148 *q++ = c; in fmd_stresc2chr() 175 if (c >= '0' && c <= '9') in fmd_stresc2chr() 177 else if (c >= 'a' && c <= 'f') in fmd_stresc2chr() 179 else if (c >= 'A' && c <= 'F') in fmd_stresc2chr() 190 *q++ = c; in fmd_stresc2chr() 221 if (!isupper(c) && !islower(c) && in fmd_strbadid() 222 !isdigit(c) && c != '-' && c != '_' && c != '.') in fmd_strbadid() [all …]
|
/illumos-gate/usr/src/cmd/eqn/eqn.d/ |
H A D | Makefile | 12 CSRCS = diacrit.c eqnbox.c font.c fromto.c funny.c \ 13 glob.c integral.c io.c lex.c lookup.c \ 14 mark.c matrix.c move.c over.c paren.c \ 15 pile.c shift.c size.c sqrt.c text.c 21 COBJS = $(CSRCS:%.c=%.o) 28 POFILES= $(SRCS:%.c=%.po) e.po 30 CLEANFILES = y.tab.c y.tab.h $(YACCSRC:%.y=%.c) $(YACCSRC:%.y=%.def) 54 $(LINK.c) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) 59 $(MV) y.tab.c $(YACCSRC:%.y=%.c) 62 $(COBJS) : $$(@:%.o=../%.c) [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | Makefile.solaris | 103 tg3.o := DRIVER_SRC = tg3.c 124 3c595.c 3c595.h 3c90x.c basemem.c big_bswap.h bootp.h \ 125 byteswap.h config.c cpu.h davicom.c dev.h e1000.c \ 126 e1000_hw.h eepro100.c elf.h endian.h epic100.c epic100.h \ 127 etherboot.h forcedeth.c fsys_tftp.c grub.h i386_byteswap.h \ 130 misc.c natsemi.c nfs.h nic.c nic.h ns83820.c ns8390.c \ 131 ns8390.h osdep.h pci.c pci.h pci_ids.h pci_io.c pcnet32.c \ 132 pic8259.c pic8259.h pnic.c pnic_api.h pxe.h r8169.c \ 133 rtl8139.c segoff.h sis900.c sis900.h stdint.h sundance.c \ 134 tftp.h tg3.c tg3.h timer.c timer.h tlan.c tlan.h tulip.c \ [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | Makefile | 39 SRCS = alloc.c check.c config.c eft.c eftread.c esclex.c eval.c evnv.c \ 40 fme.c iexpr.c io.c ipath.c itree.c lut.c literals.c out.c platform.c \ 41 ptree.c stable.c stats.c tree.c 42 DMOD_SRCS = eft_mdb.c 59 CLEANFILES += y.tab.h y.tab.c 63 %.o: $(EVERSRCDIR)/%.c 64 $(COMPILE.c) $< 67 %.ln: $(EVERSRCDIR)/%.c 68 $(LINT.c) -c $< 72 $(COMPILE.c) -DYYDEBUG -c -o $@ y.tab.c
|
/illumos-gate/usr/src/cmd/units/ |
H A D | units.c | 200 for(c=0; c<NDIM; c++) in convr() 266 if(c >= '2' && c <= '9') { in lookup() 347 while(c != '\n' && c != 0) in init() 354 while(c != ' ' && c != '\t') { in init() 366 for(c=0; c<NDIM; c++) in init() 367 tp->dim[c] = lp->dim[c]; in init() 382 for(c=0; c<NDIM; c++) { in init() 412 while(c == ' ' || c == '\t'); in getflt() 415 if(c >= '0' && c <= '9') { in getflt() 429 if(c == '+' || c == '-') { in getflt() [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_cmds.c | 58 int c; local 137 if (c == ',' || c == ';') 179 if (c == '\n' || c == '\r' || 180 c == CTRL('d') || c == EOF) { 352 if (c) 396 rop(c); 573 if (c) 950 if (c) 967 if (c == '\n' || c == '\r') 972 c = tolower(c); [all …]
|
/illumos-gate/usr/src/psm/stand/lib/promif/sparcv9/ieee1275/common/ |
H A D | Makefile | 48 prom_boot.c \ 52 prom_env.c \ 53 prom_exit.c \ 54 prom_fb.c \ 60 prom_io.c \ 61 prom_kbd.c \ 62 prom_key.c \ 63 prom_node.c \ 66 prom_path.c \ 69 prom_prop.c \ [all …]
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | wide.c | 201 c = *s; in towide_utf8() 205 *wc = c; in towide_utf8() 245 *wc = c; in towide_utf8() 314 c <<= 8; in towide_dbcs() 316 *wc = c; in towide_dbcs() 340 c = n; in tomb_mbs() 404 c <<= 8; in towide_gb18030() 421 *wc = c; in towide_gb18030() 436 if ((c < 0x80) || ((c > 0xa0) && (c < 0xe0))) { in towide_mskanji() 448 c <<= 8; in towide_mskanji() [all …]
|