Searched defs:entry (Results 1 - 25 of 840) sorted by relevance

1234567891011>>

/freebsd-head/contrib/libarchive/libarchive/test/
H A Dtest_entry_strmode.c30 struct archive_entry *entry; local
32 assert((entry = archive_entry_new()) != NULL);
34 archive_entry_set_mode(entry, AE_IFREG | 0642);
35 assertEqualString(archive_entry_strmode(entry), "-rw-r---w- ");
38 archive_entry_set_mode(entry, AE_IFREG | 0644);
39 archive_entry_set_hardlink(entry, "link");
40 assertEqualString(archive_entry_strmode(entry), "-rw-r--r-- ");
42 archive_entry_set_mode(entry, 0640);
43 archive_entry_set_hardlink(entry, "link");
44 assertEqualString(archive_entry_strmode(entry), "hr
[all...]
H A Dtest_gnutar_filename_encoding.c33 struct archive_entry *entry; local
57 entry = archive_entry_new2(a);
59 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8");
60 archive_entry_set_filetype(entry, AE_IFREG);
61 archive_entry_set_size(entry, 0);
62 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry));
63 archive_entry_free(entry);
74 struct archive_entry *entry; local
98 entry = archive_entry_new2(a);
100 archive_entry_set_pathname(entry, "\xD
115 struct archive_entry *entry; local
156 struct archive_entry *entry; local
201 struct archive_entry *entry; local
241 struct archive_entry *entry; local
276 struct archive_entry *entry; local
316 struct archive_entry *entry; local
356 struct archive_entry *entry; local
[all...]
H A Dtest_ustar_filename_encoding.c33 struct archive_entry *entry; local
57 entry = archive_entry_new2(a);
59 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8");
60 archive_entry_set_filetype(entry, AE_IFREG);
61 archive_entry_set_size(entry, 0);
62 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry));
63 archive_entry_free(entry);
74 struct archive_entry *entry; local
98 entry = archive_entry_new2(a);
100 archive_entry_set_pathname(entry, "\xD
115 struct archive_entry *entry; local
156 struct archive_entry *entry; local
201 struct archive_entry *entry; local
241 struct archive_entry *entry; local
276 struct archive_entry *entry; local
316 struct archive_entry *entry; local
356 struct archive_entry *entry; local
[all...]
H A Dtest_zip_filename_encoding.c33 struct archive_entry *entry; local
57 entry = archive_entry_new2(a);
59 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8");
60 archive_entry_set_filetype(entry, AE_IFREG);
61 archive_entry_set_size(entry, 0);
62 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry));
63 archive_entry_free(entry);
80 entry = archive_entry_new2(a);
82 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8");
83 archive_entry_set_filetype(entry, AE_IFRE
121 struct archive_entry *entry; local
221 struct archive_entry *entry; local
264 struct archive_entry *entry; local
333 struct archive_entry *entry; local
432 struct archive_entry *entry; local
[all...]
H A Dtest_link_resolver.c30 struct archive_entry *entry, *e2; local
38 /* Create an entry with only 1 link and try to linkify it. */
39 assert(NULL != (entry = archive_entry_new()));
40 archive_entry_set_pathname(entry, "test1");
41 archive_entry_set_ino(entry, 1);
42 archive_entry_set_dev(entry, 2);
43 archive_entry_set_nlink(entry, 1);
44 archive_entry_set_size(entry, 10);
45 archive_entry_linkify(resolver, &entry, &e2);
49 assertEqualInt(10, archive_entry_size(entry));
95 struct archive_entry *entry, *e2; local
130 struct archive_entry *entry, *e2; local
[all...]
H A Dtest_read_disk_entry_from_file.c47 struct archive_entry *entry; local
66 entry = archive_entry_new();
67 assert(entry != NULL);
68 archive_entry_copy_pathname(entry, "foo");
70 archive_read_disk_entry_from_file(a, entry, -1, NULL));
73 assertEqualString(archive_entry_uname(entry), "FOO");
74 assertEqualString(archive_entry_gname(entry), "FOOGROUP");
75 assertEqualInt(archive_entry_size(entry), 4);
78 archive_entry_free(entry);
/freebsd-head/contrib/mandoc/
H A Dtest-dirent-namlen.c7 struct dirent entry; local
9 return sizeof(entry.d_namlen) == 0;
H A Dtest-fts.c18 FTSENT *entry; local
31 entry = fts_read(ftsp);
33 if (entry == NULL) {
38 if (fts_set(ftsp, entry, FTS_SKIP) != 0) {
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_entry_stat.c40 archive_entry_stat(struct archive_entry *entry) argument
43 if (entry->stat == NULL) {
44 entry->stat = calloc(1, sizeof(*st));
45 if (entry->stat == NULL)
47 entry->stat_valid = 0;
58 if (entry->stat_valid)
59 return (entry->stat);
61 st = entry->stat;
66 st->st_atime = archive_entry_atime(entry);
68 st->st_birthtime = archive_entry_birthtime(entry);
[all...]
H A Darchive_entry_copy_stat.c37 archive_entry_copy_stat(struct archive_entry *entry, const struct stat *st) argument
40 archive_entry_set_atime(entry, st->st_atime, st->st_atimespec.tv_nsec);
41 archive_entry_set_ctime(entry, st->st_ctime, st->st_ctimespec.tv_nsec);
42 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtimespec.tv_nsec);
44 archive_entry_set_atime(entry, st->st_atime, st->st_atim.tv_nsec);
45 archive_entry_set_ctime(entry, st->st_ctime, st->st_ctim.tv_nsec);
46 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtim.tv_nsec);
48 archive_entry_set_atime(entry, st->st_atime, st->st_atime_nsec);
49 archive_entry_set_ctime(entry, st->st_ctime, st->st_ctime_nsec);
50 archive_entry_set_mtime(entry, s
[all...]
H A Darchive_read_extract.c39 archive_read_extract(struct archive *_a, struct archive_entry *entry, int flags) argument
59 return (archive_read_extract2(&a->archive, entry, extract->ad));
H A Darchive_entry_strmode.c40 archive_entry_strmode(struct archive_entry *entry) argument
44 char *bp = entry->strmode;
51 mode = archive_entry_mode(entry);
52 switch (archive_entry_filetype(entry)) {
61 if (archive_entry_hardlink(entry) != NULL) {
83 if (archive_entry_acl_types(entry) != 0)
H A Darchive_entry_sparse.c40 archive_entry_sparse_clear(struct archive_entry *entry) argument
44 while (entry->sparse_head != NULL) {
45 sp = entry->sparse_head->next;
46 free(entry->sparse_head);
47 entry->sparse_head = sp;
49 entry->sparse_tail = NULL;
53 archive_entry_sparse_add_entry(struct archive_entry *entry, argument
62 offset + length > archive_entry_size(entry))
65 if ((sp = entry->sparse_tail) != NULL) {
88 if (entry
103 archive_entry_sparse_count(struct archive_entry *entry) argument
129 archive_entry_sparse_reset(struct archive_entry * entry) argument
137 archive_entry_sparse_next(struct archive_entry * entry, la_int64_t *offset, la_int64_t *length) argument
[all...]
H A Darchive_write_set_format.c83 struct archive_entry *entry, const char *format)
87 switch (archive_entry_filetype(entry)) {
116 archive_entry_pathname(entry), format, name);
120 archive_entry_pathname(entry), format,
121 (unsigned long)archive_entry_mode(entry));
82 __archive_write_entry_filetype_unsupported(struct archive *a, struct archive_entry *entry, const char *format) argument
/freebsd-head/contrib/ipfilter/lib/
H A Dprintdstl_live.c24 ipf_dstnode_t *entry, *zero; local
32 entry = calloc(1, sizeof(*entry) + 64);
33 if (entry == NULL)
37 free(entry);
55 iter.ili_data = entry;
66 if (entry->ipfd_next == NULL)
68 if (bcmp((char *)zero, (char *)entry, sizeof(*zero)) == 0)
70 (void) printdstlistnode(entry, bcopywrap, opts, fields);
75 free(entry);
[all...]
H A Dprintpool_live.c20 ip_pool_node_t entry; local
41 iter.ili_data = &entry;
53 if (entry.ipn_next == NULL)
55 (void) printpoolnode(&entry, opts, fields);
H A Dprinthash_live.c20 iphtent_t entry, zero; local
42 iter.ili_data = &entry;
54 if (entry.ipe_next == NULL)
56 if (bcmp(&zero, &entry, sizeof(zero)) == 0)
58 (void) printhashnode(hp, &entry, bcopywrap, opts, fields);
/freebsd-head/bin/setfacl/
H A Dmask.c45 acl_entry_t entry; local
50 entry = NULL;
53 * ... if a mask entry is specified, then the permissions of the mask
54 * entry in the resulting ACL shall be set to the permissions in the
55 * specified ACL mask entry.
66 * If no mask entry is specified and the -n option is not
68 * entry shall be set to the union of the permissions
79 * If no mask entry is specified and the -n option is
81 * mask entry shall remain unchanged ...
86 while (acl_get_entry(acl, entry_id, &entry)
[all...]
/freebsd-head/sys/contrib/openzfs/lib/libspl/os/freebsd/
H A Dgetmntany.c45 getextmntent(const char *path, struct extmnttab *entry, struct stat64 *statbuf) argument
65 statfs2mnttab(&sfs, (struct mnttab *)entry);
/freebsd-head/crypto/heimdal/admin/
H A Dremove.c42 krb5_keytab_entry entry; local
81 entry.principal = principal;
82 entry.keyblock.keytype = enctype;
83 entry.vno = opt->kvno_integer;
84 ret = krb5_kt_remove_entry(context, keytab, &entry);
H A Drename.c42 krb5_keytab_entry entry; local
74 ret = krb5_kt_next_entry(context, keytab, &entry, &cursor);
77 krb5_warn(context, ret, "getting entry from keytab");
82 if(krb5_principal_compare(context, entry.principal, from_princ)) {
83 krb5_free_principal(context, entry.principal);
84 entry.principal = to_princ;
85 ret = krb5_kt_add_entry(context, keytab, &entry);
87 entry.principal = NULL;
88 krb5_kt_free_entry(context, &entry);
89 krb5_warn(context, ret, "adding entry");
[all...]
/freebsd-head/contrib/netbsd-tests/include/sys/
H A Dt_pslist.c52 struct pslist_entry entry; member in struct:element
54 { .i = 0, .entry = PSLIST_ENTRY_INITIALIZER },
71 PSLIST_ENTRY_DESTROY(&elements[0], entry);
74 PSLIST_ENTRY_INIT(&elements[i], entry);
76 PSLIST_WRITER_INSERT_HEAD(&h, &elements[4], entry);
77 PSLIST_WRITER_INSERT_BEFORE(&elements[4], &elements[2], entry);
78 PSLIST_WRITER_INSERT_BEFORE(&elements[4], &elements[3], entry);
79 PSLIST_WRITER_INSERT_BEFORE(&elements[2], &elements[1], entry);
80 PSLIST_WRITER_INSERT_HEAD(&h, &elements[0], entry);
81 PSLIST_WRITER_INSERT_AFTER(&elements[4], &elements[5], entry);
[all...]
/freebsd-head/sys/dev/iwm/
H A Dif_iwm_notif_wait.h82 * struct iwm_notification_wait - notification wait entry
83 * @entry: link for global list
106 STAILQ_ENTRY(iwm_notification_wait) entry; member in struct:iwm_notification_wait
/freebsd-head/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_keycache.c38 * Clear the specified key cache entry and any associated MIC entry.
41 ar5416ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry) argument
45 if (ar5212ResetKeyCacheEntry(ah, entry)) {
46 ahp->ah_keytype[entry] = keyType[HAL_CIPHER_CLR];
53 * Sets the contents of the specified key cache entry
54 * and any associated MIC entry.
57 ar5416SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, argument
63 if (ar5212SetKeyCacheEntry(ah, entry, k, mac, xorKey)) {
64 ahp->ah_keytype[entry]
[all...]
/freebsd-head/sys/mips/mips/
H A Dgdb_machdep.c158 gdb_cpu_signal(int entry, int code) argument
160 switch (entry) {

Completed in 118 milliseconds

1234567891011>>