Searched refs:entry (Results 1 - 25 of 1421) sorted by last modified time

1234567891011>>

/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_compression_store.c79 struct archive_entry *entry; local
84 assert((entry = archive_entry_new()) != NULL);
85 archive_entry_set_pathname(entry, file_name);
86 archive_entry_set_mode(entry, S_IFREG | 0644);
87 archive_entry_set_size(entry, sizeof(file_data1) + sizeof(file_data2));
88 archive_entry_set_uid(entry, file_uid);
89 archive_entry_set_gid(entry, file_gid);
90 archive_entry_set_mtime(entry, now, 0);
91 archive_entry_set_atime(entry, now + 3, 0);
92 assertEqualIntA(a, 0, archive_write_header(a, entry));
[all...]
H A Dtest_write_format_cpio_odc.c48 struct archive_entry *entry; local
67 assert((entry = archive_entry_new()) != NULL);
68 archive_entry_set_mtime(entry, 1, 10);
69 archive_entry_set_pathname(entry, "file");
70 archive_entry_set_mode(entry, S_IFREG | 0664);
71 archive_entry_set_size(entry, 10);
72 archive_entry_set_uid(entry, 80);
73 archive_entry_set_gid(entry, 90);
74 archive_entry_set_dev(entry, 12);
75 archive_entry_set_ino(entry, 8
[all...]
H A Dtest_short_writes.c133 struct archive_entry *entry; local
134 assert((entry = archive_entry_new()) != NULL);
136 archive_entry_set_pathname(entry, name);
137 archive_entry_set_mode(entry, AE_IFREG | 0755);
138 archive_entry_set_size(entry, len);
141 archive_write_header(checker->short_archive, entry));
146 archive_write_header(checker->full_archive, entry));
150 archive_entry_free(entry);
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_cpio_odc.c176 synthesize_ino_value(struct cpio *cpio, struct archive_entry *entry) argument
178 int64_t ino = archive_entry_ino64(entry);
192 if (archive_entry_nlink(entry) < 2) {
248 archive_write_odc_header(struct archive_write *a, struct archive_entry *entry) argument
253 if (archive_entry_filetype(entry) == 0 && archive_entry_hardlink(entry) == NULL) {
258 if (archive_entry_pathname_l(entry, &path, &len, get_sconv(a)) != 0
269 if (!archive_entry_size_is_set(entry) || archive_entry_size(entry) < 0) {
273 return write_header(a, entry);
277 write_header(struct archive_write *a, struct archive_entry *entry) argument
[all...]
H A Darchive_write_set_format_cpio_binary.c279 synthesize_ino_value(struct cpio *cpio, struct archive_entry *entry) argument
281 int64_t ino = archive_entry_ino64(entry);
295 if (archive_entry_nlink(entry) < 2) {
351 archive_write_binary_header(struct archive_write *a, struct archive_entry *entry) argument
356 if (archive_entry_filetype(entry) == 0 && archive_entry_hardlink(entry) == NULL) {
361 if (archive_entry_pathname_l(entry, &path, &len, get_sconv(a)) != 0
372 if (!archive_entry_size_is_set(entry) || archive_entry_size(entry) < 0) {
376 return write_header(a, entry);
380 write_header(struct archive_write *a, struct archive_entry *entry) argument
[all...]
H A Darchive_write_set_format_7zip.c424 _7z_write_header(struct archive_write *a, struct archive_entry *entry) argument
441 r = file_new(a, entry, &file);
503 if (archive_entry_filetype(entry) == AE_IFLNK) {
505 const void *p = (const void *)archive_entry_symlink(entry);
1493 file_new(struct archive_write *a, struct archive_entry *entry, argument
1512 if (0 > archive_entry_pathname_l(entry, &u16, &u16len, zip->sconv)) {
1535 file->mode = archive_entry_mode(entry);
1536 if (archive_entry_filetype(entry) == AE_IFREG)
1537 file->size = archive_entry_size(entry);
1539 archive_entry_set_size(entry,
[all...]
H A Darchive_write_set_format.c85 struct archive_entry *entry, const char *format)
89 switch (archive_entry_filetype(entry)) {
118 archive_entry_pathname(entry), format, name);
122 archive_entry_pathname(entry), format,
123 (unsigned long)archive_entry_mode(entry));
84 __archive_write_entry_filetype_unsupported(struct archive *a, struct archive_entry *entry, const char *format) argument
H A Darchive_write_disk_posix.c245 * Cached stat data from disk for the current entry.
253 struct archive_entry *entry; /* Entry being extracted. */ member in struct:archive_write_disk
254 char *name; /* Name of entry, possibly edited. */
276 /* Mode we should use for this entry; affected by _PERM and umask. */
278 /* UID/GID to use in restoring this entry. */
534 * Extract this entry to disk.
545 _archive_write_disk_header(struct archive *_a, struct archive_entry *entry) argument
562 /* Set up for this particular entry. */
566 if (a->entry) {
567 archive_entry_free(a->entry);
4394 struct archive_entry *entry = a->entry; local
4484 struct archive_entry *entry = a->entry; local
4605 older(struct stat *st, struct archive_entry *entry) argument
[all...]
H A Darchive_write.c606 /* Finish the last entry if a finish callback is specified */
710 _archive_write_header(struct archive *_a, struct archive_entry *entry) argument
736 archive_entry_dev_is_set(entry) &&
737 archive_entry_ino_is_set(entry) &&
738 archive_entry_dev(entry) == (dev_t)a->skip_file_dev &&
739 archive_entry_ino64(entry) == a->skip_file_ino) {
746 r2 = ((a->format_write_header)(a, entry));
H A Darchive_read_support_format_zip.c158 /* Information about entry we're currently reading. */
159 struct zip_entry *entry; member in struct:zip
162 /* These count the number of bytes actually read for the entry. */
394 * from entry bodies, and common API.
487 process_extra(struct archive_read *a, struct archive_entry *entry, argument
788 if (datasize < 5 || entry == NULL)
808 const char *cp = archive_entry_pathname(entry);
827 if (archive_entry_copy_pathname_l(entry,
918 zip_read_local_file_header(struct archive_read *a, struct archive_entry *entry, argument
927 struct zip_entry *zip_entry = zip->entry;
3102 archive_read_format_zip_streamable_read_header(struct archive_read *a, struct archive_entry *entry) argument
3588 slurp_central_directory(struct archive_read *a, struct archive_entry* entry, struct zip *zip) argument
3827 zip_read_mac_metadata(struct archive_read *a, struct archive_entry *entry, struct zip_entry *rsrc) argument
3978 archive_read_format_zip_seekable_read_header(struct archive_read *a, struct archive_entry *entry) argument
[all...]
H A Darchive_read_support_format_tar.c106 * the 'L' (longname) entry instead.
494 struct archive_entry *entry)
500 * assign fake dev/inode numbers to each tar entry. Note that
519 archive_entry_set_dev(entry, 1 + default_dev); /* Don't use zero. */
520 archive_entry_set_ino(entry, ++default_inode); /* Don't use zero. */
544 r = tar_read_header(a, tar, entry, &unconsumed);
561 archive_entry_sparse_add_entry(entry,
566 if (r == ARCHIVE_OK && archive_entry_filetype(entry) == AE_IFREG) {
568 * "Regular" entry with trailing '/' is really
572 if ((wp = archive_entry_pathname_w(entry)) !
493 archive_read_format_tar_read_header(struct archive_read *a, struct archive_entry *entry) argument
693 tar_read_header(struct archive_read *a, struct tar *tar, struct archive_entry *entry, size_t *unconsumed) argument
956 header_Solaris_ACL(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h, size_t *unconsumed) argument
1057 header_longlink(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h, size_t *unconsumed) argument
1092 header_longname(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h, size_t *unconsumed) argument
1115 header_volume(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h, size_t *unconsumed) argument
1177 header_common(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h) argument
1366 header_old_tar(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h) argument
1395 read_mac_metadata_blob(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h, size_t *unconsumed) argument
1465 header_pax_global(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h, size_t *unconsumed) argument
1478 header_pax_extensions(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h, size_t *unconsumed) argument
1514 header_ustar(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h) argument
1582 pax_header(struct archive_read *a, struct tar *tar, struct archive_entry *entry, struct archive_string *in_as) argument
1753 pax_attribute_xattr(struct archive_entry *entry, const char *name, const char *value) argument
1786 pax_attribute_schily_xattr(struct archive_entry *entry, const char *name, const char *value, size_t value_length) argument
1800 pax_attribute_rht_security_selinux(struct archive_entry *entry, const char *value, size_t value_length) argument
1810 pax_attribute_acl(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const char *value, int type) argument
1869 pax_attribute(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const char *key, const char *value, size_t value_length) argument
2185 header_gnutar(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const void *h, size_t *unconsumed) argument
2550 solaris_sparse_parse(struct archive_read *a, struct tar *tar, struct archive_entry *entry, const char *p) argument
[all...]
H A Darchive_read_support_format_rar5.c100 uint8_t dir : 1; /* Is this file entry a directory? */
379 * the circular deque will overwrite the oldest entry. */
1285 "Version entry without file name");
1564 /* Skip unsupported entry. */
1578 struct archive_entry* entry, size_t block_flags)
1612 archive_entry_clear(entry);
1756 archive_entry_set_mode(entry, mode);
1779 archive_entry_copy_fflags_text(entry,
1787 archive_entry_set_mode(entry, (__LA_MODE_T) file_attr);
1822 archive_entry_update_pathname_utf8(entry, name_utf8_bu
1577 process_head_file(struct archive_read* a, struct rar5* rar, struct archive_entry* entry, size_t block_flags) argument
1878 process_head_service(struct archive_read* a, struct rar5* rar, struct archive_entry* entry, size_t block_flags) argument
1899 process_head_main(struct archive_read* a, struct rar5* rar, struct archive_entry* entry, size_t block_flags) argument
2088 process_base_block(struct archive_read* a, struct archive_entry* entry) argument
2259 struct archive_entry* entry = archive_entry_new(); local
2276 rar5_read_header(struct archive_read *a, struct archive_entry *entry) argument
[all...]
H A Darchive_read_support_format_rar.c814 struct archive_entry *entry)
833 * a reader to determine if an entry is encrypted or not. If the
834 * encryption of an entry is only detectable when calling
906 archive_entry_set_is_metadata_encrypted(entry, 1);
907 archive_entry_set_is_data_encrypted(entry, 1);
924 return read_header(a, entry, head_type);
983 if ((ret = read_header(a, entry, head_type)) < ARCHIVE_WARN)
1075 ret = archive_read_format_rar_read_header(a, a->entry);
1077 ret = archive_read_format_rar_read_header(a, a->entry);
1156 ret = archive_read_format_rar_read_header(a, a->entry);
813 archive_read_format_rar_read_header(struct archive_read *a, struct archive_entry *entry) argument
1259 read_header(struct archive_read *a, struct archive_entry *entry, char head_type) argument
1813 read_symlink_stored(struct archive_read *a, struct archive_entry *entry, struct archive_string_conv *sconv) argument
[all...]
H A Darchive_read_support_format_mtree.c635 /* The form D accepts only a single line for an entry. */
926 struct mtree_entry *entry; local
932 if ((entry = malloc(sizeof(*entry))) == NULL) {
936 entry->next = NULL;
937 entry->options = NULL;
938 entry->name = NULL;
939 entry->used = 0;
940 entry->full = 0;
942 /* Add this entry t
1115 read_header(struct archive_read *a, struct archive_entry *entry) argument
1176 parse_file(struct archive_read *a, struct archive_entry *entry, struct mtree *mtree, struct mtree_entry *mentry, int *use_next) argument
1408 parse_line(struct archive_read *a, struct archive_entry *entry, struct mtree *mtree, struct mtree_entry *mp, int *parsed_kws) argument
1524 parse_digest(struct archive_read *a, struct archive_entry *entry, const char *digest, int type) argument
1589 parse_keyword(struct archive_read *a, struct mtree *mtree, struct archive_entry *entry, struct mtree_option *opt, int *parsed_kws) argument
[all...]
H A Darchive_read_support_format_cpio.c220 struct cpio *cpio, struct archive_entry *entry);
362 struct archive_entry *entry)
383 r = (cpio->read_header(a, cpio, entry, &namelength, &name_pad));
392 if (archive_entry_copy_pathname_l(entry,
409 if (archive_entry_filetype(entry) == AE_IFLNK) {
419 if (archive_entry_copy_symlink_l(entry, (const char *)hl,
438 * ACL description for the following entry. Read this body
451 if (record_hardlink(a, cpio, entry) != ARCHIVE_OK) {
594 struct archive_entry *entry, size_t *namelength, size_t *name_pad)
622 archive_entry_set_devmajor(entry,
361 archive_read_format_cpio_read_header(struct archive_read *a, struct archive_entry *entry) argument
593 header_newc(struct archive_read *a, struct cpio *cpio, struct archive_entry *entry, size_t *namelength, size_t *name_pad) argument
768 header_odc(struct archive_read *a, struct cpio *cpio, struct archive_entry *entry, size_t *namelength, size_t *name_pad) argument
835 header_afiol(struct archive_read *a, struct cpio *cpio, struct archive_entry *entry, size_t *namelength, size_t *name_pad) argument
877 header_bin_le(struct archive_read *a, struct cpio *cpio, struct archive_entry *entry, size_t *namelength, size_t *name_pad) argument
922 header_bin_be(struct archive_read *a, struct cpio *cpio, struct archive_entry *entry, size_t *namelength, size_t *name_pad) argument
1046 record_hardlink(struct archive_read *a, struct cpio *cpio, struct archive_entry *entry) argument
[all...]
H A Darchive_read_support_format_cab.c597 cab_convert_path_separator_2(struct cab *cab, struct archive_entry *entry) argument
603 if ((wp = archive_entry_pathname_w(entry)) != NULL) {
609 archive_entry_copy_pathname_w(entry, cab->ws.s);
884 struct archive_entry *entry)
966 if (archive_entry_copy_pathname_l(entry, file->pathname.s,
982 cab_convert_path_separator_2(cab, entry);
985 archive_entry_set_size(entry, file->uncompressed_size);
987 archive_entry_set_mode(entry, AE_IFREG | 0555);
989 archive_entry_set_mode(entry, AE_IFREG | 0666);
990 archive_entry_set_mtime(entry, fil
883 archive_read_format_cab_read_header(struct archive_read *a, struct archive_entry *entry) argument
[all...]
H A Darchive_read_support_format_7zip.c226 struct _7zip_entry *entry; member in struct:_7zip
335 /* Maximum entry size. This limitation prevents reading intentional
611 struct archive_entry *entry)
621 * a reader to determine if an entry is encrypted or not. If the
622 * encryption of an entry is only detectable when calling
643 zip->entry = zip->entries;
645 ++zip->entry;
647 zip_entry = zip->entry;
665 /* Figure out if the entry is encrypted by looking at the folder
666 that is associated to the current 7zip entry
610 archive_read_format_7zip_read_header(struct archive_read *a, struct archive_entry *entry) argument
[all...]
H A Darchive_read_extract2.c82 archive_read_extract2(struct archive *_a, struct archive_entry *entry, argument
88 /* Set up for this particular entry. */
92 r = archive_write_header(ad, entry);
98 else if (!archive_entry_size_is_set(entry) || archive_entry_size(entry) > 0)
99 /* Otherwise, pour data into the entry. */
H A Darchive_read_disk_posix.c123 * Any directory entry to be traversed gets pushed onto the stack.
187 #define isDir 1 /* This entry is a regular directory. */
188 #define isDirLink 2 /* This entry is a symbolic link to a directory. */
189 #define needsFirstVisit 4 /* This is an initial entry. */
190 #define needsDescent 8 /* This entry needs to be previsited. */
192 #define needsAscent 32 /* This entry needs to be postvisited. */
258 #define hasStat 16 /* The st entry is valid. */
259 #define hasLstat 32 /* The lst entry is valid. */
261 * reading directory entry at this time. */
287 * tree_next() returns Zero if there is no next entry, no
850 next_entry(struct archive_read_disk *a, struct tree *t, struct archive_entry *entry) argument
1126 _archive_read_next_header2(struct archive *_a, struct archive_entry *entry) argument
1200 setup_sparse(struct archive_read_disk *a, struct archive_entry *entry) argument
[all...]
H A Darchive_disk_acl_freebsd.c107 struct archive_entry *entry, acl_t acl, int default_entry_acl_type)
140 "Invalid ACL entry type for POSIX.1e ACL");
147 "Invalid ACL entry type for NFSv4 ACL");
161 "Failed to get first ACL entry");
229 "to get ACL type from a NFSv4 ACL entry");
247 "Invalid NFSv4 ACL entry type");
260 "ACL entry");
306 archive_entry_acl_add_entry(entry, entry_acl_type,
313 "Failed to get next ACL entry");
385 "Failed to create a new ACL entry");
106 translate_acl(struct archive_read_disk *a, struct archive_entry *entry, acl_t acl, int default_entry_acl_type) argument
573 archive_read_disk_entry_setup_acls(struct archive_read_disk *a, struct archive_entry *entry, int *fd) argument
[all...]
/freebsd-11-stable/contrib/libarchive/cpio/
H A Dcpio.c525 struct archive_entry *entry, *spare; local
626 entry = NULL;
627 archive_entry_linkify(cpio->linkresolver, &entry, &spare);
628 while (entry != NULL) {
629 entry_to_archive(cpio, entry);
630 archive_entry_free(entry);
631 entry = NULL;
632 archive_entry_linkify(cpio->linkresolver, &entry, &spare);
704 struct archive_entry *entry, *spare; local
712 entry
793 entry_to_archive(struct cpio *cpio, struct archive_entry *entry) argument
905 restore_time(struct cpio *cpio, struct archive_entry *entry, const char *name, int fd) argument
964 struct archive_entry *entry; local
1084 struct archive_entry *entry; local
1143 list_item_verbose(struct cpio *cpio, struct archive_entry *entry) argument
[all...]
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_state.c608 * Delete an entry from the state table.
747 * Add an entry to the current state table.
759 * Get a state table entry.
845 /* there is a filter rule associated with the state entry, copy that out */
846 /* as well. The entry to copy out is taken from the value of "ips_next" in */
910 /* This function implements the SIOCSTPUT ioctl: insert a state entry into */
1077 * Look up all the interface names in the state entry.
1097 * come along, match the entry and want to update it.
1099 MUTEX_INIT(&is->is_lock, "ipf state entry");
1783 * by this rule will see this state entry
[all...]
/freebsd-11-stable/usr.bin/ar/
H A Dwrite.c278 struct archive_entry *entry; local
292 r = archive_read_next_header(a, &entry);
306 name = archive_entry_pathname(entry);
338 size = archive_entry_size(entry);
360 obj->uid = archive_entry_uid(entry);
361 obj->gid = archive_entry_gid(entry);
362 obj->md = archive_entry_mode(entry);
363 obj->mtime = archive_entry_mtime(entry);
614 struct archive_entry *entry; local
702 entry
[all...]
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_futex.c92 LIN_SDT_PROBE_DEFINE2(futex, futex_put, entry, "struct futex *",
99 LIN_SDT_PROBE_DEFINE3(futex, futex_get0, entry, "uint32_t *", "struct futex **",
107 LIN_SDT_PROBE_DEFINE3(futex, futex_get, entry, "uint32_t *",
111 LIN_SDT_PROBE_DEFINE3(futex, futex_sleep, entry, "struct futex *",
118 LIN_SDT_PROBE_DEFINE3(futex, futex_wake, entry, "struct futex *", "int",
124 LIN_SDT_PROBE_DEFINE4(futex, futex_requeue, entry, "struct futex *", "int",
130 LIN_SDT_PROBE_DEFINE4(futex, futex_wait, entry, "struct futex *",
134 LIN_SDT_PROBE_DEFINE3(futex, futex_atomic_op, entry, "struct thread *",
142 LIN_SDT_PROBE_DEFINE2(futex, linux_sys_futex, entry, "struct thread *",
168 LIN_SDT_PROBE_DEFINE2(futex, linux_set_robust_list, entry, "struc
1264 fetch_robust_entry(struct linux_robust_list **entry, struct linux_robust_list **head, unsigned int *pi) argument
1291 struct linux_robust_list *entry, *next_entry, *pending; local
[all...]
/freebsd-11-stable/sys/conf/
H A Dkern.mk90 # and above adds code to the entry and exit point of every function to align the

Completed in 191 milliseconds

1234567891011>>