Home
last modified time | relevance | path

Searched refs:stype (Results 1 – 25 of 131) sorted by relevance

123456

/netbsd/src/external/bsd/nvi/dist/common/
Dseq.c43 …name, size_t nlen, CHAR_T *input, size_t ilen, CHAR_T *output, size_t olen, seq_t stype, int flags) in seq_set() argument
57 seq_find(sp, &lastqp, NULL, input, ilen, stype, NULL)) != NULL) { in seq_set()
114 qp->stype = stype; in seq_set()
138 seq_delete(SCR *sp, CHAR_T *input, size_t ilen, seq_t stype) in seq_delete() argument
142 if ((qp = seq_find(sp, NULL, NULL, input, ilen, stype, NULL)) == NULL) in seq_delete()
175 seq_find(SCR *sp, SEQ **lastqp, EVENT *e_input, CHAR_T *c_input, size_t ilen, seq_t stype, int *isp… in seq_find() argument
204 qp->stype != stype || F_ISSET(qp, SEQ_FUNCMAP)) in seq_find()
211 qp->stype != stype || F_ISSET(qp, SEQ_FUNCMAP)) in seq_find()
278 seq_dump(SCR *sp, seq_t stype, int isname) in seq_dump() argument
288 if (stype != qp->stype || F_ISSET(qp, SEQ_FUNCMAP)) in seq_dump()
[all …]
/netbsd/src/usr.sbin/envstat/
Denvstat.c902 const char *invalid = "N/A", *degrees, *tmpstr, *stype; in print_sensors() local
910 tmpstr = stype = d = e = NULL; in print_sensors()
1046 stype = degrees; in print_sensors()
1061 (void)printf("%*s", (int)ilen - 3, stype); in print_sensors()
1066 stype = "RPM"; in print_sensors()
1108 (void)printf(" %*s", (int)ilen - 3, stype); in print_sensors()
1113 stype = "none"; in print_sensors()
1163 (void)printf("%*s", (int)ilen - 3, stype); in print_sensors()
1181 stype = "lux"; in print_sensors()
1223 (void)printf(" %*s", (int)ilen - 3, stype); in print_sensors()
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/arch/nova/
Dcode.c74 if (ISFTN(sp->stype)) in defloc()
93 off = tsize(sp->stype, sp->sdf, sp->sap); in defzero()
96 al = talign(sp->stype, sp->sap)/SZCHAR; in defzero()
131 if (cftnsp->stype != STRTY+FTN && cftnsp->stype != UNIONTY+FTN) in efcode()
163 if (a[i]->stype == CHAR) in bfcode()
164 a[i]->stype = INT; in bfcode()
165 if (a[i]->stype == UCHAR) in bfcode()
166 a[i]->stype = UNSIGNED; in bfcode()
169 if (cftnsp->stype != STRTY+FTN && cftnsp->stype != UNIONTY+FTN) in bfcode()
/netbsd/src/external/bsd/nvi/dist/ex/
Dex_map.c53 seq_t stype; in ex_map() local
56 stype = FL_ISSET(cmdp->iflags, E_C_FORCE) ? SEQ_INPUT : SEQ_COMMAND; in ex_map()
60 if (seq_dump(sp, stype, 1) == 0) in ex_map()
61 msgq(sp, M_INFO, stype == SEQ_INPUT ? in ex_map()
84 cmdp->argv[1]->bp, cmdp->argv[1]->len, stype, in ex_map()
88 sp->gp->scr_fmap(sp, stype, input, cmdp->argv[0]->len, in ex_map()
93 nofunc: if (stype == SEQ_COMMAND && input[1] == '\0') in ex_map()
106 cmdp->argv[1]->bp, cmdp->argv[1]->len, stype, SEQ_USERDEF)); in ex_map()
/netbsd/src/external/bsd/pcc/dist/pcc/arch/i386/
Dcode.c108 ISFTN(sp->stype)? "function" : "object"); in defloc()
112 if (!ISFTN(sp->stype)) { in defloc()
115 (int)tsize(sp->stype, sp->sdf, sp->sap)/SZCHAR); in defloc()
118 (int)tsize(sp->stype, sp->sdf, sp->sap)/SZCHAR); in defloc()
141 if (cftnsp->stype != STRTY+FTN && cftnsp->stype != UNIONTY+FTN)
145 sz = tsize(BTYPE(cftnsp->stype), cftnsp->sdf, cftnsp->sap);
266 if (cftnsp->stype == STRTY+FTN || cftnsp->stype == UNIONTY+FTN) {
267 sz = tsize(BTYPE(cftnsp->stype), cftnsp->sdf, cftnsp->sap);
300 sz = tsize(sp2->stype, sp2->sdf, sp2->sap);
304 if (cisreg(sp2->stype) == 0 ||
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/arch/hppa/
Dcode.c58 t = sp->stype; in defloc()
94 if (cftnsp->stype != STRTY+FTN && cftnsp->stype != UNIONTY+FTN) in efcode()
144 if (cftnsp->stype == STRTY+FTN || cftnsp->stype == UNIONTY+FTN) { in bfcode()
154 sz = szty(sp->stype); in bfcode()
159 p = tempnode(0, sp->stype, sp->sdf, sp->ssue); in bfcode()
161 q = block(REG, NIL, NIL, sp->stype, sp->sdf, sp->ssue); in bfcode()
162 q->n_rval = argreg(sp->stype, &n); in bfcode()
171 p = tempnode(0, sp->stype, sp->sdf, sp->ssue); in bfcode()
/netbsd/src/external/bsd/pcc/dist/pcc/arch/mips/
Dcode.c85 if (ISFTN(sp->stype)) in defloc()
95 ISFTN(sp->stype) ? "function" : "object"); in defloc()
96 if (!ISFTN(sp->stype)) in defloc()
98 tsize(sp->stype, sp->sdf, sp->sap)); in defloc()
131 if (cftnsp->stype != STRTY+FTN && cftnsp->stype != UNIONTY+FTN) in efcode()
134 ty = cftnsp->stype - FTN; in efcode()
165 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in putintemp()
202 sz = tsize(sym->stype, sym->sdf, sym->sap) / SZINT; in param_struct()
244 q = block(REG, NIL, NIL, sym->stype, sym->sdf, sym->sap); in param_64bit()
247 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in param_64bit()
[all …]
/netbsd/src/lib/libm/src/
Ds_lround.c34 #ifndef stype
40 #define stype double macro
56 static const stype dtype_min = DTYPE_MIN - 0.5;
57 static const stype dtype_max = DTYPE_MAX + 0.5;
62 fn(stype x) in fn()
Ds_lrint.c33 #ifndef stype
39 #define stype double macro
53 fn(stype x) in fn()
/netbsd/src/external/bsd/pcc/dist/pcc/cc/cxxcom/
Dsymtabs.c180 lookup(char *key, int stype) in lookup() argument
188 type = stype & SMASK; in lookup()
202 if (stype & SNOCREAT) in lookup()
205 sym = getsymtab(key, stype|STEMP); in lookup()
210 sympole[type] = (struct tree *)getsymtab(key, stype); in lookup()
238 else if (stype & SNOCREAT) in lookup()
251 sym = getsymtab(key, stype|STEMP); in lookup()
263 if (stype == (STEMP|SNORMAL)) in lookup()
264 stype = SNORMAL; in lookup()
269 new = stype & STEMP ? tmpalloc(sizeof(struct tree)) : in lookup()
[all …]
Dpftn.c180 stp = p->stype; in defid()
390 p->stype = type; in defid()
455 if (gflag && p->stype != FARG) in defid()
517 cftnsp->stype, cftnsp->sclass == EXTDEF, retlab, tvaloff); in ftnend()
539 sts.stype = INCREF(sts.stype); in ftnend()
583 if (nparams == 1 && lparam->sym && lparam->sym->stype == VOID) in dclargs()
607 if (p->stype == FARG) in dclargs()
608 p->stype = INT; in dclargs()
609 if (ISARY(p->stype)) { in dclargs()
610 p->stype += (PTR-ARY); in dclargs()
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/cc/ccom/
Dsymtabs.c187 lookup(char *key, int stype) in lookup() argument
195 type = stype & SMASK; in lookup()
209 if (stype & SNOCREAT) in lookup()
213 stype |= SBLK; in lookup()
214 sym = getsymtab(key, stype); in lookup()
219 sympole[type] = (struct tree *)getsymtab(key, stype); in lookup()
247 else if (stype & SNOCREAT) in lookup()
260 sym = getsymtab(key, stype|STEMP); in lookup()
272 if (stype == (STEMP|SNORMAL)) in lookup()
273 stype = SNORMAL; in lookup()
[all …]
Dpftn.c210 stp = p->stype; in defid2()
412 if ((ISFTN(p->stype) && ISFTN(type)) || in defid2()
413 (!ISFTN(p->stype) && !ISFTN(type))) in defid2()
426 p->stype = type; in defid2()
490 if (gflag && p->stype != FARG) in defid2()
551 cftnsp->stype, cftnsp->sclass == EXTDEF, in ftnend()
574 sts.stype = INCREF(sts.stype); in ftnend()
618 if (nparams == 1 && lparam->sym && lparam->sym->stype == VOID) in dclargs()
636 if (p->stype == FARG) in dclargs()
637 p->stype = INT; in dclargs()
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/arch/m16c/
Dcode.c75 if (cftnsp->stype != STRTY+FTN && cftnsp->stype != UNIONTY+FTN) in efcode()
128 if (cftnsp->stype == STRTY+FTN || cftnsp->stype == UNIONTY+FTN) { in bfcode()
135 if (DEUNSIGN(a[i]->stype) == CHAR) in bfcode()
141 sz = tsize(s->stype, s->sdf, s->ssue); in bfcode()
142 if (ISPTR(s->stype) && ISFTN(DECREF(s->stype))) in bfcode()
159 if (s->stype > BTMASK) { in bfcode()
/netbsd/src/external/bsd/pcc/dist/pcc/arch/pdp11/
Dcode.c76 t = sp->stype; in defloc()
100 if (cftnsp->stype != STRTY+FTN && cftnsp->stype != UNIONTY+FTN) in efcode()
124 if (cftnsp->stype == STRTY+FTN || cftnsp->stype == UNIONTY+FTN) { in bfcode()
135 if (sp[i]->stype == STRTY || sp[i]->stype == UNIONTY || in bfcode()
136 cisreg(sp[i]->stype) == 0) in bfcode()
139 n = tempnode(0, sp[i]->stype, sp[i]->sdf, sp[i]->sap); in bfcode()
/netbsd/src/external/bsd/pcc/dist/pcc/arch/vax/
Dcode.c109 if (ISFTN(sp->stype)) { in defloc()
114 (int)tsize(sp->stype, sp->sdf, sp->sap)/SZCHAR); in defloc()
132 if (cftnsp->stype != STRTY+FTN && cftnsp->stype != UNIONTY+FTN) in efcode()
135 t = PTR+BTYPE(cftnsp->stype); in efcode()
159 if (cftnsp->stype == STRTY+FTN || cftnsp->stype == UNIONTY+FTN) { in bfcode()
172 sz = tsize(sp2->stype, sp2->sdf, sp2->sap); in bfcode()
184 if (sp[i]->stype == STRTY || sp[i]->stype == UNIONTY || in bfcode()
185 cisreg(sp[i]->stype) == 0) in bfcode()
187 if (cqual(sp[i]->stype, sp[i]->squal) & VOL) in bfcode()
190 p = tempnode(0, sp[i]->stype, sp[i]->sdf, sp[i]->sap); in bfcode()
/netbsd/src/external/bsd/pcc/dist/pcc/arch/pdp10/
Dcode.c50 t = sp->stype; in defloc()
85 if (cftnsp->stype == STRTY+FTN || cftnsp->stype == UNIONTY+FTN) { in bfcode()
91 p = tempnode(0, sp[i]->stype, sp[i]->sdf, sp[i]->ssue); in bfcode()
93 sp[i]->stype, sp[i]->sdf, sp[i]->ssue); in bfcode()
103 p = tempnode(0, sp[i]->stype, in bfcode()
111 n += szty(sp[i]->stype); in bfcode()
/netbsd/src/sys/arch/sparc64/dev/
Dldc.c67 DPRINTF(("CTRL/0x%02x/0x%02x\n", lp->stype, lp->ctrl)); in ldc_rx_ctrl()
76 switch (lp->stype) { in ldc_rx_ctrl_vers()
105 DPRINTF(("CTRL/0x%02x/VERS\n", lp->stype)); in ldc_rx_ctrl_vers()
114 switch (lp->stype) { in ldc_rx_ctrl_rts()
137 DPRINTF(("CTRL/0x%02x/RTS\n", lp->stype)); in ldc_rx_ctrl_rts()
146 switch (lp->stype) { in ldc_rx_ctrl_rtr()
170 DPRINTF(("CTRL/0x%02x/RTR\n", lp->stype)); in ldc_rx_ctrl_rtr()
179 switch (lp->stype) { in ldc_rx_ctrl_rdx()
202 DPRINTF(("CTRL/0x%02x/RDX\n", lp->stype)); in ldc_rx_ctrl_rdx()
213 if (lp->stype != LDC_INFO) { in ldc_rx_data()
[all …]
Dvnet.c443 __func__, lp->type, lp->stype, lp->ctrl)); in vnet_rx_intr()
521 __func__, tag->stype, tag->stype_env); in vnet_rx_vio_ctrl()
531 switch (vi->tag.stype) { in vnet_rx_vio_ver_info()
541 vi->tag.stype = VIO_SUBTYPE_NACK; in vnet_rx_vio_ver_info()
549 vi->tag.stype = VIO_SUBTYPE_NACK; in vnet_rx_vio_ver_info()
556 vi->tag.stype = VIO_SUBTYPE_ACK; in vnet_rx_vio_ver_info()
573 DPRINTF(("CTRL/0x%02x/VER_INFO\n", vi->tag.stype)); in vnet_rx_vio_ver_info()
587 switch (ai->tag.stype) { in vnet_rx_vio_attr_info()
591 ai->tag.stype = VIO_SUBTYPE_ACK; in vnet_rx_vio_attr_info()
607 DPRINTF(("CTRL/0x%02x/ATTR_INFO\n", ai->tag.stype)); in vnet_rx_vio_attr_info()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dgo32-nat.c1430 unsigned stype:5; member
1446 unsigned stype:5; member
1517 return (int)((struct seg_descr *)descr)->stype; in get_descriptor()
1554 && (allowed_descriptors[type] & (1 << descr.stype)) != 0) in display_descriptor()
1561 if (descr.stype == 1 || descr.stype == 2 || descr.stype == 3 in display_descriptor()
1562 || descr.stype == 9 || descr.stype == 11 in display_descriptor()
1563 || (descr.stype >= 16 && descr.stype < 32)) in display_descriptor()
1567 switch (descr.stype) in display_descriptor()
1572 descr.stype == 3 ? "" : "in"); in display_descriptor()
1594 descr.stype == 6 ? "Interrupt" : "Trap"); in display_descriptor()
[all …]
/netbsd/src/bin/ksh/
Deval.c151 short stype; /* [=+-?%#] action after expanded word */ member
289 int stype; local
294 type = varsub(&x, varname, sp, &stype, &slen);
322 st->stype = stype;
328 if (stype)
330 switch (stype & 0x7f) {
389 switch (st->stype&0x7f) {
400 dp, st->stype);
706 int stype; /* substitution type */ local
750 stype = 0;
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/arch/arm/
Dcode.c100 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in putintemp()
159 q = block(REG, NIL, NIL, sym->stype, sym->sdf, sym->sap); in param_64bit()
162 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in param_64bit()
180 q = block(REG, NIL, NIL, sym->stype, sym->sdf, sym->sap); in param_32bit()
183 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in param_32bit()
218 q = tempnode(tmpnr, sym->stype, sym->sdf, sym->sap); in param_double()
250 q = tempnode(tmpnr, sym->stype, sym->sdf, sym->sap); in param_float()
264 p = tempnode(0, PTR-FTN+cftnsp->stype, 0, cftnsp->sap); in param_retstruct()
288 sz = tsize(sym->stype, sym->sdf, sym->sap) / SZINT; in param_struct()
333 if (cftnsp->stype == STRTY+FTN || cftnsp->stype == UNIONTY+FTN) { in bfcode()
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/arch/powerpc/
Dcode.c119 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in putintemp()
152 q = block(REG, NIL, NIL, sym->stype, sym->sdf, sym->sap); in param_64bit()
155 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in param_64bit()
174 q = block(REG, NIL, NIL, sym->stype, sym->sdf, sym->sap); in param_32bit()
177 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in param_32bit()
211 t = tempnode(0, sym->stype, sym->sdf, sym->sap); in param_double()
214 INCREF(sym->stype), sym->sdf, sym->sap); in param_double()
217 p = block(UMUL, p, NIL, sym->stype, sym->sdf, sym->sap); in param_double()
261 t = tempnode(0, sym->stype, sym->sdf, sym->sap); in param_float()
263 p = block(REG, NIL, NIL, INCREF(sym->stype), in param_float()
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/arch/amd64/
Dcode.c145 if (ISFTN(sp->stype)) { in defloc()
150 (int)tsize(sp->stype, sp->sdf, sp->sap)/SZCHAR); in defloc()
176 t = DECREF(sp->stype); in efcode()
249 if (cftnsp->stype == STRTY+FTN || cftnsp->stype == UNIONTY+FTN) { in bfcode()
251 if (argtyp(DECREF(sp->stype), sp->sdf, sp->sap) == STRMEM) { in bfcode()
266 ssz = tsize(sp->stype, sp->sdf, sp->sap); in bfcode()
267 switch (typ = argtyp(sp->stype, sp->sdf, sp->sap)) { in bfcode()
274 r = block(REG, NIL, NIL, sp->stype, sp->sdf, sp->sap); in bfcode()
276 p = tempnode(0, sp->stype, sp->sdf, sp->sap); in bfcode()
286 p = tempnode(0, sp->stype, sp->sdf, sp->sap); in bfcode()
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/arch/sparc64/
Dcode.c58 t = sp->stype; in defloc()
66 tsize(sp->stype, sp->sdf, sp->sap) / SZCHAR); in defloc()
92 q = block(REG, NIL, NIL, sym->stype, sym->sdf, sym->sap); in bfcode()
93 q->n_rval = RETREG_PRE(sym->stype) + i; in bfcode()
94 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in bfcode()
104 p = tempnode(0, sym->stype, sym->sdf, sym->sap); in bfcode()

123456