Home
last modified time | relevance | path

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

1234

/titanic_41/usr/src/lib/libpkg/common/
H A Dputcfile.c54 if (a_ept->ftype == 'i') { in putcfile()
84 if (putc(a_ept->ftype, a_fp) == EOF) { in putcfile()
96 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()
151 (a_ept->ftype == 'e')) { in putcfile()
224 if (a_ept->ftype == 'i') { 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.c74 static int clear_target(char *path, char *ftype, int is_a_dir);
144 cverify(int fix, char *ftype, char *path, struct cinfo *cinfo, in cverify() argument
155 setval = (*ftype == '?'); in cverify()
340 clear_target(char *path, char *ftype, int is_a_dir) in clear_target() argument
346 if ((*ftype != 'd') && (*ftype != 'x')) { in clear_target()
385 averify(int fix, char *ftype, char *path, struct ainfo *ainfo) in averify() argument
404 setval = (*ftype == '?'); in averify()
412 if (*ftype == 'l') { in averify()
462 if (!clear_target(path, ftype, targ_is_dir)) in averify()
495 if ((*ftype == 's') ? lstat(path, &status) : in averify()
[all …]
H A Dgpkgmap.c141 ept->ftype = BADFTYPE; in gpkgmap()
211 ept->ftype = (char)c; in gpkgmap()
233 if (ept->ftype == 'i') { in gpkgmap()
262 ept->ftype = (char)c; in gpkgmap()
277 if (ept->ftype == 's' || ept->ftype == 'l') { in gpkgmap()
286 } else if (strchr("sl", ept->ftype)) { in gpkgmap()
302 if (strchr("sl", ept->ftype) && (ept->ainfo.local == NULL)) { in gpkgmap()
307 if (strchr("cb", ept->ftype)) { in gpkgmap()
327 if (strchr("cbdxpfve", ept->ftype)) { in gpkgmap()
373 if (strchr("ifve", ept->ftype)) { in gpkgmap()
[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()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dpkgdbmerg.c136 if ((el_ent->cf_ent.ftype == 'i') || in pkgdbmerg()
137 (el_ent->cf_ent.ftype == 'n')) { in pkgdbmerg()
252 if ((cf_ent.ftype == 's') && in pkgdbmerg()
253 (el_ent->cf_ent.ftype == 'd')) { in pkgdbmerg()
330 if (el_ent->cf_ent.ftype == RM_RDY) { in do_like_ent()
384 if ((nocnflct && el_ent->mstat.shared && el_ent->cf_ent.ftype != 'e')) { in do_like_ent()
528 if (el_ent->cf_ent.ftype == RM_RDY) { in do_new_ent()
562 if (el_ent->cf_ent.ftype == 'd') { in do_new_ent()
649 if ((el_ent->cf_ent.ftype == 'f') || (el_ent->cf_ent.ftype == 'e') || in set_change()
650 (el_ent->cf_ent.ftype == 'v')) { in set_change()
[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 …]
/titanic_41/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 || \
329 (ftype) == KCF_OP_MAC_VERIFY_DECRYPT_ATOMIC || \
330 (ftype) == KCF_OP_SIGN_RECOVER_ATOMIC || \
331 (ftype) == KCF_OP_VERIFY_RECOVER_ATOMIC)
368 #define KCF_WRAP_DIGEST_OPS_PARAMS(req, ftype, _sid, _mech, _key, \ argument
[all …]
/titanic_41/usr/src/cmd/svr4pkg/pkgchk/
H A Dckentry.c70 if (ept->ftype != 'i') { in ckentry()
77 if (strchr("sl", ept->ftype)) { in ckentry()
82 if (ept->ftype == 'l') /* Hard Link */ in ckentry()
90 if (!strchr("isl", ept->ftype)) { in ckentry()
104 if (strchr("dxslcbp", ept->ftype)) in ckentry()
124 if (!strchr("in", ept->ftype)) { in ckentry()
126 if (a_err = averify(fflag, &ept->ftype, in ckentry()
140 c_err = cverify((!fflag ? (-1) : fflag), &ept->ftype, path, in ckentry()
149 if (aflag && !strchr("in", ept->ftype)) { in ckentry()
151 if (a_err = averify(fflag, &ept->ftype, ept->path, in ckentry()
[all …]
/titanic_41/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()
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/
H A Dinstvol.c98 cverify(0, &p->ftype, s, &p->cinfo, 1))
268 ((ept->ftype == 'e') || (ept->ftype == 'v')) && in instvol()
315 ((ept->ftype == 'e') || in instvol()
316 (ept->ftype == 'n'))) { in instvol()
399 ((ept->ftype == 'e') || (ept->ftype == 'v') && in instvol()
508 if ((ept->ftype != 'e') && in instvol()
509 (ept->ftype != 'v') && in instvol()
679 cverify(1, &ept->ftype, ept->path, in instvol()
941 if (nocnflct && mstat->shared && ept->ftype != 'e') { in domerg()
968 switch (ept->ftype) { in domerg()
[all …]
/titanic_41/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()
/titanic_41/usr/src/cmd/bart/
H A Dcreate.c420 char last_field[PATH_MAX], ftype, *acl_str; in eval_file() local
427 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()
445 case S_IFDOOR: ftype = 'O'; break; in eval_file()
448 case S_IFLNK: ftype = 'L'; break; in eval_file()
450 default: ftype = '-'; break; in eval_file()
[all …]
/titanic_41/usr/src/ucbcmd/ls/
H A Dls.c47 char ftype; /* file type, e.g. 'd', 'c', 'f' */ member
195 for (fp = fp0; fp < fplast && fp->ftype != 'd'; fp++) in main()
241 if (fp->ftype != 'd' || in formatd()
333 fp->ftype = '-'; in gstat()
353 fp->ftype = 'd'; break; in gstat()
355 fp->ftype = 'D'; break; in gstat()
357 fp->ftype = 'b'; fp->fsize = (off_t)stb.st_rdev; break; in gstat()
359 fp->ftype = 'c'; fp->fsize = (off_t)stb.st_rdev; break; in gstat()
361 fp->ftype = 's'; fp->fsize = 0LL; break; in gstat()
363 fp->ftype = 'p'; fp->fsize = 0LL; break; in gstat()
[all …]
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dplural_parser.c461 unsigned int flag, ftype, fprio, fopnum, tmp_flag; in plural_expr() local
479 ftype = GETTYPE(flag); in plural_expr()
483 printf(" flag: %s\n", type_name[ftype]); in plural_expr()
494 if (ftype != T_EXP) { in plural_expr()
515 if (ftype != T_EXP) { in plural_expr()
535 if (ftype != T_EXP) { in plural_expr()
556 if (ftype == T_EXP) { in plural_expr()
577 if (ftype != T_EXP) { in plural_expr()
649 if (ftype == T_EXP) { in plural_expr()
672 ftype = GETTYPE(flag); in plural_expr()
[all …]
/titanic_41/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);
/titanic_41/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 …]
/titanic_41/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()
740 if ( (rc = ber_printf( ber, "t{", ftype )) == -1 ) { in put_simple_filter()
765 ftype = LDAP_FILTER_EQUALITY; in put_simple_filter()
767 ftype = LDAP_FILTER_PRESENT; in put_simple_filter()
775 if ( ftype == LDAP_FILTER_PRESENT ) { in put_simple_filter()
776 rc = ber_printf( ber, "ts", ftype, str ); in put_simple_filter()
[all …]
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A Dcompat.h82 #define getmodsize(size, ftype, ttype) \ argument
83 (((size / ftype) * ttype) + (size % ftype))
/titanic_41/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)))
/titanic_41/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)

1234