Lines Matching defs:entry

202 						 * entry resides */
636 * Tabulate uid, gid, mode and fflags of a entry in order to be used for /set.
775 mtree_entry_new(struct archive_write *a, struct archive_entry *entry,
788 "Can't allocate memory for a mtree entry");
793 r = mtree_entry_setup_filenames(a, me, entry);
800 if ((s = archive_entry_symlink(entry)) != NULL)
802 me->nlink = archive_entry_nlink(entry);
803 me->filetype = archive_entry_filetype(entry);
804 me->mode = archive_entry_mode(entry) & 07777;
805 me->uid = archive_entry_uid(entry);
806 me->gid = archive_entry_gid(entry);
807 if ((s = archive_entry_uname(entry)) != NULL)
809 if ((s = archive_entry_gname(entry)) != NULL)
811 if ((s = archive_entry_fflags_text(entry)) != NULL)
813 archive_entry_fflags(entry, &me->fflags_set, &me->fflags_clear);
814 me->mtime = archive_entry_mtime(entry);
815 me->mtime_nsec = archive_entry_mtime_nsec(entry);
816 me->rdevmajor = archive_entry_rdevmajor(entry);
817 me->rdevminor = archive_entry_rdevminor(entry);
818 me->devmajor = archive_entry_devmajor(entry);
819 me->devminor = archive_entry_devminor(entry);
820 me->ino = archive_entry_ino(entry);
821 me->size = archive_entry_size(entry);
827 "Can't allocate memory for a mtree entry");
840 "Can't allocate memory for a mtree entry");
868 struct archive_entry *entry)
881 mtree->entry_bytes_remaining = archive_entry_size(entry);
884 if (mtree->dironly && archive_entry_filetype(entry) != AE_IFDIR)
887 r2 = mtree_entry_new(a, entry, &mtree_entry);
917 * pathname of the entry as mtree utility does
1122 * even if the directory entry is not allowed
1181 * Switch to next mtree entry in the directory.
1711 struct archive_entry *entry)
1718 archive_strcpy(&file->pathname, archive_entry_pathname(entry));
1724 const wchar_t *wp = archive_entry_pathname_w(entry);
1880 struct archive_entry *entry;
1884 entry = archive_entry_new();
1885 if (entry == NULL) {
1891 archive_entry_copy_pathname(entry, pathname);
1892 archive_entry_set_mode(entry, AE_IFDIR | 0755);
1893 archive_entry_set_mtime(entry, time(NULL), 0);
1895 r = mtree_entry_new(a, entry, &file);
1896 archive_entry_free(entry);
1949 * Find a entry from a parent entry with the name.
1984 * Add a new entry into the tree.
2025 * If the path of the parent directory of `file' entry is
2026 * the same as the path of `cur_dirent', add `file' entry to
2165 * We have already has the entry the filename of which is
2191 /* Update the existent mtree entry's attributes by the new one's. */