Home
last modified time | relevance | path

Searched refs:vtype (Results 1 – 25 of 104) sorted by relevance

12345

/netbsd/src/external/bsd/pcc/dist/pcc/f77/fcom/
Dexpr.c59 p->vtype = t;
85 p->vtype = TYSHORT;
157 rtype = realp->vtype;
158 itype = imagp->vtype;
187 p->vtype = TYERROR; in errnode()
203 if(t == p->vtype)
206 else if( ISCONST(p) && p->vtype!=TYADDR)
209 consconv(t, &(q->b_const.fconst), p->vtype, &(p->b_const.fconst));
215 q->vtype = t;
261 if(e->vtype == TYCHAR)
[all …]
Dput.c116 if( ISCOMPLEX(p->vtype) ) in realpart()
117 q->vtype += (TYREAL-TYCOMPLEX); in realpart()
129 if( ISCOMPLEX(p->vtype) ) { in imagpart()
131 q->vtype += (TYREAL-TYCOMPLEX); in imagpart()
133 MKICON(typesize[q->vtype])); in imagpart()
135 q = mkrealcon( ISINT(p->vtype) ? TYDREAL : p->vtype , 0.0); in imagpart()
152 type = p->vtype; in putconst()
153 q->vtype = ( type==TYADDR ? TYINT : type ); in putconst()
161 switch(type = p->vtype) { in putconst()
271 fatal1("putconst: bad type %d", p->vtype); in putconst()
Dputscj.c73 #define P2TYPE(x) (types2[(x)->vtype])
180 if( ( k = (p = fixtype(p))->vtype) != TYLOGICAL) { in putif()
215 bigptr x1 = fmktemp(p->vtype, NULL); in prarif()
278 if (!ISINT(x->vtype)) { in putcmgo()
283 y = fmktemp(x->vtype, NULL); in putcmgo()
322 switch(type = q->vtype) { in putx()
349 if( ISCOMPLEX(q->vtype) ) in putx()
363 if (ISCOMPLEX(q->b_expr.leftp->vtype) || in putx()
364 ISCOMPLEX(q->b_expr.rightp->vtype)) { in putx()
374 if (ISCOMPLEX(q->b_expr.leftp->vtype) || in putx()
[all …]
Dio.c271 if(IOSTP->tag!=TADDR || ! ISINT(IOSTP->vtype) ) in endioctl()
390 if(n!=IOSFMT && ( n!=IOSUNIT || (p!=NULL && p->vtype!=TYCHAR) ) )
447 else if(qe->vtype != TYERROR)
451 tp = fmktemp(qe->vtype, qe->vleng);
476 type = addr->vtype;
488 addr->vtype = TYCHAR;
527 q->vtype = TYINT;
550 if( ISINT(p->vtype) ) in startrw()
562 if( ISINT(p->vtype) ) in startrw()
564 else if(p->vtype == TYCHAR) in startrw()
[all …]
Ddata.c177 off = typesize[np->vtype] * curdtelt;
178 if(np->vtype == TYCHAR)
196 if(q->vtype == TYCHAR)
203 else *elenp = typesize[q->vtype];
210 *vlenp = (np->vtype==TYCHAR ?
211 np->vleng->b_const.fconst.ci : typesize[np->vtype]);
259 type = varp->vtype;
260 valtype = valp->vtype;
266 varp->vtype = type = TYCHAR;
Dproc.c279 p->vtype = t;
286 p->vtype = t;
337 type = np->vtype; in doentry()
384 if(q->vtype == TYCHAR) { in doentry()
428 align = (q->vtype==TYCHAR ? ALILONG : typealign[q->vtype]); in dobss()
444 if(q->vtype==TYCHAR && (q->vleng==NULL || !ISICON(q->vleng))) in dobss()
478 leng = typesize[q->vtype];
513 type = v->vtype; in docommon()
592 q->vtype = t; in autovar()
633 if(q->vtype==type && q->b_addr.ntempelt==nelt &&
[all …]
Dexec.c242 p->vtype = p->b_expr.leftp->vtype = TYINT;
265 else if( ISINT(p->vtype) )
272 p->vtype = TYCHAR;
278 else if(p->vtype != TYCHAR)
325 if( ! ONEOF(dovarp->vtype, MSKINT|MSKREAL) )
341 dotype = dovarp->vtype;
346 if( ! ONEOF(p->vtype, MSKINT|MSKREAL) )
513 if( ! ONEOF(p->vtype, MSKINT|MSKADDR) )
532 if( ! ONEOF(expr->vtype, MSKINT|MSKREAL) )
588 if( ! ISINT(p->vtype) )
Dintr.c363 /* TEMPORARY */ if( ISCONST(ep) && ep->vtype==TYSHORT )
365 mtype = maxtype(mtype, ep->vtype);
409 q->vtype = rettype;
463 argsp->vtype = mtype;
466 q->vtype = mtype;
594 q->vtype = TYDREAL; in finline()
/netbsd/src/share/examples/puffs/pgfs/
Dpgfs_subs.c97 fromvtype(enum vtype vtype) in fromvtype() argument
100 if (vtype < __arraycount(vtype_table)) { in fromvtype()
101 assert(vtype_table[vtype] != NULL); in fromvtype()
102 return vtype_table[vtype]; in fromvtype()
660 mkfile(struct Xconn *xc, enum vtype vtype, mode_t mode, uid_t uid, gid_t gid, in mkfile() argument
667 type = fromvtype(vtype); in mkfile()
741 enum vtype vtype, mode_t mode, uid_t uid, gid_t gid, fileid_t *idp) in mklinkfile() argument
746 error = mkfile(xc, vtype, mode, uid, gid, &fileid); in mklinkfile()
762 enum vtype vtype, mode_t mode, uid_t uid, gid_t gid, fileid_t *fileidp, in mklinkfile_lo() argument
770 error = mklinkfile(xc, parent_fileid, name, vtype, mode, uid, gid, in mklinkfile_lo()
[all …]
Dpgfs_subs.h36 enum vtype;
64 int mkfile(struct Xconn *, enum vtype, mode_t, uid_t, gid_t, fileid_t *);
67 int mklinkfile(struct Xconn *, fileid_t, const char *, enum vtype, mode_t,
69 int mklinkfile_lo(struct Xconn *, fileid_t, const char *, enum vtype, mode_t,
/netbsd/src/sys/sys/
Dvnode.h90 enum vtype { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VBAD }; enum
179 enum vtype v_type; /* - vnode type */
258 enum vtype va_type; /* vnode type (for create) */
387 extern const enum vtype iftovt_tab[];
596 void vdevgone(int, int, int, enum vtype);
597 int vfinddev(dev_t, enum vtype, struct vnode **);
660 uint8_t vtype2dt(enum vtype);
/netbsd/src/tests/fs/puffs/h_dtfs/
Ddtfs_vfsops.c44 rtstr(struct puffs_usermount *pu, const char *str, enum vtype vt) in rtstr()
66 rtdev(struct puffs_usermount *pu, const char *str, enum vtype vt) in rtdev()
90 rtnorm(struct puffs_usermount *pu, const char *str, enum vtype vt) in rtnorm()
108 enum vtype vt;
109 int (*pfunc)(struct puffs_usermount *, const char *, enum vtype);
Ddtfs.h103 const struct puffs_cn *, enum vtype);
118 void dtfs_baseattrs(struct vattr *, enum vtype, ino_t);
/netbsd/src/external/cddl/osnet/dist/lib/libnvpair/
Dlibnvpair.c47 #define DEFINEOP(opname, vtype) \ argument
50 const char *, vtype); \
54 #define DEFINEARROP(opname, vtype) \ argument
57 const char *, vtype, uint_t); \
189 #define NVLIST_PRTFUNC(type_and_variant, vtype, ptype, vfmt) \ argument
192 nvlist_t *nvl, const char *name, vtype value) \
222 #define NVLIST_ARRPRTFUNC(type_and_variant, vtype, ptype, vfmt) \ argument
225 nvlist_t *nvl, const char *name, vtype *valuep, uint_t count) \
420 #define NVLIST_PRINTCTL_REPLACE(type, vtype) \ argument
423 int (*func)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype), \
[all …]
Dlibnvpair.h172 #define NVLIST_PRINTCTL_AVDECL(funcname, vtype) \ argument
174 int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype, uint_t), \
/netbsd/src/sys/arch/sparc64/include/
Dctlreg.h497 #define SPARC64_LD_DEF(ld, type, vtype) \ argument
500 vtype _v; \
511 #define SPARC64_LD_DEF(ld, type, vtype) \ argument
514 vtype _v; \
569 #define SPARC64_LD_DEF(ld, type, vtype) \ argument
572 vtype _v; \
637 #define SPARC64_LD_DEF(ld, type, vtype) \ argument
640 vtype _v; \
/netbsd/src/sys/ufs/ufs/
Dufs_quota2.c435 quota2_check(struct inode *ip, int vtype, int64_t change, kauth_cred_t cred, in quota2_check() argument
471 q2vp = &q2e[i]->q2e_val[vtype]; in quota2_check()
491 quota2_ufs_rwq2v(&q2e[i]->q2e_val[vtype], &q2v, needswap); in quota2_check()
497 KAUTH_ARG(i), KAUTH_ARG(vtype), NULL) != 0) { in quota2_check()
501 if ((dq->dq_flags & DQ_WARN(vtype)) == 0) { in quota2_check()
505 quotatypes[i], limnames[vtype]); in quota2_check()
506 dq->dq_flags |= DQ_WARN(vtype); in quota2_check()
511 if ((dq->dq_flags & DQ_WARN(vtype)) == 0) { in quota2_check()
515 quotatypes[i], limnames[vtype]); in quota2_check()
516 dq->dq_flags |= DQ_WARN(vtype); in quota2_check()
[all …]
/netbsd/src/sys/ufs/lfs/
Dulfs_quota2.c438 quota2_check(struct inode *ip, int vtype, int64_t change, kauth_cred_t cred, in quota2_check() argument
475 q2vp = &q2e[i]->q2e_val[vtype]; in quota2_check()
495 lfsquota2_ulfs_rwq2v(&q2e[i]->q2e_val[vtype], &q2v, needswap); in quota2_check()
501 KAUTH_ARG(i), KAUTH_ARG(vtype), NULL) != 0) { in quota2_check()
505 if ((dq->dq_flags & DQ_WARN(vtype)) == 0) { in quota2_check()
509 lfs_quotatypes[i], limnames[vtype]); in quota2_check()
510 dq->dq_flags |= DQ_WARN(vtype); in quota2_check()
515 if ((dq->dq_flags & DQ_WARN(vtype)) == 0) { in quota2_check()
519 lfs_quotatypes[i], limnames[vtype]); in quota2_check()
520 dq->dq_flags |= DQ_WARN(vtype); in quota2_check()
[all …]
/netbsd/src/lib/libpuffs/
Dpuffs.h506 enum vtype, size_t, dev_t);
534 void puffs_newinfo_setvtype(struct puffs_newinfo *, enum vtype);
579 int puffs_vtype2dt(enum vtype);
580 enum vtype puffs_mode2vt(mode_t);
582 mode_t puffs_addvtype2mode(mode_t, enum vtype);
603 int puffs_access(enum vtype, mode_t, uid_t, gid_t, mode_t,
607 int puffs_access_chmod(uid_t, gid_t, enum vtype, mode_t,
Dsubr.c232 puffs_vtype2dt(enum vtype vt) in puffs_vtype2dt()
241 enum vtype
291 puffs_addvtype2mode(mode_t mode, enum vtype type) in puffs_addvtype2mode()
/netbsd/src/external/cddl/osnet/sys/kern/
Dddi.c611 enum vtype vtype; in ddi_create_minor_node() local
619 vtype = VCHR; in ddi_create_minor_node()
623 vtype = VBLK; in ddi_create_minor_node()
643 if (error == 0 && vp->v_type == vtype && sb.st_rdev == dev) { in ddi_create_minor_node()
/netbsd/src/sys/fs/nfs/common/
Dnfs_commonacl.c40 enum vtype type, acl_perm_t *permp);
189 enum vtype type, acl_perm_t *permp) in nfsrv_acemasktoperm()
279 enum vtype, int, int, struct acl_entry *);
286 enum vtype type, int group, int owner, struct acl_entry *ace) in nfsrv_buildace()
394 nfsrv_buildacl(struct nfsrv_descript *nd, NFSACL_T *aclp, enum vtype type, in nfsrv_buildacl()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/pkcs12/
Dp12_sbag.c116 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_secret(int type, int vtype, const unsigned char *value, int l… in PKCS12_SAFEBAG_create_secret() argument
127 switch(vtype) { in PKCS12_SAFEBAG_create_secret()
148 ASN1_TYPE_set(bag->value.other, vtype, strtmp); in PKCS12_SAFEBAG_create_secret()
/netbsd/src/sys/fs/puffs/
Dpuffs_node.c57 puffs_getvnode1(struct mount *mp, puffs_cookie_t ck, enum vtype type, in puffs_getvnode1()
135 puffs_getvnode(struct mount *mp, puffs_cookie_t ck, enum vtype type, in puffs_getvnode()
146 enum vtype type, dev_t rdev) in puffs_newnode()
/netbsd/src/sys/coda/
Dcoda_vfsops.c528 int vtype; in coda_fhtovp() local
541 error = venus_fhtovp(vftomi(vfsp), &cfid->cfid_fid, l->l_cred, l->l_proc, &VFid, &vtype); in coda_fhtovp()
549 coda_f2s(&VFid), vtype, error)); ) in coda_fhtovp()
551 cp = make_coda_node(&VFid, vfsp, vtype); in coda_fhtovp()

12345