Home
last modified time | relevance | path

Searched refs:ftype (Results 1 – 25 of 107) sorted by relevance

12345

/illumos-gate/usr/src/lib/libpkg/common/
H A Dputcfile.c96 if ((a_ept->ftype == 'c') || (a_ept->ftype == 'b')) { in putcfile()
124 if ((a_ept->ftype == 'd') || (a_ept->ftype == 'x') || in putcfile()
125 (a_ept->ftype == 'c') || (a_ept->ftype == 'b') || in putcfile()
126 (a_ept->ftype == 'p') || (a_ept->ftype == 'f') || in putcfile()
127 (a_ept->ftype == 'v') || (a_ept->ftype == 'e')) { in putcfile()
150 if ((a_ept->ftype == 'f') || (a_ept->ftype == 'v') || in putcfile()
292 if ((a_ept->ftype == 'c') || (a_ept->ftype == 'b')) { in putcvfpfile()
314 if ((a_ept->ftype == 'd') || (a_ept->ftype == 'x') || in putcvfpfile()
315 (a_ept->ftype == 'c') || (a_ept->ftype == 'b') || in putcvfpfile()
316 (a_ept->ftype == 'p') || (a_ept->ftype == 'f') || in putcvfpfile()
[all …]
H A Dsrchcfile.c160 ept->ftype = BADFTYPE; in srchcfile()
287 ept->ftype = (char)c; in srchcfile()
318 if (((ept->ftype == 's') || (ept->ftype == 'l')) && in srchcfile()
326 if (((ept->ftype == 'c') || (ept->ftype == 'b'))) { in srchcfile()
338 if ((ept->ftype == 'd') || (ept->ftype == 'x') || (ept->ftype == 'c') || in srchcfile()
339 (ept->ftype == 'b') || (ept->ftype == 'p') || in srchcfile()
340 (ept->ftype == 'f') || (ept->ftype == 'v') || in srchcfile()
341 (ept->ftype == 'e')) { in srchcfile()
355 if ((ept->ftype == 'i') || (ept->ftype == 'f') || in srchcfile()
356 (ept->ftype == 'v') || (ept->ftype == 'e')) { in srchcfile()
[all …]
H A Dverify.c155 setval = (*ftype == '?'); in cverify()
346 if ((*ftype != 'd') && (*ftype != 'x')) { in clear_target()
404 setval = (*ftype == '?'); in averify()
412 if (*ftype == 'l') { in averify()
562 *ftype = myftype; in averify()
603 if ((*ftype == 'd') || (*ftype == 'x')) { in averify()
630 } else if (*ftype == 's') { in averify()
637 } else if (*ftype == 'c') { in averify()
710 if (*ftype == 's') in averify()
712 if (*ftype == 'i') in averify()
[all …]
H A Dgpkgmap.c145 ept->ftype = BADFTYPE; in gpkgmap()
283 if (ept->ftype == 's' || ept->ftype == 'l') { in gpkgmap()
808 if (ept->ftype == 's' || ept->ftype == 'l') { in gpkgmapvfp()
817 } else if ((ept->ftype == 's') || (ept->ftype == 'l')) { in gpkgmapvfp()
834 if (((ept->ftype == 's') || (ept->ftype == 'l')) && in gpkgmapvfp()
840 if (((ept->ftype == 'c') || (ept->ftype == 'b'))) { in gpkgmapvfp()
863 if ((ept->ftype == 'd') || (ept->ftype == 'x') || (ept->ftype == 'c') || in gpkgmapvfp()
864 (ept->ftype == 'b') || (ept->ftype == 'p') || in gpkgmapvfp()
865 (ept->ftype == 'f') || (ept->ftype == 'v') || in gpkgmapvfp()
914 if ((ept->ftype == 'i') || (ept->ftype == 'f') || in gpkgmapvfp()
[all …]
H A Dppkgmap.c53 if (ept->ftype == 'i') { in ppkgmap()
54 if (fprintf(fp, "%c %s", ept->ftype, ept->path) < 0) in ppkgmap()
57 if (fprintf(fp, "%c %s %s", ept->ftype, ept->pkg_class, in ppkgmap()
67 if (strchr("cb", ept->ftype)) { in ppkgmap()
84 if (strchr("dxcbpfve", ept->ftype)) { in ppkgmap()
98 if (strchr("ifve", ept->ftype)) { in ppkgmap()
111 if (ept->ftype == 'i') { in ppkgmap()
H A Dckvolseq.c49 char ftype, path[PATH_MAX]; in ckvolseq() local
52 ftype = 'f'; in ckvolseq()
60 if (cverify(0, &ftype, path, &cinfo, 1)) { in ckvolseq()
76 if (cverify(0, &ftype, path, &cinfo, 1)) { in ckvolseq()
H A Dtputcfent.c59 switch (ept->ftype) { in tputcfent()
91 (ept->ftype == 'b') ? pkg_gt("block") : in tputcfent()
129 if (!strchr("lsin", ept->ftype)) { in tputcfent()
142 if (strchr("?infv", ept->ftype)) { in tputcfent()
159 if (ept->ftype == 'i') { in tputcfent()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpkgdbmerg.c647 if ((el_ent->cf_ent.ftype == 'f') || (el_ent->cf_ent.ftype == 'e') || in set_change()
686 return (((ent->ftype == 'f') || (ent->ftype == 'v') || in is_setuid()
696 return (((ent->ftype == 'f') || (ent->ftype == 'v') || in is_setgid()
730 if (cf_ent->ftype == el_ent->ftype) in typechg()
738 cf_ent->ftype = el_ent->ftype; in typechg()
751 if (el_ent->ftype == 'x' && cf_ent->ftype == 'd') { in typechg()
858 el_ent->cf_ent.ftype = cf_ent->ftype; in merg()
866 if (cf_ent->ftype != el_ent->cf_ent.ftype) { in merg()
922 if (((el_ent->cf_ent.ftype == 's') || (el_ent->cf_ent.ftype == 'l'))) { in merg()
1066 if (((ent->ftype == 's') || (ent->ftype == 'l'))) { in output()
[all …]
H A Dfinalck.c82 echoDebug(DBG_FINALCK_EXIT, errflg, ept->ftype, in finalck()
101 echoDebug(DBG_FINALCK_ERROR, attrchg, contchg, ept->ftype, in finalck_error()
110 n = averify(1, &ept->ftype, ept->path, &ept->ainfo); in finalck_error()
124 if (contchg && strchr("fev", ept->ftype)) { in finalck_error()
135 n = cverify(1, &ept->ftype, ept->path, &ept->cinfo, 1); in finalck_error()
159 echoDebug(DBG_FINALCK_WARNING, attrchg, contchg, ept->ftype, in finalck_warning()
170 n = averify(1, &ept->ftype, ept->path, &ept->ainfo); in finalck_warning()
184 if (contchg && strchr("fev", ept->ftype)) { in finalck_warning()
195 n = cverify(1, &ept->ftype, ept->path, &ept->cinfo, 1); in finalck_warning()
H A Dprocmap.c99 if (nc >= 0 && ept->ftype != 'i') in procassign()
113 if ((mapflag > 1) && strchr("fve", ept->ftype)) { in procassign()
130 if (mapflag && (ept->ftype != 'i')) { in procassign()
145 if (strchr("sl", ept->ftype)) { in procassign()
152 if (ept->ftype == 'l') { in procassign()
373 if (!strchr("?dx", ept1->ftype)) in ckdup()
376 if (!strchr("?dx", ept2->ftype)) in ckdup()
H A Dpkgobjmap.c103 if (nc >= 0 && ept->ftype != 'i') in pkgobjassign()
117 if ((mapflag > 1) && strchr("fve", ept->ftype)) { in pkgobjassign()
135 if (mapflag && (ept->ftype != 'i')) { in pkgobjassign()
150 if (strchr("sl", ept->ftype)) { in pkgobjassign()
157 if (ept->ftype == 'l') { in pkgobjassign()
490 if (strchr("dxs", ext->cf_ent.ftype)) in nblks()
558 if (strchr("?dx", ept1->ftype)) in dup_merg()
561 if (strchr("?dx", ept2->ftype)) in dup_merg()
614 if (!strchr("?dx", ept1->ftype)) in ckdup()
617 if (!strchr("?dx", ept2->ftype)) in ckdup()
[all …]
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dops_impl.h323 #define IS_INIT_OP(ftype) ((ftype) == KCF_OP_INIT) argument
324 #define IS_SINGLE_OP(ftype) ((ftype) == KCF_OP_SINGLE) argument
325 #define IS_UPDATE_OP(ftype) ((ftype) == KCF_OP_UPDATE) argument
326 #define IS_FINAL_OP(ftype) ((ftype) == KCF_OP_FINAL) argument
327 #define IS_ATOMIC_OP(ftype) ( \ argument
328 (ftype) == KCF_OP_ATOMIC || (ftype) == KCF_OP_MAC_VERIFY_ATOMIC || \
374 (req)->rp_optype = ftype; \
391 (req)->rp_optype = ftype; \
409 (req)->rp_optype = ftype; \
427 (req)->rp_optype = ftype; \
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dckentry.c69 if (ept->ftype != 'i') { in ckentry()
76 if (strchr("sl", ept->ftype)) { in ckentry()
81 if (ept->ftype == 'l') /* Hard Link */ in ckentry()
89 if (!strchr("isl", ept->ftype)) { in ckentry()
103 if (strchr("dxslcbp", ept->ftype)) in ckentry()
123 if (!strchr("in", ept->ftype)) { in ckentry()
125 if (a_err = averify(fflag, &ept->ftype, in ckentry()
148 if (aflag && !strchr("in", ept->ftype)) { in ckentry()
167 (!nflag || ept->ftype != 'e')) { in ckentry()
186 if (xflag && (ept->ftype == 'x')) { in ckentry()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dinstvol.c271 ((ept->ftype == 'e') || (ept->ftype == 'v')) && in instvol()
402 ((ept->ftype == 'e') || (ept->ftype == 'v') && in instvol()
512 (ept->ftype != 'v') && in instvol()
971 switch (ept->ftype) { in domerg()
1046 ((ept->ftype == 'e') || (ept->ftype == 'v')))) { in domerg()
1048 if ((ept->ftype == 'f') || (ept->ftype == 'e') || in domerg()
1049 (ept->ftype == 'v')) { in domerg()
1107 ept->ftype, in domerg()
1384 ((ept->ftype == 'e') || (ept->ftype == 'v')) && in endofclass()
1470 if (ept->ftype == 'i' || ept->ftype == 'e' || in fix_attributes()
[all …]
/illumos-gate/usr/src/tools/protolist/
H A Dprotolist.c46 char ftype; in visit_dir() local
108 ftype = 'c'; in visit_dir()
111 ftype = 'd'; in visit_dir()
116 ftype = 'b'; in visit_dir()
119 ftype = 'f'; in visit_dir()
125 ftype = 's'; in visit_dir()
128 ftype = '?'; in visit_dir()
145 ftype, name, symsrc, st->st_mode % 010000, uid, gid, in visit_dir()
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Dinstallf.c182 ept->ftype = ((n >= argc) ? 'l' : argv[n++][0]); in validate()
200 if (!strchr("sl", ept->ftype)) { in validate()
201 progerr(gettext(ERR_LINKFTYPE), ept->ftype, ept->path); in validate()
216 ept->ftype = argv[n++][0]; in validate()
217 if (strchr("sl", ept->ftype)) { in validate()
220 } else if (!strchr("?fvedxcbp", ept->ftype)) { in validate()
221 progerr(gettext(ERR_FTYPE), ept->ftype, ept->path); in validate()
225 if (ept->ftype == 'b' || ept->ftype == 'c') { in validate()
259 if (strchr("dxbcp", ept->ftype) && !allspec) { in validate()
261 progerr(gettext(ERR_SPECALL), ept->ftype); in validate()
/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c427 case S_IFREG: ftype = 'F'; break; in eval_file()
430 case S_IFDIR: ftype = 'D'; break; in eval_file()
433 case S_IFBLK: ftype = 'B'; break; in eval_file()
436 case S_IFCHR: ftype = 'C'; break; in eval_file()
439 case S_IFIFO: ftype = 'P'; break; in eval_file()
442 case S_IFSOCK: ftype = 'S'; break; in eval_file()
448 case S_IFLNK: ftype = 'L'; break; in eval_file()
450 default: ftype = '-'; break; in eval_file()
469 if (ftype == 'F') { in eval_file()
497 if (ftype == 'L') { in eval_file()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_generic_init.c140 unsigned ftype = 0; in dwarf_init_path() local
174 switch(ftype) { in dwarf_init_path()
178 ftype,endian,offsetsize,filesize, in dwarf_init_path()
195 ftype,endian,offsetsize,filesize, in dwarf_init_path()
212 ftype,endian,offsetsize,filesize, in dwarf_init_path()
244 unsigned ftype = 0; in dwarf_init_b() local
254 res = dwarf_object_detector_fd(fd, &ftype, in dwarf_init_b()
262 switch(ftype) { in dwarf_init_b()
267 ftype,endian,offsetsize,filesize, in dwarf_init_b()
279 ftype,endian,offsetsize,filesize, in dwarf_init_b()
[all …]
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c239 if (fp->ftype != 'd' || in formatd()
331 fp->ftype = '-'; in gstat()
351 fp->ftype = 'd'; break; in gstat()
353 fp->ftype = 'D'; break; in gstat()
363 fp->ftype = 'l'; in gstat()
410 fp->ftype = 'd'; in gstat()
635 if (fp->ftype == 'd') in fmtentry()
637 else if (fp->ftype == 'D') in fmtentry()
698 if (p->ftype == 'b' || p->ftype == 'c') in fmtlstuff()
701 else if (p->ftype == 's') in fmtlstuff()
[all …]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dplural_parser.c472 ftype = GETTYPE(flag); in plural_expr()
487 if (ftype != T_EXP) { in plural_expr()
508 if (ftype != T_EXP) { in plural_expr()
528 if (ftype != T_EXP) { in plural_expr()
549 if (ftype == T_EXP) { in plural_expr()
570 if (ftype != T_EXP) { in plural_expr()
642 if (ftype == T_EXP) { in plural_expr()
665 ftype = GETTYPE(flag); in plural_expr()
666 if ((ftype == T_INIT) || (ftype == T_LPAR)) { in plural_expr()
678 if (ftype == T_EXP) { in plural_expr()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_auto.c24 opcode, name, uid, id, ftype) in __log_register_log() argument
33 DBTYPE ftype;
54 + sizeof(ftype);
89 memcpy(bp, &ftype, sizeof(ftype));
90 bp += sizeof(ftype);
154 printf("\tftype: 0x%lx\n", (u_long)argp->ftype);
196 memcpy(&argp->ftype, bp, sizeof(argp->ftype));
197 bp += sizeof(argp->ftype);
/illumos-gate/usr/src/cmd/svr4pkg/pkgproto/
H A Dmain.c183 entry.ftype = '?'; in output()
194 entry.ftype = '?'; in output()
195 if (cverify(0, &entry.ftype, path, &entry.cinfo, 1)) { in output()
210 if ((s = averify(0, &entry.ftype, path, &entry.ainfo)) == VE_EXIST && in output()
212 entry.ftype = 's'; /* try again assuming symlink */ in output()
217 if (averify(0, &entry.ftype, path, &entry.ainfo)) { in output()
237 if (strchr("fev", entry.ftype)) { in output()
256 if (strchr("dcbp", entry.ftype) || in output()
257 (nflag && !strchr("sl", entry.ftype))) in output()
458 ept->ftype = 's'; in findlink()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsearch.c671 ber_uint_t ftype; in put_simple_filter() local
701 ftype = LDAP_FILTER_LE; in put_simple_filter()
704 ftype = LDAP_FILTER_GE; in put_simple_filter()
707 ftype = LDAP_FILTER_APPROX; in put_simple_filter()
718 ftype = LDAP_FILTER_EXTENDED; in put_simple_filter()
765 ftype = LDAP_FILTER_EQUALITY; in put_simple_filter()
767 ftype = LDAP_FILTER_PRESENT; in put_simple_filter()
877 ber_uint_t ftype; in put_substring_filter() local
893 ftype = LDAP_SUBSTRING_INITIAL; in put_substring_filter()
895 ftype = LDAP_SUBSTRING_FINAL; in put_substring_filter()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/mp/
H A Dmp_bh.c87 if (mfp->ftype != 0) {
91 if (mpreg->ftype == mfp->ftype)
223 ret = mfp->ftype == 0 ? 0 : __memp_pg(dbmfp, bhp, 1);
329 if (mfp->ftype == 0)
469 int ftype, ret; local
476 ftype = mfp->ftype;
479 if (ftype != mpreg->ftype)
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dnfs_inet.h98 ftype type2;
109 union _nfs_ftype ftype; member
121 ((cf)->ftype.type2 == NFDIR) : \
123 ((cf)->ftype.type3 == NF3DIR) : \
125 ((cf)->ftype.type4 == NF4DIR) : 0)))
128 ((cf)->ftype.type2 == NFLNK) : \
130 ((cf)->ftype.type3 == NF3LNK) : \
132 ((cf)->ftype.type4 == NF4LNK) : 0)))

12345