Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 1456) sorted by relevance

12345678910>>...59

/plan9/sys/src/ape/lib/sec/port/
H A Dlibc.h28 uchar type; member
34 ushort type; /* server type */ member
193 #pragma varargck type "lld" vlong
194 #pragma varargck type "llo" vlong
195 #pragma varargck type "llx" vlong
196 #pragma varargck type "llb" vlong
197 #pragma varargck type "lld" uvlong
198 #pragma varargck type "llo" uvlong
199 #pragma varargck type "llx" uvlong
200 #pragma varargck type "llb" uvlong
[all …]
/plan9/sys/src/cmd/cc/
H A Dcom.c90 if(n->type == T) in tcomo()
95 if(n->type == T) in tcomo()
97 if(n->type->width == types[TLONG]->width) { in tcomo()
105 if(tcompat(n, l->type, n->type, tcast)) in tcomo()
111 if(n->type->etype != TVOID) in tcomo()
117 typeext(n->type, l); in tcomo()
118 if(tcompat(n, n->type, l->type, tasign)) in tcomo()
120 constas(n, n->type, l->type); in tcomo()
121 if(!sametype(n->type, l->type)) { in tcomo()
123 l->type = n->type; in tcomo()
[all …]
/plan9/sys/src/cmd/venti/
H A Dcopy.c24 int type; member
42 return a->type - b->type; in scoretreecmp()
46 havevisited(uchar score[VtScoreSize], int type) in havevisited() argument
53 a.type = type; in havevisited()
58 markvisited(uchar score[VtScoreSize], int type) in markvisited() argument
67 a->type = type; in markvisited()
79 walk(uchar score[VtScoreSize], uint type, int base) in walk() argument
90 if(havevisited(score, type)){ in walk()
96 if(fast && vtread(zdst, score, type, buf, VtMaxLumpSize) >= 0){ in walk()
103 n = vtread(zsrc, score, type, buf, VtMaxLumpSize); in walk()
[all …]
H A Dread.c17 int type, n; in threadmain() local
27 type = -1; in threadmain()
33 type = atoi(EARGF(usage())); in threadmain()
55 if(type == -1){ in threadmain()
57 for(type=0; type<VtMaxType; type++){ in threadmain()
58 n = vtread(z, score, type, buf, VtMaxLumpSize); in threadmain()
61 score, type); in threadmain()
66 n = vtread(z, score, type, buf, VtMaxLumpSize); in threadmain()
/plan9/sys/src/9/port/
H A Dlib.h90 #pragma varargck type "lld" vlong
91 #pragma varargck type "llx" vlong
92 #pragma varargck type "lld" uvlong
93 #pragma varargck type "llx" uvlong
94 #pragma varargck type "ld" long
95 #pragma varargck type "lx" long
96 #pragma varargck type "ld" ulong
97 #pragma varargck type "lx" ulong
98 #pragma varargck type "d" int
99 #pragma varargck type "x" int
[all …]
/plan9/sys/src/games/mahjongg/
H A Dlevel.c61 indextype(int type) in indextype() argument
65 if(type < 108) in indextype()
66 t = (type/36)*Facey * 9 + ((type%36)/4)*Facex; in indextype()
67 else if(type < 112) in indextype()
69 else if(type < 128) in indextype()
70 t = 3*Facey + (((type+12)%36)/4)*Facex; in indextype()
71 else if(type < 132) in indextype()
74 t = 4*Facey + (((type+28)%36)/4)*Facex; in indextype()
81 indexpt(int type) in indexpt() argument
94 if(type < 108) in indexpt()
[all …]
/plan9/sys/src/cmd/acid/
H A Dexpr.c53 if(v->type != TINT || machdata == 0) in fmtsize()
83 if(res->type != TCODE) in oeval()
109 if(l.type != TINT) in oindm()
127 if(l.type != TINT) in oindc()
153 res->type = TINT; in oframe()
158 res->comt = f->type; in oframe()
173 if(r.type != TINT) in oindex()
176 switch(l.type) { in oindex()
195 res->type = TINT; in oindex()
210 if(l.type != TLIST) in oappend()
[all …]
H A Dbuiltin.c128 r->type = TINT; in dosysr1()
147 if(resl.type != TLIST) in match()
152 r->type = TINT; in match()
158 if(resi.type == f->type) { in match()
159 switch(resi.type) { in match()
199 if(res.type != TSTRING) in newproc()
221 r->type = TINT; in newproc()
235 if(res.type != TINT) in startstop()
252 if(res.type != TINT) in waitstop()
270 if(res.type != TINT) in start()
[all …]
/plan9/sys/src/cmd/8a/
H A Da.y29 %type <lval> con expr pointer offset
30 %type <con2> con2
31 %type <gen> mem imm imm2 reg nam rel rem rim rom omem nmem
32 %type <gen2> nonnon nonrel nonrem rimnon rimrem remrim
33 %type <gen2> spec1 spec2 spec3 spec4 spec5 spec6 spec7 spec8
48 $1->type = LLAB;
59 $1->type = LVAR;
268 $$.type = D_BRANCH;
276 $$.type = D_BRANCH;
283 $$.type = D_BRANCH;
[all …]
/plan9/sys/src/cmd/6a/
H A Da.y25 %type <lval> con expr pointer offset
26 %type <gen> mem imm reg nam rel rem rim rom omem nmem
27 %type <gen2> nonnon nonrel nonrem rimnon rimrem remrim spec10
28 %type <gen2> spec1 spec2 spec3 spec4 spec5 spec6 spec7 spec8 spec9
43 $1->type = LLAB;
54 $1->type = LVAR;
238 if($1.type != D_CONST)
280 $$.type = D_BRANCH;
288 $$.type = D_BRANCH;
295 $$.type = D_BRANCH;
[all …]
/plan9/sys/src/cmd/va/
H A Da.y28 %type <lval> con expr pointer offset sreg
29 %type <gen> gen vgen lgen vlgen rel reg freg mreg fcreg
30 %type <gen> imm ximm ireg name oreg imr nireg fgen
45 $1->type = LLAB;
51 $1->type = LVAR;
259 $$.type = D_BRANCH;
267 $$.type = D_BRANCH;
274 $$.type = D_BRANCH;
287 $$.type = D_HI;
292 $$.type = D_LO;
[all …]
/plan9/sys/src/ape/lib/ap/stdio/
H A Dvfscanf.c9 static int icvt_f(FILE *f, va_list *args, int store, int width, int type);
10 static int icvt_x(FILE *f, va_list *args, int store, int width, int type);
11 static int icvt_sq(FILE *f, va_list *args, int store, int width, int type);
12 static int icvt_c(FILE *f, va_list *args, int store, int width, int type);
13 static int icvt_d(FILE *f, va_list *args, int store, int width, int type);
14 static int icvt_i(FILE *f, va_list *args, int store, int width, int type);
15 static int icvt_n(FILE *f, va_list *args, int store, int width, int type);
16 static int icvt_o(FILE *f, va_list *args, int store, int width, int type);
17 static int icvt_p(FILE *f, va_list *args, int store, int width, int type);
18 static int icvt_s(FILE *f, va_list *args, int store, int width, int type);
[all …]
/plan9/sys/src/libstdio/
H A Dvfscanf.c6 static int icvt_f(FILE *f, va_list *args, int store, int width, int type);
7 static int icvt_x(FILE *f, va_list *args, int store, int width, int type);
8 static int icvt_sq(FILE *f, va_list *args, int store, int width, int type);
9 static int icvt_c(FILE *f, va_list *args, int store, int width, int type);
10 static int icvt_d(FILE *f, va_list *args, int store, int width, int type);
11 static int icvt_i(FILE *f, va_list *args, int store, int width, int type);
12 static int icvt_n(FILE *f, va_list *args, int store, int width, int type);
13 static int icvt_o(FILE *f, va_list *args, int store, int width, int type);
14 static int icvt_p(FILE *f, va_list *args, int store, int width, int type);
15 static int icvt_s(FILE *f, va_list *args, int store, int width, int type);
[all …]
/plan9/sys/src/cmd/cpp/
H A Dmacro.c19 if (tp>=trp->lp || tp->type!=NAME) { in dodefine()
31 if (tp<trp->lp && tp->type==LP && tp->wslen==0) { in dodefine()
37 if (tp->type!=RP) { in dodefine()
41 if (tp->type == ELLIPS) in dodefine()
43 else if (tp->type!=NAME) { in dodefine()
56 if (tp->type==RP) in dodefine()
60 if (tp->type!=COMMA) { in dodefine()
74 if (((trp->lp)-1)->type==NL) in dodefine()
100 doadefine(Tokenrow *trp, int type) in doadefine() argument
108 if (type=='U') { in doadefine()
[all …]
/plan9/sys/src/libsunrpc/
H A Dprog.c14 if(c->type < 0 || c->type >= prog->nproc || (pack=prog->proc[c->type].pack) == nil) in sunCallPack()
29 if(c->type < 0 || c->type >= prog->nproc || (unpack=prog->proc[c->type].unpack) == nil) in sunCallUnpack()
39 sunCallUnpackAlloc(SunProg *prog, SunCallType type, uchar *a, uchar *ea, uchar **pa, SunCall **pc) in sunCallUnpackAlloc() argument
48 if(type < 0 || type >= prog->nproc || (unpack=prog->proc[type].unpack) == nil) in sunCallUnpackAlloc()
50 size = prog->proc[type].sizeoftype; in sunCallUnpackAlloc()
56 c->type = type; in sunCallUnpackAlloc()
71 if(c->type < 0 || c->type >= prog->nproc || (size=prog->proc[c->type].size) == nil) in sunCallSize()
/plan9/sys/src/cmd/5a/
H A Da.y29 %type <lval> con expr oexpr pointer offset sreg spreg creg
30 %type <lval> rcon cond reglist
31 %type <gen> gen rel reg regreg freg shift fcon frcon
32 %type <gen> imm ximm name oreg ireg nireg ioreg imsr
47 $1->type = LLAB;
53 $1->type = LVAR;
143 g.type = D_CONST;
152 g.type = D_CONST;
237 g.type = D_CONST;
263 $7.type = D_REGREG;
[all …]
/plan9/sys/include/
H A Dlibc.h183 #pragma varargck type "lld" vlong
184 #pragma varargck type "llo" vlong
185 #pragma varargck type "llx" vlong
186 #pragma varargck type "llb" vlong
187 #pragma varargck type "lld" uvlong
188 #pragma varargck type "llo" uvlong
189 #pragma varargck type "llx" uvlong
190 #pragma varargck type "llb" uvlong
191 #pragma varargck type "ld" long
192 #pragma varargck type "lo" long
[all …]
/plan9/sys/src/cmd/gs/src/
H A Djmcorig.h184 #define METHODDEF(type) static type argument
186 #define LOCAL(type) static type argument
188 #define GLOBAL(type) type argument
190 #define EXTERN(type) extern type argument
200 #define JMETHOD(type,methodname,arglist) type (*methodname) arglist argument
202 #define JMETHOD(type,methodname,arglist) type (*methodname) () argument
/plan9/sys/src/cmd/6c/
H A Dpeep.c24 if(p->to.type == D_BRANCH) in needc()
41 if(p->as != ANOP || p->from.type != D_NONE || p->to.type != D_NONE) in rnops()
124 if(p->as == p1->as && p->to.type == p1->from.type){ in peep()
142 if(p->as == p1->as && p->to.type == p1->from.type){ in peep()
153 if(p->from.type != D_CONST || needc(p->link)) in peep()
178 if(p->from.type != D_CONST || needc(p->link)) in peep()
253 t = a->type; in regtyp()
301 if(p->to.type != D_NONE) in subprop()
356 if(p->to.type == v1->type) in subprop()
373 if(p->from.type == v2->type) in subprop()
[all …]
H A Dcgen.c21 if(n == Z || n->type == T) in cgen()
23 if(typesu[n->type->etype]) { in cgen()
24 sugen(n, nn, n->type->width); in cgen()
51 if(cond(o) && typesu[l->type->etype]) in cgen()
90 gopcode(o, n->type, Z, &nod); in cgen()
178 gopcode(OADD, n->type, &nod, &nod); in cgen()
180 gopcode(o, n->type, r, &nod); in cgen()
209 gopcode(o, n->type, &nod, &nod1); in cgen()
224 if(typefd[n->type->etype]) in cgen()
266 gopcode(o, n->type, r, &nod); in cgen()
[all …]
/plan9/sys/src/libmach/
H A Dobj.c160 if(p->type != 'U' && p->type != 'b') in processprog()
162 objlookup(p->sym, p->id, p->type, p->sig); in processprog()
181 objlookup(int id, char *name, int type, uint sig) in objlookup() argument
190 s->type = type; in objlookup()
201 if (type == 'U' || type == 'b' || islocal(type)) { in objlookup()
204 switch(sp->s.type) { in objlookup()
208 if (type == 'U') { in objlookup()
216 if (type == 'b') { in objlookup()
223 if (islocal(type)) { in objlookup()
235 sp->s.type = type; in objlookup()
[all …]
/plan9/sys/src/cmd/8c/
H A Dpeep.c19 if(p->to.type == D_BRANCH) in needc()
97 if(p->as == p1->as && p->to.type == p1->from.type) in peep()
104 if(p->from.type != D_CONST || needc(p->link)) in peep()
123 if(p->from.type != D_CONST || needc(p->link)) in peep()
194 t = a->type; in regtyp()
239 if(p->to.type != D_NONE) in subprop()
286 if(p->to.type == v1->type) in subprop()
303 if(p->from.type == v2->type) in subprop()
314 t = v1->type; in subprop()
315 v1->type = v2->type; in subprop()
[all …]
H A Dtxt.c29 zprog.from.type = D_NONE; in ginit()
39 regnode.type = types[TLONG]; in ginit()
43 fregnode0.type = types[TDOUBLE]; in ginit()
52 constnode.type = types[TLONG]; in ginit()
58 fconstnode.type = types[TDOUBLE]; in ginit()
62 nodsafe->type = types[TINT]; in ginit()
70 symrathole->type = t; in ginit()
74 nodrat->type = types[TIND]; in ginit()
78 nodrat->type = t; in ginit()
82 nodret->type = types[TIND]; in ginit()
[all …]
/plan9/sys/src/cmd/5l/
H A Dnoop.c36 if(p->to.type == D_OREG && p->to.reg == REGSP) in noops()
57 if(p->from.type == D_CONST) in noops()
173 curtext->from.sym->type = SLEAF; in noops()
179 q->from.type = D_CONST; in noops()
181 q->to.type = D_REG; in noops()
198 q1->from.type = D_REG; in noops()
200 q1->to.type = D_OREG; in noops()
210 if(p->from.type == D_CONST) in noops()
216 p->to.type = D_OREG; in noops()
224 p->from.type = D_CONST; in noops()
[all …]
/plan9/sys/src/cmd/5i/
H A Dbpt.c15 switch(b->type) { in dobplist()
54 int type; in breakpoint() local
57 type = Instruction; in breakpoint()
61 type = Read; in breakpoint()
65 type = Access; in breakpoint()
69 type = Write; in breakpoint()
73 type = Equal; in breakpoint()
78 b->type = type; in breakpoint()
96 if(b->type != Instruction) in delbpt()
109 brkchk(ulong addr, int type) in brkchk() argument
[all …]

12345678910>>...59