Home
last modified time | relevance | path

Searched refs:c (Results 126 – 150 of 6941) sorted by relevance

12345678910>>...278

/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4macs.c39 #define arg(n) (c < (n) ? nullstr: ap[n])
47 dochcom(wchar_t **ap, int c) in dochcom() argument
60 docq(wchar_t **ap, int c) in docq() argument
69 if (c <= 1 && !*l) { in docq()
72 } else if (c == 1) { in docq()
81 dodecr(wchar_t **ap, int c) in dodecr() argument
87 dodef(wchar_t **ap, int c) in dodef() argument
89 def(ap, c, NOPUSH); in dodef()
93 def(wchar_t **ap, int c, int mode) in def() argument
97 if (c < 1) in def()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dmacro.c56 # define isacii(c) ((c)<=UCHAR_MAX) argument
95 #define isbracechar(c) ((c)==RBRACE || (_c_=sh_lexstates[ST_BRACE][c])==S_MOD1 ||_c_==S_MOD2) argument
271 register int c,n; in sh_machere() local
322 if(c=(cp-1)-fcseek(0)) in sh_machere()
323 sfwrite(outfile,fcseek(0),c); in sh_machere()
324 cp = fcseek(c+1); in sh_machere()
340 fcgetc(c); in sh_machere()
342 if(c>0) in sh_machere()
344 if(!isescchar(state[c])) in sh_machere()
351 c = fcget(); in sh_machere()
[all …]
/illumos-gate/usr/src/ucbcmd/mkstr/
H A Dmkstr.c60 #define ungetchar(c) ungetc(c, stdin) argument
71 static int octdigit(char c);
138 int c; in process() local
141 c = getchar(); in process()
142 if (c == EOF) in process()
144 if (c != 'e') { in process()
145 (void) putchar(c); in process()
150 c = getchar(); in process()
151 if (c != '"') in process()
152 (void) putchar(c); in process()
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dmacro.c47 unsigned int c; in copyto() local
51 while ((c = getch(endch, trimflag)) != endch && c) in copyto()
53 if(c == '\\') { /* don't interpret next character */ in copyto()
56 pushstak(c); in copyto()
91 pc = readw(c); in copyto()
101 } else if(c == '\\') { in copyto()
102 c = readwc(); /* get character to be escaped */ in copyto()
106 pc = readw(c); in copyto()
121 pc = readw(c); in copyto()
131 if (c != endch) in copyto()
[all …]
/illumos-gate/usr/src/cmd/fm/fminject/
H A DMakefile.com31 inj_cmds.c \
32 inj_decl.c \
33 inj_defn.c \
34 inj_err.c \
35 inj_hash.c \
36 inj_list.c \
37 inj_log.c \
38 inj_main.c \
39 inj_string.c \
40 inj_umem.c \
[all …]
/illumos-gate/exception_lists/
H A Dcopyright24 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
25 # Copyright (c) 2011 by Delphix. All rights reserved.
26 # Copyright (c) 2018, Joyent, Inc.
38 usr/src/cmd/acpi/acpidump/apdump.c
39 usr/src/cmd/acpi/acpidump/apfiles.c
40 usr/src/cmd/acpi/acpidump/apmain.c
41 usr/src/cmd/acpi/acpidump/osillumostbl.c
42 usr/src/cmd/acpi/acpidump/osunixdir.c
43 usr/src/cmd/acpi/acpidump/tbprint.c
44 usr/src/cmd/acpi/acpidump/tbxfroot.c
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.strstr.d34 c = str;
35 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
37 c = "baz";
38 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
40 c = "bar";
41 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
43 c = "bazbarbop";
44 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
46 c = "barba";
47 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppbuiltin.c40 register int c; in ppbuiltin() local
60 if ((c = pplex()) != T_ID) in ppbuiltin()
70 if ((c = pplex()) == ',') in ppbuiltin()
73 c = pplex(); in ppbuiltin()
78 if (!c) in ppbuiltin()
80 error(2, "%s in #(...) argument", pptokchr(c)); in ppbuiltin()
83 if (c == '(') n++; in ppbuiltin()
84 else if (c == ')' && !n--) break; in ppbuiltin()
85 else if (c == ',' && !n && op > 0) op = 0; in ppbuiltin()
87 c = pplex(); in ppbuiltin()
[all …]
/illumos-gate/usr/src/man/man1c/
H A DMakefile19 MANSECT= 1c
21 MANFILES= ct.1c \
22 cu.1c \
23 uucp.1c \
24 uuencode.1c \
25 uuglist.1c \
26 uustat.1c \
27 uuto.1c \
28 uux.1c
30 MANLINKS= uudecode.1c \
[all …]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_oss.c475 oss_open(audio_client_t *c, int oflag) in oss_open() argument
482 isp = auclnt_input_stream(c); in oss_open()
483 osp = auclnt_output_stream(c); in oss_open()
486 if ((rv = auclnt_open(c, oflag | FNDELAY)) != 0) { in oss_open()
491 auclnt_close(c); in oss_open()
494 auclnt_set_private(c, sc); in oss_open()
496 odev = auclnt_get_minor_data(c, AUDIO_MINOR_DSP); in oss_open()
499 sc->o_client = c; in oss_open()
526 auclnt_close(c); in oss_open()
531 oss_close(audio_client_t *c) in oss_close() argument
[all …]
H A Daudio_client.c74 auclnt_get_private(audio_client_t *c) in auclnt_get_private() argument
76 return (c->c_private); in auclnt_get_private()
80 auclnt_set_private(audio_client_t *c, void *private) in auclnt_set_private() argument
82 c->c_private = private; in auclnt_set_private()
166 auclnt_input_stream(audio_client_t *c) in auclnt_input_stream() argument
168 return (&c->c_istream); in auclnt_input_stream()
172 auclnt_output_stream(audio_client_t *c) in auclnt_output_stream() argument
174 return (&c->c_ostream); in auclnt_output_stream()
328 auclnt_read(audio_client_t *c, struct uio *uio) in auclnt_read() argument
330 audio_stream_t *sp = &c->c_istream; in auclnt_read()
[all …]
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c317 obj_init(obj_list * c) in obj_init() argument
322 if ((c->obj->fd = open(c->obj->ename, mode)) < 0) { in obj_init()
328 c->obj->ename); in obj_init()
332 c->obj->ename); in obj_init()
334 c->obj->fd = 0; in obj_init()
363 if ((c->obj->elf = elf_begin(c->obj->fd, ELF_C_READ, (Elf *) 0)) in obj_init()
372 if (elf_kind(c->obj->elf) == ELF_K_COFF) { in obj_init()
380 if (elf_kind(c->obj->elf) != ELF_K_AR && in obj_init()
381 elf_kind(c->obj->elf) != ELF_K_ELF) { in obj_init()
400 obj_elf_hdr(obj_list * c) in obj_elf_hdr() argument
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vget.c47 ungetkey(int c) in ungetkey() argument
51 Peekkey = c; in ungetkey()
60 int c; /* char --> int */ in getkey() local
63 c = getbr(); in getkey()
64 if (c==0) in getkey()
66 } while (c == 0); in getkey()
67 return (c); in getkey()
97 int c, d; in getbr() local
105 c = Peekkey; in getbr()
107 return (c); in getbr()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/
H A Dsum-md5.c158 #define FF(a, b, c, d, x, s, ac) { \ argument
159 (a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \
163 #define GG(a, b, c, d, x, s, ac) { \ argument
164 (a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \
168 #define HH(a, b, c, d, x, s, ac) { \ argument
169 (a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \
173 #define II(a, b, c, d, x, s, ac) { \ argument
174 (a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \
184 UINT4 c = state[2]; in md5_transform() local
191 FF (a, b, c, d, x[ 0], S11, 0xd76aa478); /* 1 */ in md5_transform()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_comp.c153 #define hyphenchar(c) ((c) == 0x2d) argument
154 #define bslashchar(c) ((c) == 0x5c) argument
156 #define underscorechar(c) ((c) == 0x5f) argument
158 #define periodchar(c) ((c) == PERIOD) argument
159 #define asterchar(c) ((c) == 0x2a) argument
160 #define alphachar(c) (((c) >= 0x41 && (c) <= 0x5a) \ argument
161 || ((c) >= 0x61 && (c) <= 0x7a))
162 #define digitchar(c) ((c) >= 0x30 && (c) <= 0x39) argument
164 #define borderchar(c) (alphachar(c) || digitchar(c)) argument
166 #define middlechar(c) (borderchar(c) || hyphenchar(c) || underscorechar(c)) argument
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dlexer.c31 #define ishex(c) (ISDIGIT(c) || ((c) >= 'a' && (c) <= 'f') || \ argument
32 ((c) >= 'A' && (c) <= 'F'))
67 int c; local
70 c = yytext[yypos++];
71 if (c == '\n')
73 return c;
80 c = string_val[pos - string_start];
83 c = fgetc(yyin);
84 if (docont && (c == '\\')) {
85 c = fgetc(yyin);
[all …]
H A DMakefile113 $(LINK.c) -o ipf $(IPF_OBJS) $(LDLIBS)
116 ipf_y.o: ipf_y.c $(COMMONIPF)/netinet/ip_fil.h $(COMMONIPF)/ipf.h \
117 ipf_y.c ipf_l.h
119 ipf_y.c ipf_y.h: ipf_y.y
122 ipf.tab.c > ipf_y.c
126 CLEANFILES += ipf.tab.c ipf.tab.h
127 CLEANFILES += ipf_y.c ipf_y.h
129 ipf_l.o: ipf_l.c $(COMMONIPF)/netinet/ip_fil.h $(COMMONIPF)/ipf.h \
132 ipf_l.c: lexer.c $(COMMONIPF)/ipf.h $(COMMONIPF)/netinet/ip_fil.h
134 -e 's/lexer.h/ipf_l.h/' lexer.c > $@
[all …]
/illumos-gate/usr/src/cmd/newform/
H A Dnewform.c172 char c; /* Option character */ in options() local
180 switch (c = *scan++) { in options()
195 flp->option = c; in options()
278 char c; /* Character being scanned */ in inputn() local
281 while ((c = *scan++) >= '0' && c <= '9') in inputn()
282 n = n * 10 + c - '0'; in inputn()
323 char c, /* Temporary */ in cnvtspec() local
329 c = *p++; in cnvtspec()
332 switch (type(c)) { in cnvtspec()
340 number[tp] = c - '0'; in cnvtspec()
[all …]
/illumos-gate/usr/src/cmd/mdb/
H A DMakefile.libstand35 bcmp.c \
36 bcopy.c \
37 bsearch.c \
38 bzero.c \
39 ctime.c \
40 ctype.c \
41 errno.c \
42 getopt.c \
43 memchr.c \
44 memcmp.c \
[all …]
/illumos-gate/usr/src/common/crypto/md4/
H A Dmd4.c86 #define FF(a, b, c, d, x, s) { \ argument
87 (a) += F((b), (c), (d)) + (x); \
90 #define GG(a, b, c, d, x, s) { \ argument
91 (a) += G((b), (c), (d)) + (x) + (uint32_t)0x5a827999; \
94 #define HH(a, b, c, d, x, s) { \ argument
95 (a) += H((b), (c), (d)) + (x) + (uint32_t)0x6ed9eba1; \
193 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; in MD4Transform() local
199 FF(a, b, c, d, x[ 0], S11); /* 1 */ in MD4Transform()
200 FF(d, a, b, c, x[ 1], S12); /* 2 */ in MD4Transform()
201 FF(c, d, a, b, x[ 2], S13); /* 3 */ in MD4Transform()
[all …]
/illumos-gate/usr/src/lib/libmp/common/
H A Dmadd.c28 m_add(MINT *a, MINT *b, MINT *c) in m_add() argument
57 c->len = i + 1; in m_add()
59 c->len = a->len; in m_add()
61 c->val = cval; in m_add()
62 if (c->len == 0) { in m_add()
68 mp_madd(MINT *a, MINT *b, MINT *c) in mp_madd() argument
76 _mp_xfree(c); in mp_madd()
81 m_add(&x, &y, c); in mp_madd()
83 m_add(&y, &x, c); in mp_madd()
87 mp_msub(&x, &y, c); in mp_madd()
[all …]
/illumos-gate/usr/src/boot/forth/
H A Dmenusets.4th1 \ Copyright (c) 2012 Devin Teske <dteske@FreeBSD.org>
52 ( u1 -- u1 c-addr2 u2 )
55 ( u1 -- u1 c-addr2 u2 )
57 evaluate ( u1 c-addr2 u2 -- u1 )
58 s" cmdbuf" getenv ( u1 -- u1 c-addr2 u2 )
60 ( u1 c-addr2 u2 -- c-addr2 u2 c-addr1 u1 )
63 ( c-addr2 u2 c-addr1 u1 -- c-addr2 u2 -1 )
65 drop ( c-addr2 u2 -1 -- c-addr2 u2 )
66 2drop ( c-addr2 u2 -- )
68 ( c-addr2 u2 c-addr1 u1 -- c-addr2 u2 c-addr1 u1 )
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhexpand.c141 c, /* current char */
230 switch(c = *++cp) {
267 if(c == '-')
293 c = *cp;
324 c = *cp;
327 *cp = c;
334 *cp++ = c; /* skip second question mark */
336 *cp = c;
352 switch(c = *cp++) {
412 w[n] = c - '0';
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DDNSDigest.c192 void MD5_Transform(MD5_CTX *c, const unsigned char *b);
204 void md5_block_asm_data_order_aligned (MD5_CTX *c, const mDNSu32 *p,int num);
209 void md5_block_host_order (MD5_CTX *c, const void *p,int num);
210 void md5_block_data_order (MD5_CTX *c, const void *p,int num);
249 #define HASH_MAKE_STRING(c,s) do { \ argument
251 ll=(c)->A; HOST_l2c(ll,(s)); \
252 ll=(c)->B; HOST_l2c(ll,(s)); \
253 ll=(c)->C; HOST_l2c(ll,(s)); \
254 ll=(c)->D; HOST_l2c(ll,(s)); \
563 #define HOST_c2l(c,l) ((void)_HOST_c2l(c,l)) argument
[all …]
/illumos-gate/usr/src/cmd/tbl/
H A DMakefile31 SRCS = t0.c t1.c t2.c t3.c t4.c t5.c t6.c t7.c \
32 t8.c t9.c tb.c tc.c te.c tf.c tg.c ti.c \
33 tm.c ts.c tt.c tu.c tv.c
35 OBJS = $(SRCS:%.c=%.o)
53 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)

12345678910>>...278