• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/libarchive/libarchive/

Lines Matching refs:keys

138 		int		keys;
172 int keys;
442 int keys, oldkeys, effkeys;
446 keys = mtree->keys & SET_KEYS;
447 oldkeys = mtree->set.keys;
448 effkeys = keys;
488 keys &= ~(F_UNAME | F_UID);
490 keys &= ~(F_GNAME | F_GID);
492 keys &= ~F_MODE;
494 keys &= ~F_FLAGS;
496 if ((keys & effkeys & F_TYPE) != 0) {
505 if ((keys & effkeys & F_UNAME) != 0) {
510 keys &= ~F_UNAME;
515 if ((keys & effkeys & F_UID) != 0) {
520 if ((keys & effkeys & F_GNAME) != 0) {
525 keys &= ~F_GNAME;
530 if ((keys & effkeys & F_GID) != 0) {
535 if ((keys & effkeys & F_MODE) != 0) {
540 if ((keys & effkeys & F_FLAGS) != 0) {
551 keys &= ~F_FLAGS;
562 mtree->set.keys = keys;
643 int keys = mtree->keys;
645 if (keys & (F_UNAME | F_UID)) {
661 if (keys & (F_GNAME | F_GID)) {
677 if (keys & F_MODE) {
693 if (keys & F_FLAGS) {
729 int keys;
731 keys = mtree->keys;
737 if (mtree->set.keys == 0)
738 return (keys);/* /set is not used. */
740 if ((mtree->set.keys & (F_GNAME | F_GID)) != 0 &&
742 keys &= ~(F_GNAME | F_GID);
743 if ((mtree->set.keys & (F_UNAME | F_UID)) != 0 &&
745 keys &= ~(F_UNAME | F_UID);
746 if (mtree->set.keys & F_FLAGS) {
749 keys &= ~F_FLAGS;
751 if ((mtree->set.keys & F_MODE) != 0 && mtree->set.mode == me->mode)
752 keys &= ~F_MODE;
759 if ((mtree->set.keys & F_TYPE) != 0 &&
761 keys &= ~F_TYPE;
765 if ((mtree->set.keys & F_TYPE) != 0 &&
767 keys &= ~F_TYPE;
771 return (keys);
877 if ((mtree->keys & SET_KEYS) == 0)
911 int keys, ret;
947 keys = get_global_set_keys(mtree, me);
948 if ((keys & F_NLINK) != 0 &&
952 if ((keys & F_GNAME) != 0 && archive_strlen(&me->gname) > 0) {
956 if ((keys & F_UNAME) != 0 && archive_strlen(&me->uname) > 0) {
960 if ((keys & F_FLAGS) != 0) {
965 (mtree->set.keys & F_FLAGS) != 0)
969 if ((keys & F_TIME) != 0)
972 if ((keys & F_MODE) != 0)
974 if ((keys & F_GID) != 0)
976 if ((keys & F_UID) != 0)
979 if ((keys & F_INO) != 0)
981 if ((keys & F_RESDEV) != 0) {
990 if ((keys & F_TYPE) != 0)
992 if ((keys & F_SLINK) != 0) {
998 if ((keys & F_TYPE) != 0)
1002 if ((keys & F_TYPE) != 0)
1004 if ((keys & F_DEV) != 0) {
1012 if ((keys & F_TYPE) != 0)
1014 if ((keys & F_DEV) != 0) {
1022 if ((keys & F_TYPE) != 0)
1026 if ((keys & F_TYPE) != 0)
1031 if ((keys & F_TYPE) != 0)
1033 if ((keys & F_SIZE) != 0)
1363 mtree->keys |= keybit;
1365 mtree->keys &= ~keybit;
1395 mtree->keys = DEFAULT_KEYS;
1450 if (mtree->keys & F_CKSUM) {
1456 if (mtree->keys & F_MD5) {
1460 mtree->keys &= ~F_MD5;/* Not supported. */
1464 if (mtree->keys & F_RMD160) {
1468 mtree->keys &= ~F_RMD160;/* Not supported. */
1472 if (mtree->keys & F_SHA1) {
1476 mtree->keys &= ~F_SHA1;/* Not supported. */
1480 if (mtree->keys & F_SHA256) {
1484 mtree->keys &= ~F_SHA256;/* Not supported. */
1488 if (mtree->keys & F_SHA384) {
1492 mtree->keys &= ~F_SHA384;/* Not supported. */
1496 if (mtree->keys & F_SHA512) {
1500 mtree->keys &= ~F_SHA512;/* Not supported. */