Home
last modified time | relevance | path

Searched defs:c (Results 1 – 25 of 1477) sorted by relevance

12345678910>>...60

/plan9/sys/include/
H A Dctype.h15 #define isalpha(c) (_ctype[(unsigned char)(c)]&(_U|_L)) argument
16 #define isupper(c) (_ctype[(unsigned char)(c)]&_U) argument
17 #define islower(c) (_ctype[(unsigned char)(c)]&_L) argument
18 #define isdigit(c) (_ctype[(unsigned char)(c)]&_N) argument
19 #define isxdigit(c) (_ctype[(unsigned char)(c)]&_X) argument
20 #define isspace(c) (_ctype[(unsigned char)(c)]&_S) argument
21 #define ispunct(c) (_ctype[(unsigned char)(c)]&_P) argument
22 #define isalnum(c) (_ctype[(unsigned char)(c)]&(_U|_L|_N)) argument
23 #define isprint(c) (_ctype[(unsigned char)(c)]&(_P|_U|_L|_N|_B)) argument
24 #define isgraph(c) (_ctype[(unsigned char)(c)]&(_P|_U|_L|_N)) argument
[all …]
/plan9/sys/src/cmd/cb/
H A Dcbtype.h12 #define isop(c) ((_cbtype_+1)[c]&_O) argument
13 #define isalpha(c) ((_cbtype_+1)[c]&(_U|_L)) argument
14 #define isupper(c) ((_cbtype_+1)[c]&_U) argument
15 #define islower(c) ((_cbtype_+1)[c]&_L) argument
16 #define isdigit(c) ((_cbtype_+1)[c]&_N) argument
17 #define isxdigit(c) ((_cbtype_+1)[c]&(_N|_X)) argument
18 #define isspace(c) ((_cbtype_+1)[c]&_S) argument
19 #define ispunct(c) ((_cbtype_+1)[c]&_P) argument
20 #define isalnum(c) ((_cbtype_+1)[c]&(_U|_L|_N)) argument
21 #define isprint(c) ((_cbtype_+1)[c]&(_P|_U|_L|_N)) argument
[all …]
/plan9/sys/src/ape/lib/ap/gen/
H A Disalnum.c14 int isalnum(int c){ return (_ctype+1)[c]&(_ISupper|_ISlower|_ISdigit); } in isalnum()
15 int isalpha(int c){ return (_ctype+1)[c]&(_ISupper|_ISlower); } in isalpha()
16 int iscntrl(int c){ return (_ctype+1)[c]&_IScntrl; } in iscntrl()
17 int isdigit(int c){ return (_ctype+1)[c]&_ISdigit; } in isdigit()
18 int isgraph(int c){ return (_ctype+1)[c]&(_ISpunct|_ISupper|_ISlower|_ISdigit); } in isgraph()
19 int islower(int c){ return (_ctype+1)[c]&_ISlower; } in islower()
20 int isprint(int c){ return (_ctype+1)[c]&(_ISpunct|_ISupper|_ISlower|_ISdigit|_ISblank); } in isprint()
21 int ispunct(int c){ return (_ctype+1)[c]&_ISpunct; } in ispunct()
22 int isspace(int c){ return (_ctype+1)[c]&_ISspace; } in isspace()
23 int isupper(int c){ return (_ctype+1)[c]&_ISupper; } in isupper()
[all …]
/plan9/sys/include/ape/
H A Dctype.h39 #define isalnum(c) (_ctype[(unsigned char)(c)]&(_ISupper|_ISlower|_ISdigit)) argument
40 #define isalpha(c) (_ctype[(unsigned char)(c)]&(_ISupper|_ISlower)) argument
41 #define iscntrl(c) (_ctype[(unsigned char)(c)]&_IScntrl) argument
42 #define isdigit(c) (_ctype[(unsigned char)(c)]&_ISdigit) argument
43 #define isgraph(c) (_ctype[(unsigned char)(c)]&(_ISpunct|_ISupper|_ISlower|_ISdigit)) argument
44 #define islower(c) (_ctype[(unsigned char)(c)]&_ISlower) argument
45 #define isprint(c) (_ctype[(unsigned char)(c)]&(_ISpunct|_ISupper|_ISlower|_ISdigit|_ISblank)) argument
46 #define ispunct(c) (_ctype[(unsigned char)(c)]&_ISpunct) argument
47 #define isspace(c) (_ctype[(unsigned char)(c)]&_ISspace) argument
48 #define isupper(c) (_ctype[(unsigned char)(c)]&_ISupper) argument
[all …]
/plan9/sys/src/libthread/
H A Dchannel.c23 _chanfree(Channel *c) in _chanfree()
45 chanfree(Channel *c) in chanfree()
53 chaninit(Channel *c, int elemsize, int elemcnt) in chaninit()
70 Channel *c; in chancreate() local
82 isopenfor(Channel *c, int op) in isopenfor()
91 Channel volatile *c; in alt() local
224 chanclose(Channel *c) in chanclose()
271 chanclosing(Channel *c) in chanclosing()
296 runop(int op, Channel *c, void *v, int nb) in runop()
334 recv(Channel *c, void *v) in recv()
[all …]
/plan9/sys/src/cmd/execnet/
H A Dclient.c21 Client *c; in newclient() local
42 die(Client *c) in die()
87 closeclient(Client *c) in closeclient()
105 queuerdreq(Client *c, Req *r) in queuerdreq()
115 queuewrreq(Client *c, Req *r) in queuewrreq()
125 queuemsg(Client *c, Msg *m) in queuemsg()
138 matchmsgs(Client *c) in matchmsgs()
172 findrdreq(Client *c, Req *r) in findrdreq()
188 findwrreq(Client *c, Req *r) in findwrreq()
204 dataread(Req *r, Client *c) in dataread()
[all …]
/plan9/sys/src/ape/lib/utf/
H A Drunetype.c1035 bsearch(Rune c, Rune *t, int n, int ne) in bsearch()
1055 tolowerrune(Rune c) in tolowerrune()
1069 toupperrune(Rune c) in toupperrune()
1083 totitlerune(Rune c) in totitlerune()
1094 islowerrune(Rune c) in islowerrune()
1108 isupperrune(Rune c) in isupperrune()
1122 isalpharune(Rune c) in isalpharune()
1138 istitlerune(Rune c) in istitlerune()
1144 isspacerune(Rune c) in isspacerune()
/plan9/sys/src/cmd/unix/drawterm/libc/
H A Drunetype.c1021 bsearch(Rune c, Rune *t, int n, int ne) in bsearch()
1041 tolowerrune(Rune c) in tolowerrune()
1055 toupperrune(Rune c) in toupperrune()
1069 totitlerune(Rune c) in totitlerune()
1080 islowerrune(Rune c) in islowerrune()
1094 isupperrune(Rune c) in isupperrune()
1108 isalpharune(Rune c) in isalpharune()
1124 istitlerune(Rune c) in istitlerune()
1130 isspacerune(Rune c) in isspacerune()
/plan9/sys/src/games/mahjongg/
H A Dlogic.c23 freeup(Click c) in freeup()
34 freeleft(Click c) in freeleft()
43 freeright(Click c) in freeright()
52 isfree(Click c) in isfree()
58 cmatch(Click c, int dtop) in cmatch()
76 bmatch(Click c) in bmatch()
90 Click c; in canmove() local
/plan9/sys/src/cmd/rc/
H A Dlex.c9 wordchr(int c) in wordchr()
15 idchr(int c) in idchr()
46 int c = nextc(); in advance() local
58 int c; in getnext() local
108 int c; in skipwhite() local
132 int c; in skipnl() local
143 nextis(int c) in nextis()
167 addutf(char *p, int c) in addutf()
194 int c, d = nextc(); in yylex() local
/plan9/sys/src/cmd/unix/drawterm/kern/
H A Ddevlfd.c14 Chan *c; in lfdchan() local
45 lfdwalk(Chan *c, Chan *nc, char **name, int nname) in lfdwalk()
57 lfdstat(Chan *c, uchar *dp, int n) in lfdstat()
67 lfdopen(Chan *c, int omode) in lfdopen()
77 lfdclose(Chan *c) in lfdclose()
83 lfdread(Chan *c, void *buf, long n, vlong off) in lfdread()
95 lfdwrite(Chan *c, void *buf, long n, vlong off) in lfdwrite()
H A Ddev.c18 devno(int c, int user) in devno()
33 devdir(Chan *c, Qid qid, char *n, vlong length, char *user, long perm, Dir *db) in devdir()
85 devgen(Chan *c, char *name, Dirtab *tab, int ntab, int i, Dir *dp) in devgen()
127 Chan *c; in devattach() local
144 devclone(Chan *c) in devclone()
169 devwalk(Chan *c, Chan *nc, char **name, int nname, Dirtab *tab, int ntab, Devgen *gen) in devwalk()
263 devstat(Chan *c, uchar *db, int n, Dirtab *tab, int ntab, Devgen *gen) in devstat()
308 devdirread(Chan *c, char *d, long n, Dirtab *tab, int ntab, Devgen *gen) in devdirread()
363 devopen(Chan *c, int omode, Dirtab *tab, int ntab, Devgen *gen) in devopen()
392 devcreate(Chan *c, char *name, int mode, ulong perm) in devcreate()
[all …]
/plan9/sys/src/libc/port/
H A Drunetypebody-6.2.0.h21 isspacerune(Rune c) in isspacerune()
77 isdigitrune(Rune c) in isdigitrune()
580 isalpharune(Rune c) in isalpharune()
752 isupperrune(Rune c) in isupperrune()
935 islowerrune(Rune c) in islowerrune()
1066 istitlerune(Rune c) in istitlerune()
1254 toupperrune(Rune c) in toupperrune()
1440 tolowerrune(Rune c) in tolowerrune()
1626 totitlerune(Rune c) in totitlerune()
/plan9/sys/src/cmd/aux/antiword/
H A Ddebug.h54 #define DBG_MSG_C(c,t) do { if (c) DBG_MSG(t); } while(0) argument
55 #define DBG_STRN_C(c,t,m) do { if (c) DBG_STRN(t,m); } while(0) argument
56 #define DBG_CHR_C(c,m) do { if (c) DBG_CHR(m); } while(0) argument
57 #define DBG_DEC_C(c,m) do { if (c) DBG_DEC(m); } while(0) argument
58 #define DBG_HEX_C(c,m) do { if (c) DBG_HEX(m); } while(0) argument
59 #define DBG_FLT_C(c,m) do { if (c) DBG_FLT(m); } while(0) argument
75 #define DBG_MSG_C(c,t) /* EMPTY */ argument
76 #define DBG_STRN_C(c,t,m) /* EMPTY */ argument
77 #define DBG_CHR_C(c,m) /* EMPTY */ argument
78 #define DBG_DEC_C(c,m) /* EMPTY */ argument
[all …]
/plan9/sys/src/9/port/
H A Ddevenv.c33 envgen(Chan *c, char *name, Dirtab*, int, int s, Dir *dp) in envgen()
66 Chan *c; in envattach() local
82 envwalk(Chan *c, Chan *nc, char **name, int nname) in envwalk()
88 envstat(Chan *c, uchar *db, int n) in envstat()
96 envopen(Chan *c, int omode) in envopen()
141 envcreate(Chan *c, char *name, int omode, ulong) in envcreate()
191 envremove(Chan *c) in envremove()
222 envclose(Chan *c) in envclose()
234 envread(Chan *c, void *a, long n, vlong off) in envread()
264 envwrite(Chan *c, void *a, long n, vlong off) in envwrite()
[all …]
H A Ddevsrv.c25 srvgen(Chan *c, char*, Dirtab*, int, int s, Dir *dp) in srvgen()
65 srvwalk(Chan *c, Chan *nc, char **name, int nname) in srvwalk()
81 srvstat(Chan *c, uchar *db, int n) in srvstat()
87 srvname(Chan *c) in srvname()
104 srvopen(Chan *c, int omode) in srvopen()
142 srvcreate(Chan *c, char *name, int omode, ulong perm) in srvcreate()
186 srvremove(Chan *c) in srvremove()
235 srvwstat(Chan *c, uchar *dp, int n) in srvwstat()
279 srvclose(Chan *c) in srvclose()
295 srvread(Chan *c, void *va, long n, vlong) in srvread()
[all …]
H A Ddevkbin.c35 kbinwalk(Chan *c, Chan *nc, char **name, int nname) in kbinwalk()
41 kbinstat(Chan *c, uchar *dp, int n) in kbinstat()
47 kbinopen(Chan *c, int omode) in kbinopen()
64 kbinclose(Chan *c) in kbinclose()
75 kbinread(Chan *c, void *a, long n, vlong ) in kbinread()
83 kbinwrite(Chan *c, void *a, long n, vlong) in kbinwrite()
H A Ddevpipe.c61 Chan *c; in pipeattach() local
93 pipegen(Chan *c, char*, Dirtab *tab, int ntab, int i, Dir *dp) in pipegen()
127 pipewalk(Chan *c, Chan *nc, char **name, int nname) in pipewalk()
154 pipestat(Chan *c, uchar *db, int n) in pipestat()
181 pipewstat(Chan* c, uchar* db, int n) in pipewstat()
214 pipeopen(Chan *c, int omode) in pipeopen()
247 pipeclose(Chan *c) in pipeclose()
299 piperead(Chan *c, void *va, long n, vlong) in piperead()
319 pipebread(Chan *c, long n, ulong offset) in pipebread()
340 pipewrite(Chan *c, void *va, long n, vlong) in pipewrite()
[all …]
/plan9/sys/src/9/ip/
H A Ddevip.c50 #define QID(p, c, y) ( ((p)<<(Shiftproto)) | ((c)<<Shiftconv) | (y) ) argument
63 ip3gen(Chan *c, int i, Dir *dp) in ip3gen()
109 ip2gen(Chan *c, int i, Dir *dp) in ip2gen()
127 ip1gen(Chan *c, int i, Dir *dp) in ip1gen()
174 ipgen(Chan *c, char*, Dirtab*, int, int s, Dir *dp) in ipgen()
301 #define ATTACHER(c) (((IPaux*)((c)->aux))->owner) argument
306 Chan *c; in ipattach() local
324 ipwalk(Chan* c, Chan *nc, char **name, int nname) in ipwalk()
337 ipstat(Chan* c, uchar* db, int n) in ipstat()
358 ipopen(Chan* c, int omode) in ipopen()
[all …]
/plan9/sys/src/cmd/gs/src/
H A Dgdebug.h75 # define if_debug0(c,s)\ argument
77 # define if_debug1(c,s,a1)\ argument
79 # define if_debug2(c,s,a1,a2)\ argument
81 # define if_debug3(c,s,a1,a2,a3)\ argument
83 # define if_debug4(c,s,a1,a2,a3,a4)\ argument
85 # define if_debug5(c,s,a1,a2,a3,a4,a5)\ argument
87 # define if_debug6(c,s,a1,a2,a3,a4,a5,a6)\ argument
89 # define if_debug7(c,s,a1,a2,a3,a4,a5,a6,a7)\ argument
91 # define if_debug8(c,s,a1,a2,a3,a4,a5,a6,a7,a8)\ argument
93 # define if_debug9(c,s,a1,a2,a3,a4,a5,a6,a7,a8,a9)\ argument
[all …]
/plan9/sys/src/cmd/venti/srv/
H A Dhttpd.c101 HConnect *c; in mkconnect() local
117 HConnect *c; in listenproc() local
159 HConnect *c; in httpproc() local
196 hargstr(HConnect *c, char *name, char *def) in hargstr()
207 hargint(HConnect *c, char *name, vlong def) in hargint()
230 preq(HConnect *c) in preq()
243 hsettype(HConnect *c, char *type) in hsettype()
269 hsethtml(HConnect *c) in hsethtml()
275 hsettext(HConnect *c) in hsettext()
281 herror(HConnect *c) in herror()
[all …]
/plan9/sys/src/libcontrol/
H A Dcache.c22 getcacheitem(Cache *c, char *name) in getcacheitem()
35 namecacheitem(Cache *c, void *image, char *name) in namecacheitem()
67 freecacheitem(Cache *c, char *name) in freecacheitem()
95 setcacheitemptr(Cache *c, Control *ctl, CCache **cp, char *s) in setcacheitemptr()
115 _putctlimage(CImage *c) in _putctlimage()
133 _setctlimage(Control *c, CImage **cp, char *s) in _setctlimage()
147 _putctlfont(CFont *c) in _putctlfont()
165 _setctlfont(Control *c, CFont **cp, char *s) in _setctlfont()
/plan9/sys/src/libventi/
H A Dcache.c53 VtCache *c; in vtcachealloc() local
90 vtcachesetwrite(VtCache *c, int (*write)(VtConn*, uchar[VtScoreSize], uint, uchar*, int)) in vtcachesetwrite()
98 vtcachefree(VtCache *c) in vtcachefree()
116 vtcachedump(VtCache *c) in vtcachedump()
129 cachecheck(VtCache *c) in cachecheck()
177 VtCache *c; in upheap() local
201 VtCache *c; in downheap() local
230 VtCache *c; in heapdel() local
264 vtcachebumpblock(VtCache *c) in vtcachebumpblock()
307 vtcachelocal(VtCache *c, u32int addr, int type) in vtcachelocal()
[all …]
/plan9/sys/src/cmd/acme/
H A Dcols.c15 colinit(Column *c, Rectangle r) in colinit()
41 coladd(Column *c, Window *w, Window *clone, int y) in coladd()
111 colclose(Column *c, Window *w, int dofree) in colclose()
160 colcloseall(Column *c) in colcloseall()
179 colmousebut(Column *c) in colmousebut()
185 colresize(Column *c, Rectangle r) in colresize()
237 colsort(Column *c) in colsort()
275 colgrow(Column *c, Window *w, int but) in colgrow()
434 coldragwin(Column *c, Window *w, int but) in coldragwin()
522 colwhich(Column *c, Point p) in colwhich()
[all …]
/plan9/sys/src/cmd/abaco/
H A Dcols.c16 colinit(Column *c, Rectangle r) in colinit()
42 coladd(Column *c, Window *w, Window *clone, int y) in coladd()
113 colclose(Column *c, Window *w, int dofree) in colclose()
154 colcloseall(Column *c) in colcloseall()
179 colmousebut(Column *c) in colmousebut()
185 colresize(Column *c, Rectangle r) in colresize()
236 colsort(Column *c) in colsort()
272 colgrow(Column *c, Window *w, int but) in colgrow()
431 coldragwin(Column *c, Window *w, int but) in coldragwin()
515 colwhich(Column *c, Point p, Rune r, int key) in colwhich()
[all …]

12345678910>>...60