Searched refs:S_IFREG (Results 1 - 25 of 164) sorted by relevance

1234567

/freebsd-13-stable/contrib/ntp/lib/isc/win32/include/isc/
H A Dstat.h49 #ifndef S_IFREG
50 # define S_IFREG _S_IFREG macro
57 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/freebsd-13-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_times.c49 archive_entry_set_mode(ae, S_IFREG | 0777);
64 archive_entry_set_mode(ae, S_IFREG | 0777);
77 archive_entry_set_mode(ae, S_IFREG | 0777);
91 archive_entry_set_mode(ae, S_IFREG | 0777);
105 archive_entry_set_mode(ae, S_IFREG | 0777);
120 archive_entry_set_mode(ae, S_IFREG | 0777);
138 archive_entry_set_mode(ae, S_IFREG | 0777);
153 archive_entry_set_mode(ae, S_IFREG | 0777);
H A Dtest_write_disk_hardlink.c68 archive_entry_set_mode(ae, S_IFREG | 0755);
79 archive_entry_set_mode(ae, S_IFREG | 0642);
98 archive_entry_set_mode(ae, S_IFREG | 0755);
109 archive_entry_set_mode(ae, S_IFREG | 0642);
128 archive_entry_set_mode(ae, S_IFREG | 0600);
138 archive_entry_set_mode(ae, S_IFREG | 0755);
157 archive_entry_set_mode(ae, S_IFREG | 0600);
167 archive_entry_set_mode(ae, S_IFREG | 0755);
H A Dtest_write_format_mtree_classic.c40 { "./COPYING", S_IFREG | 0644, 1, 1231975636, 1001, 1001 },
41 { "./Makefile", S_IFREG | 0644, 1, 1233041050, 1001, 1001 },
42 { "./NEWS", S_IFREG | 0644, 1, 1231975636, 1001, 1001 },
43 { "./PROJECTS", S_IFREG | 0644, 1, 1231975636, 1001, 1001 },
44 { "./README", S_IFREG | 0644, 1, 1231975636, 1001, 1001 },
46 { "./subdir/README", S_IFREG | 0664, 1, 1231975636, 1002, 1001 },
47 { "./subdir/config", S_IFREG | 0664, 1, 1232266273, 1003, 1003 },
50 { "./subdir3/mtree", S_IFREG | 0664, 2, 1232266273, 1003, 1003 },
H A Dtest_write_format_mtree_classic_indent.c40 { "./COPYING", S_IFREG | 0644, 1, 1231975636, 1001, 1001 },
41 { "./Makefile", S_IFREG | 0644, 1, 1233041050, 1001, 1001 },
42 { "./NEWS", S_IFREG | 0644, 1, 1231975636, 1001, 1001 },
43 { "./PROJECTS", S_IFREG | 0644, 1, 1231975636, 1001, 1001 },
44 { "./README", S_IFREG | 0644, 1, 1231975636, 1001, 1001 },
46 { "./subdir/README", S_IFREG | 0664, 1, 1231975636, 1002, 1001 },
47 { "./subdir/config", S_IFREG | 0664, 1, 1232266273, 1003, 1003 },
50 { "./subdir3/mtree", S_IFREG | 0664, 2, 1232266273, 1003, 1003 },
H A Dtest_write_format_mtree.c38 { "./COPYING", S_IFREG | 0644, 1231975636, 1001, 1001 },
39 { "./Makefile", S_IFREG | 0644, 1233041050, 1001, 1001 },
40 { "./NEWS", S_IFREG | 0644, 1231975636, 1001, 1001 },
41 { "./PROJECTS", S_IFREG | 0644, 1231975636, 1001, 1001 },
42 { "./README", S_IFREG | 0644, 1231975636, 1001, 1001 },
44 { "./subdir/README", S_IFREG | 0664, 1231975636, 1002, 1001 },
45 { "./subdir/config", S_IFREG | 0664, 1232266273, 1003, 1003 },
48 { "./subdir3/mtree", S_IFREG | 0664, 1232266273, 1003, 1003 },
58 { "COPYING", S_IFREG | 0644, 1231975636, 1001, 1001 },
59 { "Makefile", S_IFREG | 064
[all...]
H A Dtest_write_format_gnutar.c124 archive_entry_set_mode(ae, S_IFREG | 0755);
135 archive_entry_set_mode(ae, S_IFREG | 0755);
147 archive_entry_set_mode(ae, S_IFREG | 0755);
167 archive_entry_set_mode(ae, S_IFREG | 0755);
211 assertEqualInt(S_IFREG | 0755, archive_entry_mode(ae));
221 assertEqualInt(S_IFREG | 0755, archive_entry_mode(ae));
248 assertEqualInt(S_IFREG | 0755, archive_entry_mode(ae));
H A Dtest_open_file.c52 archive_entry_set_mode(ae, S_IFREG | 0755);
63 archive_entry_set_mode(ae, S_IFREG | 0755);
91 assert((S_IFREG | 0755) == archive_entry_mode(ae));
98 assert((S_IFREG | 0755) == archive_entry_mode(ae));
H A Dtest_open_filename.c48 archive_entry_set_mode(ae, S_IFREG | 0755);
59 archive_entry_set_mode(ae, S_IFREG | 0755);
83 assert((S_IFREG | 0755) == archive_entry_mode(ae));
90 assert((S_IFREG | 0755) == archive_entry_mode(ae));
132 archive_entry_set_mode(ae, S_IFREG | 0755);
143 archive_entry_set_mode(ae, S_IFREG | 0755);
167 assert((S_IFREG | 0755) == archive_entry_mode(ae));
174 assert((S_IFREG | 0755) == archive_entry_mode(ae));
H A Dtest_write_format_pax.c59 archive_entry_set_mode(ae, S_IFREG | 0755);
74 archive_entry_set_mode(ae, S_IFREG | 0755);
96 archive_entry_set_mode(ae, S_IFREG | 0755);
117 archive_entry_set_mode(ae, S_IFREG | 0755);
162 assert((S_IFREG | 0755) == archive_entry_mode(ae));
185 assert((S_IFREG | 0755) == archive_entry_mode(ae));
207 assert((S_IFREG | 0755) == archive_entry_mode(ae));
242 assert((S_IFREG | 0755) == archive_entry_mode(ae));
H A Dtest_write_disk_perms.c154 archive_entry_set_mode(ae, S_IFREG | 0777);
163 archive_entry_set_mode(ae, S_IFREG | 0777);
174 archive_entry_set_mode(ae, S_IFREG | 0144);
240 archive_entry_set_mode(ae, S_IFREG | S_ISUID | 0777);
248 archive_entry_set_mode(ae, S_IFREG | 0777);
256 archive_entry_set_mode(ae, S_IFREG | S_ISUID | 0742);
269 archive_entry_set_mode(ae, S_IFREG | S_ISUID | 0742);
285 archive_entry_set_mode(ae, S_IFREG | S_ISUID | 0742);
298 archive_entry_set_mode(ae, S_IFREG | S_ISGID | 0742);
335 archive_entry_set_mode(ae, S_IFREG | S_ISGI
[all...]
H A Dtest_write_disk.c253 archive_entry_set_mode(ae, S_IFREG | 0755);
260 archive_entry_set_mode(ae, S_IFREG | 0755);
267 archive_entry_set_mode(ae, S_IFREG | 0755);
274 archive_entry_set_mode(ae, S_IFREG | 0755);
281 archive_entry_set_mode(ae, S_IFREG | 0724);
302 archive_entry_set_mode(ae, S_IFREG | 0744);
310 archive_entry_set_mode(ae, S_IFREG | 0755);
318 archive_entry_set_mode(ae, S_IFREG | 0755);
330 archive_entry_set_mode(ae, S_IFREG | 0755);
343 archive_entry_set_mode(ae, S_IFREG | 075
[all...]
H A Dtest_empty_write.c56 archive_entry_set_mode(ae, S_IFREG | 0755);
90 archive_entry_set_mode(ae, S_IFREG | 0755);
115 archive_entry_set_mode(ae, S_IFREG | 0755);
H A Dtest_open_fd.c68 archive_entry_set_mode(ae, S_IFREG | 0755);
79 archive_entry_set_mode(ae, S_IFREG | 0755);
103 assert((S_IFREG | 0755) == archive_entry_mode(ae));
110 assert((S_IFREG | 0755) == archive_entry_mode(ae));
H A Dtest_write_disk_failures.c55 archive_entry_set_mode(ae, S_IFREG | 0755);
H A Dtest_write_disk_secure.c77 archive_entry_set_mode(ae, S_IFREG | 0777);
84 archive_entry_set_mode(ae, S_IFREG | 0777);
103 archive_entry_set_mode(ae, S_IFREG | 0777);
127 archive_entry_set_mode(ae, S_IFREG | 0777);
145 archive_entry_set_mode(ae, S_IFREG | 0777);
203 archive_entry_set_mode(ae, S_IFREG | 0777);
231 archive_entry_set_mode(ae, S_IFREG | 0777);
240 archive_entry_set_mode(ae, S_IFREG | 0777);
/freebsd-13-stable/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h106 # define S_IFREG _S_IFREG macro
107 # define S_ISREG(mode) (((mode) & S_IFREG) == S_IFREG)
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Ddefault_permissions.cc87 out.body.attr.attr.mode = S_IFREG | mode;
105 out.body.create.entry.attr.mode = S_IFREG | 0644;
279 expect_lookup(RELPATH, ino, S_IFREG | 0644, UINT64_MAX);
293 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0);
294 expect_getattr(ino, S_IFREG | 0644, 0, 1);
313 expect_lookup(RELPATH, ino, S_IFREG | 0644, UINT64_MAX);
334 expect_lookup(RELPATH, ino, S_IFREG | mode, UINT64_MAX, uid);
343 out.body.attr.attr.mode = S_IFREG | mode;
365 expect_lookup(RELPATH, ino, S_IFREG | oldmode, UINT64_MAX, uid);
377 out.body.attr.attr.mode = S_IFREG | newmod
[all...]
H A Dlseek.cc66 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
96 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
125 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
155 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
185 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
209 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
242 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
277 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
310 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
345 expect_lookup(RELPATH, ino, S_IFREG | 064
[all...]
H A Dsetattr.cc78 out.body.entry.attr.mode = S_IFREG | 0644;
92 out.body.attr.attr.mode = S_IFREG | newmode;
107 EXPECT_EQ(S_IFREG | newmode, sb.st_mode);
122 out.body.entry.attr.mode = S_IFREG | oldmode;
138 out.body.attr.attr.mode = S_IFREG | newmode;
161 out.body.entry.attr.mode = S_IFREG | oldmode;
171 out.body.entry.attr.mode = S_IFREG | oldmode;
190 out.body.attr.attr.mode = S_IFREG | newmode;
197 EXPECT_EQ(S_IFREG | oldmode, sb.st_mode);
201 EXPECT_EQ(S_IFREG | newmod
[all...]
H A Dgetattr.cc86 out.body.entry.attr.mode = S_IFREG | 0644;
100 out.body.attr.attr.mode = S_IFREG | 0644;
119 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1, 0, 0);
132 out.body.attr.attr.mode = S_IFREG | 0644;
152 expect_lookup(RELPATH, ino, S_IFREG | 0644, 1, 1, 0, 0);
161 out.body.attr.attr.mode = S_IFREG | 0644;
181 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1, 0, 0);
207 expect_lookup(RELPATH, ino, S_IFREG | 0644, 1, 1, 0, 0);
218 out.body.attr.attr.mode = S_IFREG | 0644;
249 EXPECT_EQ(S_IFREG | 064
[all...]
H A Dxattr.cc178 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1);
198 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 2);
231 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1);
248 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1);
272 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1);
297 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1);
320 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 2);
340 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1);
365 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1);
400 out.body.entry.attr.mode = S_IFREG | 064
[all...]
H A Dcopy_file_range.cc149 expect_lookup(RELPATH1, ino1, S_IFREG | 0644, fsize1, 1);
150 expect_lookup(RELPATH2, ino2, S_IFREG | 0644, fsize2, 1);
201 expect_lookup(RELPATH1, ino1, S_IFREG | 0644, start1 + len, 1);
202 expect_lookup(RELPATH2, ino2, S_IFREG | 0644, fsize2, 1);
249 expect_lookup(RELPATH1, ino1, S_IFREG | 0644, fsize1, 1);
250 expect_lookup(RELPATH2, ino2, S_IFREG | 0644, fsize2, 1);
289 expect_lookup(RELPATH1, ino1, S_IFREG | 0644, fsize1, 1);
290 expect_lookup(RELPATH2, ino2, S_IFREG | 0644, fsize2, 1);
332 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1);
380 expect_lookup(RELPATH1, ino1, S_IFREG | 064
[all...]
/freebsd-13-stable/contrib/expat/xmlwf/
H A Dreadfilemap.c59 # ifndef S_IFREG
60 # define S_IFREG _S_IFREG macro
65 # define S_ISREG(m) (((m)&S_IFMT) == S_IFREG)
/freebsd-13-stable/contrib/diff/lib/
H A Dfile-type.h24 # if ! defined S_ISREG && ! defined S_IFREG
125 # ifdef S_IFREG
126 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)

Completed in 187 milliseconds

1234567